Bug 164041 - LayoutTest imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent.html is a flaky failure
Summary: LayoutTest imported/w3c/web-platform-tests/html/semantics/interactive-element...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-26 15:24 PDT by Ryan Haddad
Modified: 2016-12-15 09:25 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Haddad 2016-10-26 15:24:45 PDT
LayoutTest imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent.html is a flaky failure

https://build.webkit.org/builders/Apple%20Sierra%20Debug%20WK2%20(Tests)/builds/506

https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fsemantics%2Finteractive-elements%2Fthe-details-element%2FtoggleEvent.html

--- /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent-expected.txt
+++ /Volumes/Data/slave/sierra-debug-tests-wk2/build/layout-test-results/imported/w3c/web-platform-tests/html/semantics/interactive-elements/the-details-element/toggleEvent-actual.txt
@@ -1,3 +1,5 @@
+
+Harness Error (TIMEOUT), message = null
 
 PASS Adding open to 'details' should fire a toggle event at the 'details' element 
 PASS Removing open from 'details' should fire a toggle event at the 'details' element 
@@ -8,7 +10,7 @@
 PASS Calling removeAttribute('open') to 'details' should fire a toggle event at the 'details' element 
 PASS Setting open=true to opened 'details' element should not fire a toggle event at the 'details' element 
 PASS Setting open=false to closed 'details' element should not fire a toggle event at the 'details' element 
-PASS Adding open to 'details' (not in the document) should fire a toggle event at the 'details' element 
+TIMEOUT Adding open to 'details' (not in the document) should fire a toggle event at the 'details' element Test timed out
 Lorem ipsum
 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Comment 1 Šime Vidas 2016-12-15 01:21:53 PST
I’ve tested in Safari for iOS 10.2. When opening or closing the <details> element, the toggle event is not fired. (I couldn’t test in Nightly, sorry, because I don’t own a Mac.)

Live demo: https://output.jsbin.com/goqole/quiet

Do I need to file a separate bug for this?
Comment 2 Chris Dumez 2016-12-15 09:25:48 PST
(In reply to comment #1)
> I’ve tested in Safari for iOS 10.2. When opening or closing the <details>
> element, the toggle event is not fired. (I couldn’t test in Nightly, sorry,
> because I don’t own a Mac.)
> 
> Live demo: https://output.jsbin.com/goqole/quiet
> 
> Do I need to file a separate bug for this?

No need, it works in Nightly or Safari Technology Preview already. Was fixed in http://trac.webkit.org/r207514.