Title: [274468] trunk/LayoutTests
Revision
274468
Author
[email protected]
Date
2021-03-16 01:07:55 -0700 (Tue, 16 Mar 2021)

Log Message

[ macOs Wk1 ] http/wpt/filereader/filereader-stop.html is a flakey text failure
https://bugs.webkit.org/show_bug.cgi?id=222749
<rdar://problem/75045013>

Reviewed by Alex Christensen.

* http/wpt/filereader/filereader-stop.html:
Update test to register the event handlers for the second load, not the first one.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (274467 => 274468)


--- trunk/LayoutTests/ChangeLog	2021-03-16 06:55:48 UTC (rev 274467)
+++ trunk/LayoutTests/ChangeLog	2021-03-16 08:07:55 UTC (rev 274468)
@@ -1,3 +1,14 @@
+2021-03-16  Youenn Fablet  <[email protected]>
+
+        [ macOs Wk1 ] http/wpt/filereader/filereader-stop.html is a flakey text failure
+        https://bugs.webkit.org/show_bug.cgi?id=222749
+        <rdar://problem/75045013>
+
+        Reviewed by Alex Christensen.
+
+        * http/wpt/filereader/filereader-stop.html:
+        Update test to register the event handlers for the second load, not the first one.
+
 2021-03-15  Rob Buis  <[email protected]>
 
         Fix table-element-001.html

Modified: trunk/LayoutTests/http/wpt/filereader/filereader-stop.html (274467 => 274468)


--- trunk/LayoutTests/http/wpt/filereader/filereader-stop.html	2021-03-16 06:55:48 UTC (rev 274467)
+++ trunk/LayoutTests/http/wpt/filereader/filereader-stop.html	2021-03-16 08:07:55 UTC (rev 274468)
@@ -21,13 +21,14 @@
 promise_test(async t => {
     const frame = await with_iframe("/");
     const reader = new frame.contentWindow.FileReader();
-    reader._onload_ = () => assert_unreached("load");
-    reader._onerror_ = () => assert_unreached("error");
 
     reader.readAsText(new Blob(["123"], {type: "text/plain-specific"}));
     await new Promise(resolve => setTimeout(resolve, 0));
 
     frame.remove();
+
+    reader._onload_ = () => assert_unreached("load");
+    reader._onerror_ = () => assert_unreached("error");
     try {
         reader.readAsText(new Blob(["123"], {type: "text/plain-specific"}));
     } catch (e) {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to