Bug 99410

Summary: [Page Visibility API] View-less documents should report as hidden
Product: WebKit Reporter: James Simonsen <simonjam>
Component: New BugsAssignee: James Simonsen <simonjam>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, shishir, tonyg, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 60576    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch for landing none

James Simonsen
Reported 2012-10-15 20:18:48 PDT
[Page Visibility API] View-less documents should report as hidden
Attachments
Patch (3.52 KB, patch)
2012-10-15 20:19 PDT, James Simonsen
no flags
Patch (3.55 KB, patch)
2012-10-16 11:18 PDT, James Simonsen
no flags
Patch (3.87 KB, patch)
2012-10-16 14:24 PDT, James Simonsen
no flags
Patch for landing (6.66 KB, patch)
2012-10-16 16:25 PDT, James Simonsen
no flags
James Simonsen
Comment 1 2012-10-15 20:19:10 PDT
James Simonsen
Comment 2 2012-10-15 20:20:25 PDT
Per the spec: "If the defaultView of the Document is null, on getting, the hidden attribute MUST return true."
Build Bot
Comment 3 2012-10-15 20:46:29 PDT
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
WebKit Review Bot
Comment 4 2012-10-15 23:19:28 PDT
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
James Simonsen
Comment 5 2012-10-16 11:18:53 PDT
Tony Gentilcore
Comment 6 2012-10-16 11:45:11 PDT
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.
James Simonsen
Comment 7 2012-10-16 14:24:48 PDT
James Simonsen
Comment 8 2012-10-16 14:27:10 PDT
(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.
Build Bot
Comment 9 2012-10-16 15:18:48 PDT
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
James Simonsen
Comment 10 2012-10-16 16:25:58 PDT
Created attachment 169050 [details] Patch for landing
WebKit Review Bot
Comment 11 2012-10-16 17:04:57 PDT
Comment on attachment 169050 [details] Patch for landing Clearing flags on attachment: 169050 Committed r131530: <http://trac.webkit.org/changeset/131530>
WebKit Review Bot
Comment 12 2012-10-16 17:05:01 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.