Bug 271360

Summary: Remove `constructor` from `HighlightRegistry.idl`
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: CSSAssignee: Ahmad Saleem <ahmad.saleem792>
Status: RESOLVED FIXED    
Severity: Normal CC: annevk, karlcow, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
Ahmad Saleem
Comment 1 2024-03-23 05:13:26 PDT
Radar WebKit Bug Importer
Comment 2 2024-03-27 21:10:10 PDT
EWS
Comment 3 2025-12-03 12:35:28 PST
Committed 303858@main (10396bf507cc): <https://commits.webkit.org/303858@main> Reviewed commits have been landed. Closing PR #26369 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.