Should be false by default, we'll get put into a window later.
Created attachment 190132 [details] patch
Comment on attachment 190132 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=190132&action=review > Source/WebCore/page/Page.cpp:164 > , m_isOnscreen(true) Hmm, that's odd.
Comment on attachment 190132 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=190132&action=review >> Source/WebCore/page/Page.cpp:164 >> , m_isOnscreen(true) > > Hmm, that's odd. Should we change this?
I think we should. A Page shouldn't be onscreen (or in-window) by default - until it's added to a platform view/window/etc. Any ports that see fallout from such a change should probably make sure that they're calling setIsInWindow/willMoveOffscreen/didMoveOnscreen at the appropriate times...
Ugh, none of the other ports bother to update onscreen or in-window state. Instead of implementing this for all the ports, I'm going to (unfortunately) match m_isOnscreen and default to true. WK2 sets it to the correct value very quickly anyway, so this isn't a big deal.
Created attachment 190141 [details] sad patch
Comment on attachment 190141 [details] sad patch r=me but please justify your odd choice more in the Changelog.
http://trac.webkit.org/changeset/143979