WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
249637
browserbench.org: illegal invocation of HTMLImageElement.prototype.srcset
https://bugs.webkit.org/show_bug.cgi?id=249637
Summary
browserbench.org: illegal invocation of HTMLImageElement.prototype.srcset
tophf
Reported
2022-12-19 23:58:46 PST
1. open browserbench.org 2. check the console Expected: no errors Observed: "Uncaught TypeError: Illegal invocation" The cause is this problematic code in index.html added five years ago in
bug 172049
: if (!HTMLImageElement.prototype.srcset) { Suggesting a possible fix: if (!('srcset' in HTMLImageElement.prototype)) {
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-12-26 23:59:16 PST
<
rdar://problem/103721986
>
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