Title: [120518] trunk/LayoutTests
Revision
120518
Author
[email protected]
Date
2012-06-15 20:10:51 -0700 (Fri, 15 Jun 2012)

Log Message

Test fix attempt after r120516.

* fast/workers/storage/resources/database-worker-controller.js:
(databaseWorker.onmessage):
(runTest):

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (120517 => 120518)


--- trunk/LayoutTests/ChangeLog	2012-06-16 02:23:44 UTC (rev 120517)
+++ trunk/LayoutTests/ChangeLog	2012-06-16 03:10:51 UTC (rev 120518)
@@ -1,3 +1,11 @@
+2012-06-15  Ryosuke Niwa  <[email protected]>
+
+        Test fix attempt after r120516.
+
+        * fast/workers/storage/resources/database-worker-controller.js:
+        (databaseWorker.onmessage):
+        (runTest):
+
 2012-06-16  Ryosuke Niwa  <[email protected]>
 
         Use testRunner instead of layoutTestController in storage, tables, touchadjustments, and transforms tests

Modified: trunk/LayoutTests/fast/workers/storage/resources/database-worker-controller.js (120517 => 120518)


--- trunk/LayoutTests/fast/workers/storage/resources/database-worker-controller.js	2012-06-16 02:23:44 UTC (rev 120517)
+++ trunk/LayoutTests/fast/workers/storage/resources/database-worker-controller.js	2012-06-16 03:10:51 UTC (rev 120518)
@@ -11,8 +11,8 @@
     if (event.data.indexOf('log:') == 0) {
         log(event.data.substring(4));
     } else if (event.data == 'notifyDone') {
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     } else if (event.data.indexOf('setLocationHash:') == '0') {
         location.hash = event.data.substring('setLocationHash:'.length);
     } else if (event.data == 'back') {
@@ -28,9 +28,9 @@
 
 function runTest(testFile)
 {
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
     document.getElementById("console").innerText = "";
     databaseWorker.postMessage("importScripts:../../../storage/websql/" + testFile);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to