Issue #2241 - Part 4&5 Follow-up: Fix WebIDL errors

Remove [Pref] attribute from Geometry interfaces as they're now exposed to web
workers too via Part 5.

Remove nonexistent toJSON objects erroneously added in Part 4.1.
This commit is contained in:
Job Bautista 2023-05-12 15:37:58 +08:00 committed by roytam1
commit 51f812bb80
4 changed files with 5 additions and 15 deletions

View file

@ -10,8 +10,7 @@
* liability, trademark and document use rules apply.
*/
[Pref="layout.css.DOMQuad.enabled",
Constructor(optional DOMPointInit p1, optional DOMPointInit p2,
[Constructor(optional DOMPointInit p1, optional DOMPointInit p2,
optional DOMPointInit p3, optional DOMPointInit p4),
Constructor(DOMRectReadOnly rect),
Exposed=(Window,Worker)]