[Page Visibility API] View-less documents should report as hidden
Created attachment 168842 [details] Patch
Per the spec: "If the defaultView of the Document is null, on getting, the hidden attribute MUST return true."
Comment on attachment 168842 [details] Patch Attachment 168842 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/14385013 New failing tests: fast/events/page-visibility-null-view.html
Comment on attachment 168842 [details] Patch Attachment 168842 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14396012 New failing tests: fast/events/page-visibility-null-view.html
Created attachment 168985 [details] Patch
Comment on attachment 168985 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=168985&action=review Everything else looks good. > Source/WebCore/dom/Document.cpp:1629 > // specified by the embedder. This comment needs to be updated. Perhaps point to the spec.
Created attachment 169026 [details] Patch
(In reply to comment #6) > (From update of attachment 168985 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=168985&action=review > > Everything else looks good. > > > Source/WebCore/dom/Document.cpp:1629 > > // specified by the embedder. > > This comment needs to be updated. Perhaps point to the spec. Done.
Comment on attachment 169026 [details] Patch Attachment 169026 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/14386313 New failing tests: fast/events/page-visibility-null-view.html
Created attachment 169050 [details] Patch for landing
Comment on attachment 169050 [details] Patch for landing Clearing flags on attachment: 169050 Committed r131530: <http://trac.webkit.org/changeset/131530>
All reviewed patches have been landed. Closing bug.