WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
215851
Webkit incorrectly setting visibilityState to "prerender" when opening link in new tab
https://bugs.webkit.org/show_bug.cgi?id=215851
Summary
Webkit incorrectly setting visibilityState to "prerender" when opening link i...
Lucas
Reported
2020-08-26 07:58:23 PDT
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.
Attachments
Patch
(16.51 KB, patch)
2020-11-10 14:43 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(18.07 KB, patch)
2020-11-10 15:36 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-08-26 11:17:26 PDT
<
rdar://problem/67817100
>
Chris Dumez
Comment 2
2020-11-10 14:43:58 PST
Created
attachment 413743
[details]
Patch
EWS Watchlist
Comment 3
2020-11-10 14:44:34 PST
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
https://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Geoffrey Garen
Comment 4
2020-11-10 15:33:27 PST
Comment on
attachment 413743
[details]
Patch r=me
Chris Dumez
Comment 5
2020-11-10 15:36:22 PST
Created
attachment 413749
[details]
Patch
EWS
Comment 6
2020-11-10 16:54:17 PST
Committed
r269665
: <
https://trac.webkit.org/changeset/269665
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 413749
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug