[CherryPick] [Page Visibility API] View-less documents should reports as hidden
authorJiyeon Kim <jiyeon0402.kim@samsung.com>
Wed, 14 Aug 2013 12:00:25 +0000 (21:00 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Tue, 27 Aug 2013 05:37:22 +0000 (05:37 +0000)
commita4206990a8fa4844006943d6fd4d7c99d7bfa605
treee80b02b461c6bae78c5669c98cc2c4eba5ef13e4
parent937879634d1029759f6d18856ec7ceb213547ef0
[CherryPick] [Page Visibility API] View-less documents should reports as hidden

[Title] [Page Visibility API] View-less documents should reports as hidden
[Problem] P130814-01392, P130814-01387
[Cause] The default value of visibility is true
[Solution] The visibility of the document is inherited from the visibility of the page. If there is no page associated with the document, we will assume that the page is hidden, as specifed by the spec,
http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PageVisibility/Overview.html#dom-document-hidden

https://bugs.webkit.org/show_bug.cgi?id=99410

Change-Id: Ic1b58eed36fc527d465b15552d972981dce46cae
Source/WebCore/dom/Document.cpp