Use testRunner instead of layoutTestController in fast/hidpi, history, html, images...
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Jun 2012 08:52:23 +0000 (08:52 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Jun 2012 08:52:23 +0000 (08:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=89744

Reviewed by Kent Tamura.

* fast/hidpi/broken-image-icon-hidpi.html:
* fast/hidpi/broken-image-with-size-hidpi.html:
* fast/hidpi/clip-text-in-hidpi.html:
* fast/hidpi/device-scale-factor-paint.html:
* fast/hidpi/focus-rings.html:
* fast/hidpi/image-set-as-background.html:
* fast/hidpi/image-set-background-dynamic.html:
* fast/hidpi/image-set-background-repeat-without-size.html:
* fast/hidpi/image-set-background-repeat.html:
* fast/hidpi/image-set-border-image-comparison.html:
* fast/hidpi/image-set-border-image-dynamic.html:
* fast/hidpi/image-set-border-image-simple.html:
* fast/hidpi/image-set-in-content-dynamic.html:
* fast/hidpi/image-set-out-of-order.html:
* fast/hidpi/image-set-simple.html:
* fast/hidpi/image-set-without-specified-width.html:
* fast/hidpi/resize-corner-hidpi.html:
* fast/hidpi/video-controls-in-hidpi.html:
* fast/history/back-forward-reset-after-error-handling.html:
* fast/history/form-submit-in-frame-via-onclick.html:
* fast/history/form-submit-in-frame.html:
* fast/history/forward-during-load.html:
* fast/history/gesture-before-onload-form-submit.html:
* fast/history/gesture-before-onload-location-href.html:
* fast/history/go-back-to-changed-name.html:
* fast/history/history-back-initial-vs-final-url.html:
* fast/history/history-back-twice-with-subframes-assert.html:
* fast/history/history-back-within-subframe-hash.html:
* fast/history/history-back-within-subframe-url.html:
* fast/history/history-length.html:
* fast/history/history-replace-updates-current-item.html:
* fast/history/history-subframe-with-name.html:
* fast/history/history_reload.html:
* fast/history/location-replace-hash.html:
* fast/history/multiple-classes-visited.html:
* fast/history/nested-visited-test.html:
* fast/history/redirect-via-iframe.html:
* fast/history/resources/clicked-link-is-visited-2.html:
* fast/history/resources/history-back-within-subframe-hash-2.html:
* fast/history/resources/history-replace-updates-current-item-done.html:
* fast/history/resources/history_reload_window.html:
* fast/history/resources/redirect-target.html:
* fast/history/same-document-iframes-changing-fragment.html:
* fast/history/same-document-iframes-changing-pushstate.html:
* fast/history/saves-state-after-fragment-nav.html:
* fast/history/saves-state-after-frame-nav.html:
* fast/history/self-is-visited.html:
* fast/history/sibling-visited-test.html:
* fast/history/timed-refresh-in-cached-frame.html:
* fast/history/visited-generated-content-test.html:
* fast/history/visited-link-background-color.html:
* fast/history/window-open.html:
* fast/html/adopt-parent-frame.html:
* fast/html/body-offset-properties.html:
* fast/html/crash-style-first-letter.html:
* fast/html/details-add-summary-1-and-click.html:
* fast/html/details-add-summary-10-and-click.html:
* fast/html/details-add-summary-2-and-click.html:
* fast/html/details-add-summary-3-and-click.html:
* fast/html/details-add-summary-4-and-click.html:
* fast/html/details-add-summary-5-and-click.html:
* fast/html/details-add-summary-6-and-click.html:
* fast/html/details-add-summary-7-and-click.html:
* fast/html/details-add-summary-8-and-click.html:
* fast/html/details-add-summary-9-and-click.html:
* fast/html/details-children-merge-crash.html:
* fast/html/details-element-render-inline-crash.html:
* fast/html/details-mouse-click.html:
* fast/html/details-remove-summary-1-and-click.html:
* fast/html/details-remove-summary-2-and-click.html:
* fast/html/details-remove-summary-3-and-click.html:
* fast/html/details-remove-summary-4-and-click.html:
* fast/html/details-remove-summary-5-and-click.html:
* fast/html/details-remove-summary-6-and-click.html:
* fast/html/details-replace-summary-child.html:
* fast/html/details-replace-text.html:
* fast/html/details-summary-document-child.html:
* fast/html/draggable.html:
* fast/html/empty-fragment-id-goto-top.html:
* fast/html/font-face-empty-should-not-crash.html:
* fast/html/marquee-scrollamount.html:
* fast/html/nav-element.html:
* fast/html/object-image-nested-fallback.html:
* fast/html/pending-stylesheet-crash.html:
* fast/html/process-end-tag-for-inbody-crash.html:
* fast/html/script-allowed-types-languages.html:
* fast/html/select-dropdown-consistent-background-color.html:
* fast/html/set-text-direction.html:
* fast/html/tab-order.html:
* fast/html/tabindex-removal.html:
* fast/html/text-field-input-types.html:
* fast/html/xhtml-serialize.html:
* fast/images/animated-background-image-crash.html:
* fast/images/animated-gif-restored-from-bfcache.html:
* fast/images/bad-png.html:
* fast/images/busted-oval-does-not-render.html:
* fast/images/destroyed-image-load-event.html:
* fast/images/dont-crash-with-null-gif-frames.html:
* fast/images/drag-pdf-as-image.html:
* fast/images/embed-does-not-propagate-dimensions-to-object-ancestor.html:
* fast/images/embed-image.html:
* fast/images/exif-orientation-css.html:
* fast/images/exif-orientation.html:
* fast/images/extra-image-in-image-document.html:
* fast/images/gif-loop-count.html:
* fast/images/image-empty-data.html:
* fast/images/image-invalid-data.html:
* fast/images/image-load-event-in-fragment.html:
* fast/images/image-map-multiple-xhtml.xhtml:
* fast/images/image-map-multiple.html:
* fast/images/image-map-zoom.html:
* fast/images/imagemap-scroll.html:
* fast/images/jpeg-with-color-profile.html:
* fast/images/large-size-image-crash.html:
* fast/images/link-body-content-imageDimensionChanged-crash.html:
* fast/images/load-img-with-empty-src.html:
* fast/images/paletted-png-with-color-profile.html:
* fast/images/percent-height-image.html:
* fast/images/png-extra-row-crash.html:
* fast/images/png-suite/test.html:
* fast/images/png-with-color-profile.html:
* fast/images/read-past-end-of-buffer.html:
* fast/images/rgb-jpeg-endian-pixels.html:
* fast/images/rgb-jpeg-with-adobe-marker-only.html:
* fast/images/rgb-png-with-cmyk-color-profile.html:
* fast/images/script-counter-imageDimensionChanged-crash.html:
* fast/images/script-tests/move-image-to-new-document.js:
* fast/images/size-failure.html:
* fast/images/style-access-during-imageChanged-crash.html:
* fast/images/style-access-during-imageChanged-style-freeze.html:
* fast/images/support-broken-image-delegate.html:
* fast/images/text-content-crash-2.html:
* fast/images/text-content-crash.html:
* fast/images/webp-image-decoding.html:
* fast/images/ycbcr-with-cmyk-color-profile.html:
* fast/images/zoomed-img-size.html:
* fast/inline-block/anonymous-block-crash.html:
* fast/inline-block/inline-block-vertical-align-2.html:
* fast/inline-block/relative-positioned-rtl-crash.html:
* fast/inline/boundingBox-with-continuation.html:
* fast/inline/clean-after-removing-temp-boxes.html:
* fast/inline/continuation-positioned-reparenting.html:
* fast/inline/crash-new-continuation-with-outline.html:
* fast/inline/dirtyLinesForInline.html:
* fast/inline/inline-body-crash.html:
* fast/inline/inline-body-with-scrollbar-crash.html:
* fast/inline/inline-box-adjust-position-crash.html:
* fast/inline/inline-box-adjust-position-crash2.html:
* fast/inline/inline-child-height-width-calc-crash.html:
* fast/inline/inline-destroy-dirty-lines-crash.html:
* fast/inline/inline-marquee-crash.html:
* fast/inline/relative-positioned-overflow.html:
* fast/inline/skipped-whitespace-boundingBox.html:
* fast/inline/skipped-whitespace-client-rect.html:
* fast/inline/update-always-create-line-boxes-full-layout-crash.html:
* fast/innerHTML/004-expected.txt:
* fast/innerHTML/004.xhtml:
* fast/innerHTML/005-expected.txt:
* fast/innerHTML/005.html:
* fast/innerHTML/additional-inline-style.html:
* fast/innerHTML/innerHTML-case.html:
* fast/innerHTML/innerHTML-changing-document-properties.xhtml:
* fast/innerHTML/innerHTML-custom-tag.html:
* fast/innerHTML/innerHTML-iframe.html:
* fast/innerHTML/innerHTML-nbsp.xhtml:
* fast/innerHTML/innerHTML-script-tag-crash.xhtml:
* fast/innerHTML/javascript-url.html:
* fast/inspector-support/cssURLQuotes.html:
* fast/inspector-support/style.html:
* fast/inspector-support/uncaught-dom1-exception.html:
* fast/inspector-support/uncaught-dom3-exception.html:
* fast/inspector-support/uncaught-dom8-exception.html:
* fast/invalid/invalidSVGFont.html:
* fast/invalid/nestedh3s-rapidweaver.html:
* fast/invalid/test-case-tr-th-td-should-not-close-dl-list.html:
* platform/gtk/fast/images/exif-orientation-css-expected.txt:
* platform/gtk/fast/images/exif-orientation-expected.txt:
* platform/mac/fast/images/exif-orientation-css-expected.txt:
* platform/mac/fast/images/exif-orientation-expected.txt:
* platform/qt/fast/history/back-to-unreachable-url-then-forward.html:
* platform/qt/fast/history/resources/check-scroll-position.html:

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

182 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/hidpi/broken-image-icon-hidpi.html
LayoutTests/fast/hidpi/broken-image-with-size-hidpi.html
LayoutTests/fast/hidpi/clip-text-in-hidpi.html
LayoutTests/fast/hidpi/device-scale-factor-paint.html
LayoutTests/fast/hidpi/focus-rings.html
LayoutTests/fast/hidpi/image-set-as-background.html
LayoutTests/fast/hidpi/image-set-background-dynamic.html
LayoutTests/fast/hidpi/image-set-background-repeat-without-size.html
LayoutTests/fast/hidpi/image-set-background-repeat.html
LayoutTests/fast/hidpi/image-set-border-image-comparison.html
LayoutTests/fast/hidpi/image-set-border-image-dynamic.html
LayoutTests/fast/hidpi/image-set-border-image-simple.html
LayoutTests/fast/hidpi/image-set-in-content-dynamic.html
LayoutTests/fast/hidpi/image-set-out-of-order.html
LayoutTests/fast/hidpi/image-set-simple.html
LayoutTests/fast/hidpi/image-set-without-specified-width.html
LayoutTests/fast/hidpi/resize-corner-hidpi.html
LayoutTests/fast/hidpi/video-controls-in-hidpi.html
LayoutTests/fast/history/back-forward-reset-after-error-handling.html
LayoutTests/fast/history/form-submit-in-frame-via-onclick.html
LayoutTests/fast/history/form-submit-in-frame.html
LayoutTests/fast/history/forward-during-load.html
LayoutTests/fast/history/gesture-before-onload-form-submit.html
LayoutTests/fast/history/gesture-before-onload-location-href.html
LayoutTests/fast/history/go-back-to-changed-name.html
LayoutTests/fast/history/history-back-initial-vs-final-url.html
LayoutTests/fast/history/history-back-twice-with-subframes-assert.html
LayoutTests/fast/history/history-back-within-subframe-hash.html
LayoutTests/fast/history/history-back-within-subframe-url.html
LayoutTests/fast/history/history-length.html
LayoutTests/fast/history/history-replace-updates-current-item.html
LayoutTests/fast/history/history-subframe-with-name.html
LayoutTests/fast/history/history_reload.html
LayoutTests/fast/history/location-replace-hash.html
LayoutTests/fast/history/multiple-classes-visited.html
LayoutTests/fast/history/nested-visited-test.html
LayoutTests/fast/history/redirect-via-iframe.html
LayoutTests/fast/history/resources/clicked-link-is-visited-2.html
LayoutTests/fast/history/resources/history-back-within-subframe-hash-2.html
LayoutTests/fast/history/resources/history-replace-updates-current-item-done.html
LayoutTests/fast/history/resources/history_reload_window.html
LayoutTests/fast/history/resources/redirect-target.html
LayoutTests/fast/history/same-document-iframes-changing-fragment.html
LayoutTests/fast/history/same-document-iframes-changing-pushstate.html
LayoutTests/fast/history/saves-state-after-fragment-nav.html
LayoutTests/fast/history/saves-state-after-frame-nav.html
LayoutTests/fast/history/self-is-visited.html
LayoutTests/fast/history/sibling-visited-test.html
LayoutTests/fast/history/timed-refresh-in-cached-frame.html
LayoutTests/fast/history/visited-generated-content-test.html
LayoutTests/fast/history/visited-link-background-color.html
LayoutTests/fast/history/window-open.html
LayoutTests/fast/html/adopt-parent-frame.html
LayoutTests/fast/html/body-offset-properties.html
LayoutTests/fast/html/crash-style-first-letter.html
LayoutTests/fast/html/details-add-summary-1-and-click.html
LayoutTests/fast/html/details-add-summary-10-and-click.html
LayoutTests/fast/html/details-add-summary-2-and-click.html
LayoutTests/fast/html/details-add-summary-3-and-click.html
LayoutTests/fast/html/details-add-summary-4-and-click.html
LayoutTests/fast/html/details-add-summary-5-and-click.html
LayoutTests/fast/html/details-add-summary-6-and-click.html
LayoutTests/fast/html/details-add-summary-7-and-click.html
LayoutTests/fast/html/details-add-summary-8-and-click.html
LayoutTests/fast/html/details-add-summary-9-and-click.html
LayoutTests/fast/html/details-children-merge-crash.html
LayoutTests/fast/html/details-element-render-inline-crash.html
LayoutTests/fast/html/details-mouse-click.html
LayoutTests/fast/html/details-remove-summary-1-and-click.html
LayoutTests/fast/html/details-remove-summary-2-and-click.html
LayoutTests/fast/html/details-remove-summary-3-and-click.html
LayoutTests/fast/html/details-remove-summary-4-and-click.html
LayoutTests/fast/html/details-remove-summary-5-and-click.html
LayoutTests/fast/html/details-remove-summary-6-and-click.html
LayoutTests/fast/html/details-replace-summary-child.html
LayoutTests/fast/html/details-replace-text.html
LayoutTests/fast/html/details-summary-document-child.html
LayoutTests/fast/html/draggable.html
LayoutTests/fast/html/empty-fragment-id-goto-top.html
LayoutTests/fast/html/font-face-empty-should-not-crash.html
LayoutTests/fast/html/marquee-scrollamount.html
LayoutTests/fast/html/nav-element.html
LayoutTests/fast/html/object-image-nested-fallback.html
LayoutTests/fast/html/pending-stylesheet-crash.html
LayoutTests/fast/html/process-end-tag-for-inbody-crash.html
LayoutTests/fast/html/script-allowed-types-languages.html
LayoutTests/fast/html/select-dropdown-consistent-background-color.html
LayoutTests/fast/html/set-text-direction.html
LayoutTests/fast/html/tab-order.html
LayoutTests/fast/html/tabindex-removal.html
LayoutTests/fast/html/text-field-input-types.html
LayoutTests/fast/html/xhtml-serialize.html
LayoutTests/fast/images/animated-background-image-crash.html
LayoutTests/fast/images/animated-gif-restored-from-bfcache.html
LayoutTests/fast/images/bad-png.html
LayoutTests/fast/images/busted-oval-does-not-render.html
LayoutTests/fast/images/destroyed-image-load-event.html
LayoutTests/fast/images/dont-crash-with-null-gif-frames.html
LayoutTests/fast/images/drag-pdf-as-image.html
LayoutTests/fast/images/embed-does-not-propagate-dimensions-to-object-ancestor.html
LayoutTests/fast/images/embed-image.html
LayoutTests/fast/images/exif-orientation-css.html
LayoutTests/fast/images/exif-orientation.html
LayoutTests/fast/images/extra-image-in-image-document.html
LayoutTests/fast/images/gif-loop-count.html
LayoutTests/fast/images/image-empty-data.html
LayoutTests/fast/images/image-invalid-data.html
LayoutTests/fast/images/image-load-event-in-fragment.html
LayoutTests/fast/images/image-map-multiple-xhtml.xhtml
LayoutTests/fast/images/image-map-multiple.html
LayoutTests/fast/images/image-map-zoom.html
LayoutTests/fast/images/imagemap-scroll.html
LayoutTests/fast/images/jpeg-with-color-profile.html
LayoutTests/fast/images/large-size-image-crash.html
LayoutTests/fast/images/link-body-content-imageDimensionChanged-crash.html
LayoutTests/fast/images/load-img-with-empty-src.html
LayoutTests/fast/images/paletted-png-with-color-profile.html
LayoutTests/fast/images/percent-height-image.html
LayoutTests/fast/images/png-extra-row-crash.html
LayoutTests/fast/images/png-suite/test.html
LayoutTests/fast/images/png-with-color-profile.html
LayoutTests/fast/images/read-past-end-of-buffer.html
LayoutTests/fast/images/rgb-jpeg-endian-pixels.html
LayoutTests/fast/images/rgb-jpeg-with-adobe-marker-only.html
LayoutTests/fast/images/rgb-png-with-cmyk-color-profile.html
LayoutTests/fast/images/script-counter-imageDimensionChanged-crash.html
LayoutTests/fast/images/script-tests/move-image-to-new-document.js
LayoutTests/fast/images/size-failure.html
LayoutTests/fast/images/style-access-during-imageChanged-crash.html
LayoutTests/fast/images/style-access-during-imageChanged-style-freeze.html
LayoutTests/fast/images/support-broken-image-delegate.html
LayoutTests/fast/images/text-content-crash-2.html
LayoutTests/fast/images/text-content-crash.html
LayoutTests/fast/images/webp-image-decoding.html
LayoutTests/fast/images/ycbcr-with-cmyk-color-profile.html
LayoutTests/fast/images/zoomed-img-size.html
LayoutTests/fast/inline-block/anonymous-block-crash.html
LayoutTests/fast/inline-block/inline-block-vertical-align-2.html
LayoutTests/fast/inline-block/relative-positioned-rtl-crash.html
LayoutTests/fast/inline/boundingBox-with-continuation.html
LayoutTests/fast/inline/clean-after-removing-temp-boxes.html
LayoutTests/fast/inline/continuation-positioned-reparenting.html
LayoutTests/fast/inline/crash-new-continuation-with-outline.html
LayoutTests/fast/inline/dirtyLinesForInline.html
LayoutTests/fast/inline/inline-body-crash.html
LayoutTests/fast/inline/inline-body-with-scrollbar-crash.html
LayoutTests/fast/inline/inline-box-adjust-position-crash.html
LayoutTests/fast/inline/inline-box-adjust-position-crash2.html
LayoutTests/fast/inline/inline-child-height-width-calc-crash.html
LayoutTests/fast/inline/inline-destroy-dirty-lines-crash.html
LayoutTests/fast/inline/inline-marquee-crash.html
LayoutTests/fast/inline/relative-positioned-overflow.html
LayoutTests/fast/inline/skipped-whitespace-boundingBox.html
LayoutTests/fast/inline/skipped-whitespace-client-rect.html
LayoutTests/fast/inline/update-always-create-line-boxes-full-layout-crash.html
LayoutTests/fast/innerHTML/004-expected.txt
LayoutTests/fast/innerHTML/004.xhtml
LayoutTests/fast/innerHTML/005-expected.txt
LayoutTests/fast/innerHTML/005.html
LayoutTests/fast/innerHTML/additional-inline-style.html
LayoutTests/fast/innerHTML/innerHTML-case.html
LayoutTests/fast/innerHTML/innerHTML-changing-document-properties.xhtml
LayoutTests/fast/innerHTML/innerHTML-custom-tag.html
LayoutTests/fast/innerHTML/innerHTML-iframe.html
LayoutTests/fast/innerHTML/innerHTML-nbsp.xhtml
LayoutTests/fast/innerHTML/innerHTML-script-tag-crash.xhtml
LayoutTests/fast/innerHTML/javascript-url.html
LayoutTests/fast/inspector-support/cssURLQuotes.html
LayoutTests/fast/inspector-support/style.html
LayoutTests/fast/inspector-support/uncaught-dom1-exception.html
LayoutTests/fast/inspector-support/uncaught-dom3-exception.html
LayoutTests/fast/inspector-support/uncaught-dom8-exception.html
LayoutTests/fast/invalid/invalidSVGFont.html
LayoutTests/fast/invalid/nestedh3s-rapidweaver.html
LayoutTests/fast/invalid/test-case-tr-th-td-should-not-close-dl-list.html
LayoutTests/platform/gtk/fast/images/exif-orientation-css-expected.txt
LayoutTests/platform/gtk/fast/images/exif-orientation-expected.txt
LayoutTests/platform/mac/fast/images/exif-orientation-css-expected.txt
LayoutTests/platform/mac/fast/images/exif-orientation-expected.txt
LayoutTests/platform/qt/fast/history/back-to-unreachable-url-then-forward.html
LayoutTests/platform/qt/fast/history/resources/check-scroll-position.html

index 267b2c4..6b283d5 100644 (file)
@@ -1,3 +1,192 @@
+2012-06-22  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Use testRunner instead of layoutTestController in fast/hidpi, history, html, images, inline, inline-block, innerHTML, inspector-support, invalid tests
+        https://bugs.webkit.org/show_bug.cgi?id=89744
+
+        Reviewed by Kent Tamura.
+
+        * fast/hidpi/broken-image-icon-hidpi.html:
+        * fast/hidpi/broken-image-with-size-hidpi.html:
+        * fast/hidpi/clip-text-in-hidpi.html:
+        * fast/hidpi/device-scale-factor-paint.html:
+        * fast/hidpi/focus-rings.html:
+        * fast/hidpi/image-set-as-background.html:
+        * fast/hidpi/image-set-background-dynamic.html:
+        * fast/hidpi/image-set-background-repeat-without-size.html:
+        * fast/hidpi/image-set-background-repeat.html:
+        * fast/hidpi/image-set-border-image-comparison.html:
+        * fast/hidpi/image-set-border-image-dynamic.html:
+        * fast/hidpi/image-set-border-image-simple.html:
+        * fast/hidpi/image-set-in-content-dynamic.html:
+        * fast/hidpi/image-set-out-of-order.html:
+        * fast/hidpi/image-set-simple.html:
+        * fast/hidpi/image-set-without-specified-width.html:
+        * fast/hidpi/resize-corner-hidpi.html:
+        * fast/hidpi/video-controls-in-hidpi.html:
+        * fast/history/back-forward-reset-after-error-handling.html:
+        * fast/history/form-submit-in-frame-via-onclick.html:
+        * fast/history/form-submit-in-frame.html:
+        * fast/history/forward-during-load.html:
+        * fast/history/gesture-before-onload-form-submit.html:
+        * fast/history/gesture-before-onload-location-href.html:
+        * fast/history/go-back-to-changed-name.html:
+        * fast/history/history-back-initial-vs-final-url.html:
+        * fast/history/history-back-twice-with-subframes-assert.html:
+        * fast/history/history-back-within-subframe-hash.html:
+        * fast/history/history-back-within-subframe-url.html:
+        * fast/history/history-length.html:
+        * fast/history/history-replace-updates-current-item.html:
+        * fast/history/history-subframe-with-name.html:
+        * fast/history/history_reload.html:
+        * fast/history/location-replace-hash.html:
+        * fast/history/multiple-classes-visited.html:
+        * fast/history/nested-visited-test.html:
+        * fast/history/redirect-via-iframe.html:
+        * fast/history/resources/clicked-link-is-visited-2.html:
+        * fast/history/resources/history-back-within-subframe-hash-2.html:
+        * fast/history/resources/history-replace-updates-current-item-done.html:
+        * fast/history/resources/history_reload_window.html:
+        * fast/history/resources/redirect-target.html:
+        * fast/history/same-document-iframes-changing-fragment.html:
+        * fast/history/same-document-iframes-changing-pushstate.html:
+        * fast/history/saves-state-after-fragment-nav.html:
+        * fast/history/saves-state-after-frame-nav.html:
+        * fast/history/self-is-visited.html:
+        * fast/history/sibling-visited-test.html:
+        * fast/history/timed-refresh-in-cached-frame.html:
+        * fast/history/visited-generated-content-test.html:
+        * fast/history/visited-link-background-color.html:
+        * fast/history/window-open.html:
+        * fast/html/adopt-parent-frame.html:
+        * fast/html/body-offset-properties.html:
+        * fast/html/crash-style-first-letter.html:
+        * fast/html/details-add-summary-1-and-click.html:
+        * fast/html/details-add-summary-10-and-click.html:
+        * fast/html/details-add-summary-2-and-click.html:
+        * fast/html/details-add-summary-3-and-click.html:
+        * fast/html/details-add-summary-4-and-click.html:
+        * fast/html/details-add-summary-5-and-click.html:
+        * fast/html/details-add-summary-6-and-click.html:
+        * fast/html/details-add-summary-7-and-click.html:
+        * fast/html/details-add-summary-8-and-click.html:
+        * fast/html/details-add-summary-9-and-click.html:
+        * fast/html/details-children-merge-crash.html:
+        * fast/html/details-element-render-inline-crash.html:
+        * fast/html/details-mouse-click.html:
+        * fast/html/details-remove-summary-1-and-click.html:
+        * fast/html/details-remove-summary-2-and-click.html:
+        * fast/html/details-remove-summary-3-and-click.html:
+        * fast/html/details-remove-summary-4-and-click.html:
+        * fast/html/details-remove-summary-5-and-click.html:
+        * fast/html/details-remove-summary-6-and-click.html:
+        * fast/html/details-replace-summary-child.html:
+        * fast/html/details-replace-text.html:
+        * fast/html/details-summary-document-child.html:
+        * fast/html/draggable.html:
+        * fast/html/empty-fragment-id-goto-top.html:
+        * fast/html/font-face-empty-should-not-crash.html:
+        * fast/html/marquee-scrollamount.html:
+        * fast/html/nav-element.html:
+        * fast/html/object-image-nested-fallback.html:
+        * fast/html/pending-stylesheet-crash.html:
+        * fast/html/process-end-tag-for-inbody-crash.html:
+        * fast/html/script-allowed-types-languages.html:
+        * fast/html/select-dropdown-consistent-background-color.html:
+        * fast/html/set-text-direction.html:
+        * fast/html/tab-order.html:
+        * fast/html/tabindex-removal.html:
+        * fast/html/text-field-input-types.html:
+        * fast/html/xhtml-serialize.html:
+        * fast/images/animated-background-image-crash.html:
+        * fast/images/animated-gif-restored-from-bfcache.html:
+        * fast/images/bad-png.html:
+        * fast/images/busted-oval-does-not-render.html:
+        * fast/images/destroyed-image-load-event.html:
+        * fast/images/dont-crash-with-null-gif-frames.html:
+        * fast/images/drag-pdf-as-image.html:
+        * fast/images/embed-does-not-propagate-dimensions-to-object-ancestor.html:
+        * fast/images/embed-image.html:
+        * fast/images/exif-orientation-css.html:
+        * fast/images/exif-orientation.html:
+        * fast/images/extra-image-in-image-document.html:
+        * fast/images/gif-loop-count.html:
+        * fast/images/image-empty-data.html:
+        * fast/images/image-invalid-data.html:
+        * fast/images/image-load-event-in-fragment.html:
+        * fast/images/image-map-multiple-xhtml.xhtml:
+        * fast/images/image-map-multiple.html:
+        * fast/images/image-map-zoom.html:
+        * fast/images/imagemap-scroll.html:
+        * fast/images/jpeg-with-color-profile.html:
+        * fast/images/large-size-image-crash.html:
+        * fast/images/link-body-content-imageDimensionChanged-crash.html:
+        * fast/images/load-img-with-empty-src.html:
+        * fast/images/paletted-png-with-color-profile.html:
+        * fast/images/percent-height-image.html:
+        * fast/images/png-extra-row-crash.html:
+        * fast/images/png-suite/test.html:
+        * fast/images/png-with-color-profile.html:
+        * fast/images/read-past-end-of-buffer.html:
+        * fast/images/rgb-jpeg-endian-pixels.html:
+        * fast/images/rgb-jpeg-with-adobe-marker-only.html:
+        * fast/images/rgb-png-with-cmyk-color-profile.html:
+        * fast/images/script-counter-imageDimensionChanged-crash.html:
+        * fast/images/script-tests/move-image-to-new-document.js:
+        * fast/images/size-failure.html:
+        * fast/images/style-access-during-imageChanged-crash.html:
+        * fast/images/style-access-during-imageChanged-style-freeze.html:
+        * fast/images/support-broken-image-delegate.html:
+        * fast/images/text-content-crash-2.html:
+        * fast/images/text-content-crash.html:
+        * fast/images/webp-image-decoding.html:
+        * fast/images/ycbcr-with-cmyk-color-profile.html:
+        * fast/images/zoomed-img-size.html:
+        * fast/inline-block/anonymous-block-crash.html:
+        * fast/inline-block/inline-block-vertical-align-2.html:
+        * fast/inline-block/relative-positioned-rtl-crash.html:
+        * fast/inline/boundingBox-with-continuation.html:
+        * fast/inline/clean-after-removing-temp-boxes.html:
+        * fast/inline/continuation-positioned-reparenting.html:
+        * fast/inline/crash-new-continuation-with-outline.html:
+        * fast/inline/dirtyLinesForInline.html:
+        * fast/inline/inline-body-crash.html:
+        * fast/inline/inline-body-with-scrollbar-crash.html:
+        * fast/inline/inline-box-adjust-position-crash.html:
+        * fast/inline/inline-box-adjust-position-crash2.html:
+        * fast/inline/inline-child-height-width-calc-crash.html:
+        * fast/inline/inline-destroy-dirty-lines-crash.html:
+        * fast/inline/inline-marquee-crash.html:
+        * fast/inline/relative-positioned-overflow.html:
+        * fast/inline/skipped-whitespace-boundingBox.html:
+        * fast/inline/skipped-whitespace-client-rect.html:
+        * fast/inline/update-always-create-line-boxes-full-layout-crash.html:
+        * fast/innerHTML/004-expected.txt:
+        * fast/innerHTML/004.xhtml:
+        * fast/innerHTML/005-expected.txt:
+        * fast/innerHTML/005.html:
+        * fast/innerHTML/additional-inline-style.html:
+        * fast/innerHTML/innerHTML-case.html:
+        * fast/innerHTML/innerHTML-changing-document-properties.xhtml:
+        * fast/innerHTML/innerHTML-custom-tag.html:
+        * fast/innerHTML/innerHTML-iframe.html:
+        * fast/innerHTML/innerHTML-nbsp.xhtml:
+        * fast/innerHTML/innerHTML-script-tag-crash.xhtml:
+        * fast/innerHTML/javascript-url.html:
+        * fast/inspector-support/cssURLQuotes.html:
+        * fast/inspector-support/style.html:
+        * fast/inspector-support/uncaught-dom1-exception.html:
+        * fast/inspector-support/uncaught-dom3-exception.html:
+        * fast/inspector-support/uncaught-dom8-exception.html:
+        * fast/invalid/invalidSVGFont.html:
+        * fast/invalid/nestedh3s-rapidweaver.html:
+        * fast/invalid/test-case-tr-th-td-should-not-close-dl-list.html:
+        * platform/gtk/fast/images/exif-orientation-css-expected.txt:
+        * platform/gtk/fast/images/exif-orientation-expected.txt:
+        * platform/mac/fast/images/exif-orientation-css-expected.txt:
+        * platform/mac/fast/images/exif-orientation-expected.txt:
+        * platform/qt/fast/history/back-to-unreachable-url-then-forward.html:
+        * platform/qt/fast/history/resources/check-scroll-position.html:
+
 2012-06-21  Ryosuke Niwa  <rniwa@webkit.org>
 
         Use testRunner instead of layoutTestController in fast/fast-mobile-scrolling, flexbox, forms, frames, gradients tests
index da4d837..923b69a 100644 (file)
@@ -1,14 +1,14 @@
 <html>
     <script>
         function startTest() {
-            if (window.layoutTestController) {
-                layoutTestController.waitUntilDone();
-                layoutTestController.setBackingScaleFactor(2, finishTest);
+            if (window.testRunner) {
+                testRunner.waitUntilDone();
+                testRunner.setBackingScaleFactor(2, finishTest);
             }
         }
         
         function finishTest() {
-            setTimeout(function() { layoutTestController.notifyDone(); }, 0);
+            setTimeout(function() { testRunner.notifyDone(); }, 0);
         }
         </script>
     </head>
index 54956e4..547636c 100644 (file)
@@ -1,14 +1,14 @@
 <html>
     <script>
         function startTest() {
-            if (window.layoutTestController) {
-                layoutTestController.waitUntilDone();
-                layoutTestController.setBackingScaleFactor(2, finishTest);
+            if (window.testRunner) {
+                testRunner.waitUntilDone();
+                testRunner.setBackingScaleFactor(2, finishTest);
             }
         }
         
         function finishTest() {
-            setTimeout(function() { layoutTestController.notifyDone(); }, 0);
+            setTimeout(function() { testRunner.notifyDone(); }, 0);
         }
         </script>
     </head>
index 229ccae..df76785 100644 (file)
@@ -2,16 +2,16 @@
 <head>
 <script>
     function startTest() {
-        if (window.layoutTestController) {
-            layoutTestController.waitUntilDone();
-            layoutTestController.setBackingScaleFactor(2, finishTest);
+        if (window.testRunner) {
+            testRunner.waitUntilDone();
+            testRunner.setBackingScaleFactor(2, finishTest);
         }
     }
     
     function finishTest() {
         var test = document.getElementById("test");
         test.innerHTML = window.devicePixelRatio;
-        setTimeout(function() { layoutTestController.notifyDone(); }, 0);
+        setTimeout(function() { testRunner.notifyDone(); }, 0);
     }
 </script>
 </head>
index 8c47e91..4a7adca 100644 (file)
@@ -2,14 +2,14 @@
 <html>
 <script>
     function startTest() {
-        if (window.layoutTestController) {
-            layoutTestController.waitUntilDone();
-            layoutTestController.setBackingScaleFactor(2, finishTest);
+        if (window.testRunner) {
+            testRunner.waitUntilDone();
+            testRunner.setBackingScaleFactor(2, finishTest);
         }
     }
     
     function finishTest() {
-        setTimeout(function() { layoutTestController.notifyDone() }, 0);
+        setTimeout(function() { testRunner.notifyDone() }, 0);
     }
 </script>
 </head>
index 8afd3cb..26a2f0c 100644 (file)
@@ -1,16 +1,16 @@
 <html>
 <script>
     function startTest() {
-        if (window.layoutTestController) {
-            layoutTestController.waitUntilDone();
-            layoutTestController.setBackingScaleFactor(2, finishTest);
+        if (window.testRunner) {
+            testRunner.waitUntilDone();
+            testRunner.setBackingScaleFactor(2, finishTest);
         }
     }
     
     function finishTest() {
         var div = document.getElementById("div");
         div.focus();
-        setTimeout(function() { layoutTestController.notifyDone(); }, 0);
+        setTimeout(function() { testRunner.notifyDone(); }, 0);
     }
     </script>
 </head>
index 382c402..5627194 100644 (file)
@@ -2,18 +2,18 @@
 <head>
 <script>
     function runTest() {
-        if (!window.layoutTestController || !window.sessionStorage)
+        if (!window.testRunner || !window.sessionStorage)
             return;
 
         if (!sessionStorage.scaleFactorIsSet) {
-            layoutTestController.waitUntilDone();
-            layoutTestController.setBackingScaleFactor(2, scaleFactorIsSet);
+            testRunner.waitUntilDone();
+            testRunner.setBackingScaleFactor(2, scaleFactorIsSet);
         }
         
         if (sessionStorage.pageReloaded && sessionStorage.scaleFactorIsSet) {
             delete sessionStorage.pageReloaded;
             delete sessionStorage.scaleFactorIsSet;
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         } else {
             // Right now there is a bug that image-set does not properly deal with dynamic changes to the scale factor,
             // so to work around that, we must reload the page to get the 2x image.
index b70065d..22db17b 100644 (file)
@@ -3,16 +3,16 @@
     <head>
     <script>
         function startTest() {
-            if (window.layoutTestController) {
-                layoutTestController.waitUntilDone();
-                layoutTestController.setBackingScaleFactor(2, finishTest);
+            if (window.testRunner) {
+                testRunner.waitUntilDone();
+                testRunner.setBackingScaleFactor(2, finishTest);
             }
         }
 
         function finishTest() {
             var test = document.getElementById("foo");
             test.innerHTML = window.devicePixelRatio;
-            setTimeout(function() { layoutTestController.notifyDone(); }, 0);
+            setTimeout(function() { testRunner.notifyDone(); }, 0);
         }
     </script>
     
index 867acf2..a8d2cec 100644 (file)
@@ -2,18 +2,18 @@
 <head>
 <script>
     function runTest() {
-        if (!window.layoutTestController || !window.sessionStorage)
+        if (!window.testRunner || !window.sessionStorage)
             return;
 
         if (!sessionStorage.scaleFactorIsSet) {
-            layoutTestController.waitUntilDone();
-            layoutTestController.setBackingScaleFactor(2, scaleFactorIsSet);
+            testRunner.waitUntilDone();
+            testRunner.setBackingScaleFactor(2, scaleFactorIsSet);
         }
         
         if (sessionStorage.pageReloaded && sessionStorage.scaleFactorIsSet) {
             delete sessionStorage.pageReloaded;
             delete sessionStorage.scaleFactorIsSet;
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         } else {
             // Right now there is a bug that image-set does not properly deal with dynamic changes to the scale factor,
             // so to work around that, we must reload the page to get the 2x image.
index b51716d..2ddea70 100644 (file)
@@ -2,18 +2,18 @@
 <head>
 <script>
     function runTest() {
-        if (!window.layoutTestController || !window.sessionStorage)
+        if (!window.testRunner || !window.sessionStorage)
             return;
 
         if (!sessionStorage.scaleFactorIsSet) {
-            layoutTestController.waitUntilDone();
-            layoutTestController.setBackingScaleFactor(2, scaleFactorIsSet);
+            testRunner.waitUntilDone();
+            testRunner.setBackingScaleFactor(2, scaleFactorIsSet);
         }
         
         if (sessionStorage.pageReloaded && sessionStorage.scaleFactorIsSet) {
             delete sessionStorage.pageReloaded;
             delete sessionStorage.scaleFactorIsSet;
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         } else {
             // Right now there is a bug that image-set does not properly deal with dynamic changes to the scale factor,
             // so to work around that, we must reload the page to get the 2x image.
index b28c5c8..64eeb3b 100644 (file)
@@ -2,14 +2,14 @@
 <head>
 <script>
     function startTest() {
-        if (window.layoutTestController) {
-            layoutTestController.waitUntilDone();
-            layoutTestController.setBackingScaleFactor(2, finishTest);
+        if (window.testRunner) {
+            testRunner.waitUntilDone();
+            testRunner.setBackingScaleFactor(2, finishTest);
         }
     }
     
     function finishTest() {
-        setTimeout(function() { layoutTestController.notifyDone(); }, 0);
+        setTimeout(function() { testRunner.notifyDone(); }, 0);
     }
 </script>
 
index 3b976bf..a3835d0 100644 (file)
@@ -3,16 +3,16 @@
     <head>
     <script>
         function startTest() {
-            if (window.layoutTestController) {
-                layoutTestController.waitUntilDone();
-                layoutTestController.setBackingScaleFactor(2, finishTest);
+            if (window.testRunner) {
+                testRunner.waitUntilDone();
+                testRunner.setBackingScaleFactor(2, finishTest);
             }
         }
 
         function finishTest() {
             var test = document.getElementById("foo");
             test.innerHTML = window.devicePixelRatio;
-            setTimeout(function() { layoutTestController.notifyDone(); }, 0);
+            setTimeout(function() { testRunner.notifyDone(); }, 0);
         }
     </script>
     
index 211f50d..d805982 100644 (file)
@@ -2,18 +2,18 @@
 <head>
 <script>
     function runTest() {
-        if (!window.layoutTestController || !window.sessionStorage)
+        if (!window.testRunner || !window.sessionStorage)
             return;
 
         if (!sessionStorage.scaleFactorIsSet) {
-            layoutTestController.waitUntilDone();
-            layoutTestController.setBackingScaleFactor(2, scaleFactorIsSet);
+            testRunner.waitUntilDone();
+            testRunner.setBackingScaleFactor(2, scaleFactorIsSet);
         }
         
         if (sessionStorage.pageReloaded && sessionStorage.scaleFactorIsSet) {
             delete sessionStorage.pageReloaded;
             delete sessionStorage.scaleFactorIsSet;
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         } else {
             // Right now there is a bug that image-set does not properly deal with dynamic changes to the scale factor,
             // so to work around that, we must reload the page to get the 2x image.
index 040b6bd..5f5ec50 100644 (file)
@@ -3,16 +3,16 @@
     <head>
     <script>
         function startTest() {
-            if (window.layoutTestController) {
-                layoutTestController.waitUntilDone();
-                layoutTestController.setBackingScaleFactor(2, finishTest);
+            if (window.testRunner) {
+                testRunner.waitUntilDone();
+                testRunner.setBackingScaleFactor(2, finishTest);
             }
         }
 
         function finishTest() {
             var test = document.getElementById("foo");
             test.innerHTML = window.devicePixelRatio;
-            setTimeout(function() { layoutTestController.notifyDone(); }, 0);
+            setTimeout(function() { testRunner.notifyDone(); }, 0);
         }
     </script>
     
index 670c652..313de5f 100644 (file)
@@ -2,18 +2,18 @@
 <head>
 <script>
     function runTest() {
-        if (!window.layoutTestController || !window.sessionStorage)
+        if (!window.testRunner || !window.sessionStorage)
             return;
 
         if (!sessionStorage.scaleFactorIsSet) {
-            layoutTestController.waitUntilDone();
-            layoutTestController.setBackingScaleFactor(2, scaleFactorIsSet);
+            testRunner.waitUntilDone();
+            testRunner.setBackingScaleFactor(2, scaleFactorIsSet);
         }
         
         if (sessionStorage.pageReloaded && sessionStorage.scaleFactorIsSet) {
             delete sessionStorage.pageReloaded;
             delete sessionStorage.scaleFactorIsSet;
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         } else {
             // Right now there is a bug that image-set does not properly deal with dynamic changes to the scale factor,
             // so to work around that, we must reload the page to get the 2x image.
index 1b12b8d..2c83a69 100644 (file)
@@ -2,18 +2,18 @@
 <head>
 <script>
     function runTest() {
-        if (!window.layoutTestController || !window.sessionStorage)
+        if (!window.testRunner || !window.sessionStorage)
             return;
 
         if (!sessionStorage.scaleFactorIsSet) {
-            layoutTestController.waitUntilDone();
-            layoutTestController.setBackingScaleFactor(2, scaleFactorIsSet);
+            testRunner.waitUntilDone();
+            testRunner.setBackingScaleFactor(2, scaleFactorIsSet);
         }
         
         if (sessionStorage.pageReloaded && sessionStorage.scaleFactorIsSet) {
             delete sessionStorage.pageReloaded;
             delete sessionStorage.scaleFactorIsSet;
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         } else {
             // Right now there is a bug that image-set does not properly deal with dynamic changes to the scale factor,
             // so to work around that, we must reload the page to get the 2x image.
index b808547..8ecac49 100644 (file)
@@ -2,18 +2,18 @@
 <head>
 <script>
     function runTest() {
-        if (!window.layoutTestController || !window.sessionStorage)
+        if (!window.testRunner || !window.sessionStorage)
             return;
 
         if (!sessionStorage.scaleFactorIsSet) {
-            layoutTestController.waitUntilDone();
-            layoutTestController.setBackingScaleFactor(2, scaleFactorIsSet);
+            testRunner.waitUntilDone();
+            testRunner.setBackingScaleFactor(2, scaleFactorIsSet);
         }
         
         if (sessionStorage.pageReloaded && sessionStorage.scaleFactorIsSet) {
             delete sessionStorage.pageReloaded;
             delete sessionStorage.scaleFactorIsSet;
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         } else {
             // Right now there is a bug that image-set does not properly deal with dynamic changes to the scale factor,
             // so to work around that, we must reload the page to get the 2x image.
index ebd37f5..3d57d50 100644 (file)
@@ -1,14 +1,14 @@
 <html>
     <script>
         function startTest() {
-            if (window.layoutTestController) {
-                layoutTestController.waitUntilDone();
-                layoutTestController.setBackingScaleFactor(2, finishTest);
+            if (window.testRunner) {
+                testRunner.waitUntilDone();
+                testRunner.setBackingScaleFactor(2, finishTest);
             }
         }
         
         function finishTest() {
-            setTimeout(function() { layoutTestController.notifyDone(); }, 0);
+            setTimeout(function() { testRunner.notifyDone(); }, 0);
         }
         </script>
     </head>
index 4b2eb02..896522a 100644 (file)
@@ -1,14 +1,14 @@
 <html>
 <script>
     function startTest() {
-        if (window.layoutTestController) {
-            layoutTestController.waitUntilDone();
-            layoutTestController.setBackingScaleFactor(2, finishTest);
+        if (window.testRunner) {
+            testRunner.waitUntilDone();
+            testRunner.setBackingScaleFactor(2, finishTest);
         }
     }
     
     function finishTest() {
-        setTimeout(function() { layoutTestController.notifyDone(); }, 0);
+        setTimeout(function() { testRunner.notifyDone(); }, 0);
     }
     </script>
 </head>
index 7f26c2c..43d663a 100644 (file)
     "        console.innerHTML = 'FAIL';                    "+
     "}";
 
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
-        layoutTestController.handleErrorPages();
-        layoutTestController.dumpBackForwardList();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
+        testRunner.handleErrorPages();
+        testRunner.dumpBackForwardList();
     }
 
     function onPageShow(evt)
         if (!evt.persisted) {
             // this is the first time the page has been loaded, then setup the
             // to-be-tested scenario.
-            layoutTestController.queueLoad("./non-existent.html");
-            layoutTestController.queueBackNavigation(1);
-            layoutTestController.queueForwardNavigation(1);
-            layoutTestController.queueBackNavigation(1);
-            layoutTestController.queueNonLoadingScript("eval(\"" + isOkToContinue + "\")");
+            testRunner.queueLoad("./non-existent.html");
+            testRunner.queueBackNavigation(1);
+            testRunner.queueForwardNavigation(1);
+            testRunner.queueBackNavigation(1);
+            testRunner.queueNonLoadingScript("eval(\"" + isOkToContinue + "\")");
         }
     }
 
index cf56544..d108a5e 100644 (file)
@@ -8,11 +8,11 @@
 <pre id="console"></pre>
 
 <script>
-if (window.layoutTestController) {
-    layoutTestController.clearBackForwardList();
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpChildFramesAsText();
+if (window.testRunner) {
+    testRunner.clearBackForwardList();
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
+    testRunner.dumpChildFramesAsText();
 }
 
 var formSubmitted = false;
index 77f1cc6..7ac0d82 100644 (file)
@@ -8,11 +8,11 @@
 <pre id="console"></pre>
 
 <script>
-if (window.layoutTestController) {
-    layoutTestController.clearBackForwardList();
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpChildFramesAsText();
+if (window.testRunner) {
+    testRunner.clearBackForwardList();
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
+    testRunner.dumpChildFramesAsText();
 }
 
 var formSubmitted = false;
index 5dfe832..e2ecdf5 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 history.forward();
 </script>
 </head>
index a2d1aec..0a34939 100644 (file)
@@ -7,9 +7,9 @@
   <div id="manual-explanation" style="display: none; color: blue">When running this test outside of DRT, please click on the "Navigate" button.</div>
 </body>
 <script>
-  if (window.layoutTestController) {
-      layoutTestController.clearBackForwardList();
-      layoutTestController.waitUntilDone();
+  if (window.testRunner) {
+      testRunner.clearBackForwardList();
+      testRunner.waitUntilDone();
   }
 
   if (window.eventSender) {
index 4c5754a..319548e 100644 (file)
@@ -5,9 +5,9 @@
   <div id="manual-explanation" style="display: none; color: blue">When running this test outside of DRT, please click on the "Navigate" button.</div>
 </body>
 <script>
-  if (window.layoutTestController) {
-      layoutTestController.clearBackForwardList();
-      layoutTestController.waitUntilDone();
+  if (window.testRunner) {
+      testRunner.clearBackForwardList();
+      testRunner.waitUntilDone();
   }
 
   if (window.eventSender) {
index 9c8d705..286bd9c 100644 (file)
@@ -2,8 +2,8 @@
     var tmp = window.name;
     window.name = "crash";
     
-    layoutTestController.dumpAsText();
-    layoutTestController.queueLoad("resources/go-back-to-changed-name2.html?" + tmp);
-    layoutTestController.queueLoad("resources/go-back-to-changed-name3.html");
-    layoutTestController.queueBackNavigation(1);
+    testRunner.dumpAsText();
+    testRunner.queueLoad("resources/go-back-to-changed-name2.html?" + tmp);
+    testRunner.queueLoad("resources/go-back-to-changed-name3.html");
+    testRunner.queueBackNavigation(1);
 </script>
index 04055c5..d0fb192 100644 (file)
 <iframe a width="200" height="200" onunload="" src="resources/frame-initial-url.html"></iframe>
 
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpChildFramesAsText();
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpBackForwardList();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.dumpChildFramesAsText();
+    testRunner.waitUntilDone();
+    testRunner.dumpBackForwardList();
 } else {
     // Disable page cache when not running under the DRT.
     onunload = function() {};
@@ -28,8 +28,8 @@ function runTest()
 {
     if (sessionStorage.didNav) {
         delete sessionStorage.didNav;
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     } else {
         // Navigate a timeout to make sure we generate a history entry that we can go back to.
         setTimeout(function() {location.href = 'data:text/html,<script>alert("Going back.");history.back();</' + 'script>';}, 0);
index 52edc83..2d2bafd 100644 (file)
@@ -1,8 +1,8 @@
 <!DOCTYPE html>
 <script>
-if (layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 function runTest() {
@@ -24,8 +24,8 @@ function runTest() {
             return;
         }
         
-        if (layoutTestController)
-            layoutTestController.notifyDone();
+        if (testRunner)
+            testRunner.notifyDone();
     }
 
     frame1.src = frame2.src = 'data:text/html,navigated'; 
index b127e70..acbd1c8 100644 (file)
@@ -1,9 +1,9 @@
 <body>
 <script>
 onload = function() {
-  if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+  if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
   }
 }
 </script>
index 508264e..c8c8fbf 100644 (file)
@@ -1,10 +1,10 @@
 <body>
 <script>
 onload = function() {
-  if (window.layoutTestController)
+  if (window.testRunner)
   {
-      layoutTestController.dumpAsText();
-      layoutTestController.waitUntilDone();
+      testRunner.dumpAsText();
+      testRunner.waitUntilDone();
   }
 }
 
@@ -15,8 +15,8 @@ function onFrameLoaded()
     wentBack = true;
     history.back();
     document.getElementById('result').innerText = 'PASS';
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();      
+    if (window.testRunner)
+        testRunner.notifyDone();      
 }
 </script>
 <iframe src="resources/history-back-within-subframe-url-2.html"></iframe>
index 94f507d..8c92c6f 100644 (file)
@@ -2,10 +2,10 @@
 onload = function() {
   if (location.search.substring(1).length == 0) {
     sessionStorage.testStage = 0;
-    if (window.layoutTestController) {
-      layoutTestController.dumpAsText();
-      layoutTestController.clearBackForwardList();
-      layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+      testRunner.dumpAsText();
+      testRunner.clearBackForwardList();
+      testRunner.waitUntilDone();
     }
   }
 
@@ -31,8 +31,8 @@ onload = function() {
         document.body.innerHTML = "PASS";
       else
         document.body.innerHTML = "FAIL: initialLength=" + sessionStorage.initialLength + ", history.length=" + history.length;
-      if (window.layoutTestController)
-        layoutTestController.notifyDone();
+      if (window.testRunner)
+        testRunner.notifyDone();
       break;
     }
   }, 0);
index a06a516..c9a93d5 100644 (file)
@@ -1,8 +1,8 @@
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpBackForwardList();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.dumpBackForwardList();
+    testRunner.waitUntilDone();
 }
 
 onunload = function() {
index ac3c499..793aab2 100644 (file)
@@ -11,10 +11,10 @@ var testWindow;
 
 onload = function()
 {
-    if (window.layoutTestController) {
-        layoutTestController.setCanOpenWindows();
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.setCanOpenWindows();
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
     
     testWindow = window.open('resources/history-subframe-with-name-container.html');
@@ -62,8 +62,8 @@ function onFrameLoaded(pageId)
     
     if (currentState == 4) {
         testPassed('Complete: navigated through all the states');
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 }
 </script>
index aa3a12b..2cc8cac 100644 (file)
@@ -3,10 +3,10 @@
     <script>
     var i = 0;
     function test() {
-        if (window.layoutTestController) {
-            layoutTestController.setCanOpenWindows();
-            layoutTestController.dumpAsText();
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.setCanOpenWindows();
+            testRunner.dumpAsText();
+            testRunner.waitUntilDone();
             var button = document.getElementById("button");
             eventSender.mouseMoveTo(button.offsetParent.offsetLeft + button.offsetLeft + button.offsetWidth / 2, button.offsetParent.offsetTop +  button.offsetTop + button.offsetHeight / 2);
             eventSender.mouseDown();
index 99da8f3..1c8f871 100644 (file)
@@ -13,10 +13,10 @@ var testWindow;
 
 onload = function()
 {
-    if (window.layoutTestController) {
-        layoutTestController.setCanOpenWindows();
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.setCanOpenWindows();
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     testWindow = window.open('resources/location-replace-hash-1.html');
index fd0919a..9650861 100644 (file)
@@ -1,16 +1,16 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    window.layoutTestController.keepWebHistory();
-    window.layoutTestController.dumpAsText();
+if (window.testRunner) {
+    window.testRunner.keepWebHistory();
+    window.testRunner.dumpAsText();
 }
 
 function compareStyles()
 {
-    if (window.layoutTestController) {
-        var firstStyle = window.layoutTestController.computedStyleIncludingVisitedInfo(document.getElementById('one'));
-        var secondStyle = window.layoutTestController.computedStyleIncludingVisitedInfo(document.getElementById('two'));
+    if (window.testRunner) {
+        var firstStyle = window.testRunner.computedStyleIncludingVisitedInfo(document.getElementById('one'));
+        var secondStyle = window.testRunner.computedStyleIncludingVisitedInfo(document.getElementById('two'));
         if (firstStyle.color != secondStyle.color) {
             document.getElementById('result').innerHTML = 'FAIL';
             return;
index 32b2411..3f30518 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    window.layoutTestController.keepWebHistory();
-    window.layoutTestController.dumpAsText();
+if (window.testRunner) {
+    window.testRunner.keepWebHistory();
+    window.testRunner.dumpAsText();
 }
 
 function compareStyles()
@@ -14,9 +14,9 @@ function compareStyles()
     anchor.innerHTML = "One";
     document.getElementById('enclosure').appendChild(anchor);
 
-    if (window.layoutTestController) {
-        var firstStyle = window.layoutTestController.computedStyleIncludingVisitedInfo(document.getElementById('one'));
-        var secondStyle = window.layoutTestController.computedStyleIncludingVisitedInfo(document.getElementById('two'));
+    if (window.testRunner) {
+        var firstStyle = window.testRunner.computedStyleIncludingVisitedInfo(document.getElementById('one'));
+        var secondStyle = window.testRunner.computedStyleIncludingVisitedInfo(document.getElementById('two'));
         if (firstStyle.color == secondStyle.color) {
             document.getElementById('result').innerHTML = 'FAIL';
             return;
index 2588169..1b8ace9 100644 (file)
@@ -3,9 +3,9 @@
 <body onload="onload()">
 </body>
 <script>
-  if (window.layoutTestController) {
-      layoutTestController.clearBackForwardList();
-      layoutTestController.waitUntilDone();
+  if (window.testRunner) {
+      testRunner.clearBackForwardList();
+      testRunner.waitUntilDone();
   }
 
   function onload() {
index eb60a65..76d6678 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <script>
 function runTest() {
-    if (window.layoutTestController) {
-        layoutTestController.notifyDone();
+    if (window.testRunner) {
+        testRunner.notifyDone();
     }
 }
 </script>
index 1f20cc1..39f3da1 100644 (file)
@@ -10,8 +10,8 @@ onhashchange = function() {
   }
   if (location.hash == "") {
     parent.document.getElementById("result").innerText = "PASS";
-    if (window.layoutTestController)
-      layoutTestController.notifyDone();
+    if (window.testRunner)
+      testRunner.notifyDone();
   }
 }
 </script>
index 18e64c8..8cb7b78 100644 (file)
@@ -1,7 +1,7 @@
 <script>
 onload = function() {
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 </script>
 <body>PASS</body>
index d88e903..bd89a3e 100644 (file)
@@ -22,8 +22,8 @@
         function closed()
         {
             if (window.opener.i == 2)
-                if (window.layoutTestController)
-                    opener.setTimeout("layoutTestController.notifyDone()", 0);
+                if (window.testRunner)
+                    opener.setTimeout("testRunner.notifyDone()", 0);
         }
         </script>
     </head>
index 2f43ec9..ef550f8 100644 (file)
@@ -22,11 +22,11 @@ function testHistoryItemCount()
 }
 
 window.addEventListener("load", function () {
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
         testHistoryItemCount();
-        layoutTestController.dumpBackForwardList();
-        layoutTestController.notifyDone();
+        testRunner.dumpBackForwardList();
+        testRunner.notifyDone();
     } else {
         testHistoryItemCount();
     }
index a6b74d7..3efd919 100644 (file)
@@ -15,10 +15,10 @@ var wentBack = false;
 
 description('Tests that we trigger same-document navigation when history entries are generated via fragment changes, even if the frames present in the document change between history entries.');
 
-if (window.layoutTestController) {
-    layoutTestController.dumpChildFramesAsText();
-    layoutTestController.clearBackForwardList();
-    layoutTestController.dumpBackForwardList();
+if (window.testRunner) {
+    testRunner.dumpChildFramesAsText();
+    testRunner.clearBackForwardList();
+    testRunner.dumpBackForwardList();
 }
 
 onload = function()
index 72e1fc9..573a2e3 100644 (file)
@@ -15,10 +15,10 @@ var wentBack = false;
 
 description('Tests that we trigger same-document navigation when history entries are generated via pushState, even if the frames present in the document change between history entries.');
 
-if (window.layoutTestController) {
-    layoutTestController.dumpChildFramesAsText();
-    layoutTestController.clearBackForwardList();
-    layoutTestController.dumpBackForwardList();
+if (window.testRunner) {
+    testRunner.dumpChildFramesAsText();
+    testRunner.clearBackForwardList();
+    testRunner.dumpBackForwardList();
 }
 
 onload = function()
index 60dec93..a5be62f 100644 (file)
@@ -26,9 +26,9 @@ function runTestStep() {
   var field = document.getElementById('field');
 
   if (hash == "") {
-    if (window.layoutTestController) {
-      layoutTestController.dumpAsText();
-      layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+      testRunner.dumpAsText();
+      testRunner.waitUntilDone();
     }
     // Location changes need to happen outside the onload handler to generate history entries.
     setTimeout(function() {
@@ -37,8 +37,8 @@ function runTestStep() {
     }, 0);
   } else {
     document.body.innerHTML = (field.value == '') ? 'FAIL' : 'PASS';
-    if (window.layoutTestController)
-      layoutTestController.notifyDone();
+    if (window.testRunner)
+      testRunner.notifyDone();
   }
 }
 
index 8202a54..bb41c7a 100644 (file)
@@ -42,16 +42,16 @@ function frameLoaded() {
     if (getTextInput().value == "test")
       document.getElementById("result").innerHTML = "PASS";
 
-    if (window.layoutTestController) {
-      layoutTestController.notifyDone();
+    if (window.testRunner) {
+      testRunner.notifyDone();
     }
   }
 }
 
 onload = function () {
-  if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+  if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
   }
   clickLink();
 }
index 6d7a5bf..b68d5bd 100644 (file)
@@ -1,16 +1,16 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    window.layoutTestController.keepWebHistory();
-    window.layoutTestController.dumpAsText();
+if (window.testRunner) {
+    window.testRunner.keepWebHistory();
+    window.testRunner.dumpAsText();
 }
 
 function compareStyles()
 {
-    if (window.layoutTestController) {
-        var firstStyle = window.layoutTestController.computedStyleIncludingVisitedInfo(document.getElementById('one'));
-        var secondStyle = window.layoutTestController.computedStyleIncludingVisitedInfo(document.getElementById('two'));
+    if (window.testRunner) {
+        var firstStyle = window.testRunner.computedStyleIncludingVisitedInfo(document.getElementById('one'));
+        var secondStyle = window.testRunner.computedStyleIncludingVisitedInfo(document.getElementById('two'));
         if (firstStyle.color == secondStyle.color || firstStyle.backgroundColor == secondStyle.backgroundColor) {
             document.getElementById('result').innerHTML = 'FAIL';
             return;
index 2901806..1f52cb6 100644 (file)
@@ -1,16 +1,16 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    window.layoutTestController.keepWebHistory();
-    window.layoutTestController.dumpAsText();
+if (window.testRunner) {
+    window.testRunner.keepWebHistory();
+    window.testRunner.dumpAsText();
 }
 
 function compareStyles()
 {
-    if (window.layoutTestController) {
-        var firstStyle = window.layoutTestController.computedStyleIncludingVisitedInfo(document.getElementById('one'));
-        var secondStyle = window.layoutTestController.computedStyleIncludingVisitedInfo(document.getElementById('two'));
+    if (window.testRunner) {
+        var firstStyle = window.testRunner.computedStyleIncludingVisitedInfo(document.getElementById('one'));
+        var secondStyle = window.testRunner.computedStyleIncludingVisitedInfo(document.getElementById('two'));
         if (firstStyle.color == secondStyle.color) {
             document.getElementById('result').innerHTML = 'FAIL';
             return;
index 33fab3c..6e9688b 100644 (file)
@@ -1,15 +1,15 @@
 <body onload="redirect()">
 <!-- Needs to take two seconds, because a faster refresh would result in not creating a b/f item for the navigation -->
-<iframe src='data:text/html,<meta http-equiv="Refresh" content="2; URL=about:blank"><script>if (window.layoutTestController) { window.onpagehide=function(e){alert(&apos;pagehide &apos; + e.persisted)}; }</script>'></iframe>
+<iframe src='data:text/html,<meta http-equiv="Refresh" content="2; URL=about:blank"><script>if (window.testRunner) { window.onpagehide=function(e){alert(&apos;pagehide &apos; + e.persisted)}; }</script>'></iframe>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
-    layoutTestController.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
+    testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
 }
 
 function redirect()
 {
-    location='data:text/html,<p>PASSED if didn&apos;t crash in two seconds.</p><script>if (window.layoutTestController) setTimeout("layoutTestController.notifyDone()", 2500); </scr' + 'ipt>';
+    location='data:text/html,<p>PASSED if didn&apos;t crash in two seconds.</p><script>if (window.testRunner) setTimeout("testRunner.notifyDone()", 2500); </scr' + 'ipt>';
 }
 </script>
index c482304..9b1f77c 100644 (file)
   </head>
   <body onload="init()">
     <script>
-      if (window.layoutTestController) {
-          window.layoutTestController.keepWebHistory();
-          window.layoutTestController.dumpAsText();
-          window.layoutTestController.waitUntilDone();
+      if (window.testRunner) {
+          window.testRunner.keepWebHistory();
+          window.testRunner.dumpAsText();
+          window.testRunner.waitUntilDone();
       }
       var oVisitedLink, oUnvisitedLink;
       function init() {
@@ -29,8 +29,8 @@
           document.body.appendChild(document.createElement('strong')).appendChild(document.createTextNode(sDifferent));
           oVisitedLink.style.display = 'none';
           oUnvisitedLink.style.display = 'none';
-          if (window.layoutTestController)
-              window.layoutTestController.notifyDone();
+          if (window.testRunner)
+              window.testRunner.notifyDone();
         }, 0);
       }
       function createInvisibleLink(sUrl) {
index c6e85ff..449e709 100644 (file)
@@ -9,8 +9,8 @@ a:visited {
 }
 </style>
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.keepWebHistory();
+if (window.testRunner)
+    window.testRunner.keepWebHistory();
 </script>
 <body>
 <iframe src="resources/dummy.html" style="display:none"></iframe>
index 4916b6a..f148297 100644 (file)
 <p id="result">
 </p>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.keepWebHistory();
-        layoutTestController.waitUntilDone();
-        layoutTestController.setCanOpenWindows(true);
-        layoutTestController.setCloseRemainingWindowsWhenComplete(true);
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.keepWebHistory();
+        testRunner.waitUntilDone();
+        testRunner.setCanOpenWindows(true);
+        testRunner.setCloseRemainingWindowsWhenComplete(true);
         document.getElementById("result").innerText = "FAIL: Test did not complete";
         var button = document.getElementById("button");
         eventSender.mouseMoveTo(button.offsetParent.offsetLeft + button.offsetLeft + button.offsetWidth / 2, button.offsetParent.offsetTop +  button.offsetTop + button.offsetHeight / 2);
@@ -29,9 +29,9 @@
     function childLoaded()
     {
         childWindow.close();
-        if (window.layoutTestController) {
-            document.getElementById("result").innerText = layoutTestController.webHistoryItemCount === 1 ? "PASS" : "FAIL";
-            layoutTestController.notifyDone();
+        if (window.testRunner) {
+            document.getElementById("result").innerText = testRunner.webHistoryItemCount === 1 ? "PASS" : "FAIL";
+            testRunner.notifyDone();
         }
     }
 </script>
index c3550c0..69dd625 100644 (file)
@@ -6,8 +6,8 @@
 <div>Adopting grandparent frame: <span id="grandchild"></span></div>
 <script>
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function createFrame(id, parent) {
     var iframe = document.createElement('iframe');
index b4ae018..d3c01e6 100644 (file)
@@ -3,8 +3,8 @@
 
 </pre>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 var console = document.getElementById("console");
 console.appendChild(document.createTextNode("body.offsetParent = " + document.body.offsetParent + "\n"));
 console.appendChild(document.createTextNode("body.offsetLeft = " + document.body.offsetLeft + "\n"));
index fde9860..6fe9964 100644 (file)
@@ -1 +1 @@
-<svg><p>Test for https://bugs.webkit.org/show_bug.cgi?id=49316: The test PASSED if it did not crash.</p><script>if (window.layoutTestController) layoutTestController.dumpAsText();</script><use><style>:first-letter{margin-right:auto}<i><style>
+<svg><p>Test for https://bugs.webkit.org/show_bug.cgi?id=49316: The test PASSED if it did not crash.</p><script>if (window.testRunner) testRunner.dumpAsText();</script><use><style>:first-letter{margin-right:auto}<i><style>
index ee0d506..def40a8 100644 (file)
@@ -10,7 +10,7 @@ var createNewElement = function (tag, id, text) {
 var runTests = function () {
     document.getElementById("dt1").appendChild(createNewElement("summary", "new1", "new 1"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index ed29e5b..49e82d0 100644 (file)
@@ -10,7 +10,7 @@ var createNewElement = function (tag, id, text) {
 var runTests = function () {
     document.getElementById("dt1").insertBefore(createNewElement("summary", "new1", "new 1"), document.getElementById("summary1"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index 0be6358..40ca5fe 100644 (file)
@@ -11,7 +11,7 @@ var runTests = function () {
     document.getElementById("dt1").appendChild(createNewElement("summary", "new1", "new 1"));
     document.getElementById("dt1").appendChild(createNewElement("summary", "new2", "new 2"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index 1de8096..98230c8 100644 (file)
@@ -12,7 +12,7 @@ var runTests = function () {
     document.getElementById("dt1").appendChild(createNewElement("summary", "new1", "new 1"));
     document.getElementById("dt1").insertBefore(createNewElement("summary", "new2", "new 2"), document.getElementById("new1"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index 1512688..72e19cc 100644 (file)
@@ -10,7 +10,7 @@ var createNewElement = function (tag, id, text) {
 var runTests = function () {
     document.getElementById("dt1").appendChild(createNewElement("summary", "new1", "new 1"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index 74720a2..0eb1c02 100644 (file)
@@ -10,7 +10,7 @@ var createNewElement = function (tag, id, text) {
 var runTests = function () {
     document.getElementById("dt1").insertBefore(createNewElement("summary", "new1", "new 1"), document.getElementById("summary1"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index 9f1a153..a9f9da9 100644 (file)
@@ -10,7 +10,7 @@ var createNewElement = function (tag, id, text) {
 var runTests = function () {
     document.getElementById("dt1").appendChild(createNewElement("summary", "new1", "new 1"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index 43f1c23..a64648c 100644 (file)
@@ -11,7 +11,7 @@ var runTests = function () {
     document.getElementById("dt1").appendChild(createNewElement("summary", "new1", "new 1"));
     document.getElementById("dt1").appendChild(createNewElement("summary", "new2", "new 2"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index db633d0..07843e9 100644 (file)
@@ -12,7 +12,7 @@ var runTests = function () {
     document.getElementById("dt1").appendChild(createNewElement("summary", "new1", "new 1"));
     document.getElementById("dt1").insertBefore(createNewElement("summary", "new2", "new 2"), document.getElementById("new1"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index 6104fe7..f19358a 100644 (file)
@@ -10,7 +10,7 @@ var createNewElement = function (tag, id, text) {
 var runTests = function () {
     document.getElementById("dt1").appendChild(createNewElement("summary", "new1", "new 1"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index 6e82056..0b72017 100644 (file)
@@ -3,11 +3,11 @@
 
 var runTests = function () {
 
-    if (!window.layoutTestController)
+    if (!window.testRunner)
         return;
 
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 
     var d = document.getElementById("d1");
 
@@ -17,7 +17,7 @@ var runTests = function () {
             d.open = true;
             setTimeout(function () {
                 d.open = false;
-                layoutTestController.notifyDone();
+                testRunner.notifyDone();
             }, 1);
         }, 1);
     }, 1);
index 159cf0d..5d6e4dd 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
 </script>\r
 </head>\r
 <body>\r
index 1a6d309..9967660 100644 (file)
@@ -61,10 +61,10 @@ var testElement = function (element) {
 
 var runTests = function () {
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
 
-    layoutTestController.dumpAsText();
+    testRunner.dumpAsText();
 
     testElement(0);
     testElement(1);
index 03a558a..3925100 100644 (file)
@@ -3,7 +3,7 @@
 var runTests = function () {
     document.getElementById("dt1").removeChild(document.getElementById("summary1"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index f5bf997..d35db84 100644 (file)
@@ -3,7 +3,7 @@
 var runTests = function () {
     document.getElementById("dt1").removeChild(document.getElementById("summary1"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index 59b2131..b37aca1 100644 (file)
@@ -3,7 +3,7 @@
 var runTests = function () {
     document.getElementById("dt1").removeChild(document.getElementById("summary2"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index f0ed242..1fe5869 100644 (file)
@@ -3,7 +3,7 @@
 var runTests = function () {
     document.getElementById("dt1").removeChild(document.getElementById("summary1"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index a136032..e15a108 100644 (file)
@@ -3,7 +3,7 @@
 var runTests = function () {
     document.getElementById("dt1").removeChild(document.getElementById("summary1"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index a7b2905..b26883b 100644 (file)
@@ -3,7 +3,7 @@
 var runTests = function () {
     document.getElementById("dt1").removeChild(document.getElementById("summary2"));
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
     eventSender.mouseMoveTo(2, 2);
     eventSender.mouseDown();
index 11dd06e..53c6dd4 100644 (file)
@@ -15,7 +15,7 @@ function test()
 
 function runTest()
 {
-    if (window.layoutTestController)
+    if (window.testRunner)
         document.getElementById("run").click();
 }
 </script>
index c447bfc..94d7cbc 100644 (file)
@@ -13,7 +13,7 @@ function test()
 
 function runTest()
 {
-    if (window.layoutTestController)
+    if (window.testRunner)
         document.getElementById("run").click();
 }
 </script>
index 77dbe74..df92138 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <body onload="test()">
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function test() {
     document.open();
index df5d487..abc7d5a 100644 (file)
@@ -32,8 +32,8 @@ function test()
     pre.textContent = s;
     document.body.appendChild(pre);
     
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();    
+    if (window.testRunner)
+        testRunner.dumpAsText();    
 };
 
 document.ondragstart = function(e)
index a4bdc7c..bd31139 100644 (file)
@@ -2,8 +2,8 @@
 <head>
     <script type="text/javascript">
         function test() {
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
 
                 window.scrollTo(0, 1000);
 
index 3983190..b23b31c 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 </head>
 <body>
index d1a3b56..de66072 100644 (file)
@@ -1,8 +1,8 @@
 <body>
 <p>This is a regression test for https://bugs.webkit.org/show_bug.cgi?id=50434. It verifies that a marquee does not animate when scrollAmount is set to 0 by script.</p>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.waitUntilDone();
+    if (window.testRunner)
+        testRunner.waitUntilDone();
     var marquee = document.createElement("marquee");
     marquee.innerHTML = "Test";
     marquee.width = "100px";
@@ -10,9 +10,9 @@
     document.body.appendChild(marquee);
     setTimeout(function() {
         marquee.scrollAmount = 0;
-        if (window.layoutTestController) {
+        if (window.testRunner) {
             setTimeout(function() {
-                layoutTestController.notifyDone();
+                testRunner.notifyDone();
             }, 55);
         }
     }, 0);
index 573e416..733900e 100644 (file)
@@ -4,8 +4,8 @@
 <title>Test of HTML5 nav element</title>
 
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 
 <style>
index 78f0225..132a282 100644 (file)
@@ -1,7 +1,7 @@
 <html>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
     </script>
     <body> 
         <object type="image/png" data="this.object.does.not.exist.dtd">
index efc1e9b..597c9a4 100644 (file)
@@ -4,8 +4,8 @@
 </head>
 <body>
 <script>
-if (window.layoutTestController)
-       window.layoutTestController.dumpAsText();
+if (window.testRunner)
+       window.testRunner.dumpAsText();
 
 var link = document.createElement('link');
 link.setAttribute('type', 'text/css');
index c2430d3..72ed45c 100644 (file)
@@ -1,7 +1,7 @@
 <rt>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
        
 document.body.innerHTML = "PASS";
 </script>
index 342cd90..0dbe798 100644 (file)
@@ -43,8 +43,8 @@ function createScriptElement(type, language)
 
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var types = [
         null,
index 454ac52..ab738eb 100644 (file)
@@ -20,8 +20,8 @@ function test() {
     $('result').textContent =
         (default_color == size0_color && default_color == size1_color) ? "PASS"
                                                                        : "FAIL";
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 }
 </script>
 <body onload='test();'>
index fe21fbe..842a623 100644 (file)
@@ -49,7 +49,7 @@ document.body.appendChild(input);
 expected = 'rtl';
 sentInputEvent = false;
 textarea.focus();
-layoutTestController.setTextDirection('rtl');
+testRunner.setTextDirection('rtl');
 shouldBeTrue('sentInputEvent');
 
 // Change the text direction of the textarea element to LTR.
@@ -57,14 +57,14 @@ shouldBeTrue('sentInputEvent');
 expected = 'ltr';
 sentInputEvent = false;
 textarea.focus();
-layoutTestController.setTextDirection('ltr');
+testRunner.setTextDirection('ltr');
 shouldBeTrue('sentInputEvent');
 
 // Change the text direction of the input element to RTL.
 expected = 'rtl';
 sentInputEvent = false;
 input.focus();
-layoutTestController.setTextDirection('rtl');
+testRunner.setTextDirection('rtl');
 shouldBeTrue('sentInputEvent');
 
 // Change the text direction of the input element to LTR.
@@ -72,7 +72,7 @@ shouldBeTrue('sentInputEvent');
 expected = 'ltr';
 sentInputEvent = false;
 input.focus();
-layoutTestController.setTextDirection('ltr');
+testRunner.setTextDirection('ltr');
 shouldBeTrue('sentInputEvent');
 </script>
 <script src="../../fast/js/resources/js-test-post.js"></script>
index 123cd1e..fda62c0 100644 (file)
@@ -39,8 +39,8 @@
 
         function test()
         {
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
             }
 
             var inputs = document.getElementsByTagName('input');
index f64a543..a8278e4 100644 (file)
@@ -1,8 +1,8 @@
 <div id="a" tabindex="1">PASS</div>
 
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
     }
     var a = document.getElementById('a');
     a.removeAttribute('tabindex');
index e682f2e..809a051 100644 (file)
@@ -7,7 +7,7 @@
     <script type="text/javascript">
         function test()
         {
-            if (!window.layoutTestController)
+            if (!window.testRunner)
                 return;
             
             const items = [ "email", "password", "tel", "text" , "url" ];
@@ -27,7 +27,7 @@
                 
             document.getElementById('result').innerHTML = result;
 
-            layoutTestController.dumpAsText();
+            testRunner.dumpAsText();
         }
     </script>
 </head>
index 8d650bf..bfde40d 100644 (file)
@@ -6,8 +6,8 @@
 <pre id="console"></pre>
 
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
     
 function log(s)
 {
index 2f92319..c0ddd89 100644 (file)
     <script>
         function step2()
         {
-            if (window.layoutTestController)
-                layoutTestController.notifyDone();
+            if (window.testRunner)
+                testRunner.notifyDone();
         }
 
         function step1()
         {
-            if (window.layoutTestController)
-                layoutTestController.display();
+            if (window.testRunner)
+                testRunner.display();
             document.getElementById("target").style.display="none";
             document.body.offsetTop;
             setTimeout("step2()", 200);
@@ -27,9 +27,9 @@
 
         function test()
         {
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
             setTimeout("step1()", 100);
         }
index f391bbf..2359c78 100644 (file)
@@ -1,12 +1,12 @@
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
     }
 
     function runTest() {
-        if (window.layoutTestController)
-            layoutTestController.waitUntilDone();
+        if (window.testRunner)
+            testRunner.waitUntilDone();
 
         var image = document.getElementById("image");
         var console = document.getElementById("console");            
             else
                 console.innerHTML = "<span style='color:green'>PASS</span>";
 
-            if (window.layoutTestController)
-                layoutTestController.notifyDone();
+            if (window.testRunner)
+                testRunner.notifyDone();
         }, 100);
     }
 
     window.onpageshow = function(event) {
-        if (!event.persisted && window.layoutTestController) {
-            layoutTestController.queueLoad("about:blank");
-            layoutTestController.queueBackNavigation(1);
+        if (!event.persisted && window.testRunner) {
+            testRunner.queueLoad("about:blank");
+            testRunner.queueBackNavigation(1);
             return;
         }
 
index a9662ba..2e1bd04 100644 (file)
@@ -1,8 +1,8 @@
 <html>
   <head>
     <script>
-      if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+      if (window.testRunner)
+        testRunner.dumpAsText();
     </script>
 
    </head>
index 806de7c..32e9f07 100644 (file)
@@ -1,5 +1,5 @@
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 <img src="resources/busted-oval.png" onerror="alert('PASS')">
index a4ad997..d0bb91c 100644 (file)
@@ -4,9 +4,9 @@ WebCore::ImageEventSender::dispatchPendingEvents() crashes in certain conditions
 <div id="testRun"></div>
 <div id="container"></div>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
 }
 
 function gc()
@@ -29,8 +29,8 @@ function test()
 
     if (--remainingTestRuns < 0) {
         testRunDiv.innerHTML = "PASS";
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
         return;
     }
 
index a630c3c..5b819bb 100644 (file)
@@ -1,6 +1,6 @@
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 This tests passes if it doesn't crash.<br>
 <img src=resources/quicksort.gif>
index adc7973..681893e 100644 (file)
@@ -3,10 +3,10 @@
 <script type="text/javascript">
 function test() {
 
-    if (!window.layoutTestController || !window.eventSender)
+    if (!window.testRunner || !window.eventSender)
         return;
 
-    layoutTestController.dumpAsText();
+    testRunner.dumpAsText();
 
     var dragMe = document.getElementById("dragMe");
     var startX = dragMe.offsetLeft + (dragMe.offsetWidth / 2);
index 4151abc..ed30f63 100644 (file)
@@ -2,9 +2,9 @@
 <head>
     <!-- https://bugs.webkit.org/show_bug.cgi?id=17688 - ensure the <embed> element does not propagate its height and width to an object ancestor node -->
     <script>
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.waitUntilDone();
         }
 
         function measure() {
@@ -13,7 +13,7 @@
                 && document.getElementById("third").height == 100 
                 && document.getElementById("third").width == 100)
               document.getElementById("console").innerHTML = "SUCCESS";
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         }
 
         function test(){
index 9d82e84..b6dbdf6 100644 (file)
@@ -1,5 +1,5 @@
 <script>
-    if (window.layoutTestController)
-        layoutTestController.setPluginsEnabled(false);
+    if (window.testRunner)
+        testRunner.setPluginsEnabled(false);
 </script>
 <embed src="../borders/resources/Balloon_8107502.tiff" width="38" height="24" type="image/tiff"></embed>
index 838f6a1..cdd60cb 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.overridePreference('WebKitShouldRespectImageOrientation', 1);
-    layoutTestController.dumpAsText(1);
+if (window.testRunner) {
+    testRunner.overridePreference('WebKitShouldRespectImageOrientation', 1);
+    testRunner.dumpAsText(1);
 }
 
 function log(str) {
@@ -32,7 +32,7 @@ img { width: 100px; height: 100px; background-repeat: no-repeat; }
 </style>
 </head>
 <body onload="load()">
-<b>None of the images should be rotated. This test is only valid when run with layoutTestController (or with WebKitShouldRespectImageOrientation manually set to true).</b><br><br>
+<b>None of the images should be rotated. This test is only valid when run with testRunner (or with WebKitShouldRespectImageOrientation manually set to true).</b><br><br>
 <div class="container"><div class="image" id="img1" style="content: url(resources/exif-orientation-1-ul.jpg)"></div><br>Normal</div>
 <div class="container"><div class="image" id="img2" style="content: url(resources/exif-orientation-2-ur.jpg)"></div><br>Flipped horizontally</div>
 <div class="container"><div class="image" id="img3" style="content: url(resources/exif-orientation-3-lr.jpg)"></div><br>Rotated 180&deg;</div>
index 4a8c425..f713240 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.overridePreference('WebKitShouldRespectImageOrientation', 1);
-    layoutTestController.dumpAsText(1);
+if (window.testRunner) {
+    testRunner.overridePreference('WebKitShouldRespectImageOrientation', 1);
+    testRunner.dumpAsText(1);
 }
 
 function log(str) {
@@ -31,7 +31,7 @@ div { display: inline-block; margin-right: 20px; margin-bottom: 10px; width: 100
 </style>
 </head>
 <body onload="load()">
-<b>The images should be rotated respecting their EXIF orientation. This test can only be run with layoutTestController (or by manually setting WebKitShouldRespectImageOrientation to true).</b><br><br>
+<b>The images should be rotated respecting their EXIF orientation. This test can only be run with testRunner (or by manually setting WebKitShouldRespectImageOrientation to true).</b><br><br>
 <div><img id="img1" src="resources/exif-orientation-1-ul.jpg"><br>Normal</div>
 <div><img id="img2" src="resources/exif-orientation-2-ur.jpg"><br>Flipped horizontally</div>
 <div><img id="img3" src="resources/exif-orientation-3-lr.jpg"><br>Rotated 180&deg;</div>
index 5b83c7a..d59668d 100644 (file)
@@ -4,17 +4,17 @@ Images cannot be dynamically added to image documents.</p>
 <p id=result>Onload was not called, which is not good. But is the square below green?</p>
 <iframe src="resources/test-load.jpg" width=100 height=100 frameborder=0></iframe>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
 }
 
 function loaded()
 {
     if (frames[0].document.getElementById("green").naturalWidth == 16)
         document.getElementById("result").innerHTML = "PASS";
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 function test()
index 5ad3a63..de2d082 100644 (file)
@@ -2,16 +2,16 @@
 <head>
 <script>
     function step2() {
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
     function step1() {
         document.getElementById('replaceme').src = 'resources/gif-loop-count.gif';
         setTimeout("step2()", 200);
     }
     function test() {
-        if (window.layoutTestController) {
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.waitUntilDone();
         }
         setTimeout("step1()", 200);
     }
index bc7aa50..1edb4da 100644 (file)
@@ -2,8 +2,8 @@
 <head>
     <title></title>
     <script type="text/javascript">
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
     </script>
 </head>
 <body>
index 5313b8e..9de10c4 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
     <script type="text/javascript">
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
     </script>
 </head>
 <body>
index 20b8551..5291a1d 100644 (file)
@@ -6,9 +6,9 @@ Image load event fires before the document fragment is attached.</p>
 <!-- Preload an image, possibly making second load synchronous -->
 <img src="resources/boston.gif" style="visibility:hidden">
 <script>
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
 }
 function test()
 {
@@ -25,8 +25,8 @@ function loaded()
 {
     // There is code on the Web expecting that an image is in the document by the time its load event fires.
     document.getElementById("result").innerHTML = (document.getElementById("new")) ? "PASS" : "FAIL";
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 </script>
 </body>
index c9ba624..b42b07c 100644 (file)
@@ -63,7 +63,7 @@ function runTest()
         document.getElementById("log").textContent = "To run the test manually, click " + numClicks + " times in the image rectangle.\n";
         return;
     }
-    layoutTestController.dumpAsText();
+    testRunner.dumpAsText();
     eventSender.mouseMoveTo(50, 50);
     for (var click = 0; numClicks > click; ++click) {
         eventSender.mouseDown();
index 0fea520..1e8aeda 100644 (file)
@@ -59,7 +59,7 @@ function runTest()
         document.getElementById("log").textContent = "To run the test manually, click " + numClicks + " times in the image rectangle.\n";
         return;
     }
-    layoutTestController.dumpAsText();
+    testRunner.dumpAsText();
     eventSender.mouseMoveTo(50, 50);
     for (var click = 0; click < numClicks; ++click) {
         eventSender.mouseDown();
index 187be2e..6592132 100644 (file)
@@ -9,7 +9,7 @@ function runTest()
     if (!window.eventSender)
         return;
 
-    layoutTestController.dumpAsText();
+    testRunner.dumpAsText();
 
     eventSender.mouseMoveTo(340, 140);
     eventSender.mouseDown();
index 833f6d1..12ebaa3 100644 (file)
@@ -9,8 +9,8 @@ function log(message)
 }
 function runTest()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     if (document.body.scrollTop == 0)
         log("PASS: Document is starting scrolled to top.");
     else
index d632a8a..d655bc7 100644 (file)
@@ -1,6 +1,6 @@
 The red sector of the image should be at the 12 o'clock position.</p>
 <img src="resources/red-at-12-oclock-with-color-profile.jpg" width="400px">
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText(pixelTest = true);
+if (window.testRunner)
+    window.testRunner.dumpAsText(pixelTest = true);
 </script>
index fa32d5f..152e204 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
         </script>\r
     </head>\r
     <body>\r
index 2cd9703..63ea493 100644 (file)
@@ -8,8 +8,8 @@ div {
 }
  </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 </head>
 <p> Bug <a href="http://webkit.org/b/85912">85912</a>: Crash in computedCSSPadding* functions due to RenderImage::imageDimensionsChanged called during attachment</p>
index 6407ae4..891d3d9 100644 (file)
@@ -10,8 +10,8 @@
             document.getElementById("console").appendChild(paragraph);
         }
 
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText(); 
+        if (window.testRunner) {
+            testRunner.dumpAsText(); 
         }
         
         var results = [true, true, false, false];
index 543168d..3e97707 100644 (file)
@@ -1,5 +1,5 @@
 <img src="resources/palatted-color-png-gamma-one-color-profile.png">
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText(pixelTest = true);
+if (window.testRunner)
+    window.testRunner.dumpAsText(pixelTest = true);
 </script>
index 884041d..7322ada 100644 (file)
@@ -8,9 +8,9 @@
 </div>\r
 <pre></pre>\r
 <script>\r
-    if (window.layoutTestController) {\r
-        layoutTestController.waitUntilDone();\r
-        layoutTestController.dumpAsText();\r
+    if (window.testRunner) {\r
+        testRunner.waitUntilDone();\r
+        testRunner.dumpAsText();\r
     }\r
 \r
     function check() {\r
@@ -21,6 +21,6 @@
             out.textContent = "PASS";\r
         else\r
             out.textContent = "FAIL: image height was " + actual + " expected " + expected;\r
-        layoutTestController.notifyDone();\r
+        testRunner.notifyDone();\r
     }\r
 </script>\r
index 6d05101..5856ac6 100644 (file)
@@ -1,8 +1,8 @@
 <html>
   <head>
     <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     function loaded()
     {
         var p = document.createElement("p");
index 5eefbc7..da3c522 100644 (file)
 <img src=samples/z06n2c08.png>
 <img src=samples/z09n2c08.png>
 <script>
-if (window.layoutTestController)
-   window.layoutTestController.dumpAsText(pixelTest = true);
+if (window.testRunner)
+   window.testRunner.dumpAsText(pixelTest = true);
 </script>
index 604021c..0e99abf 100644 (file)
@@ -1,6 +1,6 @@
 The red sector of the image should be at the 12 o'clock position.</p>
 <img src="resources/red-at-12-oclock-with-color-profile.png" width="400px">
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText(pixelTest = true);
+if (window.testRunner)
+    window.testRunner.dumpAsText(pixelTest = true);
 </script>
index 432a224..f53a825 100644 (file)
@@ -1,6 +1,6 @@
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 This test passes if no heap errors are detected during decoding.<br>
 <img src=resources/wrong-block-length.gif>
index 68cf940..a56a5b3 100644 (file)
@@ -9,9 +9,9 @@ order, regardless of the underlying machine pixel buffer endianess.<br><br>
 <pre id="log">PASS</pre>
 
 <script>
-if (window.layoutTestController) {
-    window.layoutTestController.waitUntilDone();
-    window.layoutTestController.dumpAsText();
+if (window.testRunner) {
+    window.testRunner.waitUntilDone();
+    window.testRunner.dumpAsText();
 }
 
 function log(message)
@@ -70,7 +70,7 @@ function test(image, expect)
         log('FAIL: ' + e.message);
     }
 
-    if (window.layoutTestController)
-        window.layoutTestController.notifyDone();
+    if (window.testRunner)
+        window.testRunner.notifyDone();
 }
 </script>
index 24ba960..9aeaf43 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <img src="resources/rgb-jpeg-with-adobe-marker-only.jpg">
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText(pixelTest = true);
+if (window.testRunner)
+    window.testRunner.dumpAsText(pixelTest = true);
 </script>
 
index 0febef4..a9523b2 100644 (file)
@@ -1,6 +1,6 @@
 <!DOCTYPE html>
 <img src="resources/rgb-png-with-cmyk-color-profile.png" width="600px" height="213px">
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText(pixelTest = true);
+if (window.testRunner)
+    window.testRunner.dumpAsText(pixelTest = true);
 </script>
index a5820c2..385d2f7 100644 (file)
@@ -12,8 +12,8 @@ body {
 }
 </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 </head>
 <p> Bug <a href="http://webkit.org/b/85912">85912</a>: Crash in computedCSSPadding* functions due to RenderImage::imageDimensionsChanged called during attachment</p>
index 0b070f2..b85ec29 100644 (file)
@@ -1,7 +1,7 @@
 description("Test that when images are moved to a new document, a new load fires.");
 
-if (window.layoutTestController)
-    layoutTestController.setPluginsEnabled(false);
+if (window.testRunner)
+    testRunner.setPluginsEnabled(false);
 
 jsTestIsAsync = true;
 
index 28d48dd..6985ebc 100644 (file)
@@ -1,8 +1,8 @@
 <html>
   <head>
     <script>
-      if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+      if (window.testRunner)
+        testRunner.dumpAsText();
     </script>
 
    </head>
index 6ddd729..f213950 100644 (file)
@@ -17,8 +17,8 @@ A <img id="target" alt="A">
         document.getElementById("target").src = "data:text/plain,2";
     }
 
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     test();
 </script>
index ee05259..f2c544a 100644 (file)
@@ -12,8 +12,8 @@
 <div id="result"></div>
 <script>
     onload = function() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         document.body.offsetTop;
         var container = document.getElementById("container");
index 062f50f..0b5170e 100644 (file)
@@ -2,11 +2,11 @@
 <head>
 <script>
 
-if (window.layoutTestController) {
-    layoutTestController.dumpResourceLoadCallbacks();
-    layoutTestController.dumpAsText();
-    layoutTestController.setShouldPaintBrokenImage(false);
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpResourceLoadCallbacks();
+    testRunner.dumpAsText();
+    testRunner.setShouldPaintBrokenImage(false);
+    testRunner.waitUntilDone();
 }
 
 function loaded() {
@@ -14,9 +14,9 @@ function loaded() {
     var img = document.getElementById('img');
     // The default broken image height in mac is 20.
     result.innerHTML = img.offsetHeight >= 10 ? "FAIL" : "PASS";
-    if (window.layoutTestController) {
-        layoutTestController.setShouldPaintBrokenImage(true);
-        layoutTestController.notifyDone();
+    if (window.testRunner) {
+        testRunner.setShouldPaintBrokenImage(true);
+        testRunner.notifyDone();
     }
 }
 
@@ -24,9 +24,9 @@ function failed() {
     var result = document.getElementById('result');
     // Report 'FAIL' if WebCore didn't report onError on broken image.
     result.innerHTML = "FAIL";
-    if (window.layoutTestController) {
-        layoutTestController.setShouldPaintBrokenImage(true);
-        layoutTestController.notifyDone();
+    if (window.testRunner) {
+        testRunner.setShouldPaintBrokenImage(true);
+        testRunner.notifyDone();
     } 
 }
 </script>
index 341cf57..7dbf6cf 100644 (file)
@@ -2,8 +2,8 @@
 <head>
     <title></title>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
     </script>
 </head>
 <body>
index 2a5c950..52011ae 100644 (file)
@@ -2,8 +2,8 @@
 <head>
     <title></title>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
     </script>
 </head>
 <body>
index 8f37eef..36caecf 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <body>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 window.onload = function() {
     document.getElementById('results').innerHTML =
index b60de67..b270056 100644 (file)
@@ -2,6 +2,6 @@
 <img src="resources/ycbcr-with-cmyk-color-profile.jpg" width="350" height="350">
 <img src="resources/ycbcr-with-no-color-profile.jpg" width="350" height="350">
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText(pixelTest = true);
+if (window.testRunner)
+    window.testRunner.dumpAsText(pixelTest = true);
 </script>
index 4e6a26d..a4338d0 100644 (file)
@@ -2,8 +2,8 @@
 <html>
   <head>
     <script type="text/javascript">
-      if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+      if (window.testRunner)
+        testRunner.dumpAsText();
 
       function update() {
         // These arrays will become unnecessary if we fix the rounding issues that make us not always report "37x33".
index ff6ce54..fd6ee01 100644 (file)
@@ -24,8 +24,8 @@
     <div id="console"></div>\r
   </body>\r
 <script>\r
-if (window.layoutTestController)\r
-    layoutTestController.dumpAsText();\r
+if (window.testRunner)\r
+    testRunner.dumpAsText();\r
 document.getElementById("console").appendChild(document.createTextNode("PASS"));;\r
 </script>\r
 </html>\r
index c50dff9..71e8ee4 100644 (file)
@@ -25,8 +25,8 @@
     </p>
     <p id="result"></p>
     <script type="text/javascript">
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText();
+if (window.testRunner)
+    window.testRunner.dumpAsText();
 var result = document.getElementById('result');
 var outer = document.getElementById('outer');
 var inner = document.getElementById('inner');
index 9e300a3..388092c 100644 (file)
@@ -1,6 +1,6 @@
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
 <body style="direction: rtl;">
     <div style="display: inline-block; width: 100px; position: relative; height: 10px;">
index 6433cbe..cb98fe7 100644 (file)
@@ -1,7 +1,7 @@
 <!doctype html> <html> <head>
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText()
+if (window.testRunner)
+    window.testRunner.dumpAsText()
 
 function runTest()
 {
index 7ac6ab7..2c495c0 100644 (file)
@@ -1,6 +1,6 @@
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
 <p>
     This tests that having a &lt;wbr> element or a positioned element and a float
index b65a082..e43d79c 100644 (file)
@@ -13,8 +13,8 @@
         document.getElementById("target").style.display = "block";
         document.getElementById("positioned").style.display = "none";
     }
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     document.body.offsetTop;
     test();
index 753b15b..5ed5f5b 100755 (executable)
@@ -15,8 +15,8 @@
 <body>
 <p>Test case for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=84774">84774</a>: NULL-deref in RenderBox::clippedOverflowRectForRepaint</p>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var objectElement = document.createElement("object");
     newContent = document.createTextNode("Lorem");
index 4270826..507e8f5 100644 (file)
@@ -27,9 +27,9 @@ The bug is fixed if we don't crash. </p>
 </div>
 
 <script>
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.waitUntilDone();
             if (window.eventSender) {
                 eventSender.mouseMoveTo(50,75);
                 eventSender.mouseDown();
@@ -53,7 +53,7 @@ The bug is fixed if we don't crash. </p>
                 eventSender.mouseDown();
                 eventSender.mouseUp();
             }
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         }
 </script>
 
index a66959d..aac5932 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <title>inline body causes crash</title>
 <script>
-  if (window.layoutTestController)
-      layoutTestController.dumpAsText();
+  if (window.testRunner)
+      testRunner.dumpAsText();
 </script>
 </head>
 
index 1eeb0fd..3a2efed 100644 (file)
@@ -5,8 +5,8 @@
   ::-webkit-scrollbar { width: 5px; height: 5px; }
 </style>
 <script>
-  if (window.layoutTestController)
-      layoutTestController.dumpAsText();
+  if (window.testRunner)
+      testRunner.dumpAsText();
 </script>
 </head>
 
index 6bafbb9..a69d1c2 100644 (file)
@@ -14,8 +14,8 @@ div {
 PASS\r
 </div>\r
 <script>\r
-    if (window.layoutTestController)\r
-        layoutTestController.dumpAsText();\r
+    if (window.testRunner)\r
+        testRunner.dumpAsText();\r
 \r
     document.designMode = "on";\r
     document.execCommand("SelectAll");\r
index ddc9ca1..439f678 100644 (file)
@@ -8,7 +8,7 @@ Test passes it if does not crash.
 }\r
 </style>\r
 <script>\r
-    if (window.layoutTestController)\r
-        layoutTestController.dumpAsText();\r
+    if (window.testRunner)\r
+        testRunner.dumpAsText();\r
 </script>\r
 </html>\r
index ac03b71..f60e97a 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
@@ -14,8 +14,8 @@
                     document.appendChild(brElement);\r
                     \r
                     alert('PASS');\r
-                    if (window.layoutTestController)\r
-                        layoutTestController.notifyDone();\r
+                    if (window.testRunner)\r
+                        testRunner.notifyDone();\r
                 }, 0);\r
             }\r
         </script>\r
index b8add8f..36f417e 100644 (file)
@@ -2,8 +2,8 @@
 <body onload="runTest()">
 Test passes it it does not crash.
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     function runTest()
     {
index 1435e4b..6ee825c 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <title>inline marquee causes crashes</title>
 <script>
-  if (window.layoutTestController)
-      layoutTestController.dumpAsText();
+  if (window.testRunner)
+      testRunner.dumpAsText();
 </script>
 </head>
 
index d79d384..05dbcf0 100644 (file)
@@ -6,8 +6,8 @@
     });
 
     document.body.offsetTop;
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
         eventSender.mouseMoveTo(50, 50);
         eventSender.mouseDown();
         eventSender.mouseUp();
index 65702f5..a89af99 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText()
+if (window.testRunner)
+    window.testRunner.dumpAsText()
 
 function runTest()
 {
index f85c832..d638f68 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText()
+if (window.testRunner)
+    window.testRunner.dumpAsText()
 
 function runTest()
 {
index 7e01717..cddce6e 100644 (file)
@@ -4,9 +4,9 @@
 .table:nth-last-child(even) { line-height: 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
@@ -14,8 +14,8 @@ function runTest()
     var test = document.getElementById('test');\r
     test.parentNode.removeChild(test);\r
 \r
-    if (window.layoutTestController)\r
-        layoutTestController.notifyDone();\r
+    if (window.testRunner)\r
+        testRunner.notifyDone();\r
 }\r
 \r
 setTimeout("runTest()", 0); \r
index df37b9d..6f51f04 100644 (file)
@@ -18,8 +18,8 @@ Content:
 </svg>
 <script>
 window.addEventListener ("load", function() {
-    if (window.layoutTestController)
-           layoutTestController.dumpAsText();
+    if (window.testRunner)
+           testRunner.dumpAsText();
     document.getElementById("content").firstChild.nodeValue = document.documentElement.innerHTML;
 }, false);
 
index 40e199e..905590d 100644 (file)
@@ -21,8 +21,8 @@
 </svg>
 <script>
 window.addEventListener ("load", function() {
-    if (window.layoutTestController)
-           layoutTestController.dumpAsText();
+    if (window.testRunner)
+           testRunner.dumpAsText();
     document.getElementById("content").firstChild.nodeValue = document.documentElement.innerHTML;
 }, false);
 
index 7304cd0..d0f04b0 100644 (file)
@@ -11,8 +11,8 @@ Content:
 <b>test</b>
 <br>
 <script>
-if (window.layoutTestController)
-       layoutTestController.dumpAsText();
+if (window.testRunner)
+       testRunner.dumpAsText();
 document.getElementById("content").firstChild.nodeValue = document.documentElement.innerHTML;
 </script></body>
 test 
index 9ad618e..864aa74 100644 (file)
@@ -12,8 +12,8 @@
 <b>test</b>
 <br>
 <script>
-if (window.layoutTestController)
-       layoutTestController.dumpAsText();
+if (window.testRunner)
+       testRunner.dumpAsText();
 document.getElementById("content").firstChild.nodeValue = document.documentElement.innerHTML;
 </script>
 </body>
index 6e7fdf6..14d4930 100644 (file)
@@ -7,8 +7,8 @@
     <script>
         function test()
         {
-            if (window.layoutTestController)
-                layoutTestController.dumpAsText();
+            if (window.testRunner)
+                testRunner.dumpAsText();
 
             var result = document.getElementById("result");
             var target = document.getElementById("target");
index fb9261e..000badc 100644 (file)
@@ -5,8 +5,8 @@
 <div id="console"></div>
 
 <script language="javascript">
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText();
+if (window.testRunner)
+    window.testRunner.dumpAsText();
 
 function log(message) {
     var console = document.getElementById("console");
index 279f285..861f92d 100644 (file)
@@ -3,8 +3,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 <div id="log"></div>
 <script><![CDATA[
-  if (window.layoutTestController)
-      layoutTestController.dumpAsText();
+  if (window.testRunner)
+      testRunner.dumpAsText();
 
   var xhtmlNS = "http://www.w3.org/1999/xhtml";
   
index 888fbd1..8b7df31 100644 (file)
@@ -6,8 +6,8 @@
 <title>HTML innerHTML test, including custom tags</title>
 <script>
 function test() {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     var n = document.getElementsByTagName("emptyCustomTag")[0];
     n.parentNode.insertBefore(document.createElementNS("http://webkit.org/test", "anotherEmptyCustomTag"), n.nextSibling);
     n.parentNode.insertBefore(document.createTextNode("\n"), n.nextSibling);
index a4a8343..bdcdff5 100644 (file)
@@ -1,12 +1,12 @@
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 setTimeout(function(){
         document.body.innerHTML = "<b>PASS:</b> body and iframe cleared without crashing.";
-        layoutTestController.notifyDone();
+        testRunner.notifyDone();
     }, 0);
 </script>
 <body onload='document.getElementById("x").innerHTML = 1'>
index ccf93f7..b764e6a 100644 (file)
@@ -6,8 +6,8 @@
 <div id="console"></div>
 
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function log(message) {
     var console = document.getElementById("console");
index 3cfaf05..5d5f769 100644 (file)
@@ -3,8 +3,8 @@
 <head>
     <script>
         <![CDATA[
-            if (window.layoutTestController)
-                layoutTestController.dumpAsText();
+            if (window.testRunner)
+                testRunner.dumpAsText();
 
             var span = document.createElement("span");
             document.documentElement.appendChild(span);
index b530917..897d2c6 100644 (file)
@@ -1,7 +1,7 @@
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
     
 function print(message, color) 
 {
index 880b9a8..5b3dfb2 100644 (file)
@@ -5,8 +5,8 @@
 function test(id, reason) {
     alert(document.getElementById(id).style.getPropertyValue("background-image") + " (" + reason + ")");
 }
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 test("testUnquoted", "URL should not be quoted");
 test("testNoQuotesNeeded", "URL should not be quoted");
 test("testShouldQuote", "URL should be quoted");
index 1f500ed..d29ef06 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
 <style>
 div { background: purple; margin: 1em; color: white; font: 24px 'Lucida Grande'; }
index 05e8c9b..d356532 100644 (file)
@@ -4,8 +4,8 @@
 
 function onload()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     // Following code generates an exception.
     var p = document.createTextNode();
index ad4451a..e85da93 100644 (file)
@@ -4,8 +4,8 @@
 
 function onload()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.appendChild(document.createElement());
 }
 
index dd392ad..bc608f4 100644 (file)
@@ -4,8 +4,8 @@
 
 function onload()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.appendChild();
 }
 
index d55e329..3d5d791 100644 (file)
@@ -15,8 +15,8 @@
 <body>
 <p>Test case for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=18862">18862</a>: Crash while handling SVG font in the wrong namespace imported with @font-face</p>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 <p class="customFont"> PASSED (did not crash or ASSERT)</p>
 </body></html>
index 6ebfe4c..846181c 100644 (file)
@@ -10,8 +10,8 @@ function log(s)
     document.getElementById("console").appendChild(document.createTextNode(s + "\n"));
 }
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var h3 = document.getElementById("h3");
 log("h3.firstChild: " + h3.firstChild.tagName);
index c074105..c1d466d 100644 (file)
@@ -1,8 +1,8 @@
 <!doctype html>
 <html>
 <script>
-     if (window.layoutTestController)
-         layoutTestController.dumpAsText();
+     if (window.testRunner)
+         testRunner.dumpAsText();
 </script>
 <style type="text/css">
     dt > p, dl > p { background-color: lime; outline: 1px solid lime; }
index b26cf8a..f02245b 100644 (file)
@@ -1,4 +1,4 @@
-None of the images should be rotated. This test is only valid when run with layoutTestController (or with WebKitShouldRespectImageOrientation manually set to true).
+None of the images should be rotated. This test is only valid when run with testRunner (or with WebKitShouldRespectImageOrientation manually set to true).
 
 
 Normal 
index c76ff34..b9490da 100644 (file)
@@ -1,4 +1,4 @@
-The images should be rotated respecting their EXIF orientation. This test can only be run with layoutTestController (or by manually setting WebKitShouldRespectImageOrientation to true).
+The images should be rotated respecting their EXIF orientation. This test can only be run with testRunner (or by manually setting WebKitShouldRespectImageOrientation to true).
 
 
 Normal 
index b26cf8a..f02245b 100644 (file)
@@ -1,4 +1,4 @@
-None of the images should be rotated. This test is only valid when run with layoutTestController (or with WebKitShouldRespectImageOrientation manually set to true).
+None of the images should be rotated. This test is only valid when run with testRunner (or with WebKitShouldRespectImageOrientation manually set to true).
 
 
 Normal 
index 1d06668..df48832 100644 (file)
@@ -1,4 +1,4 @@
-The images should be rotated respecting their EXIF orientation. This test can only be run with layoutTestController (or by manually setting WebKitShouldRespectImageOrientation to true).
+The images should be rotated respecting their EXIF orientation. This test can only be run with testRunner (or by manually setting WebKitShouldRespectImageOrientation to true).
 
 
 Normal 
index 02e0f07..ffd1029 100644 (file)
@@ -7,22 +7,22 @@
 // 2- loads check-scroll-position.html.
 // 3- executes back and forward navigations.
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
-    layoutTestController.handleErrorPages();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
+    testRunner.handleErrorPages();
 }
 
 function onPageShow(evt)
 {
-    if (window.layoutTestController) {
+    if (window.testRunner) {
         if (!evt.persisted) {
             // This is the first time the page has been loaded, then setup the
             // to-be-tested scenario.
-            layoutTestController.queueLoad("./non-existent.html");
-            layoutTestController.queueLoad("resources/check-scroll-position.html");
-            layoutTestController.queueBackNavigation(1);
-            layoutTestController.queueForwardNavigation(1);
+            testRunner.queueLoad("./non-existent.html");
+            testRunner.queueLoad("resources/check-scroll-position.html");
+            testRunner.queueBackNavigation(1);
+            testRunner.queueForwardNavigation(1);
         } else {
             // The page is loaded again? So either the DRT doesn't support error page
             // or it doesn't save a history item for the error page.
index 0d31dfe..ecb2d2d 100644 (file)
@@ -1,8 +1,8 @@
 <head>
 <title>Check Scroll Position</title>
 <script>
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 
 function checkScrollPosition()
 {
@@ -10,8 +10,8 @@ function checkScrollPosition()
         document.getElementById("result").innerHTML = "SUCCESS";
     else
         window.scroll(0, 500);
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 onload = checkScrollPosition;