LayoutTest performance-api/performance-observer-basic.html is a flaky timeout
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Mar 2017 11:38:58 +0000 (11:38 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Mar 2017 11:38:58 +0000 (11:38 +0000)
https://bugs.webkit.org/show_bug.cgi?id=169097

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2017-03-03
Reviewed by Ryosuke Niwa.

* performance-api/performance-now-api.html:
* performance-api/performance-observer-basic.html:
Reorder the scripts so that testWorker is guarenteed
to be defined before code that uses it.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213362 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/performance-api/performance-now-api.html
LayoutTests/performance-api/performance-observer-basic.html

index b99f321..511a884 100644 (file)
@@ -1,3 +1,15 @@
+2017-03-03  Joseph Pecoraro  <pecoraro@apple.com>
+
+        LayoutTest performance-api/performance-observer-basic.html is a flaky timeout
+        https://bugs.webkit.org/show_bug.cgi?id=169097
+
+        Reviewed by Ryosuke Niwa.
+
+        * performance-api/performance-now-api.html:
+        * performance-api/performance-observer-basic.html:
+        Reorder the scripts so that testWorker is guarenteed
+        to be defined before code that uses it.
+
 2017-03-03  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         Unreviewed GTK+ gardening. Another reftest failing with 2 pixels in image diff.
index a72e99f..3bc2783 100644 (file)
@@ -4,13 +4,13 @@
 <script src="../resources/js-test-pre.js"></script>
 </head>
 <body>
-<script src="resources/now-api.js"></script>
 <script>
 function testWorker() {
     debug("");
     let worker = startWorker("resources/now-api.js");
 }
 </script>
+<script src="resources/now-api.js"></script>
 <script src="../resources/js-test-post.js"></script>
 </body>
 </html>
index 093a016..175f542 100644 (file)
@@ -4,13 +4,13 @@
 <script src="../resources/js-test-pre.js"></script>
 </head>
 <body>
-<script src="resources/observer-basic.js"></script>
 <script>
 function testWorker() {
     debug("");
     let worker = startWorker("resources/observer-basic.js");
 }
 </script>
+<script src="resources/observer-basic.js"></script>
 <script src="../resources/js-test-post.js"></script>
 </body>
 </html>