WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
266743
Remove 'DOMPointInit' constructor from DOMPoint.idl and DOMPointReadOnly.idl
https://bugs.webkit.org/show_bug.cgi?id=266743
Summary
Remove 'DOMPointInit' constructor from DOMPoint.idl and DOMPointReadOnly.idl
Ahmad Saleem
Reported
2023-12-20 16:40:20 PST
Hi Team, While trying to understand test failures in 'CSS' especially below:
https://wpt.fyi/results/css/geometry/DOMPoint-001.html?label=master&label=experimental&aligned&q=safari%3Afail
and
https://wpt.fyi/results/css/geometry/DOMPoint-002.html?label=master&label=experimental&aligned&q=safari%3Afail
and noticed this following comment as well.
https://github.com/WebKit/WebKit/blob/926054f254028ee2cc29b0e96a50cca42592ce66/Source/WebCore/dom/DOMPoint.idl#L31
"The DOMPointInit constructor exists in
https://www.w3.org/TR/geometry-1/
but is removed in
https://drafts.fxtf.org/geometry/
" and if I remove following line:
https://github.com/WebKit/WebKit/blob/926054f254028ee2cc29b0e96a50cca42592ce66/Source/WebCore/dom/DOMPoint.idl#L36
and also from here:
https://github.com/WebKit/WebKit/blob/926054f254028ee2cc29b0e96a50cca42592ce66/Source/WebCore/dom/DOMPointReadOnly.idl#L37
We start progressing above failing test case. I don't know whether we have C++ code for this constructor or not but just raising so we can fix it. CCing - Matt & Simon for their input. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2023-12-20 16:41:58 PST
NOTE - I also have another change and it is to make both IDL files have 'Serializable' as required by web-spec in my local build.
Ahmad Saleem
Comment 2
2023-12-20 17:49:07 PST
This PR added following constructor:
https://commits.webkit.org/183333@main
Ahmad Saleem
Comment 3
2023-12-20 18:12:18 PST
(In reply to Ahmad Saleem from
comment #2
)
> This PR added following constructor: > >
https://commits.webkit.org/183333@main
Simple revert of this leads to compile failures in DOMQuad.cpp:
https://github.com/WebKit/WebKit/blob/5ce41d80d50760401a9399bc7cb3d3be7b97b58e/Source/WebCore/dom/DOMQuad.cpp#L40
Radar WebKit Bug Importer
Comment 4
2023-12-27 16:41:11 PST
<
rdar://problem/120222447
>
EWS
Comment 5
2024-07-22 07:47:57 PDT
Committed
281192@main
(98dc100a1cd7): <
https://commits.webkit.org/281192@main
> Reviewed commits have been landed. Closing PR #31006 and removing active labels.
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