Use testRunner instead of layoutTestController in fast/animation, autoresize, backgro...
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Jun 2012 06:35:17 +0000 (06:35 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Jun 2012 06:35:17 +0000 (06:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=89422

Reviewed by Kent Tamura.

* fast/animation/request-animation-frame-detach-element.html:
* fast/animation/request-animation-frame-detach-element2.html:
* fast/animation/request-animation-frame-disabled.html:
* fast/animation/request-animation-frame-during-modal.html:
* fast/animation/request-animation-frame-iframe.html:
* fast/animation/script-tests/request-animation-frame-cancel.js:
* fast/animation/script-tests/request-animation-frame-cancel2.js:
* fast/animation/script-tests/request-animation-frame-disabled.js:
* fast/animation/script-tests/request-animation-frame-timestamps-advance.js:
* fast/animation/script-tests/request-animation-frame-timestamps.js:
* fast/animation/script-tests/request-animation-frame-within-callback.js:
* fast/animation/script-tests/request-animation-frame.js:
* fast/autoresize/autoresize-with-iframe.html:
* fast/autoresize/basic.html:
* fast/autoresize/turn-off-autoresize.html:
* fast/backgrounds/animated-gif-as-background.html:
* fast/backgrounds/animated-svg-as-mask.html:
* fast/backgrounds/background-fast-path-simple-color.html:
* fast/backgrounds/background-fill-zero-area-crash.html:
* fast/backgrounds/background-repeat-computed-style.html:
* fast/backgrounds/multiple-backgrounds-assert.html:
* fast/backgrounds/root-background-propagation.html:
* fast/backgrounds/root-background-propagation2.html:
* fast/backgrounds/size/contain-and-cover-zoomed.html:
* fast/backgrounds/solid-color-context-restore.html:
* fast/block/:
* fast/borders/border-image-reset-by-border-shorthand.html:
* fast/borders/border-image-slice-omission.html:
* fast/borders/border-mixed-alpha.html:
* fast/borders/border-radius-complex-inner.html:
* fast/borders/border-radius-parsing.html:
* fast/borders/negative-border-width.html:
* fast/borders/outline-alpha-block.html:
* fast/borders/outline-alpha-inline.html:
* fast/box-shadow/box-shadow-clipped-slices.html:
* fast/box-shadow/box-shadow-currentcolor.html:
* fast/box-shadow/no-blur-multiple-offsets.html:
* fast/box-shadow/resources/box-shadow-overflow-scroll.js:
* fast/box-shadow/spread-multiple-inset.html:
* fast/box-shadow/spread-multiple-normal.html:

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

87 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/animation/request-animation-frame-detach-element.html
LayoutTests/fast/animation/request-animation-frame-detach-element2.html
LayoutTests/fast/animation/request-animation-frame-disabled.html
LayoutTests/fast/animation/request-animation-frame-during-modal.html
LayoutTests/fast/animation/request-animation-frame-iframe.html
LayoutTests/fast/animation/script-tests/request-animation-frame-cancel.js
LayoutTests/fast/animation/script-tests/request-animation-frame-cancel2.js
LayoutTests/fast/animation/script-tests/request-animation-frame-disabled.js
LayoutTests/fast/animation/script-tests/request-animation-frame-timestamps-advance.js
LayoutTests/fast/animation/script-tests/request-animation-frame-timestamps.js
LayoutTests/fast/animation/script-tests/request-animation-frame-within-callback.js
LayoutTests/fast/animation/script-tests/request-animation-frame.js
LayoutTests/fast/autoresize/autoresize-with-iframe.html
LayoutTests/fast/autoresize/basic.html
LayoutTests/fast/autoresize/turn-off-autoresize.html
LayoutTests/fast/backgrounds/animated-gif-as-background.html
LayoutTests/fast/backgrounds/animated-svg-as-mask.html
LayoutTests/fast/backgrounds/background-fast-path-simple-color.html
LayoutTests/fast/backgrounds/background-fill-zero-area-crash.html
LayoutTests/fast/backgrounds/background-repeat-computed-style.html
LayoutTests/fast/backgrounds/multiple-backgrounds-assert.html
LayoutTests/fast/backgrounds/root-background-propagation.html
LayoutTests/fast/backgrounds/root-background-propagation2.html
LayoutTests/fast/backgrounds/size/contain-and-cover-zoomed.html
LayoutTests/fast/backgrounds/solid-color-context-restore.html
LayoutTests/fast/block/basic/empty-anonymous-block-remove-crash.html
LayoutTests/fast/block/block-add-child-crash.html
LayoutTests/fast/block/block-not-removed-from-parent-lineboxes-crash.html
LayoutTests/fast/block/block-remove-child-delete-line-box-crash.html
LayoutTests/fast/block/block-size-integer-overflow.html
LayoutTests/fast/block/child-not-removed-from-parent-lineboxes-crash.html
LayoutTests/fast/block/float/crash-on-absolute-positioning.html
LayoutTests/fast/block/float/crash-replaced-display-block.html
LayoutTests/fast/block/float/float-in-float-hit-testing.html
LayoutTests/fast/block/float/float-not-removed-crash.html
LayoutTests/fast/block/float/float-not-removed-from-first-letter.html
LayoutTests/fast/block/float/float-not-removed-from-next-sibling-crash.html
LayoutTests/fast/block/float/float-not-removed-from-next-sibling5.html
LayoutTests/fast/block/float/float-originating-line-deleted-crash.html
LayoutTests/fast/block/float/floats-not-cleared-crash.html
LayoutTests/fast/block/float/floats-not-cleared-from-grand-parents.html
LayoutTests/fast/block/float/floats-with-margin-should-not-wrap.html
LayoutTests/fast/block/float/intruding-float-not-removed-from-descendant-crash.html
LayoutTests/fast/block/float/intruding-float-not-removed-from-next-sibling-crash.html
LayoutTests/fast/block/float/no-overhanging-float-crash.html
LayoutTests/fast/block/float/positioned-float-crash.html
LayoutTests/fast/block/float/relative-painted-twice.html
LayoutTests/fast/block/float/selection-gap-clip-out-tiger-crash.html
LayoutTests/fast/block/inline-children-root-linebox-crash.html
LayoutTests/fast/block/line-layout/crash-in-isolate-with-positioned-child.html
LayoutTests/fast/block/line-layout/inline-box-wrapper-crash.html
LayoutTests/fast/block/line-layout/line-break-obj-removal-crash.html
LayoutTests/fast/block/line-layout/line-break-removal-near-textarea-crash.html
LayoutTests/fast/block/line-layout/selection-highlight-crash.html
LayoutTests/fast/block/merge-anonymous-block-remove-child-crash.html
LayoutTests/fast/block/merge-anonymous-block-remove-child-crash2.html
LayoutTests/fast/block/percent-height-descendant-not-removed-crash.html
LayoutTests/fast/block/positioning/absolute-appended-to-inline.html
LayoutTests/fast/block/positioning/absolute-in-inline-rtl-4.html
LayoutTests/fast/block/positioning/absolute-layout-after-image-load.html
LayoutTests/fast/block/positioning/complex-percentage-height.html
LayoutTests/fast/block/positioning/fixed-position-detached-frame.html
LayoutTests/fast/block/positioning/hittest-on-relative-positioned-children.html
LayoutTests/fast/block/positioning/offsetLeft-offsetTop-borders.html
LayoutTests/fast/block/positioning/offsetLeft-relative-iframe.html
LayoutTests/fast/block/positioning/offsetLeft-relative-td.html
LayoutTests/fast/block/positioning/positioned-float-layout-after-image-load.html
LayoutTests/fast/block/positioning/positioned-object-under-split-block-parent-crash.html
LayoutTests/fast/block/positioning/removing-inside-relpositioned-inline-crash.html
LayoutTests/fast/block/positioning/resources/absolute-layout-after-image-load-2.html
LayoutTests/fast/block/positioning/resources/positioned-float-layout-after-image-load-2.html
LayoutTests/fast/block/update-midpoints-for-trailing-boxes-crash.html
LayoutTests/fast/borders/border-image-reset-by-border-shorthand.html
LayoutTests/fast/borders/border-image-slice-omission.html
LayoutTests/fast/borders/border-mixed-alpha.html
LayoutTests/fast/borders/border-radius-complex-inner.html
LayoutTests/fast/borders/border-radius-parsing.html
LayoutTests/fast/borders/negative-border-width.html
LayoutTests/fast/borders/outline-alpha-block.html
LayoutTests/fast/borders/outline-alpha-inline.html
LayoutTests/fast/box-shadow/box-shadow-clipped-slices.html
LayoutTests/fast/box-shadow/box-shadow-currentcolor.html
LayoutTests/fast/box-shadow/no-blur-multiple-offsets.html
LayoutTests/fast/box-shadow/resources/box-shadow-overflow-scroll.js
LayoutTests/fast/box-shadow/spread-multiple-inset.html
LayoutTests/fast/box-shadow/spread-multiple-normal.html

index abfdbb0..d6a39d7 100644 (file)
@@ -1,3 +1,51 @@
+2012-06-18  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Use testRunner instead of layoutTestController in fast/animation, autoresize, backgrounds, block, body-propagation, borders, and box-* tests
+        https://bugs.webkit.org/show_bug.cgi?id=89422
+
+        Reviewed by Kent Tamura.
+
+        * fast/animation/request-animation-frame-detach-element.html:
+        * fast/animation/request-animation-frame-detach-element2.html:
+        * fast/animation/request-animation-frame-disabled.html:
+        * fast/animation/request-animation-frame-during-modal.html:
+        * fast/animation/request-animation-frame-iframe.html:
+        * fast/animation/script-tests/request-animation-frame-cancel.js:
+        * fast/animation/script-tests/request-animation-frame-cancel2.js:
+        * fast/animation/script-tests/request-animation-frame-disabled.js:
+        * fast/animation/script-tests/request-animation-frame-timestamps-advance.js:
+        * fast/animation/script-tests/request-animation-frame-timestamps.js:
+        * fast/animation/script-tests/request-animation-frame-within-callback.js:
+        * fast/animation/script-tests/request-animation-frame.js:
+        * fast/autoresize/autoresize-with-iframe.html:
+        * fast/autoresize/basic.html:
+        * fast/autoresize/turn-off-autoresize.html:
+        * fast/backgrounds/animated-gif-as-background.html:
+        * fast/backgrounds/animated-svg-as-mask.html:
+        * fast/backgrounds/background-fast-path-simple-color.html:
+        * fast/backgrounds/background-fill-zero-area-crash.html:
+        * fast/backgrounds/background-repeat-computed-style.html:
+        * fast/backgrounds/multiple-backgrounds-assert.html:
+        * fast/backgrounds/root-background-propagation.html:
+        * fast/backgrounds/root-background-propagation2.html:
+        * fast/backgrounds/size/contain-and-cover-zoomed.html:
+        * fast/backgrounds/solid-color-context-restore.html:
+        * fast/block/:
+        * fast/borders/border-image-reset-by-border-shorthand.html:
+        * fast/borders/border-image-slice-omission.html:
+        * fast/borders/border-mixed-alpha.html:
+        * fast/borders/border-radius-complex-inner.html:
+        * fast/borders/border-radius-parsing.html:
+        * fast/borders/negative-border-width.html:
+        * fast/borders/outline-alpha-block.html:
+        * fast/borders/outline-alpha-inline.html:
+        * fast/box-shadow/box-shadow-clipped-slices.html:
+        * fast/box-shadow/box-shadow-currentcolor.html:
+        * fast/box-shadow/no-blur-multiple-offsets.html:
+        * fast/box-shadow/resources/box-shadow-overflow-scroll.js:
+        * fast/box-shadow/spread-multiple-inset.html:
+        * fast/box-shadow/spread-multiple-normal.html:
+
 2012-06-18  Zan Dobersek  <zandobersek@gmail.com>
 
         Unreviewed GTK gardening, updating baselines after rollouts in r120627.
index 2acd468..11d99af 100644 (file)
@@ -1,8 +1,8 @@
 <!DOCTYPE html>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 window.onload = function() {
     var el = document.getElementsByTagName("iframe")[0];
@@ -12,10 +12,10 @@ window.onload = function() {
     window.frames[1].webkitRequestAnimationFrame(function() {
     });
 
-    if (window.layoutTestController) {
+    if (window.testRunner) {
         window.setTimeout(function() {
-            layoutTestController.display();
-            layoutTestController.notifyDone();
+            testRunner.display();
+            testRunner.notifyDone();
         }, 50);
     }
 }
index e2b022a..6d2a290 100644 (file)
@@ -1,8 +1,8 @@
 <!DOCTYPE html>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 window.onload = function() {
     var el = document.getElementsByTagName("iframe")[0];
@@ -10,10 +10,10 @@ window.onload = function() {
         el.parentNode.removeChild(el);
     });
 
-    if (window.layoutTestController) {
+    if (window.testRunner) {
         window.setTimeout(function() {
-            layoutTestController.display();
-            layoutTestController.notifyDone();
+            testRunner.display();
+            testRunner.notifyDone();
         }, 50);
     }
 }
index bf17287..4921559 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.overridePreference("WebKitRequestAnimationFrameEnabled", "0");
+if (window.testRunner)
+    window.testRunner.overridePreference("WebKitRequestAnimationFrameEnabled", "0");
 </script>
 <script src="../js/resources/js-test-pre.js"></script>
 </head>
index 76de8f2..6d3fc34 100644 (file)
@@ -4,8 +4,8 @@
 <body>
 
 <script type="text/javascript">
-if (window.layoutTestController)
-    layoutTestController.setCanOpenWindows();
+if (window.testRunner)
+    testRunner.setCanOpenWindows();
 
 description('Tests that requestAnimationFrame callbacks are not invoked while modal dialogs are displayed.');
 
@@ -14,26 +14,26 @@ onload = function()
     debug('Setting callback');
     window.webkitRequestAnimationFrame(function() { debug('Callback fired'); }, document.body);
     debug('Showing modal dialog');
-    var src = 'if (window.layoutTestController) {' +
-              '    layoutTestController.display();' +
+    var src = 'if (window.testRunner) {' +
+              '    testRunner.display();' +
               '    window.close();' +
               '} else {'+
               '    window.setTimeout(window.close, 10);'+
               '}';
     showModalDialog('data:text/html,<script>' + src + '</' + 'script>');
     debug('Returned from modal dialog');
-    if (window.layoutTestController) {;
-        layoutTestController.display();
+    if (window.testRunner) {;
+        testRunner.display();
     }
 }
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 
 setTimeout(function() {
     isSuccessfullyParsed();
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }, 200);
 
 </script>
index a8eb3fc..28edb87 100644 (file)
 
         var callbackInvoked = false;
     
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.waitUntilDone();
         }
 
         // Called from subframe.
         function doDisplay()
         {
-            if (window.layoutTestController)
-                layoutTestController.display();
+            if (window.testRunner)
+                testRunner.display();
         }
     
         function doCheckResult()
@@ -30,8 +30,8 @@
         function doTestDone()
         {
             isSuccessfullyParsed();
-            if (window.layoutTestController)
-                layoutTestController.notifyDone();
+            if (window.testRunner)
+                testRunner.notifyDone();
         }
     </script>
 </body>
index 53f8158..48c1a3f 100644 (file)
@@ -7,18 +7,18 @@ var id = window.webkitRequestAnimationFrame(function() {
 
 window.webkitCancelAnimationFrame(id);
 
-if (window.layoutTestController)
-    layoutTestController.display();
+if (window.testRunner)
+    testRunner.display();
 
 setTimeout(function() {
     shouldBeFalse("callbackFired");
 }, 100);
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 
 setTimeout(function() {
     isSuccessfullyParsed();
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }, 200);
index 38da6fe..1e2310b 100644 (file)
@@ -14,19 +14,19 @@ secondCallbackId = window.webkitRequestAnimationFrame(function() {
     callbackFired = true;
 }, e);
 
-if (window.layoutTestController)
-    layoutTestController.display();
+if (window.testRunner)
+    testRunner.display();
 
 setTimeout(function() {
     shouldBeFalse("callbackFired");
     shouldBeTrue("cancelFired");
 }, 100);
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 
 setTimeout(function() {
     isSuccessfullyParsed();
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }, 200);
index b6477b9..b4cb3c4 100644 (file)
@@ -5,18 +5,18 @@ window.webkitRequestAnimationFrame(function() {
     callbackInvoked = true;
 });
 
-if (window.layoutTestController)
-    layoutTestController.display();
+if (window.testRunner)
+    testRunner.display();
 
 setTimeout(function() {
     shouldBeFalse("callbackInvoked");
 }, 100);
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 
 setTimeout(function() {
     isSuccessfullyParsed();
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }, 200);
index 2b8c518..7e44ee8 100644 (file)
@@ -20,12 +20,12 @@ window.webkitRequestAnimationFrame(function(timestamp) {
         finishJSTest();
     });
     busyWait(10);
-    if (window.layoutTestController)
-        layoutTestController.display();
+    if (window.testRunner)
+        testRunner.display();
 });
 
 
-if (window.layoutTestController)
+if (window.testRunner)
     window.setTimeout(function() {
-        layoutTestController.display();
+        testRunner.display();
     });
index ab6d9ad..87100ff 100644 (file)
@@ -20,11 +20,11 @@ window.webkitRequestAnimationFrame(function(timestamp) {
     shouldBe("firstTimestamp", "secondTimestamp");
 });
 
-if (window.layoutTestController)
-    layoutTestController.display();
+if (window.testRunner)
+    testRunner.display();
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 
 setTimeout(function() {
     shouldBeDefined("firstTimestamp");
@@ -32,6 +32,6 @@ setTimeout(function() {
 
 setTimeout(function() {
     isSuccessfullyParsed();
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }, 200);
index e4398e0..943cf6f 100644 (file)
@@ -15,17 +15,17 @@ window.webkitRequestAnimationFrame(function() {
 }, e);
 
 // This should fire the three already registered callbacks, but not the one dynamically registered.
-if (window.layoutTestController)
-    layoutTestController.display();
+if (window.testRunner)
+    testRunner.display();
 // This should fire the dynamically registered callback.
-if (window.layoutTestController)
-    layoutTestController.display();
+if (window.testRunner)
+    testRunner.display();
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 
 setTimeout(function() {
     isSuccessfullyParsed();
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }, 200);
index 1647315..16d479f 100644 (file)
@@ -6,18 +6,18 @@ window.webkitRequestAnimationFrame(function() {
     callbackInvoked = true;
 }, e);
 
-if (window.layoutTestController)
-    layoutTestController.display();
+if (window.testRunner)
+    testRunner.display();
 
 setTimeout(function() {
     shouldBeTrue("callbackInvoked");
 }, 100);
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 
 setTimeout(function() {
     isSuccessfullyParsed();
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }, 200);
index 12d8bff..c1abe07 100644 (file)
@@ -2,11 +2,11 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.enableAutoResizeMode(10, 10, 1000, 1000);
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpChildFramesAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.enableAutoResizeMode(10, 10, 1000, 1000);
+    testRunner.dumpAsText();
+    testRunner.dumpChildFramesAsText();
+    testRunner.waitUntilDone();
 }
 
 function run()
@@ -14,7 +14,7 @@ function run()
     var frameWindow = document.getElementById("frame").contentWindow;
     frameWindow.postMessage("shouldBe('document.body.scrollWidth', 400)", "*");
     frameWindow.postMessage("shouldBe('document.body.scrollHeight', 200)", "*");
-    frameWindow.postMessage("log('DONE'); if (window.layoutTestController) layoutTestController.notifyDone();", "*");
+    frameWindow.postMessage("log('DONE'); if (window.testRunner) testRunner.notifyDone();", "*");
 }
 </script>
 </head>
index 0fefc24..6e3771a 100644 (file)
@@ -4,9 +4,9 @@
 <script>
 function runTest()
 {
-    if (window.layoutTestController) {
-        layoutTestController.enableAutoResizeMode(10, 10, 1000, 1000);
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.enableAutoResizeMode(10, 10, 1000, 1000);
+        testRunner.dumpAsText();
     }
     shouldBe('document.body.clientWidth', 'window.innerWidth');
     shouldBe('document.body.clientHeight', 'window.innerHeight');
index c8708c0..27a419a 100644 (file)
@@ -4,9 +4,9 @@
 <script>
 function runTest()
 {
-    if (window.layoutTestController) {
-        layoutTestController.enableAutoResizeMode(10, 10, 1000, 1000);
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.enableAutoResizeMode(10, 10, 1000, 1000);
+        testRunner.dumpAsText();
     }
     shouldBe('document.body.clientWidth', 'window.innerWidth');
     shouldBe('document.body.clientHeight', 'window.innerHeight');
@@ -14,8 +14,8 @@ function runTest()
     shouldBe('document.body.scrollHeight', 'window.innerHeight');
     shouldBe('window.innerWidth', 'window.outerWidth');
     shouldBe('window.innerHeight', 'window.outerHeight');
-    if (window.layoutTestController)
-        layoutTestController.disableAutoResizeMode(200, 200);
+    if (window.testRunner)
+        testRunner.disableAutoResizeMode(200, 200);
 
     shouldBe('window.outerWidth', 200);
     shouldBe('window.outerHeight', 200);
index eb88c24..bea4291 100644 (file)
@@ -9,14 +9,14 @@
     }
   </style>
   <script type="text/javascript" charset="utf-8">
-    if (window.layoutTestController)
-      layoutTestController.waitUntilDone();
+    if (window.testRunner)
+      testRunner.waitUntilDone();
     
     function pageLoaded() 
     {
       window.setTimeout(function() {
-        if (window.layoutTestController)
-          layoutTestController.notifyDone();
+        if (window.testRunner)
+          testRunner.notifyDone();
       }, 200);    // Red frame of GIF has 100ms duration
     }
 
index 121b86d..c9ef9be 100644 (file)
   }
   </style>
   <script type="text/javascript" charset="utf-8">
-    if (window.layoutTestController)
-      layoutTestController.waitUntilDone();
+    if (window.testRunner)
+      testRunner.waitUntilDone();
     
     function pageLoaded() 
     {
       window.setTimeout(function() {
-        if (window.layoutTestController)
-          layoutTestController.notifyDone();
+        if (window.testRunner)
+          testRunner.notifyDone();
       }, 400);    // empirically determined delay. SVG animation has 100ms duration.
     }
 
index 6e689f9..bcc1eef 100644 (file)
@@ -20,8 +20,8 @@ The test passes if you see a green rectangle below.
     }
 </style>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText(true);
+    if (window.testRunner)
+        testRunner.dumpAsText(true);
 </script>
 </head>
 <body>
index bd7a580..f7bec67 100644 (file)
@@ -2,8 +2,8 @@
 <html>
     <head>
         <script>
-            if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+            if (window.testRunner)
+            testRunner.dumpAsText();
         </script>
         <style>
             #a {
index 9e60917..0e22475 100644 (file)
@@ -11,8 +11,8 @@
         }\r
     </style>\r
     <script>\r
-        if (window.layoutTestController)\r
-            window.layoutTestController.dumpAsText();\r
+        if (window.testRunner)\r
+            window.testRunner.dumpAsText();\r
     </script>\r
 </head>\r
 <body>\r
index 4da4941..c522ec4 100644 (file)
@@ -25,9 +25,9 @@
 
   <script type="text/javascript" charset="utf-8">
 
-    if (window.layoutTestController) {
-      layoutTestController.dumpAsText();
-      layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+      testRunner.dumpAsText();
+      testRunner.waitUntilDone();
     }
 
     function runTest()
@@ -35,8 +35,8 @@
       document.getElementById('box').className = 'box final';
       window.setTimeout(function() {
         document.getElementById('box').style.display = 'none';
-        if (window.layoutTestController)
-          layoutTestController.notifyDone();
+        if (window.testRunner)
+          testRunner.notifyDone();
       }, 0);
     }
   
index abc6193..b62a671 100644 (file)
@@ -11,8 +11,8 @@
         }
     </style>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText(true);
+        if (window.testRunner)
+            testRunner.dumpAsText(true);
     </script>
 </head>
 <body>
index 97c4c7b..e81f265 100644 (file)
@@ -14,8 +14,8 @@
         }
     </style>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText(true);
+        if (window.testRunner)
+            testRunner.dumpAsText(true);
     </script>
 </head>
 <body>
index 5d27a83..873a27b 100644 (file)
@@ -55,7 +55,7 @@
 <div class="portrait cover-contain"></div>
 
 <script>
-    if (window.layoutTestController) {
+    if (window.testRunner) {
         for (var i = 0; i < 3; ++i) {
             eventSender.zoomPageOut();
         }
index 1c20b17..0837302 100644 (file)
@@ -14,8 +14,8 @@
         foo
     </div>
     <script type="text/javascript">
-        if (window.layoutTestController)
-            layoutTestController.display();
+        if (window.testRunner)
+            testRunner.display();
         target = document.getElementById('target');
         window.getSelection().setBaseAndExtent(target, 0, target, 1);
     </script>
index 23328fa..22a5cfa 100644 (file)
@@ -1,10 +1,10 @@
 <html>\r
     <head>\r
         <script>\r
-            if (window.layoutTestController)\r
+            if (window.testRunner)\r
             {\r
-                layoutTestController.dumpAsText();\r
-                layoutTestController.waitUntilDone();\r
+                testRunner.dumpAsText();\r
+                testRunner.waitUntilDone();\r
             }\r
         \r
             function runTest()\r
@@ -17,8 +17,8 @@
                 var result = document.createElement("div");\r
                 result.innerHTML = "PASS";\r
                 document.body.appendChild(result);\r
-                if (window.layoutTestController)\r
-                    layoutTestController.notifyDone();\r
+                if (window.testRunner)\r
+                    testRunner.notifyDone();\r
             }\r
         </script>\r
     </head>\r
index e2e6e84..0a8fbc3 100755 (executable)
@@ -14,8 +14,8 @@ The test passes if it doesn't CRASH nor ASSERT.
 <textarea></textarea>
 </li>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 document.body.offsetTop;
 var test = document.getElementById("test");
index 03bc435..e27b289 100644 (file)
@@ -3,8 +3,8 @@
 <div style="width: 25px">
 <img style="width: 20px"><img id="test1" style="width: 50px; display: none;"><span id="test2" style="float: left;">AB</span>CD</div>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
     
 document.body.offsetTop;
 test1.style.display = "";
index 0832ac4..aa5547c 100644 (file)
@@ -10,8 +10,8 @@ BeforeText<span id="span1">SpanText</span>AfterText
 <p>ParaText</p>\r
 </div>\r
 <script>\r
-if (window.layoutTestController)\r
-    layoutTestController.dumpAsText();\r
+if (window.testRunner)\r
+    testRunner.dumpAsText();\r
 \r
 document.body.offsetTop;\r
 var h1 = document.createElement('h1');\r
index 95eb1f5..8e5b0a2 100644 (file)
@@ -11,8 +11,8 @@
 </style>
 <script>
 window.onload = function() {
-  if (window.layoutTestController)
-    window.layoutTestController.dumpAsText();
+  if (window.testRunner)
+    window.testRunner.dumpAsText();
 
   var spacer = document.getElementById("spacer");
   if (spacer.offsetWidth > 0) {
index ef81794..c548e6b 100644 (file)
@@ -2,8 +2,8 @@
 <body>
 </body>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var tags = ['a', 'abbr', 'acronym', 'address', 'applet', 'area', 'article', 'aside', 'audio', 'b', 'base', 'basefont', 'bdo', 'bgsound', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'command', 'datagrid', 'datalist', 'dcell', 'dcol', 'drow', 'dd', 'del', 'details', 'dfn', 'dir', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'frame', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'child', 'image', 'img', 'input', 'ins', 'isindex', 'kbd', 'keygen', 'label', 'layer', 'legend', 'li', 'link', 'listing', 'map', 'mark', 'marquee', 'menu', 'meta', 'meter', 'nav', 'nobr', 'noembed', 'noframes', 'nolayer', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'plaintext', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr', 'xmp', 'noscript', 'noscript', 'math', 'mfrac', 'mfenced', 'msubsup', 'mrow', 'mover', 'munder', 'munderover', 'msqrt', 'mroot', 'mi', 'mn', 'mo', 'mtext', 'msub', 'msup', 'ms', 'mglyph', 'malignmark', 'annotation-xml', 'a', 'access', 'anchor', 'br', 'card', 'do', 'fieldset', 'go', 'head', 'img', 'input', 'insertedLegend', 'meta', 'noop', 'onevent', 'optgroup', 'option', 'p', 'postfield', 'prev', 'refresh', 'select', 'setvar', 'table', 'td', 'template', 'timer', 'tr', 'a', 'altGlyph', 'altGlyphDef', 'altGlyphItem', 'animate', 'animateColor', 'animateMotion', 'animateTransform', 'set', 'circle', 'clipPath', 'color_profile', 'cursor', 'defs', 'desc', 'ellipse', 'feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence', 'filter', 'font', 'font_face', 'font_face_format', 'font_face_name', 'font_face_src', 'font_face_uri', 'foreignObject', 'g', 'glyph', 'glyphRef', 'hkern', 'image', 'line', 'linearGradient', 'marker', 'mask', 'metadata', 'missing_glyph', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'script', 'stop', 'style', 'svg', 'switch', 'symbol', 'text', 'textPath', 'title', 'tref', 'tspan', 'use', 'view', 'vkern']
 
index ddde86a..c862690 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <script>
-if (window.layoutTestController)
+if (window.testRunner)
 {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 function removeFloat()
@@ -19,9 +19,9 @@ function crash()
     var float1 = document.getElementById('float1');
     block1.style.position = 'absolute';
     float1.style.display = 'none';
-    if (window.layoutTestController)
+    if (window.testRunner)
     {
-        layoutTestController.notifyDone();
+        testRunner.notifyDone();
     }
 }
 </script>
index 56645f0..c2614b2 100644 (file)
@@ -1,8 +1,8 @@
 <p>This tests rdar://problem/6545095 ASSERTION FAILED: RenderBlock.h:519: !o || o->isRenderBlock()</p>
 
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
 
 <div style="float: left; height: 1000px; width: 20px;"></div>
index 0e20c43..c101cf8 100644 (file)
@@ -1,6 +1,6 @@
 <script>
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 
 function test()
 {
@@ -16,8 +16,8 @@ function release()
 {
     if (window.eventSender)
         eventSender.mouseUp();
-    if (window.layoutTestController)
-       setTimeout("layoutTestController.notifyDone()", 0);
+    if (window.testRunner)
+       setTimeout("testRunner.notifyDone()", 0);
 }
 
 </script>
index 82e76ba..337b7d9 100644 (file)
@@ -9,8 +9,8 @@
             <span id="span2" style="display: list-item"></span>\r
         </div>\r
         <script type="text/javascript">\r
-            if (window.layoutTestController)\r
-                layoutTestController.dumpAsText();\r
+            if (window.testRunner)\r
+                testRunner.dumpAsText();\r
 \r
             function runTest() {\r
                 document.body.offsetTop;\r
index d8bc8d3..e18a317 100755 (executable)
@@ -7,8 +7,8 @@ Webkit Bug 86019 - Crash due to floats not removed from first-letter element.
 .li2:first-of-type { display: -webkit-inline-flexbox; }
 </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
     
 function crash() {
     li1 = document.createElement('li');
index e7aa0b8..64ee1f4 100644 (file)
@@ -3,8 +3,8 @@
         Test passes if it does not crash.\r
         <div style="width: 15px;">\r
             <script>\r
-                if (window.layoutTestController)\r
-                    layoutTestController.dumpAsText();\r
+                if (window.testRunner)\r
+                    testRunner.dumpAsText();\r
 \r
                 function runTest()\r
                 {\r
index 750fe9a..18a80dd 100644 (file)
@@ -13,8 +13,8 @@ Test passes if it does not crash.
     </div>
 </div>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     document.body.offsetTop;
     test3.style.position = 'absolute';
index cce2564..f50bb54 100644 (file)
@@ -1,9 +1,9 @@
 <html>\r
 Test passes if it does not crash.\r
 <script>\r
-if (window.layoutTestController) {\r
-    layoutTestController.dumpAsText();\r
-    layoutTestController.waitUntilDone();\r
+if (window.testRunner) {\r
+    testRunner.dumpAsText();\r
+    testRunner.waitUntilDone();\r
 }\r
 \r
 function runTest()\r
@@ -13,8 +13,8 @@ function runTest()
 \r
        document.body.offsetTop;\r
     \r
-    if (window.layoutTestController)\r
-        layoutTestController.notifyDone();\r
+    if (window.testRunner)\r
+        testRunner.notifyDone();\r
 }\r
 \r
 setTimeout("runTest();", 0);\r
index f72159d..74d1f28 100644 (file)
@@ -1,9 +1,9 @@
 <html>\r
 <script>\r
-if (window.layoutTestController)\r
+if (window.testRunner)\r
 {\r
-    layoutTestController.dumpAsText();\r
-    layoutTestController.waitUntilDone();\r
+    testRunner.dumpAsText();\r
+    testRunner.waitUntilDone();\r
 }   \r
 window.setTimeout('crash();', 0);\r
 function crash()\r
@@ -15,8 +15,8 @@ function crash()
 \r
     document.body.offsetTop;\r
     block1.innerHTML = "PASS";\r
-    if (window.layoutTestController)\r
-        layoutTestController.notifyDone();\r
+    if (window.testRunner)\r
+        testRunner.notifyDone();\r
 }\r
 </script>\r
 <div id="block1">\r
index 328bfa1..961f65e 100644 (file)
@@ -2,8 +2,8 @@
 <body onload="runTest();">\r
 Test passes if it does not crash.\r
 <script>\r
-    if (window.layoutTestController)\r
-        layoutTestController.dumpAsText();\r
+    if (window.testRunner)\r
+        testRunner.dumpAsText();\r
 \r
     function runTest() {\r
         span0 = document.createElement('span');\r
index c6d6d3b..187d735 100644 (file)
@@ -19,8 +19,8 @@
 <div id="bottom">The three blocks above should all be on the same line.</div>
 
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var rect = document.getElementById('container').getBoundingClientRect();
     var height = rect.bottom - rect.top;
index 0375bdd..99b1b8d 100644 (file)
@@ -7,8 +7,8 @@ Test passes if it does not crash.
 .td1 { height: 100px; }
 </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function runTest() {
 span1 = document.createElement('span');
index 569da6a..544e62e 100755 (executable)
@@ -13,8 +13,8 @@
 }
 </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 onload = function() {
 document.body.appendChild(document.createElement('select'));
index ff00062..fd71a26 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <body onload="runTest()">
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
         
     function runTest()
     { 
index 84adb4a..73bbcc2 100755 (executable)
@@ -3,8 +3,8 @@
 <body style="position: fixed;">
 <div style="position: fixed; float: -webkit-positioned;"></div>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 document.body.offsetTop;
 document.body.parentNode.removeChild(document.body);
index 9cff397..6d1917e 100644 (file)
@@ -12,7 +12,7 @@
             document.getElementById("target").style.backgroundColor = "red";
         }
 
-        if (window.layoutTestController) {
+        if (window.testRunner) {
             eventSender.mouseMoveTo(25, 25);
             eventSender.mouseDown();
             eventSender.mouseUp();
index 0b03499..1c622f8 100644 (file)
     </div>
     <script>
            document.execCommand("SelectAll");
-           if (window.layoutTestController) {
-               layoutTestController.dumpAsText();
+           if (window.testRunner) {
+               testRunner.dumpAsText();
            }
     </script>
 </body>
index 24a353a..135ce9d 100755 (executable)
@@ -11,7 +11,7 @@ Test passes if it does not crash.
 <body dir=rtl>
 </body>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 </html>
index cbacfb3..79d8be8 100644 (file)
@@ -5,7 +5,7 @@ This tests that a positioned object as the only child of an isolated inline does
 <span style="unicode-bidi:-webkit-isolate;"><div style="position:absolute;"></div></span>
 </body>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 </html>
\ No newline at end of file
index dfd2d9d..c78db82 100644 (file)
@@ -3,16 +3,16 @@
     body { direction: rtl; padding-left: 100%; }\r
 </style>\r
 <script>\r
-    if (window.layoutTestController) {\r
-        layoutTestController.dumpAsText();\r
-        layoutTestController.waitUntilDone();\r
+    if (window.testRunner) {\r
+        testRunner.dumpAsText();\r
+        testRunner.waitUntilDone();\r
     }\r
 \r
     function runTest() {\r
         document.body.innerHTML = "PASS";\r
 \r
-        if (window.layoutTestController)\r
-            layoutTestController.notifyDone();\r
+        if (window.testRunner)\r
+            testRunner.notifyDone();\r
     }\r
 \r
     setTimeout("runTest()", 0);\r
index ac02a95..d059144 100644 (file)
@@ -24,8 +24,8 @@ window.onload = function() {
 
     document.documentElement.appendChild(document.createTextNode('PASS, if no crash or assert in debug'));
 
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 }
 </script>
 </html>
index ae99e74..d6430a6 100644 (file)
@@ -37,8 +37,8 @@ window.onload = function() {
     div1.setAttribute('class', 'style3');\r
     spanElem2.removeChild(paragraphElem);\r
 \r
-    if (window.layoutTestController)\r
-        layoutTestController.dumpAsText();\r
+    if (window.testRunner)\r
+        testRunner.dumpAsText();\r
 }\r
 </script>\r
 <body>\r
index b828871..c81374d 100755 (executable)
@@ -4,8 +4,8 @@
 Test passes if it does not crash.<br/>\r
 a<ruby>b<rt>c</rt></ruby>d\r
 <script>\r
-if (window.layoutTestController)\r
-    layoutTestController.dumpAsText();\r
+if (window.testRunner)\r
+    testRunner.dumpAsText();\r
 \r
 document.execCommand("SelectAll");\r
 </script>\r
index 7fb458c..d7b2f9a 100644 (file)
@@ -6,10 +6,10 @@
 </span>\r
 <div id="result"></div>\r
 <script>\r
-if (window.layoutTestController)\r
+if (window.testRunner)\r
 {\r
-    layoutTestController.dumpAsText();\r
-    layoutTestController.waitUntilDone();\r
+    testRunner.dumpAsText();\r
+    testRunner.waitUntilDone();\r
 }\r
 \r
 function runTest()\r
@@ -30,8 +30,8 @@ function runTest()
     document.body.removeChild(listItem);\r
 \r
     document.getElementById('result').innerHTML = "PASS";\r
-    if (window.layoutTestController)\r
-        layoutTestController.notifyDone();\r
+    if (window.testRunner)\r
+        testRunner.notifyDone();\r
 }\r
 </script>\r
 </body>\r
index dc0d911..65c810f 100644 (file)
@@ -6,10 +6,10 @@
 </span>\r
 <div id="result"></div>\r
 <script>\r
-if (window.layoutTestController)\r
+if (window.testRunner)\r
 {\r
-    layoutTestController.dumpAsText();\r
-    layoutTestController.waitUntilDone();\r
+    testRunner.dumpAsText();\r
+    testRunner.waitUntilDone();\r
 }\r
 \r
 function runTest()\r
@@ -31,8 +31,8 @@ function runTest()
     document.body.removeChild(listItem);\r
 \r
     document.getElementById('result').innerHTML = "PASS";\r
-    if (window.layoutTestController)\r
-        layoutTestController.notifyDone();\r
+    if (window.testRunner)\r
+        testRunner.notifyDone();\r
 }\r
 </script>\r
 </body>\r
index 069324f..8739230 100644 (file)
@@ -1,8 +1,8 @@
 <html>\r
     <head>\r
         <script>\r
-            if (window.layoutTestController)\r
-                layoutTestController.dumpAsText();\r
+            if (window.testRunner)\r
+                testRunner.dumpAsText();\r
              \r
             function runTest()\r
             {\r
index 75250cb..e326834 100644 (file)
@@ -1,15 +1,15 @@
 <html>
 <head>
     <script>
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.waitUntilDone();
         }
 
         function measureBlockPosition() {
             if (document.getElementById("block").offsetTop > document.getElementById("hover").offsetHeight)
               document.getElementById("console").innerHTML = "SUCCESS";
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         }
 
         function updateBlock() {
@@ -19,7 +19,7 @@
 
         function test(){
             var element = document.getElementById('hover');
-            if (window.layoutTestController) {
+            if (window.testRunner) {
                 eventSender.mouseMoveTo(element.offsetLeft + 5, element.offsetTop + 5);
             }
         }
index 7ea39cb..64411dd 100644 (file)
@@ -1,8 +1,8 @@
 <html dir="rtl">
 <body>
 <script>
-  if (window.layoutTestController)
-    layoutTestController.dumpAsText()
+  if (window.testRunner)
+    testRunner.dumpAsText()
 </script>
 <button style="position: relative" type="submit">
 <span style="position: absolute">This test checks that an absolute element
index b6f0b95..6bbeaea 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
      }
 
     //   https://bugs.webkit.org/show_bug.cgi?id=54611
index 961b378..d062216 100644 (file)
             else
                 addResult("red", "FAILED: redHeight (" + redHeight + ") != blueHeight (" + blueHeight + ")");
 
-            if (window.layoutTestController)
-                layoutTestController.dumpAsText();
+            if (window.testRunner)
+                testRunner.dumpAsText();
         </script>
 
     </body>
index d60e2f3..aeadb72 100644 (file)
@@ -5,6 +5,6 @@ framedoc = frames[0].document.documentElement;
 document.body.innerText = 'PASS';
 framedoc.innerHTML = '<title style="position:fixed">';
 framedoc.getElementsByTagName('title')[0].innerText = 'a';
-if (window.layoutTestController)
-    layoutTestController.dumpAsText()
+if (window.testRunner)
+    testRunner.dumpAsText()
 </script>
index bd1f62d..52cb5ed 100644 (file)
@@ -61,7 +61,7 @@ function runTest(boxName, testDiv) {
     }
 }
 
-if (window.layoutTestController) {
+if (window.testRunner) {
     var tests = document.getElementById('tests').getElementsByTagName('div');
     for (var i = 0; i < tests.length; i++)
         runTest("box " + (i + 1), tests[i]);
index 4b3c137..31286d7 100644 (file)
@@ -9,8 +9,8 @@ jee
 </div>
 </div>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText();
+if (window.testRunner)
+  testRunner.dumpAsText();
 
 var el = document.getElementById('x');
 while (el) {
index 0349ee7..de69742 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText();
+if (window.testRunner)
+  testRunner.dumpAsText();
 
 function log(str) {
   var li = document.createElement("li");
index 56435de..f8bf79f 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText();
+if (window.testRunner)
+  testRunner.dumpAsText();
 
 function log(str) {
   var li = document.createElement("li");
index 4263e18..f04a4b5 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
      }
 
     //   https://bugs.webkit.org/show_bug.cgi?id=54611
index 543c8e2..ea99f21 100755 (executable)
@@ -42,8 +42,8 @@ window.onload = function() {
 
     splitBlockParent.removeChild(splitFlowDt); // Ensure the node with the bad positioned object list gets layout.
 
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 }
 </script>
 <body>
index ec701ab..11a5a3c 100644 (file)
@@ -5,8 +5,8 @@
             span { position: absolute; }
         </style>
         <script>
-            if (window.layoutTestController)
-                layoutTestController.dumpAsText();
+            if (window.testRunner)
+                testRunner.dumpAsText();
 
             function runTest()
             {
index e5d8f82..2db553f 100644 (file)
@@ -20,7 +20,7 @@
         var footnotePosition = document.getElementById("spantext").offsetTop;
         if (footnotePosition >= bottomOfImage)
           document.getElementById("console").innerHTML = "SUCCESS";
-        layoutTestController.notifyDone();
+        testRunner.notifyDone();
     }
 </script>
 
index 21f150c..4c30538 100644 (file)
@@ -19,7 +19,7 @@
         var footnotePosition = document.getElementById("spantext").offsetTop;
         if (footnotePosition >= bottomOfImage)
           document.getElementById("console").innerHTML = "SUCCESS";
-        layoutTestController.notifyDone();
+        testRunner.notifyDone();
     }
 </script>
 
index 0b0eb87..e3d1eab 100644 (file)
@@ -12,8 +12,8 @@
 }
 </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 </head>
 <body>
index 201da0e..39ad827 100644 (file)
@@ -11,8 +11,8 @@
     }
   </style>
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText();
+if (window.testRunner)
+    window.testRunner.dumpAsText();
 
 function runTest()
 {
index 3dd5e67..90d2a70 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText()
+if (window.testRunner)
+    window.testRunner.dumpAsText()
 
 function runTest()
 {
index 486e97a..5d15196 100644 (file)
@@ -27,6 +27,6 @@
 <div class="inset"></div>
 <div class="outset"></div>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText(true);
+    if (window.testRunner)
+        testRunner.dumpAsText(true);
 </script>
index 00d97b3..8f49317 100644 (file)
@@ -35,7 +35,7 @@ div.br {
 <div class="tl br"></div>
 <div class="tr bl"></div>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText(true);
+    if (window.testRunner)
+        testRunner.dumpAsText(true);
 </script>
 
index 772a021..ff1d9ca 100644 (file)
@@ -29,8 +29,8 @@
         document.body.removeChild(element);
     }
 
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     testBorderRadiusValue("border-radius", "10px", ["10px", "10px", "10px", "10px"]);
     testBorderRadiusValue("border-radius", "10px 20px", ["10px", "20px", "10px", "20px"]);
index 59aafec..deb454e 100644 (file)
@@ -10,8 +10,8 @@
         }\r
     </style>\r
     <script>\r
-       if (window.layoutTestController)\r
-        window.layoutTestController.dumpAsText();\r
+       if (window.testRunner)\r
+        window.testRunner.dumpAsText();\r
     </script>\r
 </head>\r
 <body>\r
index 796a0ac..4ee3d48 100644 (file)
@@ -128,6 +128,6 @@ inset<br><br>
 outset
 
 <script>
-    if (window.layoutTestController)
-      layoutTestController.dumpAsText(true);
+    if (window.testRunner)
+      testRunner.dumpAsText(true);
 </script>
index 1df3a42..321dfec 100644 (file)
@@ -91,6 +91,6 @@ inset
 outset
 
 <script>
-    if (window.layoutTestController)
-      layoutTestController.dumpAsText(true);
+    if (window.testRunner)
+      testRunner.dumpAsText(true);
 </script>
index 97f9342..6af5558 100644 (file)
@@ -1,7 +1,7 @@
 <html><head>
 <script type=text/javascript>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText(true);
+if (window.testRunner)
+    window.testRunner.dumpAsText(true);
 </script>
 <style type=text/css>
 .rounded { border: 2px solid black; border-radius: 5px / 10px; box-shadow: -150px 0 30px 200px #999; width: 400px; height: 200px; position: relative }
index fcad77d..d1c7764 100644 (file)
@@ -12,8 +12,8 @@
     }
   </style>
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText(true);
+if (window.testRunner)
+    window.testRunner.dumpAsText(true);
 </script>
 </head>
 <body>
index c624f95..8b8579d 100644 (file)
@@ -16,8 +16,8 @@
         }
     </style>
     <script>
-        if (window.layoutTestController)
-            window.layoutTestController.dumpAsText(true);
+        if (window.testRunner)
+            window.testRunner.dumpAsText(true);
     </script>
     Divs with green no-blur shadows and offsets (x,y) listed.
     <div id="container">
index 0eeabf0..ff5d3d7 100644 (file)
@@ -29,6 +29,6 @@ element.scrollTop = 500;
 shouldBe("element.scrollTop", "40+50+60");
 
 // If we are in DTR, we don't need meaningless trailing messages.
-if (window.layoutTestController) {
+if (window.testRunner) {
     document.getElementById("main").innerHTML = "";
 }
index 7616410..9ed085f 100644 (file)
@@ -55,8 +55,8 @@
 
 </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText(true);
+if (window.testRunner)
+    testRunner.dumpAsText(true);
 </script>
 </head>
 <body>
index 92583ec..a0a8cbd 100644 (file)
@@ -32,8 +32,8 @@
 
 </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText(true);
+if (window.testRunner)
+    testRunner.dumpAsText(true);
 </script>
 </head>
 <body>