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
Radar WebKit Bug Importer
Comment 1 2022-12-26 23:59:16 PST
Note You need to log in before you can comment on or make changes to this bug.