]> khamidou — GitHub mirrors - electron.git/commit
Delay the did-fail-provisional-load event to next tick
authorCheng Zhao <zcbenz@gmail.com>
Tue, 1 Dec 2015 08:55:52 +0000 (16:55 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 1 Dec 2015 09:00:42 +0000 (17:00 +0800)
commit1b3eb1cc5df74ed2dac3f8e7e0fea17497ddda28
tree903e5942d006844047944f79c7273f64e508a53e
parent0f17a0163d16f8cdc2a032ebd96a3034525c0271
Delay the did-fail-provisional-load event to next tick

Chrome is doing some stuff after the DidFailProvisionalLoad event, if we
call LoadURL at this time crash would happen.
atom/browser/api/atom_api_web_contents.cc
atom/browser/api/lib/web-contents.coffee