[Webkit-unassigned] [Bug 215851] New: Webkit incorrectly setting visibilityState to "prerender" when opening link in new tab

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 26 07:58:23 PDT 2020


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

            Bug ID: 215851
           Summary: Webkit incorrectly setting visibilityState to
                    "prerender" when opening link in new tab
           Product: WebKit
           Version: Safari 13
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: luc.amaral.silva at gmail.com

Safari (and other webkit based browsers such as Epiphany) currently mark pages opened in a new tab as visibilityState = "prerender", when they should be "hidden" instead. 

Steps to reproduce:
1) Open https://output.jsbin.com/yibobad
2) Right click on the link, and open it in a new tab
3) Wait for the new tab to load, then navigate to it
4) The page should say "hidden", but instead it says "prerender"


"prerender" visibility state has been deprecated and removed from the w3c page visibility spec (http://go/mdn/API/Document/visibilityState, https://github.com/w3c/page-visibility/issues/42). Therefore marking new tabs as "prerender" is unexpected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200826/e0c99aec/attachment-0001.htm>


More information about the webkit-unassigned mailing list