WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
271360
Remove `constructor` from `HighlightRegistry.idl`
https://bugs.webkit.org/show_bug.cgi?id=271360
Summary
Remove `constructor` from `HighlightRegistry.idl`
Ahmad Saleem
Reported
2024-03-20 21:08:53 PDT
Hi Team, While going through failures unique in Safari, I noticed that we fail following: WPT Test Case:
https://wpt.fyi/results/css/css-highlight-api/idlharness.window.html?label=master&label=experimental&aligned&q=idlharness%20safari%3Afail%20chrome%3Apass%20firefox%3Apass
WPT Live Link:
http://wpt.live/css/css-highlight-api/idlharness.window.html
We fail: HighlightRegistry interface: existence and properties of interface object and we fail it at: assert_throws_js(function "function TypeError() { [native code] }", function "function() { new interface_object(); }", "interface object didn't throw TypeError when called as a constructor") ___ When I remove it from IDL:
https://searchfox.org/wubkat/rev/129ce14b05a4a086cd7ddb915f9ad64c116873aa/Source/WebCore/Modules/highlight/HighlightRegistry.idl#30
I manage to progress above. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2024-03-23 05:13:26 PDT
PR -
https://github.com/WebKit/WebKit/pull/26369
Radar WebKit Bug Importer
Comment 2
2024-03-27 21:10:10 PDT
<
rdar://problem/125529396
>
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