Bug 260452 - Add missing asserts in web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent.html test
Summary: Add missing asserts in web-platform-tests/html/semantics/interactive-elements...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-20 19:07 PDT by sideshowbarker
Modified: 2023-08-21 02:20 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sideshowbarker 2023-08-20 19:07:45 PDT
In https://commits.webkit.org/267076@main I updated LayoutTests/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent.html but had inadvertently neglected to include some asserts for the details6 _“Calling open twice on 'details' fires only one toggle event”_ test.
Comment 1 sideshowbarker 2023-08-21 02:20:19 PDT
Superseded by https://bugs.webkit.org/show_bug.cgi?id=260463. After further testing, I realized it’s not just that the asserts are missing — but also that the implementation isn’t setting the ToggleEvent oldState correctly.