Use testRunner instead of layoutTestController in tests still found to be using layou...
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Aug 2012 07:22:13 +0000 (07:22 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Aug 2012 07:22:13 +0000 (07:22 +0000)
https://bugs.webkit.org/show_bug.cgi?id=93177

Reviewed by Adam Barth.

After this patch, neither grep nor spot light finds any tests that use layoutTestController
and we can safely land the patch on the bug 93173.

* editing/pasteboard/input-with-visibility-hidden.html:
* fast/encoding/resources/%25%u0435 0 %xx%%%ulike.html:
* fast/encoding/script-in-head.html:
* fast/encoding/tag-in-title.html:
* fast/encoding/tag-name-digit.html:
* fast/encoding/url-host-name-non-ascii.html:
* fast/encoding/xml-charset-utf16.html:
* fast/encoding/xml-utf-8-default.xml:
* fast/encoding/yahoo-mail.html:
* fast/encoding/yentest.html:
* fast/encoding/yentest2.html:
* fast/forms/datalist/input-appearance-range-with-datalist-zoomed.html:
* fast/forms/datalist/input-appearance-range-with-datalist.html:
* fast/forms/datalist/update-range-with-datalist.html:
* fast/forms/input-set-composition-scroll.html:
* fast/harness/internals-object.html:
* fast/harness/page-cache-crash-on-data-urls.html:
* fast/harness/perftests/perf-runner-compute-statistics.html:
* fast/harness/resources/modal-dialog.html:
* fast/harness/show-modal-dialog.html:
* fast/harness/user-preferred-language.html:
* fast/multicol/hit-test-end-of-column.html:
* fast/multicol/hit-test-gap-between-pages-flipped.html:
* fast/multicol/hit-test-gap-between-pages.html:
* fast/multicol/hit-test-gap-block-axis.html:
* fast/notifications/notifications-event-listener-crash.html:
* fast/parser/foster-parent.html:
* fast/ruby/after-doesnt-crash.html:
* fast/ruby/before-block-doesnt-crash.html:
* fast/ruby/before-doesnt-crash.html:
* fast/ruby/before-table-doesnt-crash.html:
* fast/ruby/generated-before-counter-doesnt-crash.html:
* fast/ruby/modify-positioned-ruby-text-crash.html:
* fast/ruby/parse-rp.html:
* fast/ruby/ruby-illegal-1.html:
* fast/ruby/ruby-illegal-2.html:
* fast/ruby/ruby-illegal-3.html:
* fast/ruby/ruby-illegal-4.html:
* fast/ruby/ruby-illegal-5.html:
* fast/ruby/ruby-illegal-6.html:
* fast/ruby/ruby-illegal-7.html:
* fast/ruby/ruby-illegal-combined.html:
* fast/ruby/ruby-overhang-crash.html:
* fast/ruby/ruby-remove-no-base.html:
* fast/ruby/ruby-remove.html:
* fast/ruby/ruby-text-indent.html:
* fast/ruby/rubyDOM-insert-rt-block-1.html:
* fast/ruby/rubyDOM-insert-rt-block-2.html:
* fast/ruby/rubyDOM-insert-rt-block-3.html:
* fast/ruby/rubyDOM-remove-rt-block-1.html:
* fast/ruby/rubyDOM-remove-rt-block-2.html:
* fast/ruby/rubyDOM-remove-rt-block-3.html:
* fast/runin/crash-when-reparent-sibling.html:
* fast/runin/nonblock-runin.html:
* fast/runin/progress-run-in-crash.html:
* fast/runin/run-in-layer-not-removed-crash.html:
* fast/runin/runin-continuations-crash.html:
* fast/runin/runin-reparent-crash.html:
* fast/runin/select-runin.html:
* fullscreen/empty-anonymous-block-continuation-crash.html:
* http/tests/misc/SVGFont-delayed-load.html:
* http/tests/misc/resources/a success.html:
* http/tests/misc/resources/content-iframe.html:
* http/tests/misc/resources/iframe-policy-1.html:
* http/tests/misc/resources/iframe-policy-2.html:
* http/tests/misc/resources/isindex-with-no-form-base-href-submit.html:
* http/tests/misc/resources/isindex-with-no-form-base-href.html:
* http/tests/misc/resources/redirect-to-external-url-iframe.html:
* http/tests/misc/resources/slow-preload-cancel-1.html:
* http/tests/misc/resources/success-notify-done.html:
* http/tests/misc/resources/webtiming-cross-origin-and-back1.html:
* http/tests/misc/script-500.html:
* http/tests/misc/script-no-store.html:
* http/tests/misc/set-window-opener-to-null.html:
* http/tests/misc/single-character-pi-stylesheet.xhtml:
* http/tests/misc/slow-loading-image-in-pattern.html:
* http/tests/misc/slow-preload-cancel.html:
* http/tests/misc/submit-post-keygen.html:
* http/tests/misc/svg-image-load-outlives-gc-without-crashing.html:
* http/tests/misc/text-refresh.html:
* http/tests/misc/timer-vs-loading.html:
* http/tests/misc/uncacheable-script-repeated.html:
* http/tests/misc/unloadable-script.html:
* http/tests/misc/video-poster-image-load-outlives-gc-without-crashing.html:
* http/tests/misc/webtiming-origins.html:
* http/tests/misc/will-send-request-returns-null-on-redirect.html:
* http/tests/misc/willCacheResponse-delegate-callback.html:
* http/tests/misc/window-dot-stop.html:
* http/tests/misc/window-open-then-write.html:
* http/tests/misc/write-from-dom-script.html:
* http/tests/misc/write-while-waiting.html:
* http/tests/misc/xslt-bad-import.html:
* http/tests/multipart/invalid-image-data-standalone.html:
* http/tests/multipart/invalid-image-data.html:
* http/tests/multipart/multipart-wait-before-boundary.html:
* http/tests/multipart/stop-crash.html:
* http/tests/navigation/:
* http/tests/plugins/create-v8-script-objects.html:
* http/tests/plugins/cross-frame-object-access.html:
* http/tests/plugins/get-url.html:
* http/tests/plugins/geturlnotify-from-npp-destroystream.html:
* http/tests/plugins/interrupted-get-url.html:
* http/tests/plugins/local-geturl-from-remote.html:
* http/tests/plugins/npapi-response-headers.html:
* http/tests/plugins/plugin-document-has-focus.html:
* http/tests/plugins/post-url-file.html:
* http/tests/plugins/resources/interrupted-get-url-success.html:
* http/tests/plugins/resources/third-party-cookie-accept-policy-iframe.html:
* http/tests/plugins/third-party-cookie-accept-policy.html:
* http/tests/resources/notify-done.html:
* http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed.html:
* http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked.html:
* http/tests/ssl/referer-301.html:
* http/tests/ssl/referer-303.html:
* http/tests/storage/callbacks-are-called-in-correct-context.html:
* http/tests/storage/resources/callbacks-are-called-in-correct-context-second-frame.html:
* http/tests/svg/change-id-with-pending-resources.html:
* http/tests/svg/tref-adoptNode-crash.html:
* http/tests/uri/assign-path-with-leading-slash.html:
* http/tests/uri/assign-path-without-leading-slash.html:
* http/tests/uri/escaped-entity.html:
* http/tests/uri/resolve-encoding-relative.html:
* http/tests/uri/resources/assign-path-landing.html:
* http/tests/uri/utf8-path.html:
* http/tests/webarchive/cross-origin-stylesheet-crash-expected.webarchive:
* http/tests/webarchive/cross-origin-stylesheet-crash.html:
* http/tests/webarchive/test-css-url-encoding-expected.webarchive:
* http/tests/webarchive/test-css-url-encoding-shift-jis-expected.webarchive:
* http/tests/webarchive/test-css-url-encoding-shift-jis.html:
* http/tests/webarchive/test-css-url-encoding-utf-8-expected.webarchive:
* http/tests/webarchive/test-css-url-encoding-utf-8.html:
* http/tests/webarchive/test-css-url-encoding.html:
* http/tests/webarchive/test-preload-resources-expected.webarchive:
* http/tests/webarchive/test-preload-resources.html:
* http/tests/webfont/fallback-font-while-loading.html:
* http/tests/websocket/resources/server-failed-to-start.html:
* http/tests/xmlhttprequest/reentrant-cancel.html:
* inspector/device-orientation-success.html:
* platform/chromium/TestExpectations:
* platform/chromium/permissionclient/image-permissions.html:
* platform/chromium/permissionclient/plugin-permission.html:
* platform/chromium/permissionclient/script-permissions.html:
* platform/chromium/permissionclient/storage-permission.html:
* platform/gtk/TestExpectations:
* platform/mac/editing/input/edit-dictated-text-with-alternative.html:
* platform/mac/editing/input/insert-dictated-text.html:
* platform/mac/fast/AppleScript/001.html:
* platform/mac/fast/AppleScript/array.html:
* platform/mac/fast/AppleScript/date.html:
* platform/mac/fast/objc/dom-html-select-activate.html:
* platform/mac/fast/objc/longlongTest.html:
* platform/qt/view/fixed-layout-size.html:
* platform/win/inverted-colors/non-composited.html:
* platform/win/svg/W3C-SVG-1.1/resources/run-webkit-tests-epilogue.html:
* platform/win/svg/W3C-SVG-1.1/resources/run-webkit-tests-prologue.html:
* webarchive/loading/resources/javascript-url-iframe-crash.webarchive:

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

271 files changed:
LayoutTests/ChangeLog
LayoutTests/editing/pasteboard/input-with-visibility-hidden.html
LayoutTests/fast/encoding/resources/%25%u0435 0 %xx%%%ulike.html
LayoutTests/fast/encoding/script-in-head.html
LayoutTests/fast/encoding/tag-in-title.html
LayoutTests/fast/encoding/tag-name-digit.html
LayoutTests/fast/encoding/url-host-name-non-ascii.html
LayoutTests/fast/encoding/xml-charset-utf16.html
LayoutTests/fast/encoding/xml-utf-8-default.xml
LayoutTests/fast/encoding/yahoo-mail.html
LayoutTests/fast/encoding/yentest.html
LayoutTests/fast/encoding/yentest2.html
LayoutTests/fast/forms/datalist/input-appearance-range-with-datalist-zoomed.html
LayoutTests/fast/forms/datalist/input-appearance-range-with-datalist.html
LayoutTests/fast/forms/datalist/update-range-with-datalist.html
LayoutTests/fast/forms/input-set-composition-scroll.html
LayoutTests/fast/harness/internals-object.html
LayoutTests/fast/harness/page-cache-crash-on-data-urls.html
LayoutTests/fast/harness/perftests/perf-runner-compute-statistics.html
LayoutTests/fast/harness/resources/modal-dialog.html
LayoutTests/fast/harness/show-modal-dialog.html
LayoutTests/fast/harness/user-preferred-language.html
LayoutTests/fast/multicol/hit-test-end-of-column.html
LayoutTests/fast/multicol/hit-test-gap-between-pages-flipped.html
LayoutTests/fast/multicol/hit-test-gap-between-pages.html
LayoutTests/fast/multicol/hit-test-gap-block-axis.html
LayoutTests/fast/notifications/notifications-event-listener-crash.html
LayoutTests/fast/parser/foster-parent.html
LayoutTests/fast/ruby/after-doesnt-crash.html
LayoutTests/fast/ruby/before-block-doesnt-crash.html
LayoutTests/fast/ruby/before-doesnt-crash.html
LayoutTests/fast/ruby/before-table-doesnt-crash.html
LayoutTests/fast/ruby/generated-before-counter-doesnt-crash.html
LayoutTests/fast/ruby/modify-positioned-ruby-text-crash.html
LayoutTests/fast/ruby/parse-rp.html
LayoutTests/fast/ruby/ruby-illegal-1.html
LayoutTests/fast/ruby/ruby-illegal-2.html
LayoutTests/fast/ruby/ruby-illegal-3.html
LayoutTests/fast/ruby/ruby-illegal-4.html
LayoutTests/fast/ruby/ruby-illegal-5.html
LayoutTests/fast/ruby/ruby-illegal-6.html
LayoutTests/fast/ruby/ruby-illegal-7.html
LayoutTests/fast/ruby/ruby-illegal-combined.html
LayoutTests/fast/ruby/ruby-overhang-crash.html
LayoutTests/fast/ruby/ruby-remove-no-base.html
LayoutTests/fast/ruby/ruby-remove.html
LayoutTests/fast/ruby/ruby-text-indent.html
LayoutTests/fast/ruby/rubyDOM-insert-rt-block-1.html
LayoutTests/fast/ruby/rubyDOM-insert-rt-block-2.html
LayoutTests/fast/ruby/rubyDOM-insert-rt-block-3.html
LayoutTests/fast/ruby/rubyDOM-remove-rt-block-1.html
LayoutTests/fast/ruby/rubyDOM-remove-rt-block-2.html
LayoutTests/fast/ruby/rubyDOM-remove-rt-block-3.html
LayoutTests/fast/runin/crash-when-reparent-sibling.html
LayoutTests/fast/runin/nonblock-runin.html
LayoutTests/fast/runin/progress-run-in-crash.html
LayoutTests/fast/runin/run-in-layer-not-removed-crash.html
LayoutTests/fast/runin/runin-continuations-crash.html
LayoutTests/fast/runin/runin-reparent-crash.html
LayoutTests/fast/runin/select-runin.html
LayoutTests/fullscreen/empty-anonymous-block-continuation-crash.html
LayoutTests/http/tests/misc/SVGFont-delayed-load.html
LayoutTests/http/tests/misc/resources/a success.html
LayoutTests/http/tests/misc/resources/content-iframe.html
LayoutTests/http/tests/misc/resources/iframe-policy-1.html
LayoutTests/http/tests/misc/resources/iframe-policy-2.html
LayoutTests/http/tests/misc/resources/isindex-with-no-form-base-href-submit.html
LayoutTests/http/tests/misc/resources/isindex-with-no-form-base-href.html
LayoutTests/http/tests/misc/resources/redirect-to-external-url-iframe.html
LayoutTests/http/tests/misc/resources/slow-preload-cancel-1.html
LayoutTests/http/tests/misc/resources/success-notify-done.html
LayoutTests/http/tests/misc/resources/webtiming-cross-origin-and-back1.html
LayoutTests/http/tests/misc/script-500.html
LayoutTests/http/tests/misc/script-no-store.html
LayoutTests/http/tests/misc/set-window-opener-to-null.html
LayoutTests/http/tests/misc/single-character-pi-stylesheet.xhtml
LayoutTests/http/tests/misc/slow-loading-image-in-pattern.html
LayoutTests/http/tests/misc/slow-preload-cancel.html
LayoutTests/http/tests/misc/submit-post-keygen.html
LayoutTests/http/tests/misc/svg-image-load-outlives-gc-without-crashing.html
LayoutTests/http/tests/misc/text-refresh.html
LayoutTests/http/tests/misc/timer-vs-loading.html
LayoutTests/http/tests/misc/uncacheable-script-repeated.html
LayoutTests/http/tests/misc/unloadable-script.html
LayoutTests/http/tests/misc/video-poster-image-load-outlives-gc-without-crashing.html
LayoutTests/http/tests/misc/webtiming-origins.html
LayoutTests/http/tests/misc/will-send-request-returns-null-on-redirect.html
LayoutTests/http/tests/misc/willCacheResponse-delegate-callback.html
LayoutTests/http/tests/misc/window-dot-stop.html
LayoutTests/http/tests/misc/window-open-then-write.html
LayoutTests/http/tests/misc/write-from-dom-script.html
LayoutTests/http/tests/misc/write-while-waiting.html
LayoutTests/http/tests/misc/xslt-bad-import.html
LayoutTests/http/tests/multipart/invalid-image-data-standalone.html
LayoutTests/http/tests/multipart/invalid-image-data.html
LayoutTests/http/tests/multipart/multipart-wait-before-boundary.html
LayoutTests/http/tests/multipart/stop-crash.html
LayoutTests/http/tests/navigation/anchor-basic.html
LayoutTests/http/tests/navigation/anchor-frames-cross-origin.html
LayoutTests/http/tests/navigation/anchor-frames-gbk.html
LayoutTests/http/tests/navigation/anchor-frames-same-origin.html
LayoutTests/http/tests/navigation/anchor-frames.html
LayoutTests/http/tests/navigation/anchor-goback.html
LayoutTests/http/tests/navigation/anchor-subframeload.html
LayoutTests/http/tests/navigation/back-send-referrer.html
LayoutTests/http/tests/navigation/back-to-slow-frame.html
LayoutTests/http/tests/navigation/back-twice-without-commit.html
LayoutTests/http/tests/navigation/changing-frame-hierarchy-in-onload.html
LayoutTests/http/tests/navigation/document-location-script.html
LayoutTests/http/tests/navigation/dynamic-iframe-dynamic-form-back-entry.html
LayoutTests/http/tests/navigation/error404-frames.html
LayoutTests/http/tests/navigation/fallback-anchor-reload.html
LayoutTests/http/tests/navigation/forward-and-cancel.html
LayoutTests/http/tests/navigation/go-back-to-error-page.html
LayoutTests/http/tests/navigation/history-back-across-form-submission-to-fragment.html
LayoutTests/http/tests/navigation/https-in-page-cache.html
LayoutTests/http/tests/navigation/image-load-in-subframe-unload-handler.html
LayoutTests/http/tests/navigation/image-load-in-unload-handler.html
LayoutTests/http/tests/navigation/javascriptlink-basic.html
LayoutTests/http/tests/navigation/javascriptlink-goback.html
LayoutTests/http/tests/navigation/javascriptlink-subframeload.html
LayoutTests/http/tests/navigation/lockedhistory-iframe.html
LayoutTests/http/tests/navigation/metaredirect-basic.html
LayoutTests/http/tests/navigation/metaredirect-frames.html
LayoutTests/http/tests/navigation/metaredirect-goback.html
LayoutTests/http/tests/navigation/metaredirect-subframeload.html
LayoutTests/http/tests/navigation/multiple-back-forward-entries.html
LayoutTests/http/tests/navigation/navigation-interrupted-by-fragment.html
LayoutTests/http/tests/navigation/navigation-redirect-schedule-crash.html
LayoutTests/http/tests/navigation/new-window-redirect-history.html
LayoutTests/http/tests/navigation/no-referrer-reset.html
LayoutTests/http/tests/navigation/no-referrer-same-window.html
LayoutTests/http/tests/navigation/no-referrer-subframe.html
LayoutTests/http/tests/navigation/no-referrer-target-blank.html
LayoutTests/http/tests/navigation/onload-navigation-iframe-2.html
LayoutTests/http/tests/navigation/onload-navigation-iframe-timeout.html
LayoutTests/http/tests/navigation/onload-navigation-iframe.html
LayoutTests/http/tests/navigation/parsed-iframe-dynamic-form-back-entry.html
LayoutTests/http/tests/navigation/ping-cookie.html
LayoutTests/http/tests/navigation/ping-cross-origin-from-https.html
LayoutTests/http/tests/navigation/ping-cross-origin.html
LayoutTests/http/tests/navigation/ping-same-origin.html
LayoutTests/http/tests/navigation/post-301-response.html
LayoutTests/http/tests/navigation/post-302-response.html
LayoutTests/http/tests/navigation/post-303-response.html
LayoutTests/http/tests/navigation/post-307-response.html
LayoutTests/http/tests/navigation/post-basic.html
LayoutTests/http/tests/navigation/post-frames-goback1.html
LayoutTests/http/tests/navigation/post-frames.html
LayoutTests/http/tests/navigation/post-goback-same-url.html
LayoutTests/http/tests/navigation/post-goback1.html
LayoutTests/http/tests/navigation/post-goback2.html
LayoutTests/http/tests/navigation/postredirect-frames-goback1.html
LayoutTests/http/tests/navigation/postredirect-frames.html
LayoutTests/http/tests/navigation/postredirect-goback2.html
LayoutTests/http/tests/navigation/postredirect-reload.html
LayoutTests/http/tests/navigation/pushstate-updates-referrer.html
LayoutTests/http/tests/navigation/redirect-cycle.html
LayoutTests/http/tests/navigation/redirect-load-no-form-restoration.html
LayoutTests/http/tests/navigation/redirect-on-back-updates-history-item.html
LayoutTests/http/tests/navigation/redirect-on-reload-updates-history-item.html
LayoutTests/http/tests/navigation/redirect-preserves-referrer.html
LayoutTests/http/tests/navigation/redirect302-basic.html
LayoutTests/http/tests/navigation/redirect302-frames.html
LayoutTests/http/tests/navigation/redirect302-goback.html
LayoutTests/http/tests/navigation/redirect302-metaredirect.html
LayoutTests/http/tests/navigation/redirect302-subframeload.html
LayoutTests/http/tests/navigation/relativeanchor-basic.html
LayoutTests/http/tests/navigation/relativeanchor-frames.html
LayoutTests/http/tests/navigation/relativeanchor-goback.html
LayoutTests/http/tests/navigation/reload-subframe-frame.html
LayoutTests/http/tests/navigation/reload-subframe-iframe.html
LayoutTests/http/tests/navigation/reload-subframe-object.html
LayoutTests/http/tests/navigation/replacestate-base-illegal.html
LayoutTests/http/tests/navigation/replacestate-base-legal.html
LayoutTests/http/tests/navigation/replacestate-updates-referrer.html
LayoutTests/http/tests/navigation/resources/check-referrer.html
LayoutTests/http/tests/navigation/resources/https-in-page-cache-3.html
LayoutTests/http/tests/navigation/resources/javascriptlink.html
LayoutTests/http/tests/navigation/resources/metaredirect.html
LayoutTests/http/tests/navigation/resources/redirect-2.html
LayoutTests/http/tests/navigation/resources/redirect-load.html
LayoutTests/http/tests/navigation/resources/redirect-updates-history-item-done.html
LayoutTests/http/tests/navigation/resources/redirect302-metaredirect.html
LayoutTests/http/tests/navigation/resources/referrer.html
LayoutTests/http/tests/navigation/resources/replacestate-base-pass.html
LayoutTests/http/tests/navigation/resources/restore-form-state-https-1.html
LayoutTests/http/tests/navigation/resources/slowmetaredirect.html
LayoutTests/http/tests/navigation/resources/slowtimerredirect.html
LayoutTests/http/tests/navigation/resources/success200.html
LayoutTests/http/tests/navigation/resources/target-frame-from-window-end.html
LayoutTests/http/tests/navigation/resources/timerredirect.html
LayoutTests/http/tests/navigation/response204.html
LayoutTests/http/tests/navigation/restore-form-state-https.html
LayoutTests/http/tests/navigation/scrollstate-after-http-equiv-refresh-fragment-identifier-2.html
LayoutTests/http/tests/navigation/scrollstate-after-http-equiv-refresh-fragment-identifier.html
LayoutTests/http/tests/navigation/scrollstate-after-http-equiv-refresh.html
LayoutTests/http/tests/navigation/scrollstate-after-location-reload.html
LayoutTests/http/tests/navigation/slowmetaredirect-basic.html
LayoutTests/http/tests/navigation/slowtimerredirect-basic.html
LayoutTests/http/tests/navigation/success200-basic.html
LayoutTests/http/tests/navigation/success200-frames-loadsame.html
LayoutTests/http/tests/navigation/success200-frames.html
LayoutTests/http/tests/navigation/success200-goback.html
LayoutTests/http/tests/navigation/success200-loadsame.html
LayoutTests/http/tests/navigation/success200-reload.html
LayoutTests/http/tests/navigation/success200-subframeload.html
LayoutTests/http/tests/navigation/target-frame-from-window.html
LayoutTests/http/tests/navigation/timerredirect-basic.html
LayoutTests/http/tests/navigation/timerredirect-frames.html
LayoutTests/http/tests/navigation/timerredirect-goback.html
LayoutTests/http/tests/navigation/timerredirect-subframeload.html
LayoutTests/http/tests/plugins/create-v8-script-objects.html
LayoutTests/http/tests/plugins/cross-frame-object-access.html
LayoutTests/http/tests/plugins/get-url.html
LayoutTests/http/tests/plugins/geturlnotify-from-npp-destroystream.html
LayoutTests/http/tests/plugins/interrupted-get-url.html
LayoutTests/http/tests/plugins/local-geturl-from-remote.html
LayoutTests/http/tests/plugins/npapi-response-headers.html
LayoutTests/http/tests/plugins/plugin-document-has-focus.html
LayoutTests/http/tests/plugins/post-url-file.html
LayoutTests/http/tests/plugins/resources/interrupted-get-url-success.html
LayoutTests/http/tests/plugins/resources/third-party-cookie-accept-policy-iframe.html
LayoutTests/http/tests/plugins/third-party-cookie-accept-policy.html
LayoutTests/http/tests/resources/notify-done.html
LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed.html
LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked.html
LayoutTests/http/tests/ssl/referer-301.html
LayoutTests/http/tests/ssl/referer-303.html
LayoutTests/http/tests/storage/callbacks-are-called-in-correct-context.html
LayoutTests/http/tests/storage/resources/callbacks-are-called-in-correct-context-second-frame.html
LayoutTests/http/tests/svg/change-id-with-pending-resources.html
LayoutTests/http/tests/svg/tref-adoptNode-crash.html
LayoutTests/http/tests/uri/assign-path-with-leading-slash.html
LayoutTests/http/tests/uri/assign-path-without-leading-slash.html
LayoutTests/http/tests/uri/escaped-entity.html
LayoutTests/http/tests/uri/resolve-encoding-relative.html
LayoutTests/http/tests/uri/resources/assign-path-landing.html
LayoutTests/http/tests/uri/utf8-path.html
LayoutTests/http/tests/webarchive/cross-origin-stylesheet-crash-expected.webarchive
LayoutTests/http/tests/webarchive/cross-origin-stylesheet-crash.html
LayoutTests/http/tests/webarchive/test-css-url-encoding-expected.webarchive
LayoutTests/http/tests/webarchive/test-css-url-encoding-shift-jis-expected.webarchive
LayoutTests/http/tests/webarchive/test-css-url-encoding-shift-jis.html
LayoutTests/http/tests/webarchive/test-css-url-encoding-utf-8-expected.webarchive
LayoutTests/http/tests/webarchive/test-css-url-encoding-utf-8.html
LayoutTests/http/tests/webarchive/test-css-url-encoding.html
LayoutTests/http/tests/webarchive/test-preload-resources-expected.webarchive
LayoutTests/http/tests/webarchive/test-preload-resources.html
LayoutTests/http/tests/webfont/fallback-font-while-loading.html
LayoutTests/http/tests/websocket/resources/server-failed-to-start.html
LayoutTests/http/tests/xmlhttprequest/reentrant-cancel.html
LayoutTests/inspector/device-orientation-success.html
LayoutTests/platform/chromium/TestExpectations
LayoutTests/platform/chromium/permissionclient/image-permissions.html
LayoutTests/platform/chromium/permissionclient/plugin-permission.html
LayoutTests/platform/chromium/permissionclient/script-permissions.html
LayoutTests/platform/chromium/permissionclient/storage-permission.html
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/mac/editing/input/edit-dictated-text-with-alternative.html
LayoutTests/platform/mac/editing/input/insert-dictated-text.html
LayoutTests/platform/mac/fast/AppleScript/001.html
LayoutTests/platform/mac/fast/AppleScript/array.html
LayoutTests/platform/mac/fast/AppleScript/date.html
LayoutTests/platform/mac/fast/objc/dom-html-select-activate.html
LayoutTests/platform/mac/fast/objc/longlongTest.html
LayoutTests/platform/qt/view/fixed-layout-size.html
LayoutTests/platform/win/inverted-colors/non-composited.html
LayoutTests/platform/win/svg/W3C-SVG-1.1/resources/run-webkit-tests-epilogue.html
LayoutTests/platform/win/svg/W3C-SVG-1.1/resources/run-webkit-tests-prologue.html
LayoutTests/webarchive/loading/resources/javascript-url-iframe-crash.webarchive

index 1f98a9a4a7483e1a3d260eb499a0c386ea0fae5b..a18cc54a5139667050aca48a88c4c30c1b9b5292 100644 (file)
@@ -1,3 +1,170 @@
+2012-08-03  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Use testRunner instead of layoutTestController in tests still found to be using layoutTestController by grep
+        https://bugs.webkit.org/show_bug.cgi?id=93177
+
+        Reviewed by Adam Barth.
+
+        After this patch, neither grep nor spot light finds any tests that use layoutTestController
+        and we can safely land the patch on the bug 93173.
+
+        * editing/pasteboard/input-with-visibility-hidden.html:
+        * fast/encoding/resources/%25%u0435 0 %xx%%%ulike.html:
+        * fast/encoding/script-in-head.html:
+        * fast/encoding/tag-in-title.html:
+        * fast/encoding/tag-name-digit.html:
+        * fast/encoding/url-host-name-non-ascii.html:
+        * fast/encoding/xml-charset-utf16.html:
+        * fast/encoding/xml-utf-8-default.xml:
+        * fast/encoding/yahoo-mail.html:
+        * fast/encoding/yentest.html:
+        * fast/encoding/yentest2.html:
+        * fast/forms/datalist/input-appearance-range-with-datalist-zoomed.html:
+        * fast/forms/datalist/input-appearance-range-with-datalist.html:
+        * fast/forms/datalist/update-range-with-datalist.html:
+        * fast/forms/input-set-composition-scroll.html:
+        * fast/harness/internals-object.html:
+        * fast/harness/page-cache-crash-on-data-urls.html:
+        * fast/harness/perftests/perf-runner-compute-statistics.html:
+        * fast/harness/resources/modal-dialog.html:
+        * fast/harness/show-modal-dialog.html:
+        * fast/harness/user-preferred-language.html:
+        * fast/multicol/hit-test-end-of-column.html:
+        * fast/multicol/hit-test-gap-between-pages-flipped.html:
+        * fast/multicol/hit-test-gap-between-pages.html:
+        * fast/multicol/hit-test-gap-block-axis.html:
+        * fast/notifications/notifications-event-listener-crash.html:
+        * fast/parser/foster-parent.html:
+        * fast/ruby/after-doesnt-crash.html:
+        * fast/ruby/before-block-doesnt-crash.html:
+        * fast/ruby/before-doesnt-crash.html:
+        * fast/ruby/before-table-doesnt-crash.html:
+        * fast/ruby/generated-before-counter-doesnt-crash.html:
+        * fast/ruby/modify-positioned-ruby-text-crash.html:
+        * fast/ruby/parse-rp.html:
+        * fast/ruby/ruby-illegal-1.html:
+        * fast/ruby/ruby-illegal-2.html:
+        * fast/ruby/ruby-illegal-3.html:
+        * fast/ruby/ruby-illegal-4.html:
+        * fast/ruby/ruby-illegal-5.html:
+        * fast/ruby/ruby-illegal-6.html:
+        * fast/ruby/ruby-illegal-7.html:
+        * fast/ruby/ruby-illegal-combined.html:
+        * fast/ruby/ruby-overhang-crash.html:
+        * fast/ruby/ruby-remove-no-base.html:
+        * fast/ruby/ruby-remove.html:
+        * fast/ruby/ruby-text-indent.html:
+        * fast/ruby/rubyDOM-insert-rt-block-1.html:
+        * fast/ruby/rubyDOM-insert-rt-block-2.html:
+        * fast/ruby/rubyDOM-insert-rt-block-3.html:
+        * fast/ruby/rubyDOM-remove-rt-block-1.html:
+        * fast/ruby/rubyDOM-remove-rt-block-2.html:
+        * fast/ruby/rubyDOM-remove-rt-block-3.html:
+        * fast/runin/crash-when-reparent-sibling.html:
+        * fast/runin/nonblock-runin.html:
+        * fast/runin/progress-run-in-crash.html:
+        * fast/runin/run-in-layer-not-removed-crash.html:
+        * fast/runin/runin-continuations-crash.html:
+        * fast/runin/runin-reparent-crash.html:
+        * fast/runin/select-runin.html:
+        * fullscreen/empty-anonymous-block-continuation-crash.html:
+        * http/tests/misc/SVGFont-delayed-load.html:
+        * http/tests/misc/resources/a success.html:
+        * http/tests/misc/resources/content-iframe.html:
+        * http/tests/misc/resources/iframe-policy-1.html:
+        * http/tests/misc/resources/iframe-policy-2.html:
+        * http/tests/misc/resources/isindex-with-no-form-base-href-submit.html:
+        * http/tests/misc/resources/isindex-with-no-form-base-href.html:
+        * http/tests/misc/resources/redirect-to-external-url-iframe.html:
+        * http/tests/misc/resources/slow-preload-cancel-1.html:
+        * http/tests/misc/resources/success-notify-done.html:
+        * http/tests/misc/resources/webtiming-cross-origin-and-back1.html:
+        * http/tests/misc/script-500.html:
+        * http/tests/misc/script-no-store.html:
+        * http/tests/misc/set-window-opener-to-null.html:
+        * http/tests/misc/single-character-pi-stylesheet.xhtml:
+        * http/tests/misc/slow-loading-image-in-pattern.html:
+        * http/tests/misc/slow-preload-cancel.html:
+        * http/tests/misc/submit-post-keygen.html:
+        * http/tests/misc/svg-image-load-outlives-gc-without-crashing.html:
+        * http/tests/misc/text-refresh.html:
+        * http/tests/misc/timer-vs-loading.html:
+        * http/tests/misc/uncacheable-script-repeated.html:
+        * http/tests/misc/unloadable-script.html:
+        * http/tests/misc/video-poster-image-load-outlives-gc-without-crashing.html:
+        * http/tests/misc/webtiming-origins.html:
+        * http/tests/misc/will-send-request-returns-null-on-redirect.html:
+        * http/tests/misc/willCacheResponse-delegate-callback.html:
+        * http/tests/misc/window-dot-stop.html:
+        * http/tests/misc/window-open-then-write.html:
+        * http/tests/misc/write-from-dom-script.html:
+        * http/tests/misc/write-while-waiting.html:
+        * http/tests/misc/xslt-bad-import.html:
+        * http/tests/multipart/invalid-image-data-standalone.html:
+        * http/tests/multipart/invalid-image-data.html:
+        * http/tests/multipart/multipart-wait-before-boundary.html:
+        * http/tests/multipart/stop-crash.html:
+        * http/tests/navigation/:
+        * http/tests/plugins/create-v8-script-objects.html:
+        * http/tests/plugins/cross-frame-object-access.html:
+        * http/tests/plugins/get-url.html:
+        * http/tests/plugins/geturlnotify-from-npp-destroystream.html:
+        * http/tests/plugins/interrupted-get-url.html:
+        * http/tests/plugins/local-geturl-from-remote.html:
+        * http/tests/plugins/npapi-response-headers.html:
+        * http/tests/plugins/plugin-document-has-focus.html:
+        * http/tests/plugins/post-url-file.html:
+        * http/tests/plugins/resources/interrupted-get-url-success.html:
+        * http/tests/plugins/resources/third-party-cookie-accept-policy-iframe.html:
+        * http/tests/plugins/third-party-cookie-accept-policy.html:
+        * http/tests/resources/notify-done.html:
+        * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-allowed.html:
+        * http/tests/security/contentSecurityPolicy/1.1/scriptnonce-blocked.html:
+        * http/tests/ssl/referer-301.html:
+        * http/tests/ssl/referer-303.html:
+        * http/tests/storage/callbacks-are-called-in-correct-context.html:
+        * http/tests/storage/resources/callbacks-are-called-in-correct-context-second-frame.html:
+        * http/tests/svg/change-id-with-pending-resources.html:
+        * http/tests/svg/tref-adoptNode-crash.html:
+        * http/tests/uri/assign-path-with-leading-slash.html:
+        * http/tests/uri/assign-path-without-leading-slash.html:
+        * http/tests/uri/escaped-entity.html:
+        * http/tests/uri/resolve-encoding-relative.html:
+        * http/tests/uri/resources/assign-path-landing.html:
+        * http/tests/uri/utf8-path.html:
+        * http/tests/webarchive/cross-origin-stylesheet-crash-expected.webarchive:
+        * http/tests/webarchive/cross-origin-stylesheet-crash.html:
+        * http/tests/webarchive/test-css-url-encoding-expected.webarchive:
+        * http/tests/webarchive/test-css-url-encoding-shift-jis-expected.webarchive:
+        * http/tests/webarchive/test-css-url-encoding-shift-jis.html:
+        * http/tests/webarchive/test-css-url-encoding-utf-8-expected.webarchive:
+        * http/tests/webarchive/test-css-url-encoding-utf-8.html:
+        * http/tests/webarchive/test-css-url-encoding.html:
+        * http/tests/webarchive/test-preload-resources-expected.webarchive:
+        * http/tests/webarchive/test-preload-resources.html:
+        * http/tests/webfont/fallback-font-while-loading.html:
+        * http/tests/websocket/resources/server-failed-to-start.html:
+        * http/tests/xmlhttprequest/reentrant-cancel.html:
+        * inspector/device-orientation-success.html:
+        * platform/chromium/TestExpectations:
+        * platform/chromium/permissionclient/image-permissions.html:
+        * platform/chromium/permissionclient/plugin-permission.html:
+        * platform/chromium/permissionclient/script-permissions.html:
+        * platform/chromium/permissionclient/storage-permission.html:
+        * platform/gtk/TestExpectations:
+        * platform/mac/editing/input/edit-dictated-text-with-alternative.html:
+        * platform/mac/editing/input/insert-dictated-text.html:
+        * platform/mac/fast/AppleScript/001.html:
+        * platform/mac/fast/AppleScript/array.html:
+        * platform/mac/fast/AppleScript/date.html:
+        * platform/mac/fast/objc/dom-html-select-activate.html:
+        * platform/mac/fast/objc/longlongTest.html:
+        * platform/qt/view/fixed-layout-size.html:
+        * platform/win/inverted-colors/non-composited.html:
+        * platform/win/svg/W3C-SVG-1.1/resources/run-webkit-tests-epilogue.html:
+        * platform/win/svg/W3C-SVG-1.1/resources/run-webkit-tests-prologue.html:
+        * webarchive/loading/resources/javascript-url-iframe-crash.webarchive:
+
 2012-08-03  Ryosuke Niwa  <rniwa@webkit.org>
 
         Some tests still refer to layoutTestController instead of testRunner
index 6e5805dfa7c50b604260d89a1142bb7a039e06a8..6d9def2aa9e15c9aa6c4732f0c52b47871701ea7 100644 (file)
@@ -7,8 +7,8 @@ You should see PASS below.</p>
 <input type="text" value="FAIL">
 <p><script>
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var input = document.querySelector('input');
 input.focus();
index ae0d86f10046af948620b8c9732c51f67768ec18..2efb3d9220894a0d333dfa2c280f2908a218e2be 100644 (file)
@@ -5,7 +5,7 @@
       document.URL.match('%25.*html') == '%25%u0435 0 %xx%%%ulike.html')
      document.getElementById('result').firstChild.nodeValue = 'SUCCESS';
 
-  layoutTestController.notifyDone();
+  testRunner.notifyDone();
 ">
 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=6452">bug 6452</a> - 
 KURL::appendEscapingBadChars() should never escape percent characters.</p>
index d6dc1cad3952e795457c9ece689f483a2527eb6a..1001b282a3c407ac7618a34f2df377bd6c807902 100644 (file)
@@ -1,7 +1,7 @@
 <!-- temp --><script language="JavaScript" type="text/JavaScript">
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 document.write ('<SCR' + 'IPT>' +
 
@@ -9,8 +9,8 @@ document.write ('<SCR' + 'IPT>' +
         <!-- The letters CCE below are Cyrillic, so we do test that the encoding is correct. -->
         <!-- We also take an opportunity to test that this weirdly located script actually executes. -->
         'document.getElementById("result").innerHTML="SUóóåSS";' +
-        'if (window.layoutTestController)' +
-            'layoutTestController.notifyDone();' +
+        'if (window.testRunner)' +
+            'testRunner.notifyDone();' +
     '}, 0);' +
 '</SCR' + 'IPT>');document.close(); </script>
 <!-- /temp --><!--HEADER-->
index ff7ca4e9ff0e9099b6f904ca1caffdbadce5a8ac..7398df371065656174bc061e0563e1f652424fd1 100644 (file)
@@ -4,8 +4,8 @@
  <link rel="shortcut icon" href=/favicon.ico type=image/x-icon>
  <meta http-equiv="Content-Type" content="text/html; charset=KOI8-R">
  <script>
-   if (window.layoutTestController)
-       layoutTestController.dumpAsText();
+   if (window.testRunner)
+       testRunner.dumpAsText();
  </script>
  </head>
 
index 209f506dd46991ab13dc8d4a3c4bd34f0f84faae..a67f3ab0ff3eb1a3ae5d9b310524fff11bb2d19b 100644 (file)
@@ -13,8 +13,8 @@ function log(message)
     document.getElementById("log").innerText += message + "\n";
 }
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 if (document.inputEncoding == "windows-1255")
     log("PASS: " + document.inputEncoding);
index 639b7bafdca9a2fc94221bd05ea84c9dab9b9543..b70fe7b00a2f3b26a85ab31f2d673701dddd87d4 100644 (file)
@@ -5,8 +5,8 @@
 <a id="anchor" href="http://w&#xe9;bkit.org/"></a>
 <div id="result"></div>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var encodedURL = document.getElementById("anchor").href;
     document.getElementById("result").innerText = encodedURL == "http://xn--wbkit-bsa.org/" ? "PASS" : "FAIL: The encoded URL was '" + encodedURL + "'.";
index 8257726c5bab7e9208ae427cb3944be25ae4a64e..b80061746c0aa11e3de73ac0b9550f989de18ab9 100644 (file)
@@ -6,6 +6,6 @@
 </head>
 <body>
 This should look like a Roman \91B\92\91Â\92.
-<script>if (window.layoutTestController) layoutTestController.dumpAsText();</script>
+<script>if (window.testRunner) testRunner.dumpAsText();</script>
 </body>
 </html>
index 705bbaf92c7307cb389cc877d6b293c3fc41a808..eb33fd8446fa2e52c17e804ddefaaf2b97fb36e5 100644 (file)
@@ -5,6 +5,6 @@
 <p>When dumped into a text file by the test controller, this needs to be viewed as UTF-8:</p>
 <p>This is an em dash, —, this is is a delta symbol, ∆, this is an uppercase pi, ∏, and this is a lowercase pi, π.</p>
 <p>Characters from unicode plane 1, like mathematical bold script capital a, 𝓐, and mathematical bold fraktur small u, 𝖚, work too.</p>
-<script>if (window.layoutTestController) layoutTestController.dumpAsText();</script>
+<script>if (window.testRunner) testRunner.dumpAsText();</script>
 </body>
 </html>
index 82331c808d1f3769808ad1968ca85e11847d5c4f..2aada7472fcacee0a9abe124e1af6a9f294170d8 100644 (file)
@@ -12,8 +12,8 @@ Yahoo! Mail - someone@yahoo.com</title>
 
 <p>Test a particular example of broken markup that was making us ignore a charset declaration.</p>
 <script>
-  if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+  if (window.testRunner)
+    testRunner.dumpAsText();
 
   var charset = document.characterSet;
   if (!charset)
index a3a2a17946917d8a63d7c4c190ff6c8aba083de8..0818b27ae4a5ad52acbe86c2c7f106369684af0d 100644 (file)
@@ -5,8 +5,8 @@
 </HEAD>
 <BODY>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 writeYenExternal();
 document.write("two backslashes inline: " + "\\" + "<br>");
index 132069ce6f8d5302f032b52bacc1ff5c53c9a621..5dd134808b4a98320bbc7e29c484986542f81ee8 100644 (file)
@@ -5,8 +5,8 @@
 </HEAD>
 <BODY>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 writeYenExternal();
 document.write("two backslashes inline: \\ <br>");
index e28429a9db2961bf715a6476a6f72529c16dd331..6c4ba280d7cab59e35126c89cc57e452113f5466 100644 (file)
@@ -1,6 +1,6 @@
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText(true);
+if (window.testRunner)
+    testRunner.dumpAsText(true);
 </script>
 
 <div style="zoom: 0.7;">
index e90ce6e350937588b8f6701f0ace94673329356a..37cce45b4f7e098d28ce21aff83e07dad36a4bf6 100644 (file)
@@ -1,6 +1,6 @@
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText(true);
+if (window.testRunner)
+    testRunner.dumpAsText(true);
 </script>
 
 <input type=range list=foo value=10 />
index 8cf6e9e8a6dc2af48172f0b0fc14afe670ae9693..36e4773dc1069fd6c300630567318be1595acc31 100644 (file)
 <button id="button">Run tests.</button>
 
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText(true);
+if (window.testRunner)
+    testRunner.dumpAsText(true);
 
 function clickOn(element)
 {
index a6a60b9cb199e84700ba7bfaab1c658085dc45d8..b369cf084fe6ae15a05894ee3fd471d2ba8dc36c 100644 (file)
@@ -8,8 +8,8 @@ function log(s) {
     document.getElementById('log').appendChild(document.createTextNode(s + "\n"));
 }
 
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText();
+if (window.testRunner)
+    window.testRunner.dumpAsText();
 
 var input = document.querySelector('input');
 input.focus();
index 2bee7bf4ff17c2bc02d3024e772c85e5f6d132a7..69c8cb086e655485ee5e896384bbb949ce41eb58 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <script>
 
-if (layoutTestController)
-    layoutTestController.dumpAsText();
+if (testRunner)
+    testRunner.dumpAsText();
 
 function runTest()
 {
index 9bef46ef4ace7303e0393aacc3f916137d5147dc..737e4ca6f50e0a4a3c2d9a71e39b1f32d700ab86 100644 (file)
@@ -2,8 +2,8 @@
 <script>
 window.finish = function()
 {
-    if (layoutTestController)
-        layoutTestController.notifyDone();
+    if (testRunner)
+        testRunner.notifyDone();
 }
 
 window.log = function(message) {
@@ -17,11 +17,11 @@ window.failure = function(message) {
 
 function test()
 {
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
-        layoutTestController.setCanOpenWindows();
-        layoutTestController.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
+        testRunner.setCanOpenWindows();
+        testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
     }
     log("open page with data urls");
     window.open("resources/cached-page-with-data-urls.html");
index 9f66563a0fd8f622956f140957a653107cc15e14..e79fdd0e0c97258b28d75d1b138e1a64ce697498 100644 (file)
@@ -144,8 +144,8 @@ shouldEvaluateTo("stats.median", alternateComputeStatistics.median(data));
 debug("");
 
 // runner.js marks this as an async test so we need to call notifyDone.
-if (window.layoutTestController)
-    layoutTestController.notifyDone();
+if (window.testRunner)
+    testRunner.notifyDone();
 </script>
 
 <script src="../../../fast/js/resources/js-test-post.js"></script>
index 6d04473c4dabcb48b73f0c6fb799921fb8a27129..19a14e9d98632ba45b8a9dd29d7ba53cea3a1e1a 100644 (file)
@@ -3,12 +3,12 @@
 <script>
     function closeWindow()
     {
-        if (window.layoutTestController) {
-            layoutTestController.notifyDone();
+        if (window.testRunner) {
+            testRunner.notifyDone();
         }
         opener.log("Modal dialog closing.");
-        if (window.layoutTestController) {
-            layoutTestController.abortModal();
+        if (window.testRunner) {
+            testRunner.abortModal();
         }
         close();
     }
index 296c14fe2bd2df91fcb074134a126f4eb6cd6163..ae632dcecb8dd847e9739a4f9ca29b1cd7efcdaa 100644 (file)
@@ -3,10 +3,10 @@
 <script>
     function runTests()
     {
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.setCanOpenWindows();
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.setCanOpenWindows();
+            testRunner.waitUntilDone();
         }
         showModalDialog("resources/modal-dialog.html");
     }
index c0ece83cb5d3fb48c57ba911983e6e5e24f1cf06..5da6a140bf3146d08988d800a8a07fabb384b47f 100644 (file)
@@ -2,8 +2,8 @@
     <head>
         <script>
             
-            if (layoutTestController)
-                layoutTestController.dumpAsText();
+            if (testRunner)
+                testRunner.dumpAsText();
             
             function test(message, success)
             {
index c8cb18439025d9d527b77ee29516d4dff86fe0a5..b63451966fcc964a273466abce82dead3a66e1ad 100644 (file)
@@ -11,8 +11,8 @@
     FAIL: Test did not run.
 </p>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     // Clicking below the last line in the first column should not select anything from the first
     // line on the second column.
index 3a29718d7b08e9fa9270021dac087504533bd1d2..158e573dcbc0f3887157a5c85fc30633062d52c6 100644 (file)
@@ -6,8 +6,8 @@
         <div style="height: 50%;"></div>
         <div id="result">FAIL: Test did not run (DumpRenderTree or WebKitTestRunner needed)</div>
         <script>
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
                 internals.setPagination(document, "LeftToRightPaginated", 20, 100);
                 document.getElementById("result").innerText = document.caretRangeFromPoint(115, 550).startContainer === document.getElementById("target")
                     ? "PASS" : "FAIL";
index e8aa13a9be9eb807644478141c4ace0db5d19872..bce92b81a906513caff4237ef7712ee68cfe6511 100644 (file)
@@ -6,8 +6,8 @@
         <div style="height: 50%;"></div>
         <div id="result">FAIL: Test did not run (DumpRenderTree or WebKitTestRunner needed)</div>
         <script>
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
                 internals.setPagination(document, "LeftToRightPaginated", 20, 100);
                 document.getElementById("result").innerText = document.caretRangeFromPoint(115, 50).startContainer === document.getElementById("target")
                     ? "PASS" : "FAIL";
index a77f315523e4a766f7cd64e30b3936d524e6f2d1..02cfab97bddecd0dcf0115bb4631bd9b337625dc 100644 (file)
@@ -12,8 +12,8 @@
     color: rgba(0, 0, 0, 0.5);
 ">Lorem ipsum dolor sit amet consectetur elit.</div>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     // Clicking in the gap after the first column should not select anything from the second column.
     var target = document.getElementById("target");
index fcbd7857d93e3c1b1519323bef31948fc73d8b26..56211f3c82629fb8e55c35a4f273d997155aabe1 100644 (file)
@@ -7,11 +7,11 @@
 <p id="description"></p>
 <div id="console"></div>
 <script>
-if (window.layoutTestController) {
-       layoutTestController.waitUntilDone();
+if (window.testRunner) {
+       testRunner.waitUntilDone();
        setTimeout(function() {
                testPassed('No crash.');
-               layoutTestController.notifyDone();
+               testRunner.notifyDone();
        }, 0);
 }
 
index 1847f709e4976daa124af6671655b980d886652e..ce555b34c7d39cd83ea21170919b66fa5d930804 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <body>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 
 <div id="div">
index 1eaf04f921dd181a81d2d4c1eec36b17002795c9..ce8cb9d6a2a5876dc1bbd646742615ed79dcdb13 100644 (file)
@@ -14,8 +14,8 @@
       <rt></rt>
     </ruby>
     <script>
-      if (window.layoutTestController)
-          layoutTestController.dumpAsText();
+      if (window.testRunner)
+          testRunner.dumpAsText();
     </script>
     This test passes if it doesn't crash.
   </body>
index db8ab5291f830d13daf5f9e51e95419e751cdab4..66ed14dc0846d6d9ea9e095e6822c4704d69e407 100644 (file)
@@ -17,7 +17,7 @@
     </ruby>
 </ruby>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
 This test passes if it doesn't crash.
index bdbeb2ba628a4afe57d870e9701f93d9f4b0d043..f759d7c197852ad629caf7a42b102057a13da592 100644 (file)
@@ -14,8 +14,8 @@
       <rt></rt>
     </ruby>
     <script>
-      if (window.layoutTestController)
-          layoutTestController.dumpAsText();
+      if (window.testRunner)
+          testRunner.dumpAsText();
     </script>
     This test passes if it doesn't crash.
   </body>
index db8ab5291f830d13daf5f9e51e95419e751cdab4..66ed14dc0846d6d9ea9e095e6822c4704d69e407 100644 (file)
@@ -17,7 +17,7 @@
     </ruby>
 </ruby>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
 This test passes if it doesn't crash.
index d4f161ef9fca81bb19ef2a02fd80c98217b37c8d..97ef6a91703fd9c7c75fcbece8927f7739730db9 100644 (file)
@@ -1,7 +1,7 @@
 <html>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
 <style type="text/css">
 
index 8819eaab6e48345b19506cacd24af1676da2ded3..5d10b7ebee5c2bfe4415aff633ebdb4e2cd6d628 100644 (file)
@@ -7,8 +7,8 @@ window.onload = function() {
 
     document.body.appendChild(document.createTextNode('PASS, if no assert or crash in debug'));
 
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 }
 </script>
 <style>
index 1c5744627357713dcbf4d0311a85c7bfa69095de..599f09dfc9fc20f078b6b5aff6a780eeb1bde1a6 100644 (file)
@@ -3,8 +3,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     var markup = document.getElementById("ruby").outerHTML;
     if (markup == '<ruby id="ruby">base/<rp><span>left</span> rp/</rp><rt>text/</rt><rp>right <span>rp</span></rp></ruby>')
         result = "TEST PASSED: Markup was correct";
index 2f7fbfa1765c99808797095f631081b65bbdfd11..49d791c426a57c0775a58a6c6abe265a102dc2ca 100644 (file)
@@ -3,8 +3,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 }
 </script>
index 1a3ffca275fd8ae48edf703276cfd7e4232bd570..1fcb337b1fea9f2d15967e08086b7556407c296b 100644 (file)
@@ -3,8 +3,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 }
 </script>
index 8f2f74023e50e11b0a1f37bf9919faad86d61c33..303d3871a101bb13ad40f26d0835e52c52bd8589 100644 (file)
@@ -3,8 +3,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 }
 </script>
index 78d939098db5140882d0592600faa5300d2cf598..751593ccc9a968bc24c7dc6137c2baf3b9aa1aee 100644 (file)
@@ -3,8 +3,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 }
 </script>
index 6d9c1d1c1c9c2d0672039f9304a85b72f33e176e..553ea8db5a06031c0a91d6c39225718f767d8b9a 100644 (file)
@@ -3,8 +3,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 }
 </script>
index f916ac439d0605290a6549a9356527a3bb8f27b5..c0f6f1f6fab13d78c6e581de7810394c48a2a00b 100644 (file)
@@ -3,8 +3,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 }
 </script>
index e364cfa43bc915c9b9cdd8e5aa68bf19b8020417..f45153188cc0a7a15d14dfa2d902dc907d74add0 100644 (file)
@@ -3,8 +3,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 }
 </script>
index 55253421dd2e50958bb55aae2693a6baab82cebb..26ae1ce44706b9670258864b3f3a33eb66e4b54b 100644 (file)
@@ -3,8 +3,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 }
 </script>
index cdd7725185580df69014c1007eecd40457321d24..2b7f07323794bcac7d8ef0cdb548f137423da9ac 100644 (file)
@@ -8,13 +8,13 @@ function runTest()
     var child = document.getElementById('test');\r
     child.parentNode.removeChild(child);\r
     \r
-    if (window.layoutTestController)\r
-        layoutTestController.notifyDone();\r
+    if (window.testRunner)\r
+        testRunner.notifyDone();\r
 }\r
 \r
-if (window.layoutTestController) {\r
-    layoutTestController.dumpAsText();\r
-    layoutTestController.waitUntilDone();\r
+if (window.testRunner) {\r
+    testRunner.dumpAsText();\r
+    testRunner.waitUntilDone();\r
 }\r
 \r
 setTimeout("runTest()", 0);\r
index 9927f4058f17122387f02ad060bf4d0e7aaca54b..770ec61d384bfefb27dc7f9d49defdb16d70a714 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
@@ -12,8 +12,8 @@
                 document.body.removeChild(document.getElementById("test"));\r
                 document.getElementById("result").innerHTML = "PASS";\r
                 \r
-                if (window.layoutTestController)\r
-                    layoutTestController.notifyDone();\r
+                if (window.testRunner)\r
+                    testRunner.notifyDone();\r
             }\r
         </script>\r
     </head>\r
index b834583d606b4b66c570f2f3ee77030d5a9650d0..c567c1bfcb315ba93ac243afaf0213054a77a4b1 100644 (file)
@@ -3,8 +3,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     var ruby = document.getElementById("t");
     ruby.innerHTML = ''; // This line mustn't crash 
     document.getElementById("result").firstChild.data = 'SUCCESS!';
index 01e0ac6700daed9bc00e48b773d2fed35f442606..40e7384cc8825f0e44bb8425d64f32e0e7126467 100644 (file)
@@ -2,8 +2,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     var testp = document.getElementById("p");
     var testr = document.getElementById("r");
     var testt = document.getElementById("t");
index ec798cd0fa0ab4712c30a3fa7da73d12b320fa3c..661bd942ec4fc4d337719dc9d64771a8bd02b6c9 100644 (file)
@@ -4,8 +4,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 
     var ruby = document.getElementById('R');
index 35b4d0ffa5ac71131ec15f3082b2530a601036f6..020731b54796a448ddeec960099849b5a60fb4d4 100644 (file)
@@ -4,8 +4,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 
     var ruby = document.getElementById('R');
index 4e453322d1cbd63c3c6deb0b100898e1509f00a4..ab52d1aa1abedb1de44f7703ec62c7514e1461c5 100644 (file)
@@ -4,8 +4,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 
     var ruby = document.getElementById('R');
index 42c841c253e1bc41a1ba03f57d88d41d1bf3cc73..a1da9e94989962f12629bfbf9833e4a1670132ff 100644 (file)
@@ -4,8 +4,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 
     var ruby = document.getElementById('R');
index b4a8d2bac67599825efa024c32a74d2187ccb923..c1e3f137d8f5821b51d71bd86756b2a20831bb33 100644 (file)
@@ -4,8 +4,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 
     var ruby = document.getElementById('R');
index 3c159be3c20b3b36c14544cee21c6ee818dcb993..0945826cdaa9931a3ca1d8eff35e16045047cc9f 100644 (file)
@@ -4,8 +4,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("result").firstChild.data = 'SUCCESS!';
 
     var ruby = document.getElementById('R');
index 973b12e331ee57641a5dcc8e8fcef15e976ee020..346593fe5805be56406482f14ce790a0c3ba59dc 100644 (file)
@@ -3,8 +3,8 @@
         <script>
         function runTest()
         {
-            if (window.layoutTestController)
-                layoutTestController.dumpAsText();
+            if (window.testRunner)
+                testRunner.dumpAsText();
 
             // Create a run-in.
             var elem = document.createElement("div");
index a57ba5a4bdb4f06072e8827293b311c9e5355e6c..e90bd6279693fb4180945702243a9ca2de643441 100644 (file)
@@ -13,6 +13,6 @@
 </div>
 
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
index 30d4a65c7abbed0e9aa2479ab63184b681f24aed..fc6a0b6aca29d24f66c467894617f45f9b421673 100755 (executable)
@@ -5,8 +5,8 @@ Test passes if it does not crash.<br />
 <body>\r
 <progress id="progress1" style="-webkit-appearance: none"></progress><div></div>\r
 <script>\r
-if (window.layoutTestController)\r
-    layoutTestController.dumpAsText();\r
+if (window.testRunner)\r
+    testRunner.dumpAsText();\r
 \r
 document.body.offsetTop;\r
 progress1.style.display = 'run-in';\r
index 30cb2df33642c7ab02385d0c369faf232ad03775..6fc69568b844d04d6252ac24ca70a6498aa771b3 100755 (executable)
@@ -19,8 +19,8 @@ Test passes if it does not crash.
 }\r
 </style>\r
 <script>\r
-if (window.layoutTestController)\r
-    layoutTestController.dumpAsText();\r
+if (window.testRunner)\r
+    testRunner.dumpAsText();\r
 \r
 onload = function() \r
 {\r
index e9e32be5e24d0b48efa9260b4092bf35021cc20b..17b0452f6139efb88da03a87ad38a103d168dc33 100755 (executable)
@@ -6,8 +6,8 @@ Test passes if it does not crash.<br />
 .runIn { display: run-in; }
 </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 document.body.offsetTop;
 
index a06679f472d9d01912f488c8a9257ff3684fa70f..d33f7a7253ae427777e2c699ce8a6061985f62ee 100644 (file)
@@ -4,8 +4,8 @@
         <p style="display: run-in; "></p>\r
         <details id="test"></details>\r
         <script>\r
-            if (window.layoutTestController)\r
-                layoutTestController.dumpAsText();\r
+            if (window.testRunner)\r
+                testRunner.dumpAsText();\r
 \r
             document.body.offsetTop;\r
             \r
index ecd49d681dc3548bc8e686d29d45807ab5d71bc3..3fa169cf28fe34bd4e44ad71f970c575b13f6eed 100755 (executable)
@@ -6,8 +6,8 @@ Test passes if it does not crash.
 </select>\r
 <div></div>\r
 <script>\r
-if (window.layoutTestController)\r
-    layoutTestController.dumpAsText();\r
+if (window.testRunner)\r
+    testRunner.dumpAsText();\r
 \r
 document.body.offsetTop;\r
 document.execCommand("SelectAll");\r
index 40bbb71eca44cbb9cdcfd2a33b351646aa24639a..59519c2f4c140366ae101f0676e507e987e6e545 100755 (executable)
@@ -11,8 +11,8 @@ Test passes if it does not crash.
 </i>
 </summary>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 if ("webkitRequestFullScreen" in Element.prototype) {
        var span = document.getElementById('test');
index 42f294a01eaa0f362be116ad7edbb4897915a0c9..19ca8431bca47e3e32f003d2cbc49c3db59e529f 100644 (file)
@@ -1,8 +1,8 @@
 <p>This tests that the onload handler for an iframe is delayed by a pending SVGFont load.</p>
 <pre id="console"></pre>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     function log(msg)
     {
index fe35df27cd708435c00bcef8db85f5c984f8bf77..e9a9af253cd78e821b8260d475757d0074ccc194 100644 (file)
@@ -1,5 +1,5 @@
 <div>SUCCESS</div>
 <script>
-if (window.layoutTestController)
-  layoutTestController.dumpAsText();
+if (window.testRunner)
+  testRunner.dumpAsText();
 </script>
index 2109a5e110809c9fad79a74dfdc90a7d9bb2010c..f03e9f704ae74ac5e547a869f1905232e055049c 100644 (file)
@@ -1,4 +1,4 @@
 <script>
-if (window.layoutTestController)
-  layoutTestController.globalFlag = true;
+if (window.testRunner)
+  testRunner.globalFlag = true;
 </script>
index a7246f000dcc2de29a0494c241091843951fbe2d..23cee72c26cbee9643ad4349bbbec877469f291b 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <script>
 
-if (window.layoutTestController)
-    layoutTestController.setCustomPolicyDelegate(true, true);
+if (window.testRunner)
+    testRunner.setCustomPolicyDelegate(true, true);
 
 function runTest()
 {
index 4dbcda21bcc1fb3727b699a00fbce03967713f7b..23280afb55b140fb9604eed534985e840567ae61 100644 (file)
@@ -4,8 +4,8 @@
 
 function loaded()
 {
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 </script>
index 1d4714aca4719e714385743d4d3841df14a0c967..019bdfaceb17406206ecf343ae0858c5483214f8 100644 (file)
@@ -21,8 +21,8 @@ window.onload = test;
 <body>
 <pre id="log"></pre>
 <script>
-if (window.layoutTestController)
-    layoutTestController.notifyDone();
+if (window.testRunner)
+    testRunner.notifyDone();
 </script>
 </body>
 </html>
index a8ca84da0156ee97ea1f37f4589a18f397068831..abf1f46374946b99ee2e1528794bddd6a7fc5e5d 100644 (file)
@@ -12,8 +12,8 @@ function test()
     var forms = document.getElementsByTagName('form');
     if (forms.length != 1 || forms[0].action != 'http://localhost:8000/misc/resources/isindex-with-no-form-base-href-submit.html') {
         log('Could not find form with expected action');
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 
 
index 5287cd1638782a04c44b4d44d7f89d6965f9c075..8e9d3cb02a97033c4814fe977d92984ab0f5a34e 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <script>
 
-if (window.layoutTestController)
-    layoutTestController.setCustomPolicyDelegate(true, true);
+if (window.testRunner)
+    testRunner.setCustomPolicyDelegate(true, true);
 
 function runTest()
 {
@@ -12,8 +12,8 @@ function runTest()
     clickEvent.initEvent('click', false, true);
     link.dispatchEvent(clickEvent);
 
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 </script>
index 3df9adc00f9dab95a4c39875a1f23ba202da375c..5b2f066ad7cbda2de9211a5103ee405e9e9cce5d 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
 }
 </script>
 <script src="resources/script-slow1.pl"></script> <!-- this cause the preload scanner to kick in -->
@@ -12,8 +12,8 @@ if (window.layoutTestController) {
 <img src="resources/image-slow.pl"> <!-- this causes a pending preload to happen -->
 <script>
 window.close(); //this caused the crash as the preload would start at this point
-if (window.layoutTestController) {
-    layoutTestController.notifyDone();
+if (window.testRunner) {
+    testRunner.notifyDone();
 }
 </script>
 </body>
index 3da6a42d58d56ef1b6e2e7b5eaf7d0e9431b0398..4e5ea6fb07e6f349734ffffd745ee896ba4543af 100644 (file)
@@ -1,6 +1,6 @@
 <script>
-if (window.layoutTestController)
-    layoutTestController.notifyDone();
+if (window.testRunner)
+    testRunner.notifyDone();
 </script>
 <body>
 SUCCESS
index 775886cc9f61d463e1c25f5b88d4f0b8390e6ae2..464e225b869d566e75267e6a2a3ef392666cd298 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <script src="../../js-test-resources/js-test-pre.js"></script>
 <script>
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 function doRedirect() {
     window.location = "http://127.0.0.1:8000/misc/resources/webtiming-cross-origin-and-back-redirect1.php";
 }
index 1e123e84f6d311862c87c3447ae798070bb8d154..7c73ccad85a098e32f18222c7ceb90b36b4708f9 100644 (file)
@@ -3,8 +3,8 @@
 <div>Test that onerror fires for a script with HTTP status 500.</div>
 <div id=result>Testing...</div>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 <script onerror="document.getElementById('result').innerHTML = 'PASS';" src="resources/script-500.php" type="text/javascript"></script>
 </body>
index fdbedf3739dc8eabfb91bb2a539f63cb0d625cd8..352e0c003d0d50bc33c00aeebf504492c3246e47 100644 (file)
@@ -2,9 +2,9 @@
 <script>
 var count = 0;
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 function addRandom()
@@ -23,8 +23,8 @@ setInterval(function() {
     } else if (document.getElementsByTagName("p").length == 2) {
         document.write(document.getElementsByTagName("p")[0].innerHTML == document.getElementsByTagName("p")[1].innerHTML ? 
             "FAIL<br>" : "PASS<br>");
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 }, 10);
 </script>
index 434280c77fb656451646b07bf211caaaa39c3a32..e9439048dea748f76749b5eae4d881182686d69e 100644 (file)
@@ -1,10 +1,10 @@
 <html>
 <script>
-if (window.layoutTestController) {
-  layoutTestController.setCanOpenWindows();
-  layoutTestController.dumpAsText();
-  layoutTestController.waitUntilDone();
-  layoutTestController.globalFlag = false;
+if (window.testRunner) {
+  testRunner.setCanOpenWindows();
+  testRunner.dumpAsText();
+  testRunner.waitUntilDone();
+  testRunner.globalFlag = false;
 }
 
 var w = window.open("http://127.0.0.1:8000/misc/resources/content-iframe.html");
@@ -13,9 +13,9 @@ w.opener = null;
 function wait_to_start() {
   var child_window_opened;
 
-  // polling layoutTestController.globalFlag or w.document
-  if (window.layoutTestController) {
-    child_window_opened = layoutTestController.globalFlag;
+  // polling testRunner.globalFlag or w.document
+  if (window.testRunner) {
+    child_window_opened = testRunner.globalFlag;
   } else {
     // polling w.document is not very reliable cross browsers,
     // it works in chrome for manual testsing.
@@ -34,8 +34,8 @@ function wait_to_start() {
 
   w.close();
 
-  if (window.layoutTestController)
-    layoutTestController.notifyDone();
+  if (window.testRunner)
+    testRunner.notifyDone();
 }
 
 window.onload = wait_to_start;
index 7b1c8c6f1b3dc739c5355664b069724b65c05893..aa2895ab309ff98d704def6fb0e17b6827682076 100644 (file)
@@ -7,8 +7,8 @@
 This text should be styled green.\r
 </p>\r
 <script>\r
-if (window.layoutTestController)\r
-    layoutTestController.dumpAsText();\r
+if (window.testRunner)\r
+    testRunner.dumpAsText();\r
 \r
 if (!document.firstChild.data.match(/href="a"/))\r
     alert("Please don't rename the stylesheet - the test needs its URL to be single character");\r
index 258f7b83040412939ab458c670cf24034b4d3178..f004d37d4e1913c7206cef88c87c4a980260ae8c 100644 (file)
@@ -17,8 +17,8 @@ You should see a 400x300 rect containing a tiled rendering of the Acid3 referenc
 document.body.offsetWidth;
 
 // Repaint immediately before image arrived
-if (window.layoutTestController)
-    layoutTestController.display();
+if (window.testRunner)
+    testRunner.display();
 </script>
 </body>
 </html>
index 7fefa631c879359471f12231d9ebc06f70eae918..4953bff43754c78b715597b49b633e9444b1a376 100644 (file)
@@ -2,10 +2,10 @@
 <p>If testing manually, if your browser doesn't crash then this was a success.</p>
 <button type="button" onclick='window.open("resources/slow-preload-cancel.html");'>Test</button>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.setCanOpenWindows();
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.setCanOpenWindows();
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
 }
 
 window.open("resources/slow-preload-cancel-1.html");
index aa0aba04fda4c518a1fad21cc7d1a878991be563..6785257c75df22ce52239c998ad309374cbd1fc0 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
 }
 function clickf()
 {
index 5a62918b96f9b33a4a7ccbed7572b28bbdb5cfef..c2b69c810105914980e31d29c1f36ea175c3d47a 100644 (file)
@@ -1,16 +1,16 @@
 <script>
 
-if (window.layoutTestController) {
-       layoutTestController.waitUntilDone();
-       layoutTestController.dumpAsText();
+if (window.testRunner) {
+       testRunner.waitUntilDone();
+       testRunner.dumpAsText();
 }
 
 function loaded() {
        // If the garbage collection causes the image load to stop and therefore causes the load event to fire on the main frame, we failed.
        alert("FAIL: The load event fired");
        
-       if (window.layoutTestController)
-               layoutTestController.notifyDone();
+       if (window.testRunner)
+               testRunner.notifyDone();
 }
 
 </script>
@@ -27,8 +27,8 @@ This has an svg element that contains an svg image element.  That svg element is
 
 function finished() {
        window.stop()
-       if (window.layoutTestController)
-               layoutTestController.notifyDone();
+       if (window.testRunner)
+               testRunner.notifyDone();
 }
 
 function forceGC() {
index c770130e0072bf6307d2eae80c2f2b917937d851..75aaa1a0a05dd91dd5c0adbb42b2ee71350431d5 100644 (file)
@@ -1,8 +1,8 @@
 <head>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
 }
 </script>
 <meta http-equiv="refresh" content="0; URL=resources/text-refresh.pl">
index 06529f2eb3bb6443decb32ff711d3ea275fcda01..fec8fe1c6f532cd5565ac7888cb57b94defd5001 100644 (file)
@@ -1,9 +1,9 @@
 <html><head>
 <script language="javascript" type="text/javascript"><!--
 
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     function updateClock()
@@ -14,8 +14,8 @@
     function success()
     {
         document.getElementById("RESULT").innerHTML = "SUCCESS";
-        if (window.layoutTestController)
-            window.location = "data:text/html,SUCCESS<script>layoutTestController.notifyDone()</scr" + "ipt>";
+        if (window.testRunner)
+            window.location = "data:text/html,SUCCESS<script>testRunner.notifyDone()</scr" + "ipt>";
     }
 
 --></script>
index 3b9b58d7ee8c864c1be36c2fb2b52df0acb38461..1c6211940114937a5d11fbdc63cc3f31324b21e3 100644 (file)
@@ -1,4 +1,4 @@
-<script>if (window.layoutTestController) layoutTestController.dumpAsText();</script>
+<script>if (window.testRunner) testRunner.dumpAsText();</script>
 <p>Test for bug 17862. Try to load uncacheable script twice. This should not crash. </p>
 <script src=resources/uncacheable-script.cgi></script>
 <script src=resources/uncacheable-script.cgi></script>
index 580bc63e47374baf96fcda4010c0f367f8bf0cc9..1d0548d6fe1d49165daf3a3979d9eaff25cd6e1c 100644 (file)
@@ -23,8 +23,8 @@ function handleScriptOnError()
     <script onerror="handleScriptOnError()" id=test_script></script>
 
     <script>
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         <!-- we are an HTTP test so the security origin will fail the file method -->
         document.getElementById('test_script').src = "file:///foobar";
index 05d4ec5ca78fa3b29c29e2cd78b6ff3d851672e4..c73ba6cda2a592b176e277c2e1aefedd4449fadb 100644 (file)
@@ -1,16 +1,16 @@
 <script>
 
-if (window.layoutTestController) {
-       layoutTestController.waitUntilDone();
-       layoutTestController.dumpAsText();
+if (window.testRunner) {
+       testRunner.waitUntilDone();
+       testRunner.dumpAsText();
 }
 
 function loaded() {
        // If the garbage collection causes the image load to stop and therefore causes the load event to fire on the main frame, we failed.
        alert("FAIL: The load event fired");
        
-       if (window.layoutTestController)
-               layoutTestController.notifyDone();
+       if (window.testRunner)
+               testRunner.notifyDone();
 }
 
 </script>
@@ -26,8 +26,8 @@ This has a video element with an image for its poster frame.  That video element
 
 function finished() {
        window.stop()
-       if (window.layoutTestController)
-               layoutTestController.notifyDone();
+       if (window.testRunner)
+               testRunner.notifyDone();
 }
 
 function forceGC() {
index ec9bd31c598230592fbfd29056ba4a35e932bd5f..250b710e7d0cb0258364ad812bb3b200a04d7d53 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpChildFramesAsText();
+if (window.testRunner) {
+    testRunner.dumpChildFramesAsText();
 }
 </script>
 </head>
index caa6739da761f772d9ee259f963aa3e0671cb95f..4ebcb85c01fd5a1793bf39c3b2c1994ee3e6dec6 100644 (file)
@@ -2,10 +2,10 @@
 <head>\r
 <script>\r
 \r
-if (window.layoutTestController) {\r
-    layoutTestController.dumpAsText();\r
-    layoutTestController.dumpResourceLoadCallbacks(true);\r
-    layoutTestController.setWillSendRequestReturnsNullOnRedirect(true);\r
+if (window.testRunner) {\r
+    testRunner.dumpAsText();\r
+    testRunner.dumpResourceLoadCallbacks(true);\r
+    testRunner.setWillSendRequestReturnsNullOnRedirect(true);\r
 }\r
 \r
 </script>\r
index 59b9974b45898fa7d9d2fb16c6e3a2142c4dbb49..878846b616cd6dd202436b7ceed2018e206e94ec 100644 (file)
@@ -1,17 +1,17 @@
 <html>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     function runTest() {
-        layoutTestController.dumpResourceLoadCallbacks();
-        layoutTestController.dumpWillCacheResponse();
+        testRunner.dumpResourceLoadCallbacks();
+        testRunner.dumpWillCacheResponse();
 
         var f = document.createElement('iframe');
         f.src = "resources/willCacheResponse-success.html";
-        f.onload = function() { if (window.layoutTestController) layoutTestController.notifyDone(); }
+        f.onload = function() { if (window.testRunner) testRunner.notifyDone(); }
         document.body.appendChild(f);    
     }
 </script>
index 390fc88b487a1dfd3d642b3337d70998f2511226..a296799b4b12bfddbed602af0db2339e7b665bae 100644 (file)
@@ -1,17 +1,17 @@
 <html>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpResourceLoadCallbacks();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpResourceLoadCallbacks();
+        testRunner.waitUntilDone();
     }
 </script>
 <body>
 This tests for the successful use of window.stop()<br>
 <iframe src="http://127.0.0.1:8000/incremental/slow-utf8-text.pl"></iframe><br>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    setTimeout("layoutTestController.notifyDone()", 0); 
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    setTimeout("testRunner.notifyDone()", 0); 
 }
 window.stop();
 </script>
index 2a8b7f1738762aec2243e4dbda0ad8d9ee8bdc5b..9bee4205f19f1d185e42ef507cdb77d11729e57b 100644 (file)
@@ -1,14 +1,14 @@
 <html>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
-    layoutTestController.setCanOpenWindows();
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.setCanOpenWindows();
+    testRunner.dumpAsText();
 }
 
 function runTest() {
     var w = window.open('window-open-then-write.html');
-    w.document.write('<img src="resources/compass.jpg" onload="if (window.layoutTestController) setTimeout(\'layoutTestController.notifyDone()\', 100);">');
+    w.document.write('<img src="resources/compass.jpg" onload="if (window.testRunner) setTimeout(\'testRunner.notifyDone()\', 100);">');
     w.document.close();
 }
 </script>
index 68afa27215341cd07eb0867233ed91c97957068f..cd44f4a504934f76f6aa55a75b38ef8c791273c3 100644 (file)
@@ -2,8 +2,8 @@
 <body>
 PASS
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 window.scriptDidReallyRun = false;
 
index 0c715d849125b349952b089b46a03436e4a95cbd..08ef80929ff1b3fab9a23675d5b0e3b56851e359 100644 (file)
@@ -2,8 +2,8 @@
 <body>
 FAIL
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 setTimeout("document.write('PASS');document.close();", 100);
 </script>
index ea38ed60e29e8cfa5ceccad4969bb3bd2c22c758..61fbd87d8c8922617ddeb686efc6dbb77f64ca81 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 window.onload = function() {
     document.getElementById('d').innerHTML=''
 }
index 0ed88fb32138b1f0a2a66fd27c7522187d0b1402..21abe865907bb245ae4ff1217d3d06f07b0f3dd4 100644 (file)
@@ -1,13 +1,13 @@
 <html>
 <head>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.waitUntilDone();
+        if (window.testRunner)
+            testRunner.waitUntilDone();
 
         function loadedFirstPart()
         {
-            if (window.layoutTestController)
-                setTimeout("stop(); layoutTestController.notifyDone()", 200);
+            if (window.testRunner)
+                setTimeout("stop(); testRunner.notifyDone()", 200);
         }
     </script>
 </head>
index 9cedd1a358e8b3592646ba74c19ce9d5d7e112ad..95ddf7037beeb9c2336418ef9ff32e23d643299a 100644 (file)
@@ -1,13 +1,13 @@
 <html>
 <head>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.waitUntilDone();
+        if (window.testRunner)
+            testRunner.waitUntilDone();
 
         function loadedFirstPart()
         {
-            if (window.layoutTestController)
-                setTimeout("layoutTestController.notifyDone()", 200);
+            if (window.testRunner)
+                setTimeout("testRunner.notifyDone()", 200);
         }
     </script>
 </head>
index 1d3c28b7c25366efc521e042a7e3c41d8d743b7c..df2a2613a325c2273dbf6f0b11ddf1f07452f409 100644 (file)
@@ -1,17 +1,17 @@
 <html>
 <head>
     <script>
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.waitUntilDone();
         }
         function childLoaded() {
             setTimeout("window.frames['iframe'].location = 'resources/multipart-wait-before-boundary.php?done=1'", 0);
         }
         function success() {
-            if (window.layoutTestController) {
+            if (window.testRunner) {
                 document.getElementById('status').innerHTML = 'SUCCESS';
-                layoutTestController.notifyDone();
+                testRunner.notifyDone();
             }
         }
     </script>
index 879713ff904a6f3beb3361efbd4e3c27a1f612e6..9dcaf9170139af3c71d9a1cfd583b92bd7f629b5 100644 (file)
@@ -1,17 +1,17 @@
 <html>
 <head>
     <script>
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.waitUntilDone();
         }
 
         function firstPartLoaded()
         {
             window.stop();
             document.getElementById("results").innerHTML = "PASS";
-            if (window.layoutTestController)
-                layoutTestController.notifyDone();
+            if (window.testRunner)
+                testRunner.notifyDone();
         }
     </script>
 </head>
index 96147092696c5d8962ce5c8932f0a159fd9795b3..bbd6dbc65c6382282a1c047cde5553418e78a8a0 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/success200.html#anchor1", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 0a163a4f3094b6ad696000418188315c438f8006..e340997c49a0b9e49896795c61470108b43f704e 100644 (file)
@@ -1,9 +1,9 @@
 <html>
   <!-- See resources/frame-with-anchor-cross-origin.html for description of test -->
   <script>
-    if (window.layoutTestController) {
-        layoutTestController.waitUntilDone();
-        layoutTestController.dumpChildFramesAsText();
+    if (window.testRunner) {
+        testRunner.waitUntilDone();
+        testRunner.dumpChildFramesAsText();
     }
   </script>
   <!-- small same-origin child frame loading large cross-orgin grandchild frame -->
index 0cbbcb1458027a014e65703602d8615dcf5a2609..544d2475c5e706ba32c7ee2b334196c081277c83 100644 (file)
@@ -4,8 +4,8 @@
   <!-- See resources/frame-with-anchor-gbk.html for description of test -->
   <!-- See also https://bugs.webkit.org/show_bug.cgi?id=71316 -->
   <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpChildFramesAsText();
+    if (window.testRunner)
+        testRunner.dumpChildFramesAsText();
   </script>
   <frameset rows="90%,10%">
     <frame src="resources/frame-with-anchor-gbk.html#%89g" name="main">
index f1225c48d5a567a7941ad1c79596faa2e450b55c..6f161750ad723143a07b5c3beb89f190b466fbf7 100644 (file)
@@ -2,9 +2,9 @@
 <html>
   <!-- See resources/frame-with-anchor-same-origin.html for description of test -->
   <script>
-    if (window.layoutTestController) {
-        layoutTestController.waitUntilDone();
-        layoutTestController.dumpChildFramesAsText();
+    if (window.testRunner) {
+        testRunner.waitUntilDone();
+        testRunner.dumpChildFramesAsText();
     }
   </script>
   <!-- small same-origin child frame loading large same-orgin grandchild frame -->
index 3fceb989cafd3f7c8a7441eeea1bb48a57497a38..740625afd325b36b83266ed60e7a3a1ac4c1dab2 100644 (file)
@@ -1,8 +1,8 @@
 <html>
   <!-- See resources/frame-with-anchor.html for description of test -->
   <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpChildFramesAsText();
+    if (window.testRunner)
+        testRunner.dumpChildFramesAsText();
   </script>
   <frameset rows="90%,10%">
     <frame src="resources/frame-with-anchor.html#anchor1" name="main">
index 905b22a117a17897936f4a7c6c292c4d87fafd65..1b7809fb8b2684d727185a1204f447ce9832bc98 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBackTest("resources/success200.html#anchor1", 1, "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 5a8763bb201492e1bb35589dd3144fbb252e4962..532dee73a105fced9a22b7b27c7b212d7b574ca1 100644 (file)
@@ -1,8 +1,8 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if(window.layoutTestController) { 
-        layoutTestController.dumpChildFrameScrollPositions();
-        layoutTestController.dumpAsText();
+    if(window.testRunner) { 
+        testRunner.dumpChildFrameScrollPositions();
+        testRunner.dumpAsText();
     }
     runLoadChildFrameTest("resources/success200.html#anchor1");
 </script>
index 4045f6b4f2406ba348c03064c32da8df6fa045d8..f5d7c8093d6872099a770aafef615f741e9ada05 100644 (file)
@@ -1,7 +1,7 @@
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.waitUntilDone();
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.waitUntilDone();
+        testRunner.dumpAsText();
     }
 
     window.name = "0";
index 4682757fb8f500239485fed759498ba89d35a112..d117d2e7d2a58906369ad11ffeef4131c568fe1b 100644 (file)
@@ -1,10 +1,10 @@
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpBackForwardList();
-    layoutTestController.dumpAsText();
-    layoutTestController.queueLoad("resources/back-to-slow-frame-2.html");
-    layoutTestController.queueLoad("resources/back-to-slow-frame-3.html");
-    layoutTestController.queueBackNavigation(1);
+if (window.testRunner) {
+    testRunner.dumpBackForwardList();
+    testRunner.dumpAsText();
+    testRunner.queueLoad("resources/back-to-slow-frame-2.html");
+    testRunner.queueLoad("resources/back-to-slow-frame-3.html");
+    testRunner.queueBackNavigation(1);
 }
 </script>
 <p>This test checks that going back and forth across a slow-loading frame doesn't crash.
index 0f9d76e5bc949c0b7a545d62697409e1a09d48aa..bda5ebd9d92ed5dc26d0a0eecc625cf5237667c4 100644 (file)
@@ -1,19 +1,19 @@
 <script>
-if (window.layoutTestController) {
+if (window.testRunner) {
     if (!window.localStorage.page1Started) {
         // On the first visit, clear the back forward list to start fresh,
         // then set up the test.
         window.localStorage.page1Started = true;
-        layoutTestController.clearBackForwardList();
-        layoutTestController.dumpBackForwardList();
-        layoutTestController.dumpAsText();
+        testRunner.clearBackForwardList();
+        testRunner.dumpBackForwardList();
+        testRunner.dumpAsText();
 
         // Visit two pages, then go back to page 2, which has a slow frame the 
         // second time, and then back to page 1 before page 2 commits.
-        layoutTestController.queueLoad("resources/back-twice-page-2.html");
-        layoutTestController.queueLoad("resources/back-twice-page-3.html");
-        layoutTestController.queueBackNavigation(1);
-        layoutTestController.queueBackNavigation(1);
+        testRunner.queueLoad("resources/back-twice-page-2.html");
+        testRunner.queueLoad("resources/back-twice-page-3.html");
+        testRunner.queueBackNavigation(1);
+        testRunner.queueBackNavigation(1);
     } else {
         delete window.localStorage.page1Started;
     }
index 5a2c7d3a64e4ef780b3d89fc7e99f7a117691ef6..a555e0af9538f583eca132172adb24176bd557b8 100644 (file)
@@ -1,7 +1,7 @@
 <html>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 
 window.onload = function () {
index 3dcd17a7b53e2f83807ffe7de83a524831f09d7a..0749a79b09257612cbe676653eb7957998ff3a95 100644 (file)
@@ -4,14 +4,14 @@
     var n = document.location.search.substring(1);
     if (!n) {
       // page just opened
-      layoutTestController.dumpBackForwardList();
-      layoutTestController.dumpAsText();
-      layoutTestController.waitUntilDone();
+      testRunner.dumpBackForwardList();
+      testRunner.dumpAsText();
+      testRunner.waitUntilDone();
 
       document.location = "?1"
     } else {
       // loaded the ?1 navigation
-      layoutTestController.notifyDone();
+      testRunner.notifyDone();
   }
 </script>
 </head>
index 8f5fbcb6c522fcaabbd09a9757ac7641a0e49201..e434a8e9681fd0b1fadb2641ff1528ac21a5831f 100644 (file)
@@ -1,10 +1,10 @@
 <html>
 <script>
 
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpBackForwardList();
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpBackForwardList();
+    testRunner.dumpAsText();
 }
 
 function runTest()
index c83d96f447a8074a49b5201ced8cc71582819a30..332508788454696609070f2e1eb771533c3f2544 100644 (file)
@@ -1,11 +1,11 @@
 <html>
   <!-- Tests that 404s in frames are handled correctly -->
   <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.dumpChildFramesAsText();
-        layoutTestController.clearBackForwardList();
-        layoutTestController.dumpBackForwardList();        
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.dumpChildFramesAsText();
+        testRunner.clearBackForwardList();
+        testRunner.dumpBackForwardList();        
     }
   </script>
   <frameset rows="90%,10%">
index 11adcaffbec2f627effeac9e499e82c04dd2a4b3..a2af7349eceb98ff91ab25722a5eb9d657922d8a 100644 (file)
@@ -3,9 +3,9 @@
 <script type="text/javascript">
 function startTest()
 {
-    layoutTestController.dumpAsText();
+    testRunner.dumpAsText();
     location.hash = 'anchor';
-    layoutTestController.queueReload();
+    testRunner.queueReload();
 }
 </script>
 </head>
index 504cf0365d8452c6651352410914cd17263769b2..5e74eef8a9927fd44042127b326d13e088dc06fb 100644 (file)
@@ -9,24 +9,24 @@
 //    Important to cancel the load and ensure the history is not corrupted.
 // 6. Go forward and let slow URL load.
 //    Important for testing that navigation state is reset after stopping.
-if (window.layoutTestController) {
-    layoutTestController.clearBackForwardList();
-    layoutTestController.dumpBackForwardList();
-    layoutTestController.dumpAsText();
-    layoutTestController.queueLoad("resources/forward-and-cancel-frames-container.html");
-    layoutTestController.queueLoadingScript("frames[0].clickLink();");
-    layoutTestController.queueBackNavigation(1);
+if (window.testRunner) {
+    testRunner.clearBackForwardList();
+    testRunner.dumpBackForwardList();
+    testRunner.dumpAsText();
+    testRunner.queueLoad("resources/forward-and-cancel-frames-container.html");
+    testRunner.queueLoadingScript("frames[0].clickLink();");
+    testRunner.queueBackNavigation(1);
 
     // Go forward to slow URL in child frame, but stop right away.  This should
     // reset the backForward list to the previous entry.
-    layoutTestController.queueNonLoadingScript("setTimeout('history.forward();',0); setTimeout('window.stop();',10);");
+    testRunner.queueNonLoadingScript("setTimeout('history.forward();',0); setTimeout('window.stop();',10);");
 
     // Now go back to make sure the backForwardList is not corrupted.
-    layoutTestController.queueNonLoadingScript("setTimeout('history.forward();',50);");
-    layoutTestController.queueNonLoadingScript("setTimeout('layoutTestController.notifyDone();',100);");
+    testRunner.queueNonLoadingScript("setTimeout('history.forward();',50);");
+    testRunner.queueNonLoadingScript("setTimeout('testRunner.notifyDone();',100);");
 
     // Wait until we get back to this page.
-    layoutTestController.queueLoadingScript("layoutTestController.waitUntilDone();");
+    testRunner.queueLoadingScript("testRunner.waitUntilDone();");
 }
 </script>
 <p>This test checks that the backForward list is not corrupted when a frame load is canceled.
index 09300ad6806bbab0430999edbabec459c6d9841b..cd61fb8af71644b05b2229a35130f1c218a7baf0 100644 (file)
@@ -1,10 +1,10 @@
 <script>
-if (window.layoutTestController) {
-    layoutTestController.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
-    layoutTestController.dumpAsText();
-    layoutTestController.queueLoadHTMLString("<script>document.write('<div id=result>FAIL: The alternate HTML string was cached, but should not have been cached for an error page</div>');<\/script>", "resources", "http://127.0.0.1:8000/navigation/resources/page-treated-as-unreachable.html");
-    layoutTestController.queueLoad("resources/page-to-go-back-from.html");
-    layoutTestController.queueBackNavigation(1);
+if (window.testRunner) {
+    testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
+    testRunner.dumpAsText();
+    testRunner.queueLoadHTMLString("<script>document.write('<div id=result>FAIL: The alternate HTML string was cached, but should not have been cached for an error page</div>');<\/script>", "resources", "http://127.0.0.1:8000/navigation/resources/page-treated-as-unreachable.html");
+    testRunner.queueLoad("resources/page-to-go-back-from.html");
+    testRunner.queueBackNavigation(1);
 } else
     document.write('This test must be run by DumpRenderTree!')
 </script>
index 1039e646d180e861d46500392c7aa39c1e7bd288..6e1feacff79469e81b51fe072ee1986776a69bd2 100644 (file)
@@ -1,8 +1,8 @@
 <body>
 <script>
-if (window.layoutTestController) {
-  layoutTestController.dumpAsText();
-  layoutTestController.waitUntilDone();
+if (window.testRunner) {
+  testRunner.dumpAsText();
+  testRunner.waitUntilDone();
 }
 // This test confirms that when we submit a form to a reference fragment, that
 // navigating back, causes the page to load again.  We want to ensure that the
index 414f40969d4e38b98f213d53b730e7dd95d75966..34b9f6ed65907a3b41aaf9ba85497d0a0665f50d 100644 (file)
@@ -1,9 +1,9 @@
 <script>
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
-    layoutTestController.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
+    testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
 }
 
 if (location.protocol != "https:")
index 8cdbf24373ffe505c8c77a9e03d36a837df10c09..30cff2b845e8078b52c27c72020e39aa6b7fe19b 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <body>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
     
     function test() {
@@ -12,8 +12,8 @@
     
     function finish() {
         setTimeout(function() {
-            if (window.layoutTestController)
-                layoutTestController.notifyDone();
+            if (window.testRunner)
+                testRunner.notifyDone();
         }, 300);
     }
 </script>
index f7ad16e3ccfe093f4ed180b5b6cd229a3f7e3743..f4376c6d3b2b0dac9d4d75935a103bc9564e0b2c 100644 (file)
@@ -6,9 +6,9 @@ var testCalled = false;
 
 function test() {
     if (!testCalled) {
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.waitUntilDone();
         }
         testCalled = true;
         return;
index d0217f986d580dd848e5a256b2a69d7e1637db83..87bc34aa6d250b96014b1983eca71ba1b02e69d1 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/javascriptlink.html", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index d8a5000b21f5d6e7842a34e4f20dbfeaabad040b..efd1e475324dc5cffc7127fcf169b987ac09a2e2 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBackTest("resources/javascriptlink.html", 1, "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index f9b1390857ea116e6fd1c49ee7c936b4cb331a2b..01ee1dde52a70c43e4a4c313d630d21efac5504a 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runLoadChildFrameTest("resources/javascriptlink.html");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index f3c004707f39063b248fc39fbbea9b300deec4f4..a7a3134320df17642bec361c74675c06eec3612c 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <script src="resources/document-location.js"></script>
 <script type="text/javascript">
-layoutTestController.dumpBackForwardList();
-layoutTestController.dumpAsText();
+testRunner.dumpBackForwardList();
+testRunner.dumpAsText();
 
 var myFrame;
 function myCallbackFunction() {
index 2949b6b14f65416a4fb5feacf2143d4c6b1c0f6c..64c2f9359aab1c8ba63f5e4865e6ca35ea0992de 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/metaredirect.html", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 6c0a0dcbb6bdca15bfc3e7f8dd61f8fc362aae93..d43022c68d81a0111a580de594ceb26521708b69 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/frameset.pl?frameURL=metaredirect.html", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 43522d990610edba478f765d628d3e6b14c351ee..d4c089357e2f7648251a4bbcbacf2232d7352572 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBackTest("resources/metaredirect.html", 1, "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 3424d3a376edb220ec19703afb7bc285d49a3212..3baf444f2da161c5485d5a3d40a4a131e3cf9cdc 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runLoadChildFrameTest("resources/metaredirect.html");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 66f1167894520c240101b7d1ff98d8dd5fd06630..1f4999bc0b05e35d126d06f0fc3c2d77eb561936 100644 (file)
@@ -2,14 +2,14 @@
 <head>
 <title>Multiple Back/Forward Entries</title>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.dumpBackForwardList();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.dumpBackForwardList();
+        testRunner.waitUntilDone();
     }
     function loadDone() {
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 </script>
 </head>
index f7c213f885e0769fb5ec4685b9003669d27ae598..4ef2b4d07d2832db753da316d6792dbcee4c5fbf 100644 (file)
@@ -1,8 +1,8 @@
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpBackForwardList();
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpBackForwardList();
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 onload = function() {
     window.location = 'resources/slow-resource.pl?delay=100';
@@ -15,8 +15,8 @@ onhashchange = function() {
 
 function done() {
     console.log('Visited fragment and waited.');
-    if (window.layoutTestController) {
-        layoutTestController.notifyDone();
+    if (window.testRunner) {
+        testRunner.notifyDone();
     }
 }
 
index 831006ca520d70690d5460e3d49167544e14394e..96d984a50b56353790417496297f20fd2efd5137 100755 (executable)
@@ -4,9 +4,9 @@
 summary { font-family: A; }
 </style>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 function loadComplete() { 
@@ -17,8 +17,8 @@ function loadComplete() {
 }
 
 function finish() {
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 </script>
 <body onload="loadComplete()">
index 0744a14b365e22947aeb498238795bf5d5213e40..f8ef11a8e9dc18843bb2dc1503f9a04e877c3218 100644 (file)
@@ -1,10 +1,10 @@
 <html>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.setCanOpenWindows();
-    layoutTestController.dumpBackForwardList();
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.setCanOpenWindows();
+    testRunner.dumpBackForwardList();
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 function createNewWindow() {
index a4a8b3d683133e7cea855a3bf5952f889f3103ec..dc47ff20a84bf57abda4a0f552727a3a5c01b604 100644 (file)
@@ -8,10 +8,10 @@ This tests whether referrer information gets properly set and reset when "norefe
 <script>
     window.name = "consoleWindow";
     window.noreferrerStepDone = false;
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.setCanOpenWindows(true);
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.setCanOpenWindows(true);
+        testRunner.waitUntilDone();
     }
 
     var target = document.getElementById("link");\r
index a9feb7acdeb300dea11ee1883a8430cbcd0ac0f9..883e55258bd2104d96723cce34ccbee9898bd1fa 100644 (file)
@@ -6,9 +6,9 @@ of the referrer and window.opener should be empty below.
 <a id="link" href="resources/no-referrer-same-window-helper.php" rel="noreferrer">Start no referrer test</a>
 <script>
     window.name = "consoleWindow";
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     var target = document.getElementById("link");\r
index db169047c6c0576b8c69e4728e35cb13012d4b37..e97b72606a7f79bbff906d4ffc2679a29697264a 100644 (file)
@@ -4,9 +4,9 @@ This tests behavior of "noreferrer" links in subframes. A referrer should not be
 <iframe id="subframe" src="about:blank"></iframe>
 <script>
     window.name = "consoleWindow";
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     var target = document.getElementById("link");\r
index c2a005ba5380177431b6446153e319ba582d92c5..3e662d0d118b1ba31c148332d9b1eb782d84b5cf 100644 (file)
@@ -5,10 +5,10 @@ of the referrer and window.opener should be empty below.<br/>
 <a id="link" href="resources/no-referrer-helper.php" rel="noreferrer" target="_blank">Start no referrer test</a>
 <script>
     window.name = "consoleWindow";
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.setCanOpenWindows(true);
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.setCanOpenWindows(true);
+        testRunner.waitUntilDone();
     }
 
     var target = document.getElementById("link");\r
index 27f6a40052264a153a4898b72cc6f67a24cfd0d5..7f90a8454f0c4d736d22d592c6ffc52eafc1d6c7 100644 (file)
@@ -4,10 +4,10 @@
 
 function runTest()
 {
-    if (window.layoutTestController) {
-        layoutTestController.dumpBackForwardList();
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpBackForwardList();
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     document.getElementById("myForm").submit();
@@ -17,8 +17,8 @@ function frameLoaded()
 {
     if (document.getElementById("myFrame").contentDocument.URL === "about:blank")
         return;
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 </script>
index e2c581efbd759ca0a834cbaae1b10d834649a4f3..df0b08033f0d31cd2beb1ad3e9d8011d85e2cf29 100644 (file)
@@ -4,10 +4,10 @@
 
 function runTest()
 {
-    if (window.layoutTestController) {
-        layoutTestController.dumpBackForwardList();
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpBackForwardList();
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     var divElm = document.createElement("div");
@@ -31,8 +31,8 @@ function frameLoaded()
 {
     if (document.getElementById("myFrame").contentDocument.URL === "about:blank")
         return;
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 </script>
index c5c01bfdf088a9d76b060a4f714666331a02931d..0976b2b193215575efa05d7b243f07b9c98b2429 100644 (file)
@@ -4,10 +4,10 @@
 
 function runTest()
 {
-    if (window.layoutTestController) {
-        layoutTestController.dumpBackForwardList();
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpBackForwardList();
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     var form = document.getElementById("myForm");
@@ -28,8 +28,8 @@ function frameLoaded()
 {
     if (document.getElementById("myFrame").contentDocument.URL === "about:blank")
         return;
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 </script>
index d9217098f1c3234db8eb9e632dce550149c51b82..2fad5bfca630a1d9044ed2667f3b6b48bc2a2d64 100644 (file)
@@ -1,10 +1,10 @@
 <html>
 <script>
 
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpBackForwardList();
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpBackForwardList();
+    testRunner.dumpAsText();
 }
 
 function runTest()
index 297f290667b83989421f9a6b71edbe7ffa006a98..50dca9221319bf8bdbaea534e60539e3b5e491ce 100644 (file)
@@ -6,10 +6,10 @@ var testCalled = false;
 
 function test() {
     if (!testCalled) {
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.overridePreference("WebKitHyperlinkAuditingEnabled", 1);
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.overridePreference("WebKitHyperlinkAuditingEnabled", 1);
+            testRunner.waitUntilDone();
         }
         testCalled = true;
         return;
@@ -21,13 +21,13 @@ function test() {
         xhr.send(null);
         if (xhr.status != 200) {
             document.getElementsByTagName("body")[0].appendChild(document.createTextNode("FAILED: cookie not set"));
-            if (window.layoutTestController)
-                layoutTestController.notifyDone();
+            if (window.testRunner)
+                testRunner.notifyDone();
         }
     } catch (e) {
         document.getElementsByTagName("body")[0].appendChild(document.createTextNode("FAILED: cookie not set"));
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 
     if (window.eventSender) {
index b4859d3b003de3597c97322efb090d79bd90a6d6..814b3b81b76f5dc00cd7936fea986629aa7e892d 100644 (file)
@@ -2,9 +2,9 @@
 <title>Ping</title>
 <script>
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (location.protocol != "https:")
index 5b4dd7a31dc64e3a77e310df2c8d5bf36923fa23..4fff9fc15acac086ad139bb31714956dbde55bb5 100644 (file)
@@ -6,10 +6,10 @@ var testCalled = false;
 
 function test() {
     if (!testCalled) {
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.overridePreference("WebKitHyperlinkAuditingEnabled", 1);
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.overridePreference("WebKitHyperlinkAuditingEnabled", 1);
+            testRunner.waitUntilDone();
         }
         testCalled = true;
         return;
index 16a3cc3075e46e3880b85620aff27b3ca05b77a2..3dd90fbc85414e03eb0867670ca9547e20a63f38 100644 (file)
@@ -6,10 +6,10 @@ var testCalled = false;
 
 function test() {
     if (!testCalled) {
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.overridePreference("WebKitHyperlinkAuditingEnabled", 1);
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.overridePreference("WebKitHyperlinkAuditingEnabled", 1);
+            testRunner.waitUntilDone();
         }
         testCalled = true;
         return;
index d75edc99abba050d9c16731158b390e76a616c3e..473f3d31a05fa2003a73a9e2b203803f8a6985b1 100644 (file)
@@ -2,9 +2,9 @@
 <head>
 <script>
 var doTest = function () {
-    if (window.layoutTestController) {
-        window.layoutTestController.dumpAsText();
-        window.layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        window.testRunner.dumpAsText();
+        window.testRunner.waitUntilDone();
     }
     document.getElementById("form1").submit();
 };
index 3f425c68bc64352326acea5eb6163a4cf7f95103..4ed0dc512056304b2d6e02a268db04ab091f43d3 100644 (file)
@@ -2,9 +2,9 @@
 <head>
 <script>
 var doTest = function () {
-    if (window.layoutTestController) {
-        window.layoutTestController.dumpAsText();
-        window.layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        window.testRunner.dumpAsText();
+        window.testRunner.waitUntilDone();
     }
     document.getElementById("form1").submit();
 };
index a01bc7d65e02accf8c2206bc95dffa973f52adf2..0f702f11bb4ced1feb4ab432983d0c1c1364866a 100644 (file)
@@ -2,9 +2,9 @@
 <head>
 <script>
 var doTest = function () {
-    if (window.layoutTestController) {
-        window.layoutTestController.dumpAsText();
-        window.layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        window.testRunner.dumpAsText();
+        window.testRunner.waitUntilDone();
     }
     document.getElementById("form1").submit();
 };
index 37b393e82566fc7f413f57b43d8c569b990aca2d..7151eede3fe161bd9bf3b7a96c0cfc90b0333b2e 100644 (file)
@@ -2,9 +2,9 @@
 <head>
 <script>
 var doTest = function () {
-    if (window.layoutTestController) {
-        window.layoutTestController.dumpAsText();
-        window.layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        window.testRunner.dumpAsText();
+        window.testRunner.waitUntilDone();
     }
     document.getElementById("form1").submit();
 };
index 927ff2d4f90eef913f79141baef3d69c553979ed..2493b4842fdc6d9fc2573000d15d70a53856f8b6 100644 (file)
@@ -1,9 +1,9 @@
 <script>
-  if (window.layoutTestController) {
-      layoutTestController.dumpAsText();
-      layoutTestController.waitUntilDone();
-      layoutTestController.clearBackForwardList();
-      layoutTestController.dumpBackForwardList();
+  if (window.testRunner) {
+      testRunner.dumpAsText();
+      testRunner.waitUntilDone();
+      testRunner.clearBackForwardList();
+      testRunner.dumpBackForwardList();
    }
    window.location.href = 'resources/page-that-posts.html';
 </script>  
index 581d4f801131223a7eb5a4a471d2c21f556c2d8a..d71a2b9c422ca9f3d65d1743b9058e0aadf78276 100644 (file)
@@ -2,11 +2,11 @@
 <html>
 <body>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpChildFramesAsText();
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpBackForwardList();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.dumpChildFramesAsText();
+    testRunner.waitUntilDone();
+    testRunner.dumpBackForwardList();
 }
    
 onload = function()
@@ -14,8 +14,8 @@ onload = function()
     if (sessionStorage.didNav) {
         delete sessionStorage.didNav;
         delete sessionStorage.topShouldNavAndGoBack;
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     } else {
         sessionStorage.topShouldNavAndGoBack = true;
         document.getElementById('the-form').submit();
index 59d5c6cc2587b6c2826608157397adb44108d06f..23715b5729a51c9fac4b5a3315a671a0501a2275 100644 (file)
@@ -1,9 +1,9 @@
 <script>
-  if (window.layoutTestController) {
-      layoutTestController.dumpAsText();
-      layoutTestController.dumpChildFramesAsText();
-      layoutTestController.waitUntilDone();
-      layoutTestController.dumpBackForwardList();
+  if (window.testRunner) {
+      testRunner.dumpAsText();
+      testRunner.dumpChildFramesAsText();
+      testRunner.waitUntilDone();
+      testRunner.dumpBackForwardList();
    }
 </script>  
 
index e0748ef524f4f6fcbbcac3a1f26bf2aa3789d917..c39daffac351ae095a21ecc5155095f9410e0a22 100644 (file)
@@ -2,12 +2,12 @@
 <head>
 <script>
     
-if (window.layoutTestController) {
-    layoutTestController.dumpBackForwardList();
-    layoutTestController.dumpAsText();
-    layoutTestController.queueLoad("resources/post-goback-same-url.php");
-    layoutTestController.queueLoadingScript("submitForm()");
-    layoutTestController.queueBackNavigation(1);
+if (window.testRunner) {
+    testRunner.dumpBackForwardList();
+    testRunner.dumpAsText();
+    testRunner.queueLoad("resources/post-goback-same-url.php");
+    testRunner.queueLoadingScript("submitForm()");
+    testRunner.queueBackNavigation(1);
 }
     
 </script>
index b8a63f55ff4c81a41056307fe9ba53507e023546..4a17c05535d0542a3946a1023c5d634eb5092d88 100644 (file)
@@ -1,10 +1,10 @@
 <script>
   sessionStorage.formTargetShouldNavAndGoBack = true;
-  if (window.layoutTestController) {
-      layoutTestController.dumpAsText();
-      layoutTestController.waitUntilDone();
-      layoutTestController.clearBackForwardList();
-      layoutTestController.dumpBackForwardList();
+  if (window.testRunner) {
+      testRunner.dumpAsText();
+      testRunner.waitUntilDone();
+      testRunner.clearBackForwardList();
+      testRunner.dumpBackForwardList();
   }
   window.location.href = 'resources/page-that-posts.html';
 </script>  
index 9d90f70ae1840f1b7fb25e16431241e0972b6c7a..fa42d42708dde12e9081fdcbfe6eaee4e7e52e23 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBackTest("resources/success200.html", 2, "post");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 96ed5d0a40b3820a044014d4647dcdda8e8991a7..774ad8434b856f738273b3516eb7490305d2f5a4 100644 (file)
@@ -2,19 +2,19 @@
 <html>
 <body>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpChildFramesAsText();
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpBackForwardList();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.dumpChildFramesAsText();
+    testRunner.waitUntilDone();
+    testRunner.dumpBackForwardList();
  }
    
 onload = function()
 {
     if (sessionStorage.didNav) {
         delete sessionStorage.didNav;
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     } else {
         document.getElementById('the-form').submit();
     }
index 90183f2db8ff9f196c0cb115c7d71b2b4b556966..a00757cc5053f9013ad39e38e9facc2011f2b370 100644 (file)
@@ -1,8 +1,8 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.dumpChildFramesAsText();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.dumpChildFramesAsText();
     }
     runBasicTest("resources/frameset.pl?frameURL=success200.html", "postredirect");
 </script>
index c8e129b7ebada5d5c5bd24409316efd7c6fd631d..37d29090b97893f1cf3b07582f67372950938972 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBackTest("resources/success200.html", 2, "postredirect");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index de67adc98d83ae4c68895bf460af07a082efc59e..f59ecd2b54597ca78a7f69e9603db20f7c41de48 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runRedirectReloadTest("resources/redirect-reload.html");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index f826e5aabc9f1070a12d58039ad72f1cdab9f6df..7044ccd9626ad799aa6b6e3f9601cbf609dd1215 100644 (file)
@@ -1,7 +1,7 @@
 <script>
-if (window.layoutTestController) {
-  layoutTestController.dumpAsText();
-  layoutTestController.waitUntilDone();
+if (window.testRunner) {
+  testRunner.dumpAsText();
+  testRunner.waitUntilDone();
 }
 
 onload = function() {
index 9157eb3d4d6979ccddd80b83171f01da1e563a87..ecac98be9938d3f13bb99f623230edf0cc429c96 100644 (file)
@@ -3,8 +3,8 @@
 <script type="text/javascript">
 function startTest()
 {
-    layoutTestController.dumpAsText();
-    layoutTestController.queueLoad("resources/redirect-cycle-1.pl");
+    testRunner.dumpAsText();
+    testRunner.queueLoad("resources/redirect-cycle-1.pl");
 }
 </script>
 </head>
index 7b16845b1c16d6f9cdaa45dc1461e19b0f87d9ae..b302e326855b13995e0a13af19dddb616ce9846d 100644 (file)
@@ -8,10 +8,10 @@
         
         function test()
         {
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.dumpBackForwardList();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.dumpBackForwardList();
+                testRunner.waitUntilDone();
             }
             setTimeout(test2, 0);
         }
index 346bcf518f95226a88b3b0b79a8f15a9b442e9c3..4abe5495d1b28f7660ee5ccdb70437cf2006a90c 100644 (file)
@@ -7,10 +7,10 @@
 // document in history.  See redirect-on-back-updates-history-item.php for more
 // details.
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpBackForwardList();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.dumpBackForwardList();
+    testRunner.waitUntilDone();
 }
 onload = function() {
     setTimeout(function() {
index a521f5cf6fd32bc11082de8641263fc58d7dc3d7..6104d94c350a89f97346df969cabb67f2ecd7205 100644 (file)
@@ -6,10 +6,10 @@
 // document is not treated as the same document as the original document in
 // history.  See redirect-on-reload-updates-history-item.php for more details.
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpBackForwardList();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.dumpBackForwardList();
+    testRunner.waitUntilDone();
 }
 onload = function() {
     setTimeout(function() {
index 6b7cafca9080042a83e8d596701e377806432cc7..31b78b310b5bebfc3b2b29e500b060e155397993 100644 (file)
@@ -2,9 +2,9 @@
 <head>
 <script>
 function start() {
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
         var link = document.getElementById("link");
         eventSender.mouseMoveTo(link.offsetLeft + 2, link.offsetTop + 2);
         eventSender.mouseDown();
index 2b840e033791ac041251212fa88a66ed3de524bc..1bb4bd858ff98e6ee7451eae39e6bea448c16c65 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/redirect302.pl", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index d7b3b9891287d41febd597ae16363df46bbc1bcc..251c11371c3fe59fa91673a16e01ab7f1d054fea 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/frameset.pl?frameURL=redirect302.pl", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 87a93fb89aa78db3e5f74c6b10f4010200c07eeb..ce670333000c2348ba87e0a1ba6e3225060c3790 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBackTest("resources/redirect302.pl", 1, "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 03fd3fbeceb4e8a9d91a1e4cfe957c5baa0080f1..381db64b0a079062f84a5cd76ec0d6d5ad4cd3a2 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/redirect302-metaredirect.pl", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 6cc25f95c6722799fd43dbfd63a291e1744c436e..37903d6066865a6d96f1606d870c50ae7c68e245 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runLoadChildFrameTest("resources/redirect302.pl");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 06d595d3ce1b4940cfce2473c1432eb927ce9958..6dcd5b23e1cd0f0b95ecf47779096be93cb1a167 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/success200.html", "relativeanchor");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index f9c067fbcee16dda30eb8880c41a2c574f4363d3..2db54d8d6a3b9e201d189bbe32b81671959253cb 100644 (file)
@@ -1,9 +1,9 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <!-- %23 below is a #, which is escaped so the anchor applies to the subframe instead of the frameset. -->
 <script>
-    if(window.layoutTestController) {
-        layoutTestController.dumpChildFrameScrollPositions();
-        layoutTestController.dumpAsText();
+    if(window.testRunner) {
+        testRunner.dumpChildFrameScrollPositions();
+        testRunner.dumpAsText();
     }
     runBasicTest("resources/frameset.pl?frameURL=success200.html", "relativeanchor");
 </script>
index 8fe173fe5a9cb4d0fe9d42c8009cd0e6b20ccee4..0efe0b57e68741974c15b51450c30d9bdd50b386 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBackTest("resources/success200.html", 1, "relativeanchor");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index a92568f9f750b6277d1e6ddc890b530e9c2c5ccb..9397a34c8cdbefd40ea511bd710cd5973f3a0478 100644 (file)
@@ -3,10 +3,10 @@
 <script type="text/javascript">
 function startTest()
 {
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpChildFramesAsText();
-    layoutTestController.queueLoad("resources/reload-subframe.pl?type=frame");
-    layoutTestController.queueReload();
+    testRunner.dumpAsText();
+    testRunner.dumpChildFramesAsText();
+    testRunner.queueLoad("resources/reload-subframe.pl?type=frame");
+    testRunner.queueReload();
 }
 </script>
 </head>
index a4e89ccc6e6c4e963e6b1817e597b4ee9cc046a3..01696254112d8068f5730d41d1e072cfbdf67155 100644 (file)
@@ -3,10 +3,10 @@
 <script type="text/javascript">
 function startTest()
 {
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpChildFramesAsText();
-    layoutTestController.queueLoad("resources/reload-subframe.pl?type=iframe");
-    layoutTestController.queueReload();
+    testRunner.dumpAsText();
+    testRunner.dumpChildFramesAsText();
+    testRunner.queueLoad("resources/reload-subframe.pl?type=iframe");
+    testRunner.queueReload();
 }
 </script>
 </head>
index 9c04b1861e0fae8b87d6470efb10aef80ea1d589..c00d5085566f7b69297184757c74c7ed5ce4fcb5 100644 (file)
@@ -3,10 +3,10 @@
 <script type="text/javascript">
 function startTest()
 {
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpChildFramesAsText();
-    layoutTestController.queueLoad("resources/reload-subframe.pl?type=object");
-    layoutTestController.queueReload();
+    testRunner.dumpAsText();
+    testRunner.dumpChildFramesAsText();
+    testRunner.queueLoad("resources/reload-subframe.pl?type=object");
+    testRunner.queueReload();
 }
 </script>
 </head>
index a7523bf5d7dfd24f9288fe63e760e36bafd1a407..6c908dc7eb5a241241fcf171eb6379b653601add 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <base href="https://www.test.com/">
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 window.onload = function(){
     var msg;
index f808baff15d1cb9a99873c0338cd72fb4f2e5f30..4fde451b8aa8d901c00d16a3b0b6d1aa6b0218f1 100644 (file)
@@ -2,9 +2,9 @@
 <head>
 <base id="base">
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 var url = window.location.href;
index 3f61afc3c59679737539dfaa4ecacef954713116..cd917c0f9dd1beb77c70aee544a7d470e0036055 100644 (file)
@@ -1,7 +1,7 @@
 <script>
-if (window.layoutTestController) {
-  layoutTestController.dumpAsText();
-  layoutTestController.waitUntilDone();
+if (window.testRunner) {
+  testRunner.dumpAsText();
+  testRunner.waitUntilDone();
 }
 
 onload = function() {
index bfb8bbbc7aaed2e6d7549b9c8b78305e738f4c77..35cf0279e8d8586307709a362d7ab77fae1d29f1 100644 (file)
@@ -5,7 +5,7 @@ onload = function() {
   } else {
     document.body.innerText = "FAIL: document.referrer is \'" + document.referrer + "\'";
   }
-  if (window.layoutTestController)
-    layoutTestController.notifyDone();
+  if (window.testRunner)
+    testRunner.notifyDone();
 }
 </script>
index 22b5fbf1bba7c26773c12eeb946fc4ecacf60e66..5b1cfc62dadd1c8cc297b91cb3005a4557becd91 100644 (file)
@@ -6,8 +6,8 @@ window.onpageshow = function(evt) {
 
        alert("The page was restored from the page cache. Good job!");
 
-       if (window.layoutTestController)
-               layoutTestController.notifyDone();
+       if (window.testRunner)
+               testRunner.notifyDone();
 }
 
 window.onload = function() {
index 0853c14191253d1f459f2c01e7478bad421dcdf1..a9774493fb6c38c4a59ed5518ea47274a6a6b2a9 100644 (file)
@@ -1,7 +1,7 @@
 <html>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.waitUntilDone();
+    if (window.testRunner)
+        testRunner.waitUntilDone();
 
     function performUserEvents() {
         if (window.eventSender) {
index f72874f0159c1cae1d71caa45e1d67bd5ef846ef..08dff61a5c9d0dd7fca8daffe3e55f45b03b36ad 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <meta http-equiv="refresh" content="0;URL=success200.html">
 <script>
-    if (window.layoutTestController)
-        layoutTestController.waitUntilDone();
+    if (window.testRunner)
+        testRunner.waitUntilDone();
 </script>
 
 <body>
index 5ace6348fc9f851d41ac481363686de339a561d6..b700f28e792aeb796548df1245a649d9597e0cc0 100644 (file)
@@ -2,8 +2,8 @@
 <script>
 
 function loaded() {
-    if (window.layoutTestController) {
-        layoutTestController.notifyDone();
+    if (window.testRunner) {
+        testRunner.notifyDone();
     }
 }
 
index 6bbb514a8bd642e25b1b5c4dfb15872ca2cf8c5b..00052d02f51ca509d0f2b4833419e62830663b97 100644 (file)
@@ -5,8 +5,8 @@
         {
             var c = document.getElementById('console');
             c.innerHTML = document.getElementById('tf').value;
-            if (window.layoutTestController) {
-                layoutTestController.notifyDone();
+            if (window.testRunner) {
+                testRunner.notifyDone();
             }
         }
     </script>
index b310309bdf0f21137ee6f690463726259cfbc6de..bc0880b95091d227bf309e6658f829ea00d536af 100644 (file)
@@ -1,8 +1,8 @@
 <script src="redirect-updates-history-item.js"></script>
 <script>
 onload = function() {
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 </script>
 <body>PASS</body>
index f925b7bd965185a9552da9ae1ebe167d5c720485..cb79c0f34be17f133337271f3106b30599ee80f6 100644 (file)
@@ -2,8 +2,8 @@
 <script type="text/javascript" src="testcode.js"></script>
 <script>
     // needed in case we arrive here via a client redirect
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 </script>
 
 <body>
index ab6de44ae1355e83bfc6a405c3c3dfcc76ebccb1..b4d3542ab6c755fdcd6738508953b47e2e8c8bf5 100644 (file)
@@ -1,7 +1,7 @@
 <html><body>
 <script>
     document.write(document.referrer);
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 </script>
 </body></html>
index cd9b117cfa5d38f0059a092f5e4293e6da69371f..befde1069c7b21197159586e59a8a280f9b24283 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    window.onload = function() {layoutTestController.notifyDone();};
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    window.onload = function() {testRunner.notifyDone();};
 }
 </script>
 </head>
index 52b14e1592d40e0e8e16735b685d6a6368d7adf8..b06b7537a6d093eb646e80d1bce1d2adc764e835 100644 (file)
@@ -2,8 +2,8 @@
 <script type="text/javascript" src="testcode.js"></script>
 <script>
     // needed in case we arrive here via a client redirect
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 </script>
 <body id="testbody" style="font-size: 32">
 This is test page that has a secure form.  It is part of a test to show that form state is restored during back/forward navigations.
index 935a523708c3bb7eaadec06235374b7062ffc6b9..4008d5d8554c3af12c74d4e95008cbd6c4b1bb2a 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <meta http-equiv="refresh" content="5;URL=success200.html">
 <script>
-    if (window.layoutTestController)
-        layoutTestController.waitUntilDone();
+    if (window.testRunner)
+        testRunner.waitUntilDone();
 </script>
 
 <body>
index 3aa1025ffec48031b8af61f1dcbb93a1ae75c909..3cb54692a61d0701b1cbb2705330e8cc4ddb407d 100644 (file)
@@ -1,7 +1,7 @@
 <html>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.waitUntilDone();
+    if (window.testRunner)
+        testRunner.waitUntilDone();
     setTimeout("window.location.replace('success200.html')", 5000)
 </script>
 
index 6ee811a8752865440b78264850f72839cf2a2c90..1ad6b6bfa836171162351b349fb34fa5b241d070 100644 (file)
@@ -2,8 +2,8 @@
 <script type="text/javascript" src="testcode.js"></script>
 <script>
     // needed in case we arrive here via a client redirect
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 </script>
 
 <body id="testbody" style="font-size: 32">
index 43541f87f8efc9cbcc58ae9084f8aaed092ef329..e1728f8f2401bee29ab4642d001d948202122a4f 100644 (file)
@@ -3,9 +3,9 @@
 <script type="text/javascript">
 function done()
 {
-    if (window.layoutTestController) {
+    if (window.testRunner) {
         // Allow child window to close to prevent hangs during testing
-        setTimeout("layoutTestController.notifyDone()", 100);
+        setTimeout("testRunner.notifyDone()", 100);
     }
 }
 </script>
index b5659a883d6b5dd9d09a82e6601b9fe0033ddec3..4cd7ef44d7da937aa89df1ed94a07bc8b3a6fc0d 100644 (file)
@@ -1,7 +1,7 @@
 <html>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.waitUntilDone();
+    if (window.testRunner)
+        testRunner.waitUntilDone();
     setTimeout("window.location.replace('success200.html')", 0)
 </script>
 
index 5f7195855965bcee6e5e10b06af991c923223d24..154a64d18dd0aad936268856211a9c94b2534a08 100644 (file)
@@ -1,7 +1,7 @@
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.dumpBackForwardList();
-        layoutTestController.queueLoad("resources/response204.pl");
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.dumpBackForwardList();
+        testRunner.queueLoad("resources/response204.pl");
     }
 </script>
index 3bda1430a1916b09c74f6ce6810892553e594c96..9d9979a017c304bf550a8c457fe6ae3e9c83d366 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBackTest("resources/restore-form-state-https-1.html", 1, "");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 1498b5273ab8df125b4946abb4445a3ec98c71bc..7f839cb35d105bc33316b2cc357b74cf0b81b674 100644 (file)
@@ -2,16 +2,16 @@
 <meta http-equiv="refresh" content="2">
 <script>
 
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
 }
 
 function testScroll() {
   window.setTimeout(function() {
         if (window.pageYOffset != 0) {
           document.body.innerHTML = "SUCCESS";
-          layoutTestController.notifyDone();
+          testRunner.notifyDone();
         } else
           location.assign('scrollstate-after-http-equiv-refresh-fragment-identifier-2.html#1');
     }, 0);
index 0f035206b166358cc7471468cb780823f82c60ba..7f4f3e35175bf7e5fee7cefe7aee413d44901825 100644 (file)
@@ -2,9 +2,9 @@
 <meta http-equiv="refresh" content="2">
 <script>
 
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
 }
 function documentURLHash()
 {
@@ -24,7 +24,7 @@ function testScroll() {
   window.setTimeout(function() {
         if (window.pageYOffset == 100) {
           document.body.innerHTML = "SUCCESS";
-          layoutTestController.notifyDone();
+          testRunner.notifyDone();
         } else
           location.assign('scrollstate-after-http-equiv-refresh-fragment-identifier.html#1');
     }, 0);
index f0e8bf49f165d265bd689bb87b08a57e65c6ba7f..b4bd49d3b2a706f2a7f7a628171e2b771c65dac9 100644 (file)
@@ -1,15 +1,15 @@
 <html>
 <meta http-equiv="refresh" content="2">
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.waitUntilDone();
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.waitUntilDone();
+        testRunner.dumpAsText();
     }
     function testScroll() {
       window.setTimeout(function() {
           if (window.pageYOffset == 20) {
             document.body.innerHTML = "SUCCESS";
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
           } else
             window.scroll(0,20);
         }, 0);
index ad52d213e946603551ff53b495983129d58cbc1a..60fb464c372155c3fdb7f14e6a3804e275c2f730 100644 (file)
@@ -1,14 +1,14 @@
 <html>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.waitUntilDone();
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.waitUntilDone();
+        testRunner.dumpAsText();
     }
     function testScroll() {
       window.setTimeout(function() {
           if (window.pageYOffset == 20) {
             document.body.innerHTML = "SUCCESS";
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
           } else {
             window.scroll(0,20);
             window.setTimeout(function() {
index 2ee8461643c985545353bef83d6cbb7ac19eadee..b33f17f263e72411253a05735793f86c31735719 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/slowmetaredirect.html", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 57674982f5ea81a62f0d69a9c2660d798c183d94..95cdc67d97b0dcd509ed5b15437276b3ac4f8cc5 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/slowtimerredirect.html", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 199cf2175a806a1d89902aa61a60ea010550a42b..78807538c5162e1cc4f353a3111dfae4a7b8c0f7 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/success200.html", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 258018b2badd4a4158ef97c5499174c38fc596b7..fd90c546d3ea8ad8c4920e8b5c7b06047f0d6d83 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runLoadSameTest("resources/frameset.pl?frameURL=success200.html", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 2e919d8f5556d189d43ab0ac0caeabede91935d0..f36cb9fb18e41df0be96c112f68582134b09478b 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/frameset.pl?frameURL=success200.html", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index a22e58b244a1ef5b6beff1e2367dbe471434d6ad..b012709c88dff52803d02f70d043aac653ca4d18 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBackTest("resources/success200.html", 1, "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 65d94ffff48ce2fd472cb51c50cca0918e3f4a57..4047e66f6b997b7c4ca71ee91b49b8b665d9ca2b 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runLoadSameTest("resources/success200.html", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index dc1828b21469f7ca9f401d1905e45d5b2866f0c7..0d9d0a7216cfac03fc43b86f00a10390f896a484 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runReloadTest("resources/success200.html", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 57f1c466feeb5c860b6509174f0fcd249db06f09..7d7812eea173015b9f375278892ddeae40c604e3 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runLoadChildFrameTest("resources/success200.html");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index f05ce779ca61c2f556a68aa7bc07cf83bdeeb71d..515b73446c1f1cceff1feb221639d0db47e1f1b5 100644 (file)
@@ -3,11 +3,11 @@
 <title>Test Bugzilla Bug 11756 - REGRESSION: link targeting a frame in another window does not work</title>
 <script type="text/javascript">
 <!--
-if (window.layoutTestController) {
-    layoutTestController.setCanOpenWindows();
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpChildFramesAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.setCanOpenWindows();
+    testRunner.dumpAsText();
+    testRunner.dumpChildFramesAsText();
+    testRunner.waitUntilDone();
 }
 
 var runOnce = 0;
index d7e03e6e0fd73832bec6f87191ef2b453e5bb2fa..e38b91267f16546da25c4460cdb5a0b18d415815 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/timerredirect.html", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index ce3751c4f834ce7d86a90c182fe82c88d1d340f6..ca7b4134a87f2c40061a442537e60156e8cdaade 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBasicTest("resources/frameset.pl?frameURL=timerredirect.html", "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 5f96bdfe8ed1de84a9f0c82d5427891e74cd6caf..a24df768a96a4fcf5273c9272ddab41552d43e6f 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runBackTest("resources/timerredirect.html", 1, "none");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 1e595a21b37500cab087ffaa2908fd2232e24875..bed7a52e6d48162db93a20593766698213a8d803 100644 (file)
@@ -1,7 +1,7 @@
 <script type="text/javascript" src="resources/testcode.js"></script>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     runLoadChildFrameTest("resources/timerredirect.html");
 </script>
 This page just kicks off a test, and should not appear in the expected test output.
index 9d618900541f96ac3a0deeb0f0b284cb4ba82c69..1599bb9a1f6dd181a748633a2a40804178f901db 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script type="text/javascript">
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 function onSubframeLoaded() {
@@ -11,8 +11,8 @@ function onSubframeLoaded() {
         '<embed name="plugin" type="application/x-webkit-test-netscape"></embed>';
     document.plugin.testEvaluate('outputResult()');
 
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 function outputResult() {
index 002073337c35af0d1fa76e14f492ad43d9d01a6b..8103aeb57005c262a0094d65e85d9d6d592f54ed 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.dumpChildFramesAsText();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.dumpChildFramesAsText();
 }
 </script>
 <iframe name="childFrame" src="http://localhost:8000/plugins/resources/cross-frame-object-access.html"></iframe>
index 05a7fdc4338d26fc1d88e81c1ce804693d31d63c..7b0e0a289b46f48f5bdb33ec9f713af664b7afed 100644 (file)
@@ -5,12 +5,12 @@ This tests that NPN_GetURLNotify works as expected and does not ASSERT intermitt
 <script>
     function notify()
     {
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     plg.getURLNotify("resources/load-me-1.txt", null, "notify");
index a225c287c4f0f35263d52f1fc8ed0d0ff5f111c2..d4c5ddf329151870d45064f393985abc8f968320 100644 (file)
@@ -8,12 +8,12 @@ function streamDestroyed()
 function runTest() {
     plg.getURL("/plugins/resources/slow-resource.pl");
 
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
-    var url = 'data:text/html,<scri' + 'pt>if (window.layoutTestController) layoutTestController.notifyDone();</scri' + 'pt>';
+    var url = 'data:text/html,<scri' + 'pt>if (window.testRunner) testRunner.notifyDone();</scri' + 'pt>';
     url += '<div>This tests that a plug-in that calls NPP_GetURLNotify from its NPP_DestroyStream during teardown '
     url += 'will not cause a crash.</div><div>SUCCESS! Did not crash!</div>';
 
index 43c7e1428fef34372a5a58713ac2aeeb1b921ea0..7f53a80a9ee5d52be99f391da31d7dfd699c816d 100644 (file)
@@ -3,9 +3,9 @@
 FAILURE
 <embed name="plg" type="application/x-webkit-test-netscape"></embed>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     plg.getURL("resources/slow-resource.pl");
index 9be43a3965b29a172bb9ca8f0f40b4e9b9b0b0bb..217513c479abb64fcec1beed5b433536800f1a6b 100644 (file)
@@ -3,8 +3,8 @@
 <script>
 function runTest()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
         
     // No need to let this point to a real file.
 
index 51fcb9e5ead5064f55658af6d1d738b542cdc653..3529b10bb5916cda2517eea47db52f9bca4f8319 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 loadedFirstURL = false;
@@ -17,8 +17,8 @@ function test()
         res2 = document.getElementById("result2");
     } catch (ex) {
         showErr("Exception: " + ex.description);
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 }
 
@@ -41,8 +41,8 @@ function callback(errCode, streamDump)
         res2.innerHTML = newlinesToHTML(parse.res2);
     }
 
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 // Format passed by plugin: four fields separated by \n\n:
index 5ff519f950583886f3e75de2dd2e74640b4a6a63..1ccc4d172315561b819827520d328737c14ca71d 100644 (file)
@@ -1,10 +1,10 @@
 <html>
 <head>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.setCanOpenWindows();
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.setCanOpenWindows();
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     window.open("resources/plugin-document-has-focus.pl", "blah")
index 24b97a8c5818a72adabe4efdfc03d799a981fff9..98ede62396b281dcbb6f4dcbbb92a7a8890d677f 100644 (file)
@@ -4,17 +4,17 @@
     }
 
     function test() {
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.dumpChildFramesAsText();
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.dumpChildFramesAsText();
+            testRunner.waitUntilDone();
         }
 
-        document.getElementById("result").onload = function() { layoutTestController.notifyDone(); }
+        document.getElementById("result").onload = function() { testRunner.notifyDone(); }
 
-        if (!plg.testPostURLFile("resources/dump-post.pl", "result", layoutTestController.pathToLocalResource("/tmp/post-url-file.txt"), "SUCCESS")) {
+        if (!plg.testPostURLFile("resources/dump-post.pl", "result", testRunner.pathToLocalResource("/tmp/post-url-file.txt"), "SUCCESS")) {
             log("FAIL: testPostURLFile returned false");
-            layoutTestController.notifyDone();
+            testRunner.notifyDone();
         }
     }
 </script>
index 251fe00f1350e325edd59252149811b4f9757888..a36c715cdd0bb4042f942c8cba61ad073572d449 100644 (file)
@@ -1,6 +1,6 @@
 SUCCESS
 <script>
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 </script>
 
index 891dbf3f049084ec0bce820d52b1348bed7d0a0c..c5703b1a3bec80d0c384fc391b8c71f9bddc85f7 100644 (file)
@@ -4,9 +4,9 @@
 <script>
 resetCookies();
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 </script>
@@ -16,16 +16,16 @@ if (window.layoutTestController) {
 
 var plugin = document.getElementById("plugin");
 
-if (window.layoutTestController)
-    layoutTestController.setAlwaysAcceptCookies(true);
+if (window.testRunner)
+    testRunner.setAlwaysAcceptCookies(true);
 plugin.getURLNotify("http://localhost:8000/cookies/resources/cookie-utility.php?queryfunction=deleteCookies", null, "trySetCookie");
 
 function trySetCookie()
 {
    alert("Cookies should be clear, and are: '" + document.cookie + "'");
    alert("About to set a cookie, but on localhost instead of 127.0.0.1, which is our main document domain - This should fail.");
-    if (window.layoutTestController)
-        layoutTestController.setAlwaysAcceptCookies(false);
+    if (window.testRunner)
+        testRunner.setAlwaysAcceptCookies(false);
    plugin.getURLNotify("http://localhost:8000/cookies/resources/cookie-utility.php?queryfunction=setFooCookie", null, "completeTest");
 }
 
@@ -33,8 +33,8 @@ function completeTest()
 {
    alert("Cookies should still be clear, and are: '" + document.cookie + "'");
    resetCookies();
-   if (window.layoutTestController)
-       layoutTestController.notifyDone();
+   if (window.testRunner)
+       testRunner.notifyDone();
 }
 
 </script>
index e08c66d39105ab11d9e658ae592ecfe73036d6f1..af899f439fa3374e52baffa4d02e5baa16f99d4e 100644 (file)
@@ -4,9 +4,9 @@
 <script>
 resetCookies();
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 </script>
index 8d692edef95d541e01bde8355352f7083859379c..348cd4f75855963807538c152548436d6be52d3c 100644 (file)
@@ -1,7 +1,7 @@
 <script>
 function loaded() {
-    if (window.layoutTestController)
-        setTimeout("layoutTestController.notifyDone();", 0);
+    if (window.testRunner)
+        setTimeout("testRunner.notifyDone();", 0);
 }
 </script>
 <body onload="loaded();"></body>
index ef3fc0a25b09b8011384fe36bac5ba3b5d01035b..23454e21920399a39064effc381262ed4e935caa 100644 (file)
@@ -3,8 +3,8 @@
     <head>
         <meta http-equiv="X-WebKit-CSP" content="script-nonce noncynonce;">
         <script nonce="noncynonce">
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
         </script>
         <script nonce="noncynonce">
             alert('PASS (1/1)');
index 3e1706c3bdcdb92e689fffd9de28d192ae54b248..8c0ec4e4572996dc1490d21b48f7dccde7c0d683 100644 (file)
@@ -3,8 +3,8 @@
     <head>
         <meta http-equiv="X-WebKit-CSP" content="script-nonce noncynonce;">
         <script nonce="noncynonce">
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
         alert('PASS (1/2)');
         </script>
         <script nonce="   noncynonce    ">
index 2764a7e9884c51c4f3cc69b79500856d8e5e10ba..ff8a6326af25c56cf3788d9c34c972d7c2aa0996 100644 (file)
@@ -1,9 +1,9 @@
 <body>
 <a href="redir.php">Click me.<a/> The resulting request (as dumped on screen) should not have a Referer header.
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (location.protocol != "https:")
index b6a3c2e708424d62aec905c7a0ebd9d122578a4a..2960c502756d7b3b740f4265018de099a39ebfc7 100644 (file)
@@ -1,9 +1,9 @@
 <body>
 <a href="redir.php">Click me.<a/> The resulting request (as dumped on screen) should not have a Referer header.
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (location.protocol != "https:")
index 423448718f2dff5dc2a88040ce190793bc4dc239..50816aa050c894350d9271f003fca39a342ac19a 100644 (file)
@@ -3,10 +3,10 @@
 <script>
 function setupAndRunFramesTest()
 {
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.dumpChildFramesAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.dumpChildFramesAsText();
+        testRunner.waitUntilDone();
     }
     top.frames[0].document.getElementById("console").innerText = "";
     top.frames[1].runTest();
index dfe318a8b4ecf1a5aafd76d39005a90518fae956..90b7d81a5019de536bcafa2bfb14107e163928b8 100644 (file)
@@ -52,8 +52,8 @@ function successTransactionCallback()
             top.frames[3].runTestInThirdFrame();
             return;
         case 4:
-            if (window.layoutTestController)
-                layoutTestController.notifyDone();
+            if (window.testRunner)
+                testRunner.notifyDone();
             return;
         default:
             throw "Bad 'frame' value: " + frame;
index 1c0e5a18d1e67dc6ba4cf17dd92697049ed4e378..8c9404037d79ea074805610db29d02844c38f485 100644 (file)
@@ -2,9 +2,9 @@
 // Test passes if it does not crash.
 // Note: this test is located under Layouttests/http in order to load an external
 //       document and modify it without hitting security restrictions.
-    if (window.layoutTestController) {
-        layoutTestController.waitUntilDone();
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.waitUntilDone();
+        testRunner.dumpAsText();
     }
 
     function crash() {
@@ -12,8 +12,8 @@
         document.write("");
         q.getElementById('d').id = "maskedGradient";
         document.write("If this text is visible and the test did not crash, this test passes");
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 </script>
 <object data="http://127.0.0.1:8000/svg/resources/svg-use-defs-rect.svg" id="root" onload="crash()"/>
index ff12e01bb55156201fb9db559dcf239178a3b127..afa5e7f4cb2889b35b1c03836e81f586e00a4388 100644 (file)
@@ -2,9 +2,9 @@
 // Test passes if it does not crash.
 // Note: this test is located under Layouttests/http in order to load an external
 //       document (svg-tref.svg) and modify it without hitting security restrictions.
-    if (window.layoutTestController) {
-        layoutTestController.waitUntilDone();
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.waitUntilDone();
+        testRunner.dumpAsText();
     }
 
     function crash() {
@@ -17,8 +17,8 @@
         r.surroundContents( e );
         e.id = 's';
         document.write("If this text is visible and the test did not crash, this test passes");
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 </script>
 <object data="http://127.0.0.1:8000/svg/resources/svg-tref.svg" id="root" onload="crash()"/>
index ee57beb4434ddd9ffacd24f1e61562127ac75080..70eb7c538ee01b51494d30a95eb6d2b76b9d8977 100644 (file)
@@ -3,9 +3,9 @@
 This test should redirect to a landing page with no doubled slashes in the path.
 
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 </script>
 
index 4818ced6534ae895a9b6ee4cf8ac8604e76591e3..145b1ae9887df427dda8d9682877102366a94382 100644 (file)
@@ -4,9 +4,9 @@ This test should redirect to a landing page with a success result. If
 it fails to redirect, or redirects to an error page, then there is a bug.
 
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 </script>
 
index 6ef14f33bb6b6c1250ed98cfc414d32f51ba13ba..bebb0413abac9370d16e714c7de30d6ee694dcbe 100644 (file)
@@ -5,8 +5,8 @@
 <body>
 
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
 
 <p>Test for <a href='http://bugs.webkit.org/show_bug.cgi?id=15119'>bug 15119</a>:
index eb90857a0fc8e2c262b310b6d54b74d000001c6e..51ee95f7ea5b5ba449a05564025b722fdc0969b7 100644 (file)
@@ -8,8 +8,8 @@
 <a href="/ïóòü?çàïðîñ#ôðàãìåíò">5</a>
 <pre id=result></pre>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function log(message)
 {
index d666647463e74da7b70a9206c839d2ccf5d35781..6a0112ea5ff0daa5f181d0a22f0fa6d40ed3d91d 100644 (file)
@@ -16,7 +16,7 @@ shouldBe("location.pathname", "'/uri/resources/assign-path-landing.html'");
 </script>
 
 <script>
-if (window.layoutTestController)
-    layoutTestController.notifyDone();
+if (window.testRunner)
+    testRunner.notifyDone();
 </script>
 
index 7b44434662cf485cf864c7039fe4149a2039fe2f..e797e94cfd98440f559602bc7967e4f624dfca11 100644 (file)
@@ -5,8 +5,8 @@
 <body>
 
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
 
 <p>Test for <a href='https://bugs.webkit.org/show_bug.cgi?id=7461'>bug 7461</a>: 
index 8828aa85eda06086b85d3a3349ad432cdb142d14..9832fe8bf1ea3a6457e8dc2c7b6fece745849cef 100644 (file)
@@ -7,8 +7,8 @@
                <key>WebResourceData</key>
                <string>&lt;html&gt;&lt;head&gt;
 &lt;script&gt;
-if (window.layoutTestController)
-    layoutTestController.dumpDOMAsWebArchive();
+if (window.testRunner)
+    testRunner.dumpDOMAsWebArchive();
 &lt;/script&gt;
 &lt;link rel="stylesheet" href="http://localhost:8000/webarchive/resources/localhost-stylesheet.css" type="text/css"&gt;
 &lt;/head&gt;
index 82a18e34b86104fce4f8fb4e581079d5f9de542e..4d0ba21a16afcd9d1431754c0c927ca69705810e 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpDOMAsWebArchive();
+if (window.testRunner)
+    testRunner.dumpDOMAsWebArchive();
 </script>
 <link rel="stylesheet" href="http://localhost:8000/webarchive/resources/localhost-stylesheet.css" type="text/css">
 </head>
index 84a653189e2f94e57023e1f900827e25a5b1adc5..0fc5f90135945fba090b280490c2feb2cbfff5e6 100644 (file)
@@ -10,8 +10,8 @@
 &lt;link rel="stylesheet" type="text/css" href="resources/test-shift-jis.css"&gt;
 &lt;link rel="stylesheet" type="text/css" href="resources/test-utf-8.css"&gt;
 &lt;script&gt;
-if (window.layoutTestController)
-    layoutTestController.dumpDOMAsWebArchive();
+if (window.testRunner)
+    testRunner.dumpDOMAsWebArchive();
 &lt;/script&gt;
 &lt;/head&gt;
 &lt;body&gt;
index 19e418ac2f4502a5f85a4e969c7bd5895b648e97..ef017869b18d3daf63f6a0a89406ccc9ad9be1f9 100644 (file)
@@ -12,8 +12,8 @@
 &lt;link rel="stylesheet" type="text/css" href="resources/test-shift-jis.css"&gt;
 &lt;link rel="stylesheet" type="text/css" href="resources/test-utf-8.css"&gt;
 &lt;script&gt;
-if (window.layoutTestController)
-    layoutTestController.dumpDOMAsWebArchive();
+if (window.testRunner)
+    testRunner.dumpDOMAsWebArchive();
 &lt;/script&gt;
 &lt;/head&gt;
 &lt;body&gt;
index 06ee5c60551fe983066834d256436e85e3dba1b2..1e52990365f9b532e203589c051c287b86ce746a 100644 (file)
@@ -6,8 +6,8 @@
 <link rel="stylesheet" type="text/css" href="resources/test-shift-jis.css">
 <link rel="stylesheet" type="text/css" href="resources/test-utf-8.css">
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpDOMAsWebArchive();
+if (window.testRunner)
+    testRunner.dumpDOMAsWebArchive();
 </script>
 </head>
 <body>
index b478fd4f2cda17e022cdb0fb9eed589dc2aaf4be..070409c8edc811cf8cc148b5cd2c827a95bb6183 100644 (file)
@@ -12,8 +12,8 @@
 &lt;link rel="stylesheet" type="text/css" href="resources/test-shift-jis.css"&gt;
 &lt;link rel="stylesheet" type="text/css" href="resources/test-utf-8.css"&gt;
 &lt;script&gt;
-if (window.layoutTestController)
-    layoutTestController.dumpDOMAsWebArchive();
+if (window.testRunner)
+    testRunner.dumpDOMAsWebArchive();
 &lt;/script&gt;
 &lt;/head&gt;
 &lt;body&gt;
index 464a570fd708d3ca5ba5c495948fe4c0311958f9..6e3f298fb880c0aaeb38149ee9277fd0b63bf8b9 100644 (file)
@@ -6,8 +6,8 @@
 <link rel="stylesheet" type="text/css" href="resources/test-shift-jis.css">
 <link rel="stylesheet" type="text/css" href="resources/test-utf-8.css">
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpDOMAsWebArchive();
+if (window.testRunner)
+    testRunner.dumpDOMAsWebArchive();
 </script>
 </head>
 <body>
index 947c75bf210e795b7bd09372d34c48493846fdc8..dc48d014fe7cef121d8db3a2e013ec352c7e6022 100644 (file)
@@ -4,8 +4,8 @@
 <link rel="stylesheet" type="text/css" href="resources/test-shift-jis.css">
 <link rel="stylesheet" type="text/css" href="resources/test-utf-8.css">
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpDOMAsWebArchive();
+if (window.testRunner)
+    testRunner.dumpDOMAsWebArchive();
 </script>
 </head>
 <body>
index 0264967a3348eac5c53863fe2f91769e7e8fcc32..6718fc6286d102afdf5de65301cf16ddf82cdb37 100644 (file)
@@ -16,8 +16,8 @@
 &lt;link rel="alternate stylesheet" type="text/css" href="resources/test-preload-resources.css?6" title="gray"&gt;
 
 &lt;script&gt;
-if (window.layoutTestController)
-    layoutTestController.dumpDOMAsWebArchive();
+if (window.testRunner)
+    testRunner.dumpDOMAsWebArchive();
 &lt;/script&gt;
 
 &lt;/head&gt;&lt;body&gt;
diff --git