[Webkit-unassigned] [Bug 222398] New: Activating Reader View permanently sets window.PublicKeyCredential to undefined
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 24 18:31:14 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=222398
Bug ID: 222398
Summary: Activating Reader View permanently sets
window.PublicKeyCredential to undefined
Product: WebKit
Version: Safari 14
Hardware: Mac (Intel)
OS: macOS 11
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: matthew at millerti.me
Created attachment 421492
--> https://bugs.webkit.org/attachment.cgi?id=421492&action=review
Video demonstrating the issue
I accidentally discovered today in Safari 14.0.3 that activating Reader View sets that tab's `window.PublicKeyCredential` to `undefined`. This permanently disables API's like WebAuthn in that tab, and the undefined value persists across page reloads. The webpage must be reloaded in a new tab to restore functionality.
I've attached a video demonstrating the issue, as well as a screenshot showing `window.PublicKeyCredential` returning `undefined` after having toggled Reader View with the keyboard shortcut Cmd + Shift + R.
--
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/20210225/27dad373/attachment.htm>
More information about the webkit-unassigned
mailing list