Bug 271360
| Summary: | Remove `constructor` from `HighlightRegistry.idl` | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | CSS | Assignee: | 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
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
PR - https://github.com/WebKit/WebKit/pull/26369
Radar WebKit Bug Importer
<rdar://problem/125529396>
EWS
Committed 303858@main (10396bf507cc): <https://commits.webkit.org/303858@main>
Reviewed commits have been landed. Closing PR #26369 and removing active labels.