Chromium Code Reviews
DescriptionPlumb an event through to content/ that is sent just before 'onload'.
This is to support a change for Chrome packaged app windows that helps to avoid
a flash of white when loading a page. Specifically, the app delays showing the
window until the 'onload' event has been fired. However, many things depend on
the page being visible at 'onload' time, so this change sends a message to the
content layer before the 'onload' event is sent, so that any messages generated
by JavaScript during the 'onload' event will arrive at the embedder after the
window has been shown.
The new event simply mirrors the 'didHandleOnloadEvents' path, but notifies
before the onload event is sent.
BUG=225843
Patch Set 1 #
Messages
Total messages: 12 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||