WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
220623
onpagehide/onpageshow event listeners on WKWebView with bfcache intermittently not firing
https://bugs.webkit.org/show_bug.cgi?id=220623
Summary
onpagehide/onpageshow event listeners on WKWebView with bfcache intermittentl...
chris.boakes
Reported
2021-01-14 06:15:43 PST
Created
attachment 417613
[details]
Demonstration of the events not firing as expected Have isolated the problem and can be seen here:
https://lucid-shaw-b293da.netlify.app/
In WebView browser: 1. Navigate to Page 1 2. You should see the console.log “onpageshow - page 1, load” 3. Navigate to Page 2 4. You should see the console.log “onpageshow - page 2, load” 5. Use the back button and you should see the console.log “onpageshow - page 1, load” 6. Go back and forth between Page 1 and 2 and the console logs intermittently do not fire The expected behavior is that the onpageshow and onpagehide to fire every time but the events do not always fire when navigating backwards to a cached page
Attachments
Demonstration of the events not firing as expected
(9.01 MB, video/quicktime)
2021-01-14 06:15 PST
,
chris.boakes
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-01-21 06:16:15 PST
<
rdar://problem/73450015
>
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