Summary: | Update LayoutTests/imported/w3c/web-platform-tests/shadow-dom to the latest | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tetsuharu Ohzeki [UTC+9] <tetsuharu.ohzeki> | ||||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | amir_mark, cdumez, clopez, ews-watchlist, rniwa, ryanhaddad, smoley, webkit-bug-importer, youennf | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=221486 | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 218692, 221486 | ||||||||
Attachments: |
|
Description
Tetsuharu Ohzeki [UTC+9]
2021-01-20 07:50:06 PST
I'm waiting to merge https://github.com/web-platform-tests/wpt/pull/27256 Reviewed & merged the upstream change. Created attachment 419397 [details]
Patch
(In reply to Ryosuke Niwa from comment #3) > Reviewed & merged the upstream change. Thanks! Created attachment 419424 [details]
Patch
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. Committed r272458: <https://trac.webkit.org/changeset/272458> All reviewed patches have been landed. Closing bug and clearing flags on attachment 419424 [details]. (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) 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 |