RESOLVED FIXED 220768
Update LayoutTests/imported/w3c/web-platform-tests/shadow-dom to the latest
https://bugs.webkit.org/show_bug.cgi?id=220768
Summary Update LayoutTests/imported/w3c/web-platform-tests/shadow-dom to the latest
Tetsuharu Ohzeki [UTC+9]
Reported 2021-01-20 07:50:06 PST
...
Attachments
Patch (139.13 KB, patch)
2021-02-05 06:39 PST, Tetsuharu Ohzeki [UTC+9]
no flags
Patch (140.41 KB, patch)
2021-02-05 10:22 PST, Tetsuharu Ohzeki [UTC+9]
no flags
Tetsuharu Ohzeki [UTC+9]
Comment 1 2021-01-20 08:57:48 PST
Radar WebKit Bug Importer
Comment 2 2021-01-21 16:31:26 PST
Ryosuke Niwa
Comment 3 2021-02-04 22:13:36 PST
Reviewed & merged the upstream change.
Tetsuharu Ohzeki [UTC+9]
Comment 4 2021-02-05 06:39:44 PST
Tetsuharu Ohzeki [UTC+9]
Comment 5 2021-02-05 06:43:17 PST
(In reply to Ryosuke Niwa from comment #3) > Reviewed & merged the upstream change. Thanks!
Tetsuharu Ohzeki [UTC+9]
Comment 6 2021-02-05 10:22:59 PST
Ryosuke Niwa
Comment 7 2021-02-05 21:26:58 PST
Comment on attachment 419424 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=419424&action=review > LayoutTests/imported/w3c/web-platform-tests/shadow-dom/nested-slot-remove-crash-expected.txt:1 > +CONSOLE MESSAGE: SyntaxError: Cannot declare a const variable twice: 'root'. Huh, we should fix this test upstream! > LayoutTests/imported/w3c/web-platform-tests/shadow-dom/nested-slot-remove-crash.html:30 > + const root = host.attachShadow({mode:"open"}); This is clearly wrong.
EWS
Comment 8 2021-02-05 21:33:39 PST
Committed r272458: <https://trac.webkit.org/changeset/272458> All reviewed patches have been landed. Closing bug and clearing flags on attachment 419424 [details].
Tetsuharu Ohzeki [UTC+9]
Comment 9 2021-02-05 21:38:21 PST
(In reply to Ryosuke Niwa from comment #7) > Comment on attachment 419424 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=419424&action=review > > > LayoutTests/imported/w3c/web-platform-tests/shadow-dom/nested-slot-remove-crash-expected.txt:1 > > +CONSOLE MESSAGE: SyntaxError: Cannot declare a const variable twice: 'root'. > > Huh, we should fix this test upstream! > > > LayoutTests/imported/w3c/web-platform-tests/shadow-dom/nested-slot-remove-crash.html:30 > > + const root = host.attachShadow({mode:"open"}); > > This is clearly wrong. Thank you for your r+cq+! I think so too and opened https://github.com/web-platform-tests/wpt/pull/27510. But,,, I cannot see the original chromium bug and the reason. I’m not confident that this should be fixed. (I suspect strongly this `const` is mistake)
Amir Mark Jr
Comment 10 2021-02-09 15:17:33 PST
This test is crashing after this patch was created: imported/w3c/web-platform-tests/shadow-dom/declarative/declarative-shadow-dom-attachment.tentative.html Link to the bug tracking this issue: https://bugs.webkit.org/show_bug.cgi?id=221634
Note You need to log in before you can comment on or make changes to this bug.