Title: [218610] trunk/LayoutTests
Revision
218610
Author
[email protected]
Date
2017-06-20 15:44:11 -0700 (Tue, 20 Jun 2017)

Log Message

LayoutTest inspector/canvas/create-canvas-contexts.html is a flaky timeout
https://bugs.webkit.org/show_bug.cgi?id=173603

Reviewed by Joseph Pecoraro.

Removed test case `CheckCanvasesCleared`, which involved a page reload
and would intermittently timeout.

* inspector/canvas/create-canvas-contexts-expected.txt:
* inspector/canvas/create-canvas-contexts.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (218609 => 218610)


--- trunk/LayoutTests/ChangeLog	2017-06-20 22:04:31 UTC (rev 218609)
+++ trunk/LayoutTests/ChangeLog	2017-06-20 22:44:11 UTC (rev 218610)
@@ -1,3 +1,16 @@
+2017-06-20  Matt Baker  <[email protected]>
+
+        LayoutTest inspector/canvas/create-canvas-contexts.html is a flaky timeout
+        https://bugs.webkit.org/show_bug.cgi?id=173603
+
+        Reviewed by Joseph Pecoraro.
+
+        Removed test case `CheckCanvasesCleared`, which involved a page reload
+        and would intermittently timeout.
+
+        * inspector/canvas/create-canvas-contexts-expected.txt:
+        * inspector/canvas/create-canvas-contexts.html:
+
 2017-06-20  Antoine Quint  <[email protected]>
 
         REGRESSION: media/remote-control-command-seek.html is timing out

Modified: trunk/LayoutTests/inspector/canvas/create-canvas-contexts-expected.txt (218609 => 218610)


--- trunk/LayoutTests/inspector/canvas/create-canvas-contexts-expected.txt	2017-06-20 22:04:31 UTC (rev 218609)
+++ trunk/LayoutTests/inspector/canvas/create-canvas-contexts-expected.txt	2017-06-20 22:44:11 UTC (rev 218610)
@@ -5,11 +5,6 @@
 -- Running test case: CheckNoCanvases
 PASS: CanvasManager should have no canvases.
 
--- Running test case: CheckCanvasesCleared
-Added canvas.
-Cleared canvases after reloading page.
-PASS: CanvasManager should have no canvases.
-
 -- Running test case: Create2DCanvasContext
 Added canvas.
 PASS: Canvas context should be 2D.

Modified: trunk/LayoutTests/inspector/canvas/create-canvas-contexts.html (218609 => 218610)


--- trunk/LayoutTests/inspector/canvas/create-canvas-contexts.html	2017-06-20 22:04:31 UTC (rev 218609)
+++ trunk/LayoutTests/inspector/canvas/create-canvas-contexts.html	2017-06-20 22:44:11 UTC (rev 218610)
@@ -66,27 +66,6 @@
         }
     });
 
-    suite.addTestCase({
-        name: "CheckCanvasesCleared",
-        description: "Check that canvases are cleared on reload.",
-        test(resolve, reject) {
-            WebInspector.canvasManager.awaitEvent(WebInspector.CanvasManager.Event.Cleared)
-            .then((event) => {
-                InspectorTest.log("Cleared canvases after reloading page.");
-                InspectorTest.expectEqual(WebInspector.canvasManager.canvases.length, 0, "CanvasManager should have no canvases.");
-            })
-            .then(resolve, reject);
-
-            WebInspector.canvasManager.awaitEvent(WebInspector.CanvasManager.Event.CanvasWasAdded)
-            .then((event) => {
-                InspectorTest.log("Added canvas.");
-                InspectorTest.reloadPage();
-            });
-
-            InspectorTest.evaluateInPage(`createCanvas('2d')`);
-        }
-    });
-
     function addSimpleTestCase({name, description, _expression_, contextType}) {
         suite.addTestCase({
             name,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to