Use testRunner instead of layoutTestController in fast/fast-mobile-scrolling, flexbox...
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Jun 2012 06:52:33 +0000 (06:52 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Jun 2012 06:52:33 +0000 (06:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=89741

Reviewed by Kent Tamura.

* fast/flexbox/box-ordinal-group.html:
* fast/flexbox/box-size-integer-overflow.html:
* fast/flexbox/crash-button-input-autofocus.html:
* fast/flexbox/crash-button-keygen.html:
* fast/flexbox/crash-button-relayout.html:
* fast/flexbox/crash-flexbox-no-layout-child.html:
* fast/flexbox/horizontal-box-float-crash.html:
* fast/flexbox/inline-children-crash.html:
* fast/flexbox/layoutHorizontalBox-crash.html:
* fast/flexbox/line-clamp-crash.html:
* fast/flexbox/overhanging-floats-not-removed-crash.html:
* fast/flexbox/resources/box-orient-button.js:
* fast/forms/:
* fast/frames/:
* fast/gradients/crash-on-1px-border.html:
* fast/gradients/crash-on-degenerate-gradient.html:
* fast/gradients/crash-on-remove.html:
* fast/gradients/crash-on-tr.html:
* fast/gradients/css3-color-stop-units.html:
* fast/gradients/css3-color-stops.html:
* fast/gradients/css3-linear-angle-gradients.html:
* fast/gradients/css3-linear-right-angle-gradients.html:
* fast/gradients/css3-radial-gradient-crash.html:
* fast/gradients/css3-radial-gradients.html:
* fast/gradients/css3-radial-gradients2.html:
* fast/gradients/css3-radial-gradients3.html:
* fast/gradients/css3-repeating-end-fill.html:
* fast/gradients/css3-repeating-linear-gradients.html:
* fast/gradients/css3-repeating-linear-gradients2.html:
* fast/gradients/css3-repeating-radial-gradients.html:
* fast/gradients/gradient-after-transparent-border.html:
* fast/gradients/gradient-on-pseudoelement-crash.html:
* platform/chromium/fast/forms/search-popup-crasher.html:
* platform/gtk/fast/forms/menulist-typeahead-find.html:
* platform/gtk/fast/frames/scrolling-iframe-out-of-viewport.html:
* platform/mac/fast/forms/attributed-strings.html:
* platform/mac/fast/forms/listbox-scrollbar-hit-test.html:
* platform/mac/fast/forms/script-tests/focus-option-control-on-page.js:
(startTest):
(runKeyPresses):
(notifyDone):

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

554 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/flexbox/box-ordinal-group.html
LayoutTests/fast/flexbox/box-size-integer-overflow.html
LayoutTests/fast/flexbox/crash-button-input-autofocus.html
LayoutTests/fast/flexbox/crash-button-keygen.html
LayoutTests/fast/flexbox/crash-button-relayout.html
LayoutTests/fast/flexbox/crash-flexbox-no-layout-child.html
LayoutTests/fast/flexbox/horizontal-box-float-crash.html
LayoutTests/fast/flexbox/inline-children-crash.html
LayoutTests/fast/flexbox/layoutHorizontalBox-crash.html
LayoutTests/fast/flexbox/line-clamp-crash.html
LayoutTests/fast/flexbox/overhanging-floats-not-removed-crash.html
LayoutTests/fast/flexbox/resources/box-orient-button.js
LayoutTests/fast/forms/11423.html
LayoutTests/fast/forms/25153.html
LayoutTests/fast/forms/4628409.html
LayoutTests/fast/forms/8250.html
LayoutTests/fast/forms/HTMLOptionElement_selected.html
LayoutTests/fast/forms/HTMLOptionElement_selected2.html
LayoutTests/fast/forms/HTMLOptionElement_selected3.html
LayoutTests/fast/forms/ValidityState-001.html
LayoutTests/fast/forms/ValidityState-002.html
LayoutTests/fast/forms/ValidityState-removed-control.html
LayoutTests/fast/forms/ValidityState-valueMissing-004.html
LayoutTests/fast/forms/ValidityState-valueMissing-005.html
LayoutTests/fast/forms/ValidityState-valueMissing-006.html
LayoutTests/fast/forms/ValidityState-valueMissing-008.html
LayoutTests/fast/forms/ValidityState-valueMissing-009.html
LayoutTests/fast/forms/access-key.html
LayoutTests/fast/forms/activate-and-disabled-elements.html
LayoutTests/fast/forms/add-and-remove-option.html
LayoutTests/fast/forms/add-remove-form-elements-stress-test.html
LayoutTests/fast/forms/add-remove-option-modification-event.html
LayoutTests/fast/forms/add-selected-option.html
LayoutTests/fast/forms/autofocus-attribute.html
LayoutTests/fast/forms/autofocus-input-css-style-change.html
LayoutTests/fast/forms/autofocus-opera-001.html
LayoutTests/fast/forms/autofocus-opera-002.html
LayoutTests/fast/forms/autofocus-opera-003.html
LayoutTests/fast/forms/autofocus-opera-004.html
LayoutTests/fast/forms/autofocus-opera-005.html
LayoutTests/fast/forms/autofocus-opera-006.html
LayoutTests/fast/forms/autofocus-opera-007.html
LayoutTests/fast/forms/autofocus-opera-008.html
LayoutTests/fast/forms/autofocus-readonly-attribute.html
LayoutTests/fast/forms/button-click-DOM.html
LayoutTests/fast/forms/button-enter-click.html
LayoutTests/fast/forms/button-in-forms-collection.html
LayoutTests/fast/forms/button-spacebar-click.html
LayoutTests/fast/forms/button-state-restore.html
LayoutTests/fast/forms/caret-rtl.html
LayoutTests/fast/forms/change-form-element-document-crash.html
LayoutTests/fast/forms/checkbox-appearance-change-by-checked.html
LayoutTests/fast/forms/clone-input-with-dirty-value.html
LayoutTests/fast/forms/cursor-at-editable-content-boundary.html
LayoutTests/fast/forms/cursor-position.html
LayoutTests/fast/forms/dangling-form-element-crash.html
LayoutTests/fast/forms/defer-updateFromElement.html
LayoutTests/fast/forms/delete-text-with-invisible-br.html
LayoutTests/fast/forms/disabled-mousedown-event.html
LayoutTests/fast/forms/disabled-search-input.html
LayoutTests/fast/forms/display-none-in-onchange-keyboard.html
LayoutTests/fast/forms/document-write-empty.html
LayoutTests/fast/forms/document-write.html
LayoutTests/fast/forms/domstring-replace-crash.html
LayoutTests/fast/forms/double-focus.html
LayoutTests/fast/forms/drag-into-textarea.html
LayoutTests/fast/forms/drag-out-of-textarea.html
LayoutTests/fast/forms/element-by-name.html
LayoutTests/fast/forms/element-order.html
LayoutTests/fast/forms/empty-get.html
LayoutTests/fast/forms/empty-textarea-toggle-disabled.html
LayoutTests/fast/forms/enter-clicks-buttons.html
LayoutTests/fast/forms/fallback-content-submission.html
LayoutTests/fast/forms/fieldset/fieldset-crash.html
LayoutTests/fast/forms/file/disabling-file-busy-loop.html
LayoutTests/fast/forms/file/file-input-change-event.html
LayoutTests/fast/forms/file/file-input-hit-test.html
LayoutTests/fast/forms/file/file-input-pressed-state.html
LayoutTests/fast/forms/file/file-input-reset.html
LayoutTests/fast/forms/file/get-file-upload.html
LayoutTests/fast/forms/file/input-file-directory-upload.html
LayoutTests/fast/forms/file/input-file-entries.html
LayoutTests/fast/forms/file/input-file-label.html
LayoutTests/fast/forms/file/input-file-not-open-without-gesture.html
LayoutTests/fast/forms/file/input-file-re-render.html
LayoutTests/fast/forms/file/input-file-write-files.html
LayoutTests/fast/forms/file/recover-file-input-in-unposted-form.html
LayoutTests/fast/forms/focus-change-on-keypress.html
LayoutTests/fast/forms/focus-control-to-page.html
LayoutTests/fast/forms/focus-selection-input.html
LayoutTests/fast/forms/focus-selection-textarea.html
LayoutTests/fast/forms/focus-style-pending.html
LayoutTests/fast/forms/focus-with-display-block.html
LayoutTests/fast/forms/focus.html
LayoutTests/fast/forms/focus2.html
LayoutTests/fast/forms/form-action.html
LayoutTests/fast/forms/form-associated-element-crash.html
LayoutTests/fast/forms/form-associated-element-crash2.html
LayoutTests/fast/forms/form-associated-element-crash3.html
LayoutTests/fast/forms/form-attribute-elements.html
LayoutTests/fast/forms/form-collection-lookup.html
LayoutTests/fast/forms/form-control-element-crash.html
LayoutTests/fast/forms/form-data-encoding-2.html
LayoutTests/fast/forms/form-data-encoding-normalization-overrun.html
LayoutTests/fast/forms/form-data-encoding.html
LayoutTests/fast/forms/form-get-multipart.html
LayoutTests/fast/forms/form-get-multipart2.html
LayoutTests/fast/forms/form-get-multipart3.html
LayoutTests/fast/forms/form-get-textplain.html
LayoutTests/fast/forms/form-post-urlencoded.html
LayoutTests/fast/forms/form-submission-create-crash.xhtml
LayoutTests/fast/forms/formmethod-attribute-button-html.html
LayoutTests/fast/forms/formmethod-attribute-input-html.html
LayoutTests/fast/forms/formtarget-attribute-button-html.html
LayoutTests/fast/forms/formtarget-attribute-input-html.html
LayoutTests/fast/forms/get-forms-to-about-blank.html
LayoutTests/fast/forms/hidden-input-enabled.html
LayoutTests/fast/forms/hidden-listbox.html
LayoutTests/fast/forms/implicit-submission.html
LayoutTests/fast/forms/inline-ignored-on-legend.html
LayoutTests/fast/forms/input-appearance-elementFromPoint.html
LayoutTests/fast/forms/input-appearance-preventDefault.html
LayoutTests/fast/forms/input-autofilled.html
LayoutTests/fast/forms/input-changing-value.html
LayoutTests/fast/forms/input-delete.html
LayoutTests/fast/forms/input-element-attach-crash.html
LayoutTests/fast/forms/input-first-letter-edit.html
LayoutTests/fast/forms/input-hit-test-border.html
LayoutTests/fast/forms/input-image-submit.html
LayoutTests/fast/forms/input-implicit-length-limit.html
LayoutTests/fast/forms/input-multiple.html
LayoutTests/fast/forms/input-named-action-overrides-action-attribute.html
LayoutTests/fast/forms/input-placeholder-paint-order.html
LayoutTests/fast/forms/input-readonly-autoscroll.html
LayoutTests/fast/forms/input-readonly-focus.html
LayoutTests/fast/forms/input-search-press-escape-key.html
LayoutTests/fast/forms/input-select-on-click.html
LayoutTests/fast/forms/input-select-webkit-user-select-none.html
LayoutTests/fast/forms/input-selection-hidden.html
LayoutTests/fast/forms/input-setvalue-selection.html
LayoutTests/fast/forms/input-text-enter.html
LayoutTests/fast/forms/input-type-change-in-onfocus-keyboard.html
LayoutTests/fast/forms/input-type-change-in-onfocus-mouse.html
LayoutTests/fast/forms/input-zero-height-focus.html
LayoutTests/fast/forms/interactive-validation-attach-assertion.html
LayoutTests/fast/forms/interactive-validation-cancel.html
LayoutTests/fast/forms/interactive-validation-formnovalidate.html
LayoutTests/fast/forms/interactive-validation-novalidate.html
LayoutTests/fast/forms/interactive-validation-prevented.html
LayoutTests/fast/forms/interactive-validation-remove-node-in-handler.html
LayoutTests/fast/forms/interactive-validation-required-checkbox.html
LayoutTests/fast/forms/large-parts.html
LayoutTests/fast/forms/legend-access-key.html
LayoutTests/fast/forms/legend-display-none.html
LayoutTests/fast/forms/listbox-clear-restore.html
LayoutTests/fast/forms/listbox-clip.html
LayoutTests/fast/forms/listbox-onchange.html
LayoutTests/fast/forms/listbox-scroll-after-options-removed.html
LayoutTests/fast/forms/listbox-select-all.html
LayoutTests/fast/forms/listbox-typeahead-cyrillic.html
LayoutTests/fast/forms/listbox-typeahead-empty.html
LayoutTests/fast/forms/listbox-typeahead-greek.html
LayoutTests/fast/forms/listbox-typeahead-scroll.html
LayoutTests/fast/forms/listbox-width-change.html
LayoutTests/fast/forms/mailto/advanced-get.html
LayoutTests/fast/forms/mailto/advanced-put.html
LayoutTests/fast/forms/mailto/formenctype-attribute-button-html.html
LayoutTests/fast/forms/mailto/formenctype-attribute-input-html.html
LayoutTests/fast/forms/mailto/get-multiple-items-text-plain.html
LayoutTests/fast/forms/mailto/get-multiple-items-x-www-form-urlencoded.html
LayoutTests/fast/forms/mailto/get-multiple-items.html
LayoutTests/fast/forms/mailto/get-non-ascii-always-utf-8.html
LayoutTests/fast/forms/mailto/get-non-ascii-text-plain-latin-1.html
LayoutTests/fast/forms/mailto/get-non-ascii-text-plain.html
LayoutTests/fast/forms/mailto/get-non-ascii.html
LayoutTests/fast/forms/mailto/get-overwrite-query.html
LayoutTests/fast/forms/mailto/post-append-query.html
LayoutTests/fast/forms/mailto/post-multiple-items-multipart-form-data.html
LayoutTests/fast/forms/mailto/post-multiple-items-text-plain.html
LayoutTests/fast/forms/mailto/post-multiple-items-x-www-form-urlencoded.html
LayoutTests/fast/forms/mailto/post-multiple-items.html
LayoutTests/fast/forms/mailto/post-text-plain-with-accept-charset.html
LayoutTests/fast/forms/mailto/post-text-plain.html
LayoutTests/fast/forms/menulist-disabled-selected-option.html
LayoutTests/fast/forms/menulist-no-renderer-onmousedown.html
LayoutTests/fast/forms/menulist-selection-reset.html
LayoutTests/fast/forms/menulist-submit-without-selection.html
LayoutTests/fast/forms/menulist-width-change.html
LayoutTests/fast/forms/misplaced-img-form-registration.html
LayoutTests/fast/forms/missing-action.html
LayoutTests/fast/forms/multiple-form-submission-protection-mouse.html
LayoutTests/fast/forms/multiple-selected-options-innerHTML.html
LayoutTests/fast/forms/mutation-event-recalc.html
LayoutTests/fast/forms/no-autofocus-in-sandbox.html
LayoutTests/fast/forms/number/input-number-crash.html
LayoutTests/fast/forms/number/input-number-spinbutton-crash.html
LayoutTests/fast/forms/number/number-input-changeevent.html
LayoutTests/fast/forms/number/spin-button-events.html
LayoutTests/fast/forms/number/spin-button-gets-disabled-or-readonly.html
LayoutTests/fast/forms/number/spin-button-state.html
LayoutTests/fast/forms/number/spin-in-multi-column.html
LayoutTests/fast/forms/numeric-input-name.html
LayoutTests/fast/forms/onchange-change-type.html
LayoutTests/fast/forms/onchange-enter-submit.html
LayoutTests/fast/forms/onchange-setvalueforuser.html
LayoutTests/fast/forms/onselect-selectall.html
LayoutTests/fast/forms/onselect-textarea.html
LayoutTests/fast/forms/onselect-textfield.html
LayoutTests/fast/forms/option-change-single-selected.html
LayoutTests/fast/forms/option-constructor-selected.html
LayoutTests/fast/forms/option-in-optgroup-removal.html
LayoutTests/fast/forms/option-mouseevents.html
LayoutTests/fast/forms/password-doubleclick-selection.html
LayoutTests/fast/forms/password-placeholder-text-security.html
LayoutTests/fast/forms/paste-into-textarea.html
LayoutTests/fast/forms/paste-multiline-text-input.html
LayoutTests/fast/forms/pattern-attribute-001.html
LayoutTests/fast/forms/pattern-attribute-002.html
LayoutTests/fast/forms/pattern-attribute-003.html
LayoutTests/fast/forms/placeholder-crash-with-scrollbar-corner.html
LayoutTests/fast/forms/placeholder-non-textfield.html
LayoutTests/fast/forms/placeholder-set-attribute.html
LayoutTests/fast/forms/plaintext-mode-1.html
LayoutTests/fast/forms/plaintext-mode-2.html
LayoutTests/fast/forms/radio-checkbox-restore-indeterminate.html
LayoutTests/fast/forms/radio/indeterminate-radio.html
LayoutTests/fast/forms/radio/input-radio-checked-tab.html
LayoutTests/fast/forms/radio/interactive-validation-required-radio.html
LayoutTests/fast/forms/radio/radio-button-no-change-event.html
LayoutTests/fast/forms/radio/radio-check-click-and-drag.html
LayoutTests/fast/forms/radio/radio-group-keyboard-change-event.html
LayoutTests/fast/forms/radio/radio-nested-labels.html
LayoutTests/fast/forms/radio/radio-no-theme-padding.html
LayoutTests/fast/forms/radio/radio_checked.html
LayoutTests/fast/forms/radio/radio_checked_dynamic.html
LayoutTests/fast/forms/radio/radio_checked_name.html
LayoutTests/fast/forms/radio/remove-radio-button-assert.html
LayoutTests/fast/forms/radio/state-restore-radio-group.html
LayoutTests/fast/forms/range/range-input-dynamic-oninput.html
LayoutTests/fast/forms/range/slider-delete-while-dragging-thumb.html
LayoutTests/fast/forms/range/slider-hit-testing.html
LayoutTests/fast/forms/range/slider-in-multi-column.html
LayoutTests/fast/forms/range/slider-mouse-events.html
LayoutTests/fast/forms/range/slider-onchange-event.html
LayoutTests/fast/forms/range/slider-transformed.html
LayoutTests/fast/forms/range/slider-zoomed.html
LayoutTests/fast/forms/range/thumbslider-crash.html
LayoutTests/fast/forms/removed-image-as-property.html
LayoutTests/fast/forms/render-text-crash.html
LayoutTests/fast/forms/reparented-image-as-property.html
LayoutTests/fast/forms/reset-autofilled.html
LayoutTests/fast/forms/resources/form-and-frame-interaction-retains-values-main.html
LayoutTests/fast/forms/restore-selection-after-layout.html
LayoutTests/fast/forms/saved-state-adoptNode-crash.html
LayoutTests/fast/forms/search-abs-pos-cancel-button.html
LayoutTests/fast/forms/search-cancel-button-mouseup.html
LayoutTests/fast/forms/search-click-in-placeholder.html
LayoutTests/fast/forms/search-delete-while-cancel-button-clicked.html
LayoutTests/fast/forms/search-disabled-readonly.html
LayoutTests/fast/forms/search-event-delay.html
LayoutTests/fast/forms/search-hidden-cancel-button.html
LayoutTests/fast/forms/search-placeholder-value-changed.html
LayoutTests/fast/forms/search-transformed.html
LayoutTests/fast/forms/search-zoomed.html
LayoutTests/fast/forms/search/search-shaking-text.html
LayoutTests/fast/forms/select-accesskey.html
LayoutTests/fast/forms/select-cache-desynchronization.html
LayoutTests/fast/forms/select-change-listbox-to-popup-roundtrip.html
LayoutTests/fast/forms/select-change-popup-to-listbox-in-event-handler.html
LayoutTests/fast/forms/select-change-popup-to-listbox-roundtrip.html
LayoutTests/fast/forms/select-dirty-parent-pref-widths.html
LayoutTests/fast/forms/select-double-onchange.html
LayoutTests/fast/forms/select-empty-list.html
LayoutTests/fast/forms/select-empty-optgroup.html
LayoutTests/fast/forms/select-generated-content.html
LayoutTests/fast/forms/select-index-setter.html
LayoutTests/fast/forms/select-list-box-mouse-focus.html
LayoutTests/fast/forms/select-listbox-focus-displaynone.html
LayoutTests/fast/forms/select-max-length.html
LayoutTests/fast/forms/select-namedItem.html
LayoutTests/fast/forms/select-no-name.html
LayoutTests/fast/forms/select-option-accesskey-crash.html
LayoutTests/fast/forms/select-out-of-bounds-index.html
LayoutTests/fast/forms/select-popup-pagekeys.html
LayoutTests/fast/forms/select-remove-option.html
LayoutTests/fast/forms/select-replace-option.html
LayoutTests/fast/forms/select-reset-multiple-selections-4-single-selection.html
LayoutTests/fast/forms/select-reset.html
LayoutTests/fast/forms/select-script-onchange.html
LayoutTests/fast/forms/select-set-inner.html
LayoutTests/fast/forms/select-type-ahead-list-box-no-selection.html
LayoutTests/fast/forms/select-type-ahead-non-latin.html
LayoutTests/fast/forms/select-width-font-change.html
LayoutTests/fast/forms/select/listbox-in-multi-column.html
LayoutTests/fast/forms/select/menulist-popup-crash.html
LayoutTests/fast/forms/select/menulist-type-ahead-find.html
LayoutTests/fast/forms/select/optgroup-clicking.html
LayoutTests/fast/forms/selected-index-assert.html
LayoutTests/fast/forms/selected-index-value.html
LayoutTests/fast/forms/selection-functions.html
LayoutTests/fast/forms/slow-click.html
LayoutTests/fast/forms/state-restore-hidden.html
LayoutTests/fast/forms/state-restore-to-non-autocomplete-form.html
LayoutTests/fast/forms/state-restore-to-non-edited-controls.html
LayoutTests/fast/forms/state-save-of-detached-control.html
LayoutTests/fast/forms/style-display-none.html
LayoutTests/fast/forms/submit-change-fragment.html
LayoutTests/fast/forms/submit-nil-value-field-assert.html
LayoutTests/fast/forms/submit-to-blank-multiple-times.html
LayoutTests/fast/forms/submit-to-url-fragment.html
LayoutTests/fast/forms/submit-with-base.html
LayoutTests/fast/forms/tab-in-input.html
LayoutTests/fast/forms/tabs-with-modifiers.html
LayoutTests/fast/forms/targeted-frame-submission.html
LayoutTests/fast/forms/text-control-select-blurred.html
LayoutTests/fast/forms/text-control-selection-crash.html
LayoutTests/fast/forms/text-field-setvalue-crash.html
LayoutTests/fast/forms/text-input-event.html
LayoutTests/fast/forms/text-set-value-crash.html
LayoutTests/fast/forms/textarea-and-mutation-events.html
LayoutTests/fast/forms/textarea-appearance-wrap.html
LayoutTests/fast/forms/textarea-arrow-navigation.html
LayoutTests/fast/forms/textarea-crlf.html
LayoutTests/fast/forms/textarea-default-value-leading-newline.html
LayoutTests/fast/forms/textarea-hard-linewrap-empty.html
LayoutTests/fast/forms/textarea-linewrap-dynamic.html
LayoutTests/fast/forms/textarea-no-scroll-on-blur.html
LayoutTests/fast/forms/textarea-node-removed-from-document-crash.html
LayoutTests/fast/forms/textarea-paste-newline.html
LayoutTests/fast/forms/textarea-placeholder-relayout-assertion.html
LayoutTests/fast/forms/textarea-placeholder-set-attribute.html
LayoutTests/fast/forms/textarea-scrollbar-height.html
LayoutTests/fast/forms/textarea-scrolled-endline-caret.html
LayoutTests/fast/forms/textarea-setvalue-submit.html
LayoutTests/fast/forms/textarea-setvalue-without-renderer.html
LayoutTests/fast/forms/textarea-submit-crash.html
LayoutTests/fast/forms/textarea-trailing-newline.html
LayoutTests/fast/forms/textarea-type-spaces.html
LayoutTests/fast/forms/textarea/textarea-placeholder-paint-order.html
LayoutTests/fast/forms/textfield-drag-into-disabled.html
LayoutTests/fast/forms/textfield-focus-out.html
LayoutTests/fast/forms/textfield-inside-anchor.html
LayoutTests/fast/forms/textfield-lastchange-was-useredit.html
LayoutTests/fast/forms/textfield-no-linebreak.html
LayoutTests/fast/forms/textfield-onchange-deletion.html
LayoutTests/fast/forms/textfield-outline.html
LayoutTests/fast/forms/textfield-to-password-on-focus.html
LayoutTests/fast/forms/textinput-not-fired-on-enter-in-input.html
LayoutTests/fast/forms/type-after-focus-rule-shrink-width.html
LayoutTests/fast/forms/update-from-element-during-editing-crash-1.html
LayoutTests/fast/forms/update-from-element-during-editing-crash-2.html
LayoutTests/fast/forms/validation-message-appearance.html
LayoutTests/fast/forms/validation-message-clone.html
LayoutTests/fast/forms/validation-message-in-relative-body.html
LayoutTests/fast/forms/validation-message-on-checkbox.html
LayoutTests/fast/forms/validation-message-on-listbox.html
LayoutTests/fast/forms/validation-message-on-menulist.html
LayoutTests/fast/forms/validation-message-on-radio.html
LayoutTests/fast/forms/validation-message-on-range.html
LayoutTests/fast/forms/validation-message-on-textarea.html
LayoutTests/fast/forms/var-name-conflict-in-form-event-handler.html
LayoutTests/fast/forms/xss-auditor-doesnt-crash-on-post-submit.html
LayoutTests/fast/frames/adopt-from-created-document.html
LayoutTests/fast/frames/adopt-iframe-into-itself.html
LayoutTests/fast/frames/assert-on-insertedIntoDocument.html
LayoutTests/fast/frames/cached-frame-counter.html
LayoutTests/fast/frames/content-opacity-2.html
LayoutTests/fast/frames/contentWindow_Frame.html
LayoutTests/fast/frames/contentWindow_iFrame.html
LayoutTests/fast/frames/crash-frameset-CSS-content-property.html
LayoutTests/fast/frames/crash-removed-iframe.html
LayoutTests/fast/frames/cross-site-this.html
LayoutTests/fast/frames/css-style-declaration-isolation.html
LayoutTests/fast/frames/detached-frame-property.html
LayoutTests/fast/frames/document-write-in-iframe-onload-2.html
LayoutTests/fast/frames/document-write-in-iframe-onload-3.html
LayoutTests/fast/frames/document-write-in-iframe-onload.html
LayoutTests/fast/frames/empty-frame-document.html
LayoutTests/fast/frames/flattening/crash-svg-document.html
LayoutTests/fast/frames/flattening/frameset-flattening-advanced.html
LayoutTests/fast/frames/flattening/frameset-flattening-grid.html
LayoutTests/fast/frames/flattening/frameset-flattening-simple.html
LayoutTests/fast/frames/flattening/frameset-flattening-subframe-resize.html
LayoutTests/fast/frames/flattening/frameset-flattening-subframesets.html
LayoutTests/fast/frames/flattening/iframe-flattening-crash.html
LayoutTests/fast/frames/flattening/iframe-flattening-fixed-height.html
LayoutTests/fast/frames/flattening/iframe-flattening-fixed-width-and-height-no-scrolling-with-js-forced-layout.html
LayoutTests/fast/frames/flattening/iframe-flattening-fixed-width-and-height-no-scrolling.html
LayoutTests/fast/frames/flattening/iframe-flattening-fixed-width-and-height-zero-size.html
LayoutTests/fast/frames/flattening/iframe-flattening-fixed-width-and-height.html
LayoutTests/fast/frames/flattening/iframe-flattening-fixed-width.html
LayoutTests/fast/frames/flattening/iframe-flattening-nested.html
LayoutTests/fast/frames/flattening/iframe-flattening-offscreen.html
LayoutTests/fast/frames/flattening/iframe-flattening-out-of-view-and-scroll.html
LayoutTests/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout.html
LayoutTests/fast/frames/flattening/iframe-flattening-out-of-view.html
LayoutTests/fast/frames/flattening/iframe-flattening-selection-crash.html
LayoutTests/fast/frames/flattening/iframe-flattening-simple.html
LayoutTests/fast/frames/flattening/iframe-tiny.html
LayoutTests/fast/frames/focus-controller-crash-change-event.html
LayoutTests/fast/frames/frame-base-url.html
LayoutTests/fast/frames/frame-crash-with-page-cache.html
LayoutTests/fast/frames/frame-dead-region.html
LayoutTests/fast/frames/frame-deep-nested-resize.html
LayoutTests/fast/frames/frame-display-none-focus.html
LayoutTests/fast/frames/frame-element-name.html
LayoutTests/fast/frames/frame-inherit-noresize-from-frameset.html
LayoutTests/fast/frames/frame-js-url-clientWidth.html
LayoutTests/fast/frames/frame-limit.html
LayoutTests/fast/frames/frame-name-reset.html
LayoutTests/fast/frames/frame-programmatic-noresize.html
LayoutTests/fast/frames/frame-set-same-location.html
LayoutTests/fast/frames/frame-set-same-src.html
LayoutTests/fast/frames/frame-src-attribute.html
LayoutTests/fast/frames/frame-unload-crash.html
LayoutTests/fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize.html
LayoutTests/fast/frames/frame-with-noresize-can-be-resized-after-setting-noResize-to-false.html
LayoutTests/fast/frames/frameElement-widthheight.html
LayoutTests/fast/frames/frames-with-frameborder-zero-can-be-resized.html
LayoutTests/fast/frames/frameset-style-recalc.html
LayoutTests/fast/frames/hover-timer-crash.html
LayoutTests/fast/frames/iframe-access-screen-of-deleted.html
LayoutTests/fast/frames/iframe-display-none.html
LayoutTests/fast/frames/iframe-double-attach.html
LayoutTests/fast/frames/iframe-double-scale-contents.html
LayoutTests/fast/frames/iframe-js-url-clientWidth.html
LayoutTests/fast/frames/iframe-name-and-id.html
LayoutTests/fast/frames/iframe-no-src-local-origin-allow.html
LayoutTests/fast/frames/iframe-no-src-set-location.html
LayoutTests/fast/frames/iframe-onload-remove-self-no-crash.html
LayoutTests/fast/frames/iframe-option-crash.xhtml
LayoutTests/fast/frames/iframe-plugin-load-remove-document-crash.html
LayoutTests/fast/frames/iframe-remove-after-id-change.html
LayoutTests/fast/frames/iframe-reparenting-unique-name.html
LayoutTests/fast/frames/iframe-scale-applied-twice.html
LayoutTests/fast/frames/iframe-scroll-page-up-down.html-disabled
LayoutTests/fast/frames/iframe-scrolling-attribute-overflowscroll.html
LayoutTests/fast/frames/iframe-set-inner-html.html
LayoutTests/fast/frames/iframe-set-same-location.html
LayoutTests/fast/frames/iframe-set-same-src.html
LayoutTests/fast/frames/iframe-target.html
LayoutTests/fast/frames/iframe-window-focus.html
LayoutTests/fast/frames/inline-object-inside-frameset.html
LayoutTests/fast/frames/javascript-url-as-framesrc-crash.html
LayoutTests/fast/frames/javascript-url-for-deleted-frame.html
LayoutTests/fast/frames/layout-after-destruction.html
LayoutTests/fast/frames/location-put-after-removal.html
LayoutTests/fast/frames/location-redirect-user-gesture.html
LayoutTests/fast/frames/lots-of-iframes.html
LayoutTests/fast/frames/lots-of-objects.html
LayoutTests/fast/frames/meta-refresh-user-gesture.html
LayoutTests/fast/frames/negative-remaining-length-crash.html
LayoutTests/fast/frames/onload-remove-iframe-crash.html
LayoutTests/fast/frames/removal-before-attach-crash.html
LayoutTests/fast/frames/remove-frame-with-scrollbars-crash.html
LayoutTests/fast/frames/repaint-display-none-crash.html
LayoutTests/fast/frames/resources/fail-and-notify-done.html
LayoutTests/fast/frames/resources/frame-dead-region-left.html
LayoutTests/fast/frames/resources/frame-navigation-child.html
LayoutTests/fast/frames/resources/iframe-focus.html
LayoutTests/fast/frames/resources/location-change-frame-1.html
LayoutTests/fast/frames/resources/location-change-frame-2.html
LayoutTests/fast/frames/resources/meta-refresh-target.html
LayoutTests/fast/frames/resources/no-file-access-frame-1.html
LayoutTests/fast/frames/resources/no-file-access-frame-2.html
LayoutTests/fast/frames/resources/pass-and-notify-done.html
LayoutTests/fast/frames/resources/sandboxed-iframe-storage-disallowed.html
LayoutTests/fast/frames/resources/set-src-to-javascript-url.html
LayoutTests/fast/frames/resources/set-src-to-javascript-url.xhtml
LayoutTests/fast/frames/resources/set-unloaded-frame-location-2.html
LayoutTests/fast/frames/resources/subframe-base-url.html
LayoutTests/fast/frames/sandboxed-iframe-about-blank.html
LayoutTests/fast/frames/sandboxed-iframe-attribute-parsing.html
LayoutTests/fast/frames/sandboxed-iframe-close-top-noclose.html
LayoutTests/fast/frames/sandboxed-iframe-close-top.html
LayoutTests/fast/frames/sandboxed-iframe-forms-dynamic.html
LayoutTests/fast/frames/sandboxed-iframe-forms.html
LayoutTests/fast/frames/sandboxed-iframe-history-denied.html
LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html
LayoutTests/fast/frames/sandboxed-iframe-navigation-parent.html
LayoutTests/fast/frames/sandboxed-iframe-navigation-targetlink.html
LayoutTests/fast/frames/sandboxed-iframe-navigation-top-by-constant-name.html
LayoutTests/fast/frames/sandboxed-iframe-navigation-top-by-constant-name2.html
LayoutTests/fast/frames/sandboxed-iframe-navigation-top-by-name-denied.html
LayoutTests/fast/frames/sandboxed-iframe-navigation-top-by-name.html
LayoutTests/fast/frames/sandboxed-iframe-navigation-top-denied.html
LayoutTests/fast/frames/sandboxed-iframe-navigation-top.html
LayoutTests/fast/frames/sandboxed-iframe-navigation-windowopen.html
LayoutTests/fast/frames/sandboxed-iframe-noscript.html
LayoutTests/fast/frames/sandboxed-iframe-parsing-space-characters.html
LayoutTests/fast/frames/sandboxed-iframe-plugins.html
LayoutTests/fast/frames/sandboxed-iframe-scripting.html
LayoutTests/fast/frames/sandboxed-iframe-storage.html
LayoutTests/fast/frames/seamless/seamless-form-get-named.html
LayoutTests/fast/frames/seamless/seamless-form-get-override.html
LayoutTests/fast/frames/seamless/seamless-form-get.html
LayoutTests/fast/frames/seamless/seamless-form-post-named.html
LayoutTests/fast/frames/seamless/seamless-form-post-override.html
LayoutTests/fast/frames/seamless/seamless-form-post.html
LayoutTests/fast/frames/seamless/seamless-hyperlink-named.html
LayoutTests/fast/frames/seamless/seamless-hyperlink-override.html
LayoutTests/fast/frames/seamless/seamless-hyperlink.html
LayoutTests/fast/frames/seamless/seamless-window-location-href.html
LayoutTests/fast/frames/seamless/seamless-window-location-replace.html
LayoutTests/fast/frames/seamless/seamless-window-location-sandbox.html
LayoutTests/fast/frames/seamless/seamless-window-location.html
LayoutTests/fast/frames/seamless/seamless-window-open-override.html
LayoutTests/fast/frames/seamless/seamless-window-open.html
LayoutTests/fast/frames/set-unloaded-frame-location.html
LayoutTests/fast/frames/srcdoc/reloading-a-srcdoc-document-loads-it-again.html
LayoutTests/fast/frames/srcdoc/setting-src-does-nothing.html
LayoutTests/fast/frames/srcdoc/setting-srcdoc-reloads-document.html
LayoutTests/fast/frames/srcdoc/srcdoc-beats-src-dom.html
LayoutTests/fast/frames/srcdoc/srcdoc-beats-src.html
LayoutTests/fast/frames/srcdoc/srcdoc-can-be-in-qurks-mode.html
LayoutTests/fast/frames/srcdoc/srcdoc-can-navigate.html
LayoutTests/fast/frames/srcdoc/srcdoc-defaults-to-standards-mode.html
LayoutTests/fast/frames/srcdoc/srcdoc-loads-content.html
LayoutTests/fast/frames/srcdoc/srcdoc-urls.html
LayoutTests/fast/frames/subframe-load-crash-main.html
LayoutTests/fast/frames/subframe-load-js-url-crash.html
LayoutTests/fast/frames/take-focus-from-iframe.html
LayoutTests/fast/frames/transparent-scrollbar.html
LayoutTests/fast/frames/url-selected-crash.html
LayoutTests/fast/frames/viewsource-empty-attribute-value.html
LayoutTests/fast/frames/viewsource-linebreak.html
LayoutTests/fast/frames/viewsource-link-on-href-value.html
LayoutTests/fast/frames/viewsource-plain-text-tags.html
LayoutTests/fast/frames/viewsource-unfinished-tags.html
LayoutTests/fast/gradients/crash-on-1px-border.html
LayoutTests/fast/gradients/crash-on-degenerate-gradient.html
LayoutTests/fast/gradients/crash-on-remove.html
LayoutTests/fast/gradients/crash-on-tr.html
LayoutTests/fast/gradients/css3-color-stop-units.html
LayoutTests/fast/gradients/css3-color-stops.html
LayoutTests/fast/gradients/css3-linear-angle-gradients.html
LayoutTests/fast/gradients/css3-linear-right-angle-gradients.html
LayoutTests/fast/gradients/css3-radial-gradient-crash.html
LayoutTests/fast/gradients/css3-radial-gradients.html
LayoutTests/fast/gradients/css3-radial-gradients2.html
LayoutTests/fast/gradients/css3-radial-gradients3.html
LayoutTests/fast/gradients/css3-repeating-end-fill.html
LayoutTests/fast/gradients/css3-repeating-linear-gradients.html
LayoutTests/fast/gradients/css3-repeating-linear-gradients2.html
LayoutTests/fast/gradients/css3-repeating-radial-gradients.html
LayoutTests/fast/gradients/gradient-after-transparent-border.html
LayoutTests/fast/gradients/gradient-on-pseudoelement-crash.html
LayoutTests/platform/chromium/fast/forms/search-popup-crasher.html
LayoutTests/platform/gtk/fast/forms/menulist-typeahead-find.html
LayoutTests/platform/gtk/fast/frames/scrolling-iframe-out-of-viewport.html
LayoutTests/platform/mac/fast/forms/attributed-strings.html
LayoutTests/platform/mac/fast/forms/listbox-scrollbar-hit-test.html
LayoutTests/platform/mac/fast/forms/script-tests/focus-option-control-on-page.js

index 0964e0c..267b2c4 100644 (file)
@@ -1,3 +1,52 @@
+2012-06-21  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Use testRunner instead of layoutTestController in fast/fast-mobile-scrolling, flexbox, forms, frames, gradients tests
+        https://bugs.webkit.org/show_bug.cgi?id=89741
+
+        Reviewed by Kent Tamura.
+
+        * fast/flexbox/box-ordinal-group.html:
+        * fast/flexbox/box-size-integer-overflow.html:
+        * fast/flexbox/crash-button-input-autofocus.html:
+        * fast/flexbox/crash-button-keygen.html:
+        * fast/flexbox/crash-button-relayout.html:
+        * fast/flexbox/crash-flexbox-no-layout-child.html:
+        * fast/flexbox/horizontal-box-float-crash.html:
+        * fast/flexbox/inline-children-crash.html:
+        * fast/flexbox/layoutHorizontalBox-crash.html:
+        * fast/flexbox/line-clamp-crash.html:
+        * fast/flexbox/overhanging-floats-not-removed-crash.html:
+        * fast/flexbox/resources/box-orient-button.js:
+        * fast/forms/:
+        * fast/frames/:
+        * fast/gradients/crash-on-1px-border.html:
+        * fast/gradients/crash-on-degenerate-gradient.html:
+        * fast/gradients/crash-on-remove.html:
+        * fast/gradients/crash-on-tr.html:
+        * fast/gradients/css3-color-stop-units.html:
+        * fast/gradients/css3-color-stops.html:
+        * fast/gradients/css3-linear-angle-gradients.html:
+        * fast/gradients/css3-linear-right-angle-gradients.html:
+        * fast/gradients/css3-radial-gradient-crash.html:
+        * fast/gradients/css3-radial-gradients.html:
+        * fast/gradients/css3-radial-gradients2.html:
+        * fast/gradients/css3-radial-gradients3.html:
+        * fast/gradients/css3-repeating-end-fill.html:
+        * fast/gradients/css3-repeating-linear-gradients.html:
+        * fast/gradients/css3-repeating-linear-gradients2.html:
+        * fast/gradients/css3-repeating-radial-gradients.html:
+        * fast/gradients/gradient-after-transparent-border.html:
+        * fast/gradients/gradient-on-pseudoelement-crash.html:
+        * platform/chromium/fast/forms/search-popup-crasher.html:
+        * platform/gtk/fast/forms/menulist-typeahead-find.html:
+        * platform/gtk/fast/frames/scrolling-iframe-out-of-viewport.html:
+        * platform/mac/fast/forms/attributed-strings.html:
+        * platform/mac/fast/forms/listbox-scrollbar-hit-test.html:
+        * platform/mac/fast/forms/script-tests/focus-option-control-on-page.js:
+        (startTest):
+        (runKeyPresses):
+        (notifyDone):
+
 2012-06-21  Joone Hur  <joone.hur@intel.com>
 
         [EFL] Unreviewed gardening, unskip now passing tests.
index f6edee4..42a02e1 100644 (file)
@@ -45,8 +45,8 @@ div.number {
 
 </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 <body>
 <p>
index e998676..598b6b4 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <script>
 window.onload = function() {
-  if (window.layoutTestController)
-    window.layoutTestController.dumpAsText();
+  if (window.testRunner)
+    window.testRunner.dumpAsText();
 
   var cell = document.getElementById("cell");
   var text = cell.firstElementChild;
index 4763ff3..c20eb46 100755 (executable)
@@ -2,8 +2,8 @@
 <body>
 <p style="visibility: collapse;"><button><input autofocus><input id="test"></input></button></p>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 document.body.offsetTop;
 document.getElementById('test').parentNode.removeChild(document.getElementById('test'));
 document.body.offsetTop;
index 7cf441e..1fe47b8 100755 (executable)
@@ -2,8 +2,8 @@
 <body>
 <p style="visibility: collapse;"><button><keygen autofocus><input id="test"></keygen></button></p>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 document.body.offsetTop;
 document.getElementById('test').parentNode.removeChild(document.getElementById('test'));
 document.body.offsetTop;
index 49a6d2a..015900a 100755 (executable)
@@ -2,8 +2,8 @@
 <body>
 <p style="visibility: collapse;"><button><input><script>document.getElementsByTagName('input')[0].offsetTop;</script><input id="test"></input></button></p>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 document.body.offsetTop;
 document.getElementById('test').parentNode.removeChild(document.getElementById('test'));
 document.body.offsetTop;
index 636505e..8c1c9b4 100644 (file)
@@ -1,6 +1,6 @@
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function boom() {
   setTimeout('document.querySelector("progress").setAttribute("style", "overflow: scroll; border-style: dotted;");', 10);
index 3850e6c..fe4a9a6 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <body onload="runTest()">
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     function runTest()
     {
         test.appendChild(blockquote);
         document.body.offsetTop;
         test.parentNode.removeChild(test);
-        if (window.layoutTestController) {
+        if (window.testRunner) {
             // Force a focus in which forces a paint that can trigger the crash.
-            layoutTestController.setWindowIsKey(false);
-            layoutTestController.setWindowIsKey(true);
+            testRunner.setWindowIsKey(false);
+            testRunner.setWindowIsKey(true);
             document.getElementById("results").innerHTML = "PASS";
         }
     }
index 57a919b..1c21a73 100644 (file)
@@ -14,8 +14,8 @@
 }
 </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 </head>
 <body>
index d4addfa..0ce8998 100755 (executable)
@@ -3,8 +3,8 @@
 .c6:nth-last-child(2n+10000000000000000) { text-align: -webkit-center; width: 10px; }
 .c26:first-letter { visibility: inherit; overflow: scroll; float: left;</style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function runTest() {
     var button = document.createElement('button');
index 8746f13..2fbed39 100644 (file)
@@ -29,8 +29,8 @@
         placeholder.parentNode.removeChild(placeholder);
     }
 
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     document.body.offsetTop;
     test();
index 8729451..44cd2eb 100755 (executable)
@@ -14,8 +14,8 @@
 }\r
 </style>\r
 <script>\r
-if (window.layoutTestController)\r
-    layoutTestController.dumpAsText();\r
+if (window.testRunner)\r
+    testRunner.dumpAsText();\r
 \r
 function runTest() {\r
     document.body.offsetTop;\r
index 7259891..8fe6ca4 100644 (file)
@@ -21,5 +21,5 @@ shouldBe("gebi('toHorizontal').clientHeight", "referenceHorizontalHeight");
 shouldBe("gebi('toVertical').clientHeight", "referenceVerticalHeight");
 
 // If we are in DTR, we don't need meaningless messages.
-if (window.layoutTestController)
+if (window.testRunner)
     document.getElementById("main").innerHTML = "";
index 24a73a5..58f4e70 100644 (file)
@@ -10,8 +10,8 @@ function log(str) {
     console.appendChild(li);
 }
 
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText();
+if (window.testRunner)
+    window.testRunner.dumpAsText();
     
 var textarea = document.getElementById("textarea");
 textarea.focus();
index a3c471a..1b1693f 100644 (file)
@@ -2,8 +2,8 @@ This tests to make sure that clicking inside a text field places the caret in it
 <input id="textfield" onFocus="window.scrollBy(0, 40)" value="click in me"><br>
 <div style="height: 1500px;">
 <script>
-if (window.layoutTestController) {
-    window.layoutTestController.dumpAsText();
+if (window.testRunner) {
+    window.testRunner.dumpAsText();
     textfield = document.getElementById("textfield");
     // Click near the end of the field so that the caret after all of the text inside it.
     x = textfield.offsetParent.offsetLeft + textfield.offsetLeft + textfield.offsetWidth - 5;
index c06864c..3045678 100644 (file)
@@ -1,8 +1,8 @@
 <p>This tests for a crash when inserting text into a textarea that has been shrunk to zero rows just before the insertion.</p>
 <textarea id="textarea" rows="1"></textarea>
 <script>
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText();
+if (window.testRunner)
+    window.testRunner.dumpAsText();
 var e = document.getElementById("textarea");
 e.setSelectionRange(0, 0);
 e.rows = 0;
index db5acdc..08d0cee 100644 (file)
@@ -8,8 +8,8 @@ The text field should have a space in it, followed by the word 'foo'.</p>
 
 <script>
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var e = document.getElementById("test");
 e.focus();
index 1c2d5f8..5a81b39 100644 (file)
@@ -5,8 +5,8 @@
         </style>
         <script type="text/javascript">
         function runTest() {
-            if (window.layoutTestController)
-                layoutTestController.dumpAsText();
+            if (window.testRunner)
+                testRunner.dumpAsText();
             var console = document.getElementById('console');
             var theOption = document.getElementById('theOption');
             console.innerHTML += theOption.selected + "<br>";
index 876e51c..e3b638c 100644 (file)
@@ -9,8 +9,8 @@
       <option id="theOption">lalala</option>
     </select>
     <script>
-      if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+      if (window.testRunner)
+        testRunner.dumpAsText();
       var o = document.getElementById('theOption');
       document.getElementById('logOne').textContent = o.selected;
       document.getElementById('logTwo').textContent = document.getElementById('theSelect').selectedIndex;
index 2520abe..eacabca 100644 (file)
@@ -8,8 +8,8 @@
     <select id="theSelect" style="display:none">
       <option id="theOption">lalala</option>
     <script>
-      if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+      if (window.testRunner)
+        testRunner.dumpAsText();
       var o = document.getElementById('theOption');
       document.getElementById('logOne').textContent = o.selected;
       document.getElementById('logTwo').textContent = document.getElementById('theSelect').selectedIndex;
index 5c6ba09..3c5248e 100644 (file)
@@ -16,8 +16,8 @@
     }
 
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         v = document.getElementsByName("victim");
 
index db3ae16..62e40bd 100644 (file)
@@ -7,8 +7,8 @@
     }
 
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         v = document.getElementsByName("victim");
 
index d517e5f..e1c57a8 100644 (file)
@@ -14,8 +14,8 @@ function gc()
 
 function runTest()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     var validity = document.getElementById("control").validity;
     document.body.removeChild(document.getElementById("control"));
     gc();
index e369c54..4dad439 100644 (file)
@@ -7,8 +7,8 @@
     }
 
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         v = document.getElementsByName("victim");
 
index 01c5d20..5dd5ce7 100644 (file)
@@ -7,8 +7,8 @@
     }
 
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         v = document.getElementsByName("victim");
 
index 275d89d..0df4473 100644 (file)
@@ -7,8 +7,8 @@
     }
 
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         v = document.getElementsByName("victim");
 
index fed24d6..238dacb 100644 (file)
@@ -7,8 +7,8 @@
     }
 
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         v = document.getElementsByName("victim");
 
index ed905a5..e749efe 100644 (file)
@@ -7,8 +7,8 @@
     }
 
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         v = document.getElementsByName("victim");
 
index 21d70f4..b39b90c 100644 (file)
@@ -17,8 +17,8 @@ function pressKey(key)
 }
 function test()
 {
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
 
         for (i = 1; i <= 9; i++)
             pressKey(i.toString());
index 9ae4fab..f7cbd35 100644 (file)
@@ -10,8 +10,8 @@
             }
             
             function runTest() {
-                if (window.layoutTestController)
-                    layoutTestController.dumpAsText();
+                if (window.testRunner)
+                    testRunner.dumpAsText();
                     
                 var button = document.getElementById('button');
                 var input = document.getElementById('input');            
index 633903c..57df475 100644 (file)
@@ -8,8 +8,8 @@ Cannot change SELECT to a dynamically created option.</p>
 </form>
 <div id=res></div>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     function log(msg)
     {
index ea5d7dd..c4d4ea5 100644 (file)
@@ -1,8 +1,8 @@
 <script>
 
 function test() {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var inputs = "";
     for (i = 0; i != 500; ++i)
index 7fa95f2..e45735f 100644 (file)
@@ -6,8 +6,8 @@
 </form>
 <div id=res></div>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     function log(msg)
     {
index 68c183f..eb82972 100644 (file)
@@ -38,8 +38,8 @@ Cannot change SELECT to a dynamically created option.</p>
         }
     }
     
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var results = document.createElement('div');
     results.id = "res";
index 2dab6fa..215bda4 100644 (file)
@@ -7,8 +7,8 @@
     }
 
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
       
         var a = document.getElementsByTagName("input");
         for (i = 0; i < a.length; i++)
index 79c7771..a20e55a 100644 (file)
@@ -9,8 +9,8 @@ input:focus { background: green; }
 <input type="text" id="test" autofocus>
 <div id="result">FAIL</div>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.dumpAsText();
 }
 
 var test = document.getElementById("test");
index e8497c7..3b94e88 100644 (file)
@@ -11,8 +11,8 @@
     }
 
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
             
         if (document.activeElement == document.getElementsByTagName("input")[0])
             log("SUCCESS");
index 93c600f..fa70b57 100644 (file)
@@ -11,8 +11,8 @@
     }
 
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
             
         if (document.activeElement == document.getElementsByTagName("input")[0])
             log("SUCCESS");
index 7ba259a..b5d213f 100644 (file)
@@ -12,8 +12,8 @@
     }
 
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         if (document.activeElement == document.getElementsByTagName("input")[0] &&
             document.body.scrollTop != 0)
index b403d63..4a3dfc4 100644 (file)
@@ -11,9 +11,9 @@
     }
 
     function test() {
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.waitUntilDone();
         }
         var input = document.getElementsByTagName('input')[0];
         var p = document.getElementsByTagName('p')[0];
@@ -30,8 +30,8 @@
         else
             log("FAILURE");
 
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 
 </script>
index 66421da..5098c0a 100644 (file)
@@ -17,9 +17,9 @@
         input.autofocus = true;
         p.appendChild(input);
 
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
-            layoutTestController.waitUntilDone();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
+            testRunner.waitUntilDone();
         }
         
         setTimeout(check, 0);
@@ -31,8 +31,8 @@
         else
             log("FAILURE");
 
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 </script>
 </head>
index 955dec6..3da3934 100644 (file)
@@ -11,8 +11,8 @@
     }
 
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         if (document.activeElement == document.getElementById("test"))
             log("SUCCESS");
index c60c9ae..1125b5b 100644 (file)
@@ -17,8 +17,8 @@
     }
     
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         if (gotBlur)
             log("SUCCESS");
index d42982c..2afe603 100644 (file)
@@ -13,8 +13,8 @@
     function test() {
         document.getElementsByTagName('input')[0].focus();
         
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
 
         if (document.activeElement == document.getElementsByTagName('input')[0])
             log("SUCCESS");
index 3f03978..34c8ca7 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function log(msg) {
     var console = document.getElementById("console");
index 6acdb72..08f2512 100644 (file)
@@ -2,8 +2,8 @@
 <script>
 function test() {
     document.getElementById("thebutton").click(); 
-    if (window.layoutTestController) 
-        layoutTestController.dumpAsText();
+    if (window.testRunner) 
+        testRunner.dumpAsText();
 }
 
 function clicky() {
index 115ca63..115c859 100644 (file)
@@ -4,8 +4,8 @@
     function test() {
         var bt = document.getElementById('bt');
         bt.focus();
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
             eventSender.keyDown("\r", []);
         }
     }
index 67ede9e..8577b49 100644 (file)
@@ -3,8 +3,8 @@
 
 <script src="../js/resources/js-test-pre.js"></script>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function testPassed(msg)
 {
index 98ddbe2..4a41a8b 100644 (file)
@@ -4,8 +4,8 @@
     function test() {
         var bt = document.getElementById('bt');
         bt.focus();
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
             eventSender.keyDown(' ');
         }
     }
index 4368a49..cc75ab6 100644 (file)
 
                 document.getElementById("result").innerText = result;
 
-                if (window.layoutTestController)
-                    layoutTestController.notifyDone();
+                if (window.testRunner)
+                    testRunner.notifyDone();
                 return;
             }
 
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
 
             beenHere.value = "FAIL";
index 8bb4e85..afa58c0 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-     layoutTestController.dumpEditingCallbacks();
+if (window.testRunner)
+     testRunner.dumpEditingCallbacks();
 
 function runTest()
 {
index 4925401..03d9fdd 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function gc() {
     if (window.GCController)
index 09f1475..039d4fa 100644 (file)
@@ -5,11 +5,11 @@
 <script>
 var checkbox = document.getElementsByTagName('input')[0];
 checkbox.offsetTop;
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 setTimeout(function() {
     checkbox.checked = true;
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }, 0);
 </script>
index 23df042..bb61320 100644 (file)
@@ -7,8 +7,8 @@ The cloned input element should retain the edited value and you should see PASSE
 <div><input id="test" title="1" type="text" value="FAIL"></div>
 <script type="text/javascript">
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 var test = document.getElementById('test');
 test.value = 'PASS';
index 3d677be..0f8d502 100644 (file)
@@ -16,8 +16,8 @@ var succeed = true;
 
 function runTest()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     // The 2nd parameter 22 is the last character in textarea with id "textarea_rtl".
     testCaretRect("textarea_rtl", 22, "rtl", "horizontal");
index 01a109b..cd7c822 100644 (file)
@@ -9,8 +9,8 @@
             }
             function test()
             {
-                if (window.layoutTestController) {
-                    layoutTestController.dumpAsText();
+                if (window.testRunner) {
+                    testRunner.dumpAsText();
                 }
 
                 var elt = document.getElementById("text");
index f5d097e..2cee960 100644 (file)
@@ -1,8 +1,8 @@
 <html>
   <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitUntilDone();
     }
 
     function gc() {
@@ -18,8 +18,8 @@
         form.id = 'foo';
         document.body.appendChild(form);
         document.body.innerHTML += 'PASS';
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 
     function test() {
index 423cc30..bd6195b 100644 (file)
@@ -6,8 +6,8 @@
 <iframe></iframe>
 <textarea id="target">Test did not run</textarea>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var target = document.getElementById("target");
     target.offsetTop;
index 840c5d4..710362f 100644 (file)
@@ -25,8 +25,8 @@ document.execCommand('InsertText', false, 'PASS');
 if (test.value != 'PASS')
     test.value = 'FAIL';
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.dumpAsText();
     test.parentNode.parentNode.style.display = 'none';
     document.writeln(test.value);
 }
index b4b4d77..05ed92c 100644 (file)
@@ -6,8 +6,8 @@
 <div id="log">FAIL</div>
 <script>
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function clickOn(element)
 {
index e40bab1..86ef56a 100644 (file)
@@ -2,9 +2,9 @@
 <head>
 <script>
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 var logDiv;
@@ -42,7 +42,7 @@ function runTest()
         eventSender.mouseUp();
         eventSender.keyDown('a');
         log('The inner text element of the search input should never be 0-height', input.value == 'a');
-        layoutTestController.notifyDone();
+        testRunner.notifyDone();
     }, 0);
 }
 
index 52b2d0c..a525d87 100644 (file)
@@ -2,8 +2,8 @@
 <head>
     <script>
     function runTest() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
         else {
             alert('This test does not work in Safari.');
             return;
index e936d24..3fc4f67 100644 (file)
@@ -5,8 +5,8 @@
 
  <p>There should not be any text below this sentence.</p>
   <script>
-  if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+  if (window.testRunner)
+    testRunner.dumpAsText();
   document.write() 
   </script>
  
index 3d458f7..e771379 100644 (file)
@@ -4,9 +4,9 @@
 function test() {
   if (document.URL.indexOf('?') == -1) {
 
-    if (window.layoutTestController) {
-      layoutTestController.dumpAsText();
-      layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+      testRunner.dumpAsText();
+      testRunner.waitUntilDone();
     }
     
     document.write("<html><body>" +
@@ -16,8 +16,8 @@ function test() {
     "pt></body></html>");
   } else {
     document.getElementById("result").innerHTML="SUCCESS";
-    if (window.layoutTestController)
-      layoutTestController.notifyDone();
+    if (window.testRunner)
+      testRunner.notifyDone();
   }
   
 }
index 3862982..aa5d022 100644 (file)
@@ -2,8 +2,8 @@
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
 <head>
 <script type="text/javascript">
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 <title>
 </title>
index a882cbd..1b631ad 100644 (file)
@@ -13,8 +13,8 @@
 
             function test()
             {
-                if (window.layoutTestController)
-                    layoutTestController.dumpAsText();
+                if (window.testRunner)
+                    testRunner.dumpAsText();
 
                 testElement(document.getElementById("textarea"));
                 testElement(document.getElementById("input"));
index b856ade..1625eb1 100644 (file)
@@ -11,13 +11,13 @@ function runTest() {
 
     input.select();
 
-    if (!window.layoutTestController)
+    if (!window.testRunner)
         return;
     if (!window.eventSender)
         return;
 
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
     
     eventSender.mouseMoveTo(x, y);
     eventSender.mouseDown();
@@ -31,7 +31,7 @@ function runTest() {
     else
         document.getElementById("result").innerText = "Test failed! Input value was " + input.value + " and text area value was " + textarea.value + ".";
 
-    layoutTestController.notifyDone();
+    testRunner.notifyDone();
 }
 
 </script>
index 13c59c2..aabdf4a 100644 (file)
@@ -11,13 +11,13 @@ function runTest() {
 
     textarea.select();
 
-    if (!window.layoutTestController)
+    if (!window.testRunner)
         return;
     if (!window.eventSender)
         return;
 
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 
     eventSender.mouseMoveTo(tx, ty);
     eventSender.mouseDown();
@@ -31,7 +31,7 @@ function runTest() {
     else
         document.getElementById("result").innerText = "Test failed! Input value was " + input.value + " and text area value was " + textarea.value + ".";
 
-    layoutTestController.notifyDone();
+    testRunner.notifyDone();
 }
 
 </script>
index 8ebe048..4bf7eac 100644 (file)
@@ -3,8 +3,8 @@
 <script>
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("putElementHere").innerHTML = "<input type='text' name='testElement' value='test element contents'>";
     document.testForm.testElement.focus();
     document.getElementById("result").innerText = "Form element was found.";
index b349f49..ca83fe7 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <script>
 function test() {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var f = window.document.forms[0];
 
index 07f646c..b588b51 100644 (file)
@@ -11,9 +11,9 @@ Empty forms are submitted incorrectly.</p>
 </form>
 
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (document.URL.indexOf('?') == -1) {
@@ -27,8 +27,8 @@ if (document.URL.indexOf('?') == -1) {
     else
         document.write("<p>Failure</p>");
     
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 </script>
index 57b897a..3f48dfd 100644 (file)
@@ -4,9 +4,9 @@ the test succeeded.<p>
 <textarea id="ta" disabled="disabled"></textarea>
 
 <script type="text/javascript">
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 setTimeout(function() {
@@ -20,7 +20,7 @@ setTimeout(function() {
         else
             document.write("<pre>FAIL, result was '" + result + "'.</pre>");
     }
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }, 0);
 </script>
index d7cc3e7..85d1dd6 100644 (file)
@@ -22,8 +22,8 @@ function logEvent(event)
 
 function loaded()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var keys = ['\r', ' '];
     var keyNames = ['Enter', 'U+0020'];
index 924de25..9847ff9 100644 (file)
@@ -6,9 +6,9 @@
 <iframe name="tg"></iframe>
 <div id="result"></div>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 window.onload = function() {
@@ -19,8 +19,8 @@ window.onload = function() {
             document.getElementById('result').textContent = "PASS";
         else
             document.getElementById('result').textContent = "FAIL: actual=" + actual_search;
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }, false);
 
     document.getElementsByTagName('form')[0].submit();
index 37b2bf6..77a81a9 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 Test passes if it does not crash.
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function onloadHandler()
 {
index 79765ee..a41afc1 100644 (file)
@@ -9,8 +9,8 @@
 <input type="file" id="fileUpload">
 <div id=console></div>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 document.getElementById('fileUpload').disabled = true;
 document.getElementById('console').innerText = 'PASS if this text is visible.';
 </script>
index 46ae3fe..89a80d9 100644 (file)
@@ -12,7 +12,7 @@ var changeDispatched;
 
 description("This tests the condition that triggers a 'change' event on file input forms.");
 
-if (window.layoutTestController) {
+if (window.testRunner) {
     var singleFileInput = document.getElementById("singleFile");
     var multipleFilesInput = document.getElementById("multipleFiles");
 
index 5b9ea13..2163898 100644 (file)
@@ -8,8 +8,8 @@ To manually test this, click on the black region below.</p>
 </div>
 <script>
 
-if (window.layoutTestController && window.eventSender) {
-    layoutTestController.dumpAsText();
+if (window.testRunner && window.eventSender) {
+    testRunner.dumpAsText();
 
     eventSender.mouseMoveTo(180, 50);
     eventSender.leapForward(200);
index 25f69e7..44d3b2b 100644 (file)
@@ -2,8 +2,8 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText(true); // Dump pixel test result.
+if (window.testRunner)
+    testRunner.dumpAsText(true); // Dump pixel test result.
 </script>
 </head>
 <body>
index a15edfb..9d7cca1 100644 (file)
@@ -15,7 +15,7 @@ To run this test manually, choose a file and then click the reset button.
 If the label next to the file chooser button changes to "No file chosen", the test passes.
 </p>
 <script>
-if (layoutTestController && eventSender) {
+if (testRunner && eventSender) {
     var file = document.getElementById("file");
     var reset = document.getElementById("reset");
     dragFilesOntoElement(file, ["foo.txt"]);
index 83e59cb..aa54a49 100644 (file)
@@ -22,8 +22,8 @@ function startOrVerify()
             log('PASS: ' + query);
         else
             log('FAIL: ' + query);
-        layoutTestController.dumpAsText();
-        layoutTestController.notifyDone();
+        testRunner.dumpAsText();
+        testRunner.notifyDone();
     } else {
         // Start the test
         eventSender.beginDragWithFiles(['get-file-upload.html']);
@@ -34,7 +34,7 @@ function startOrVerify()
 }
 
 if (window.eventSender) {
-    layoutTestController.waitUntilDone();
+    testRunner.waitUntilDone();
     window.onload = startOrVerify;
 }
 </script>
index 683ded3..7f7af0d 100644 (file)
@@ -52,8 +52,8 @@ function onInputFileChange(currentFileList, lastTest)
             log("PASS: name is " + files[i].name + "; path is " + files[i].webkitRelativePath);
     }
 
-   if (lastTest && layoutTestController)
-        layoutTestController.notifyDone();
+   if (lastTest && testRunner)
+        testRunner.notifyDone();
    else
         log("");
 }
@@ -68,9 +68,9 @@ function doTest(fileList, last)
     eventSender.mouseUp();
 }
 
-if (layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (window.eventSender) {
index 961c98f..1df0f1b 100644 (file)
@@ -34,8 +34,8 @@ var expectedFileAttributes = {
 var droppedEntries, verifyingEntry, returnedMetadata, returnedEntries;
 
 var jsTestIsAsync = true;
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
     doTest(0);
 }
 
index 28c908f..bc42986 100644 (file)
@@ -10,7 +10,7 @@
 <p>This tests the label of a file chooser button.</p>
 <div id="console"></div>
 <script>
-if (window.layoutTestController) {
+if (window.testRunner) {
     var file = document.getElementById('single_file');
     var button = internals.shadowRoot(file).firstChild;
     var label = button.getAttribute('value');
index 27cdec2..10341aa 100644 (file)
@@ -2,9 +2,9 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 const INITIAL= 0;
 const OPEN_FILE_WITHOUT_GESTURE = 1;
@@ -38,12 +38,12 @@ function openFileDialogWithoutUserGesture() {
         clickFired = true;
         testStage = OPEN_FILE_WITHOUT_GESTURE;
         // Waits for opening the file dialog and checks whether the click event can still be received by document.
-        setTimeout("checkResult(function() { layoutTestController.notifyDone(); })", 500);
+        setTimeout("checkResult(function() { testRunner.notifyDone(); })", 500);
     }, 1);
 }
 
 function startTest() {
-    if (!window.layoutTestController)
+    if (!window.testRunner)
         return;
     document.body.addEventListener("click", function() { window.clickReceived = true }, true);
     setTimeout(openFileDialogWithoutUserGesture, 1);
index 24de2b3..d11ea8e 100644 (file)
@@ -23,12 +23,12 @@ function startTest()
     // Attach a renderer again.
     input.style.display = 'inline-block';
 
-    layoutTestController.notifyDone();
+    testRunner.notifyDone();
 }
 
 if (window.eventSender) {
     window.onload = startTest;
-    layoutTestController.waitUntilDone();
+    testRunner.waitUntilDone();
 }
 </script>
 </body>
index 760c7b8..0d5e54c 100644 (file)
@@ -23,8 +23,8 @@ function onInputFileChange()
 
     doStringTest();
 
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 function handleDragOver(e) {
@@ -71,9 +71,9 @@ function doStringTest()
         log("FAIL: writing empty string to value did not clear files");
 }
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (window.eventSender) {
index a6e8546..f5da4f0 100644 (file)
@@ -33,7 +33,7 @@ description("Test that the state of a file chooser is recovered when navigating
 // - Check the form data.
 
 function test() {
-    if (!window.layoutTestController)
+    if (!window.testRunner)
         return;
     if (document.location.search == "" && window.name == "") {
         // Start of the test. Set the values to the input elements.
index cfcd33e..4b124ef 100644 (file)
@@ -42,8 +42,8 @@ function runTest(name, shouldChangeSelection) {
     document.writeln();
 }
 
-if (window.layoutTestController && window.eventSender) {
-    layoutTestController.dumpAsText();
+if (window.testRunner && window.eventSender) {
+    testRunner.dumpAsText();
 
     runTest('input', false);
     runTest('input', true);
index 78f8c77..6014026 100644 (file)
@@ -8,8 +8,8 @@ function log(str)
 
 function runTest()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     if (!window.eventSender)
         return;
index 3a91515..dc28b49 100644 (file)
@@ -4,15 +4,15 @@
 <script>
 function runTest()
 {
-    if (!window.layoutTestController)
+    if (!window.testRunner)
         return;
 
     var accessKeyModifiers = ["altKey"];
     if (navigator.userAgent.search(/\bMac OS X\b/) != -1)
         accessKeyModifiers = ["ctrlKey", "altKey"];
 
-    layoutTestController.dumpEditingCallbacks();
-    layoutTestController.dumpAsText();
+    testRunner.dumpEditingCallbacks();
+    testRunner.dumpAsText();
 
     shouldBe("first.selectionStart", "12");
     shouldBe("first.selectionEnd", "19");
index 4cf9d1f..35cbe8f 100644 (file)
@@ -4,15 +4,15 @@
 <script>
 function runTest()
 {
-    if (!window.layoutTestController)
+    if (!window.testRunner)
         return;
 
     var accessKeyModifiers = ["altKey"];
     if (navigator.userAgent.search(/\bMac OS X\b/) != -1)
         accessKeyModifiers = ["ctrlKey", "altKey"];
 
-    layoutTestController.dumpEditingCallbacks();
-    layoutTestController.dumpAsText();
+    testRunner.dumpEditingCallbacks();
+    testRunner.dumpAsText();
 
     shouldBe("first.selectionStart", "11");
     shouldBe("first.selectionEnd", "18");
index 97b99c8..7264322 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <link rel=stylesheet href="data:text/css,bogus{}">
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 <body>
 Test that focus() sets input focus correctly even when there are pending stylesheet loads.<br>
index 0d6d952..e491dab 100644 (file)
@@ -15,7 +15,7 @@ output, meter, progress {
 description('This test ensures that &lt;output&gt;, &lt;meter&gt; and &lt;progress&gt; are not focused.');
 
 function moveFocus(element) {
-    if (window.layoutTestController)
+    if (window.testRunner)
         eventSender.keyDown('\t');
     else
         element.focus();
index c777fd5..79cdc15 100644 (file)
@@ -9,8 +9,8 @@ function log(message)
 }
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     document.getElementById("1").focus();
     document.getElementById("2").focus();
index 7664654..81ef694 100644 (file)
@@ -6,8 +6,8 @@
 
 <script>
 
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 
 function log(s)
 {
index ea5e51b..3141afd 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <body>
 <script>
- if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+ if (window.testRunner)
+    testRunner.dumpAsText();
 
 function test(ul) {
 ul.document.getElementById('sourceViewDiv').innerHTML=' This test: PASSED!'
index 80aae53..9418632 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (!window.gc) {
@@ -31,8 +31,8 @@ function delay() {
     var form = document.createElement('form');
     form.setAttribute('id', 'form2');
     document.body.appendChild(form);
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 </script>
 </head>
index 2030306..39d310a 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 function gc() {
@@ -34,8 +34,8 @@ function delay()
     form.setAttribute('id', 'form2');
     document.body.appendChild(form);
     location.reload();
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 </script>
 </head>
index 033ffff..d9fc086 100644 (file)
@@ -1,7 +1,7 @@
 <body>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 This test passes if it doesn't crash.  Note: You might need to reload this test
 many times (or run the test under valgrind / ASAN) to see a crash.
index 7523b43..37629ea 100644 (file)
@@ -9,8 +9,8 @@
 <script>
 description("This test checks a form element can handle elements of which form attribute points the form element even if elements are outside of the form.");
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 
 var container = document.createElement('div');
 document.body.appendChild(container);
@@ -44,8 +44,8 @@ if (query.indexOf('submitted=true') == -1) {
     shouldBeEqualToString('pairs[0]', 'key1=value1');
     shouldBeEqualToString('pairs[1]', 'key2=value2');
     shouldBeEqualToString('pairs[2]', 'submitted=true');
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 </script>
 <script src="../../fast/js/resources/js-test-post.js"></script>
index 7b4a24a..735067c 100644 (file)
@@ -1,8 +1,8 @@
 <body onload="runTest()">
 <script>
 function runTest() {
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
+if (window.testRunner) {
+    testRunner.dumpAsText();
 }
 var form = document.createElement('form');
 var input = document.createElement('input');
index d578698..0a513f1 100644 (file)
@@ -1,7 +1,7 @@
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 if (window.eventSender) {
     // Repeat to increase chance of crash.
@@ -10,7 +10,7 @@ if (window.eventSender) {
             eventSender.mouseMoveTo(75,75);
         }, 0);
     }
-    setTimeout(function() { if (window.layoutTestController) { layoutTestController.notifyDone(); } }, 0);
+    setTimeout(function() { if (window.testRunner) { testRunner.notifyDone(); } }, 0);
 }
 </script>
 Generated by cluster-fuzz. This test passes if it doesn't crash.
index ba7a8ad..3badbb0 100644 (file)
@@ -8,9 +8,9 @@
  <input type=hidden name=q value="&#1105;&#66560;&#119083;çc"><br>
 </form>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (document.URL.substring(0, 4) == "file") {
@@ -25,8 +25,8 @@ if (document.URL.substring(0, 4) == "file") {
         else
             document.write("<p>Failure</p>");
         
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 
 } else {
index 2a1f1e0..0bd974d 100644 (file)
@@ -11,9 +11,9 @@ REGRESSION: Reproducible crash at Wikipedia</p>
  <input type=hidden name=q value="&#x65;&#x301;"><br>
 </form>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (document.URL.substring(0, 4) == "file") {
@@ -28,8 +28,8 @@ if (document.URL.substring(0, 4) == "file") {
         <!-- no crash == success -->
         document.write("<p>SUCCESS</p>");
         
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 
 } else {
index 92133cd..4037581 100644 (file)
@@ -8,9 +8,9 @@
  <input type=hidden name=q value="&#1105;&#66560;&#119083;çc"><br>
 </form>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (document.URL.substring(0, 4) == "file") {
@@ -25,8 +25,8 @@ if (document.URL.substring(0, 4) == "file") {
         else
             document.write("<p>Failure, query is " + document.URL.substring(document.URL.indexOf('?')+1, document.URL.length) + "</p>");
         
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 
 } else {
index 8005ae6..a7ad7e4 100644 (file)
@@ -9,9 +9,9 @@
                         <input type="submit" value="press me">
                 </form>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (document.URL.substring(0, 4) == "file") {
@@ -27,8 +27,8 @@ if (document.URL.substring(0, 4) == "file") {
         else
             document.write("<p>Failure</p>");
 
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 
 } else {
index d66fbf0..8758392 100644 (file)
@@ -9,9 +9,9 @@
                         <input type="submit" value="press me">
                 </form>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (document.URL.substring(0, 4) == "file") {
@@ -27,8 +27,8 @@ if (document.URL.substring(0, 4) == "file") {
         else
             document.write("<p>Failure</p>");
 
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 
 } else {
index 02d78d7..abcd177 100644 (file)
@@ -9,9 +9,9 @@
                         <input type="submit" value="press me">
                 </form>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (document.URL.substring(0, 4) == "file") {
@@ -27,8 +27,8 @@ if (document.URL.substring(0, 4) == "file") {
         else
             document.write("<p>Failure</p>");
 
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 
 } else {
index c46e366..24cc4af 100644 (file)
@@ -10,9 +10,9 @@
     <input type="submit" value="press me">
 </form>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (document.URL.substring(0, 4) == "file") {
@@ -29,8 +29,8 @@ if (document.URL.substring(0, 4) == "file") {
         else
             document.write("<p>Failure: (" + document.URL + ")</p>");
 
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 
 } else {
index 819bf26..0b17fac 100644 (file)
@@ -9,9 +9,9 @@
                         <input type="submit" value="press me">
                 </form>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 if (document.URL.substring(0, 4) == "file") {
@@ -27,8 +27,8 @@ if (document.URL.substring(0, 4) == "file") {
         else
             document.write("<p>Failure</p>");
 
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 
 } else {
index 5947a2f..c0d6b8d 100644 (file)
@@ -4,9 +4,9 @@ Test passes if it does not crash.
 <input id="submit" type="submit" />
 </form>
 <script>
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 textNode = document.createTextNode("x");
@@ -16,8 +16,8 @@ runTest = function() {
     event = document.createEvent("MouseEvent");
     event.initEvent("click");
     textNode.dispatchEvent(event);
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 setTimeout(runTest, 0);
index 9204971..fd39fb2 100644 (file)
@@ -12,8 +12,8 @@
 </form>
 <script>
 description("Test for the formmethod attribute in button tags.");
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
 }
 
 var button = document.getElementById('button');
@@ -27,8 +27,8 @@ if (document.URL.substring(0, 4) == "file") {
         else
             testFailed('The formmethod attribute was not used');
 
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 }
 </script>
index 5e022da..38584b3 100644 (file)
@@ -12,8 +12,8 @@
 </form>
 <script>
 description("Test for the formmethod attribute in input tags.");
-if (window.layoutTestController) {
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.waitUntilDone();
 }
 
 var button = document.getElementById('button');
@@ -27,8 +27,8 @@ if (document.URL.substring(0, 4) == "file") {
         else
             testFailed('The formmethod attribute was not used');
 
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     }
 }
 </script>
index 4b889cd..43ae590 100644 (file)
@@ -12,9 +12,9 @@ description("Test for the formtarget attribute in a button tag.");
 
 function runTest()
 {
-    if (window.layoutTestController) {
-        layoutTestController.setAllowUniversalAccessFromFileURLs(true);
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.setAllowUniversalAccessFromFileURLs(true);
+        testRunner.waitUntilDone();
     }
 
     // Not dumping as text since the DumpRenderTree does not dump the text content of child frames.                
@@ -28,8 +28,8 @@ function passFrameLoaded()
         return;
     testPassed("The formtarget attribute was successfully used.");
     isSuccessfullyParsed();
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 function failFrameLoaded()
@@ -38,8 +38,8 @@ function failFrameLoaded()
         return;
     testFailed("The formtarget attribute was not used.");
     isSuccessfullyParsed();
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 </script>
 <iframe src="about:blank" id="pass" name="passFrame" onload="passFrameLoaded()"></iframe>
index ff1bced..23987de 100644 (file)
@@ -12,9 +12,9 @@ description("Test for the formtarget attribute in an input tag.");
 
 function runTest()
 {
-    if (window.layoutTestController) {
-        layoutTestController.setAllowUniversalAccessFromFileURLs(true);
-        layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        testRunner.setAllowUniversalAccessFromFileURLs(true);
+        testRunner.waitUntilDone();
     }
 
     // Not dumping as text since the DumpRenderTree does not dump the text content of child frames.                
@@ -28,8 +28,8 @@ function passFrameLoaded()
         return;
     testPassed("The formtarget attribute was successfully used.");
     isSuccessfullyParsed();
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 function failFrameLoaded()
@@ -38,8 +38,8 @@ function failFrameLoaded()
         return;
     testFailed("The formtarget attribute was not used.");
     isSuccessfullyParsed();
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 </script>
 <iframe src="about:blank" id="pass" name="passFrame" onload="passFrameLoaded()"></iframe>
index 2da9f0a..609224d 100644 (file)
@@ -5,9 +5,9 @@
     <script>
 
 function run() {
-    if (window.layoutTestController) {
-        window.layoutTestController.dumpAsText();
-        window.layoutTestController.waitUntilDone();
+    if (window.testRunner) {
+        window.testRunner.dumpAsText();
+        window.testRunner.waitUntilDone();
     }
 
     description('Submitting a GET form to &lt;about:blank&gt; should redirect the browser to &lt;about:blank?&gt;.');
@@ -27,8 +27,8 @@ function onFrameLoad()
 
     shouldBe('iframe.contentDocument.URL', '"about:blank?"');
     isSuccessfullyParsed();
-    if (window.layoutTestController)
-        window.layoutTestController.notifyDone();
+    if (window.testRunner)
+        window.testRunner.notifyDone();
 }
     </script>
   </head>
index b18b8ae..3e9fb19 100644 (file)
@@ -1,7 +1,7 @@
 <head>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 </script>
 
 <style>
index 7918ad8..aeac2f6 100644 (file)
@@ -1,6 +1,6 @@
 <script>
-if (window.layoutTestController)
-    layoutTestController.display();
+if (window.testRunner)
+    testRunner.display();
 </script>
 This tests that the whole listbox control is hidden when visibility is set to hidden.
 <br>
index 612da78..af3286f 100644 (file)
@@ -36,9 +36,9 @@ var allTests = [
     [ "Multiple text inputs with a disabled button", "!text,text,-button", "n"]
 ];
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
 }
 
 var results = {
@@ -74,8 +74,8 @@ function runNextTest()
     }
     document.getElementById('arena').textContent = '';
     results.publish();
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 function buildAndTestForm(arena, inputs, description)
index 4dfbf93..48d805c 100644 (file)
@@ -1,8 +1,8 @@
 <html>
 <head>
        <script>
-           if (window.layoutTestController) {
-               layoutTestController.dumpAsText();
+           if (window.testRunner) {
+               testRunner.dumpAsText();
            }
        </script>
 </head>
index 7bc9c99..9b13dce 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <script>
 function showElement(x, y) {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
         
     var result = document.getElementById('res');
     var myElement = document.elementFromPoint(x, y);
index e30a448..8f03f32 100644 (file)
@@ -3,7 +3,7 @@
 <script>
 function test()
 {    
-    if (window.layoutTestController) {
+    if (window.testRunner) {
         eventSender.mouseMoveTo(25, 55);
         eventSender.mouseDown();
         eventSender.mouseUp();
index 61ae360..38150ac 100644 (file)
@@ -3,8 +3,8 @@
     <script src="../js/resources/js-test-pre.js"></script>
     <script>
     function test() {
-        if (window.layoutTestController) {
-            layoutTestController.dumpAsText();
+        if (window.testRunner) {
+            testRunner.dumpAsText();
         }
 
         var tf = document.getElementById('tf');
@@ -12,8 +12,8 @@
         var originalForeground = computedStyle.color;
         var originalBackground = computedStyle.backgroundColor;
 
-        if (window.layoutTestController) {
-            layoutTestController.setAutofilled(tf, true);
+        if (window.testRunner) {
+            testRunner.setAutofilled(tf, true);
         }
 
         // Both the foreground and background colors should change.
@@ -29,8 +29,8 @@
             return;
         }
 
-        if (window.layoutTestController) {
-            layoutTestController.setAutofilled(tf, false);
+        if (window.testRunner) {
+            testRunner.setAutofilled(tf, false);
         }
 
         // Colors should be restored.
index 956e9d7..ee75a82 100644 (file)
@@ -6,8 +6,8 @@ function test()
 {
     document.getElementById('sp').focus();
     
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
     }
     
     document.execCommand("InsertText", false, 'Test');
index 6747460..579ef8d 100644 (file)
@@ -3,8 +3,8 @@
 <script src="../../editing/editing.js" language="JavaScript" type="text/JavaScript" ></script>
 <script>
 function test() {
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
     }
     document.getElementById('tf').setSelectionRange(5, 11);
     deleteCommand();
index 318731b..a4f4561 100644 (file)
@@ -1,8 +1,8 @@
 <html>
     <head>
         <script>
-            if (window.layoutTestController)
-                layoutTestController.dumpAsText();
+            if (window.testRunner)
+                testRunner.dumpAsText();
         </script>
     </head>
     <body>
index e855c41..bcbccdd 100644 (file)
@@ -7,8 +7,8 @@ input:first-letter {
 }
 </style>
 <script>
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 function test()
 {
     var target = document.getElementById("target");
@@ -20,7 +20,7 @@ function test()
         eventSender.keyDown("l");
         eventSender.keyDown("o");
         document.execCommand("selectAll"); // Does selectAll for aligning the @autofocus attribute on the expectation.
-        layoutTestController.notifyDone();
+        testRunner.notifyDone();
     }
 }
 </script>
index ce35426..dff6c82 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <script>
 function runTest() {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
         
     var result = document.getElementById('res');
     var input = document.getElementById('tf');
index 4736c05..c71a1b6 100644 (file)
@@ -13,8 +13,8 @@
 <div id="console"></div>
 <script>
 function notifyDone() {
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
 function failAndDone(message) {
@@ -41,8 +41,8 @@ function handleClick() {
     }
 }
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 
 var state = document.getElementById('state');
 var image = document.getElementById('image');
index 4470761..056bb4f 100644 (file)
@@ -7,8 +7,8 @@
         document.getElementById("log").appendChild(document.createTextNode(msg + "\n"));
     }
 
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var testString = "";
 
index e2231c2..e6d924b 100644 (file)
@@ -18,8 +18,8 @@
         
         function test()
         {
-            if (window.layoutTestController)
-                layoutTestController.dumpAsText();
+            if (window.testRunner)
+                testRunner.dumpAsText();
             
             var up1 = document.getElementById("up1");
             var up2 = document.getElementById("up2");
index c31c7e2..4536266 100644 (file)
@@ -7,8 +7,8 @@
 <p id="result"></p>
 <script>
     function test() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
         document.forms[0].action.value = "Passed";
         document.getElementById("result").innerText = "Test " + (document.forms[0].action.value ? document.forms[0].action.value : "Failed");
     }
index be5fb3e..6106ea4 100644 (file)
@@ -2,8 +2,8 @@
 <body>
 <script>
 // We don't care a render tree of this test.
-if (window.layoutTestController)
-    layoutTestController.dumpAsText(true);
+if (window.testRunner)
+    testRunner.dumpAsText(true);
 </script>
 <style>
 input {
index 5a447dc..bc8634c 100644 (file)
@@ -3,8 +3,8 @@
         <script>
             function test()
             {
-                if (window.layoutTestController) {
-                    layoutTestController.waitUntilDone();
+                if (window.testRunner) {
+                    testRunner.waitUntilDone();
                     setTimeout(autoscrollTestPart1, 0);
                 }
             }
@@ -27,8 +27,8 @@
                 if (window.eventSender)
                     eventSender.mouseUp();
                 log("ScrollLeft: " + document.getElementById('tf').scrollLeft);
-                if (window.layoutTestController)
-                    layoutTestController.notifyDone();
+                if (window.testRunner)
+                    testRunner.notifyDone();
             }
             function log(msg)
             {
index 7a9be65..b77e6c4 100644 (file)
@@ -2,7 +2,7 @@
 <head>
 <script>
 function runTest() {
-  window.layoutTestController.dumpAsText();
+  window.testRunner.dumpAsText();
 
   var input = document.getElementById('i');
   eventSender.mouseMoveTo(input.offsetLeft + input.offsetWidth / 2, input.offsetTop + input.offsetHeight / 2);
@@ -14,7 +14,7 @@ window.onload = function() {
   input.onfocus = function(e) {
     document.body.innerHTML = 'PASS';
   }
-  if (window.layoutTestController)
+  if (window.testRunner)
     runTest();
 }
 </script>
index fa398be..2cc00e0 100644 (file)
@@ -17,7 +17,7 @@ description("This tests if the value in a search input form is cleared and a 'se
             "To run (a part of) this test manually, type some text in the search form and then press the Escape key. " +
             "If the text is cleared, then the test passes.");
 
-if (window.layoutTestController && window.eventSender) {
+if (window.testRunner && window.eventSender) {
     var input = $("search");
     var enabled = false;
     var disabled = true;
index 299617f..2c60223 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <script>
 function test() {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     var tf = document.getElementById('tf');
     var x = tf.offsetLeft + tf.offsetWidth / 2;
     var y = tf.offsetTop + tf.offsetHeight / 2;
index 0b75874..4859ec9 100644 (file)
@@ -2,8 +2,8 @@
 <head>
 <script>
 function test() {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     var tf = document.getElementById('tf');
     tf.select();
     if (tf.selectionStart == 0 && tf.selectionEnd == 0) { // ;
index b5640b2..52d065b 100644 (file)
@@ -6,8 +6,8 @@ function log(msg) {
 }
     
 function test () {
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     var tf = document.getElementById('tf');
 
index 4c1352f..6ae0547 100644 (file)
@@ -7,8 +7,8 @@ JavaScript Form Validation issue on Banco do Brasil site.</p>
 </form>
 
 <script>
-  if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+  if (window.testRunner)
+    testRunner.dumpAsText();
 
   input = document.getElementsByTagName("input")[0];
   input.value = "1";
index 10a1c00..ff9f8c0 100644 (file)
@@ -2,8 +2,8 @@
 <p><input id="input" value="12345678"></input></p>
 <p>Content of input after pressing return is "<span id="result"></span>". It should be "12345678".</p>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 var input = document.getElementById("input");
 input.setSelectionRange(2, 6);
 var event = document.createEvent("KeyboardEvents");
index bc69f3d..457dc73 100644 (file)
@@ -2,8 +2,8 @@
 <head>
     <script>
     function runTest() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
         else {
             alert('This test does not work in Safari.');
             return;
index f22c642..b574547 100644 (file)
@@ -2,8 +2,8 @@
 <head>
     <script>
     function runTest() {
-        if (window.layoutTestController)
-            layoutTestController.dumpAsText();
+        if (window.testRunner)
+            testRunner.dumpAsText();
         else {
             alert('This test does not work in Safari.');
             return;
index 202208a..7bf6726 100644 (file)
@@ -7,7 +7,7 @@
 </p>
 <textarea id="target" style="height: 0"></textarea>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
     document.getElementById("target").focus();
 </script>
index e3cc2a9..f0c4a6f 100644 (file)
 <script>
 function check() {
     testPassed('Not crashed.');
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
-if (window.layoutTestController) {
-    layoutTestController.dumpAsText();
-    layoutTestController.waitUntilDone();
+if (window.testRunner) {
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
     setTimeout(check, 10);
     document.getElementsByTagName('input')[1].click();
 } else {
index 1f45054..b4077cb 100644 (file)
@@ -30,12 +30,12 @@ function startOrVerify() {
         testPassed('The form was not submitted.');
     }
     debug('TEST COMPLETE');
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 window.onload = startOrVerify;
 </script>
 </body>
index d633331..0f26e43 100644 (file)
@@ -20,8 +20,8 @@ function startOrVerify() {
         testPassed('The form should not be submitted.');
         shouldBeTrue('location.search.indexOf("i0=") != -1');
         debug('TEST COMPLETE');
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     } else {
         // HTMLFormElement::submit() skips validation. Use the submit button.
         document.getElementById('s').click();
@@ -29,8 +29,8 @@ function startOrVerify() {
     }
 }
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 window.onload = startOrVerify;
 </script>
 </body>
index 2c6786c..34704e4 100644 (file)
@@ -20,8 +20,8 @@ function startOrVerify() {
         testPassed('The form should not be submitted.');
         shouldBeTrue('location.search.indexOf("i0=") != -1');
         debug('TEST COMPLETE');
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     } else {
         // HTMLFormElement::submit() skips validation. Use the submit button.
         document.getElementById('s').click();
@@ -29,8 +29,8 @@ function startOrVerify() {
     }
 }
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 window.onload = startOrVerify;
 </script>
 </body>
index d02d52e..1878019 100644 (file)
@@ -30,12 +30,12 @@ function startOrVerify() {
         debug('TEST COMPLETE');
     }
 
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 window.onload = startOrVerify;
 </script>
 </body>
index 4061bb0..18fe48f 100644 (file)
@@ -26,8 +26,8 @@ function startOrVerify() {
     if (query.indexOf('submitted=true') != -1) {
         testPassed('The form was submitted.');
         debug('TEST COMPLETE');
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     } else {
         // HTMLFormElement::submit() skips validation. Use the submit button.
         document.getElementById('s').click();
@@ -36,8 +36,8 @@ function startOrVerify() {
     }
 }
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 window.onload = startOrVerify;
 </script>
 </body>
index 1f84daa..d3f730c 100644 (file)
@@ -20,8 +20,8 @@ function startOrVerify() {
         testPassed('The form should be submitted.');
         shouldBeTrue('location.search.indexOf("terms=on") != -1');
         debug('TEST COMPLETE');
-        if (window.layoutTestController)
-            layoutTestController.notifyDone();
+        if (window.testRunner)
+            testRunner.notifyDone();
     } else {
         document.getElementById('i0').checked = true;
         // HTMLFormElement::submit() skips validation. Use the submit button.
@@ -30,8 +30,8 @@ function startOrVerify() {
     }
 }
 
-if (window.layoutTestController)
-    layoutTestController.waitUntilDone();
+if (window.testRunner)
+    testRunner.waitUntilDone();
 window.onload = startOrVerify;
 </script>
 </body>
index bedf508..0153b76 100644 (file)
@@ -3,8 +3,8 @@
   <title>Test for Bug 41737. PASS unless crash.</title>
 </head>
 <script>
-if (window.layoutTestController)
-    layoutTestController.dumpAsText();
+if (window.testRunner)
+    testRunner.dumpAsText();
 </script>
 <body>
 <p>Test for Bug 41737. PASS unless crash.</p>
index fd4301a..8fea663 100644 (file)
@@ -9,8 +9,8 @@ function log(message)
 }
 function test()
 {
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
 
         if (navigator.userAgent.search(/\bMac OS X\b/) != -1)
             modifiers = ["ctrlKey", "altKey"];
index 278aaf6..a913f01 100644 (file)
@@ -7,8 +7,8 @@
     <legend id="target" style="display: none;">Legendary</legend>
 </fieldset>
 <script>
-    if (window.layoutTestController)
-        layoutTestController.dumpAsText();
+    if (window.testRunner)
+        testRunner.dumpAsText();
 
     document.body.offsetTop;
     display = getComputedStyle(document.getElementById("target")).display;
index 554c49c..885da54 100644 (file)
@@ -28,8 +28,8 @@ function clearList()
 
 function test()
 {
-    if (window.layoutTestController)
-        layoutTestController.waitUntilDone();
+    if (window.testRunner)
+        testRunner.waitUntilDone();
 
     populateList();
     document.getElementById("myList").selectedIndex = 19;
@@ -38,8 +38,8 @@ function test()
     document.body.offsetWidth; // Force a layout.
     populateList();
 
-    if (window.layoutTestController)
-        layoutTestController.notifyDone();
+    if (window.testRunner)
+        testRunner.notifyDone();
 }
 </script>
 </body>
index 480620d..f4b72c9 100644 (file)
@@ -11,8 +11,8 @@
     <option>aaaaaa</option>
     </select>
     <script>
-        if (window.layoutTestController)
-            layoutTestController.display();
+        if (window.testRunner)
+            testRunner.display();
     </script>
 </body>
 </html>
index f682073..34f7fc0 100644 (file)
@@ -18,9 +18,9 @@
             {
                 setup();
                 
-                if (window.layoutTestController) {
-                    layoutTestController.dumpAsText();
-                    layoutTestController.waitUntilDone();
+                if (window.testRunner) {
+                    testRunner.dumpAsText();
+                    testRunner.waitUntilDone();
                 }
 
                 checkSelection("0");
                 document.getElementById("sl1").blur();
                 checkSelection("4");
 
-                if (window.layoutTestController)
-                    layoutTestController.notifyDone();
+                if (window.testRunner)
+                    testRunner.notifyDone();
             }
             
             function mouseDownOnSelect(selId, index, shift, metaOrCtrl)
index 0953f3c..c1f6031 100644 (file)
@@ -3,9 +3,9 @@
         <script>
         function test()
         {
-            if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitUntilDone();
+            if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitUntilDone();
             }
 
             setTimeout(test2, 0);
@@ -27,8 +27,8 @@
             else
                 log("Test Failed.  scrollTop = " + scrollTop + " even though there is only one option in the listbox");
             
-            if (window.layoutTestController)
-                layoutTestController.notifyDone();
+            if (window.testRunner)
+                testRunner.notifyDone();
         }
         
         function log(msg)
index 29ed52b..87fdb1e 100644 (file)
@@ -19,8 +19,8 @@
 
                 sl.multiple = false;
                 
-                if (window.layoutTestController)
-                    layoutTestController.dumpAsText();
+                if (window.testRunner)
+                    testRunner.dumpAsText();
             }
             
             function log(msg) {
index 3b877e6..03907bc 100644 (file)
@@ -49,8 +49,8 @@ function log(str) {
     console.appendChild(li);
 }
 
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText();
+if (window.testRunner)
+    window.testRunner.dumpAsText();
 
 // Set the input focus to the <select> element.
 var node = document.getElementById("test");
index 0b2f02c..fff9235 100644 (file)
@@ -5,8 +5,8 @@
 </select>
 <div id="result">Cannot run interactively.</div>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
         var list = document.getElementById("list");
         list.focus();
         eventSender.keyDown("z");
index 4927d72..4e0ae27 100644 (file)
@@ -41,8 +41,8 @@ function log(str) {
     console.appendChild(li);
 }
 
-if (window.layoutTestController)
-    window.layoutTestController.dumpAsText();
+if (window.testRunner)
+    window.testRunner.dumpAsText();
 
 // Set the input focus to the <select> element.
 var node = document.getElementById("test");
index 0c6671d..a4f7194 100644 (file)
@@ -11,8 +11,8 @@
 </select>
 <div id="result">Cannot run interactively.</div>
 <script>
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
         var list = document.getElementById("list");
         list.focus();
         eventSender.keyDown("a");
index a0ce2f4..ce1f44c 100644 (file)
@@ -2,14 +2,14 @@
     <head>
         <script>
             function test() {
-                if (window.layoutTestController)
-                    layoutTestController.waitUntilDone();
+                if (window.testRunner)
+                    testRunner.waitUntilDone();
                 setTimeout("test2()", 100);
             }
             function test2() {
                 document.getElementById('sl').options[0] = new Option ( "This text should fit in the list box", "1" );
-                if (window.layoutTestController)
-                    layoutTestController.notifyDone();
+                if (window.testRunner)
+                    testRunner.notifyDone();
             }
         </script>
     </head>
index 9db9040..dbfa4ba 100644 (file)
@@ -4,9 +4,9 @@
         <title>action="mailto" GET method</title>
         <script>
             function test() {
-              if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitForPolicyDelegate();
+              if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitForPolicyDelegate();
                 document.getElementsByTagName("form")[0].submit();
               }
             }
index d2aec50..41155bc 100644 (file)
@@ -4,9 +4,9 @@
         <title>action="mailto" PUT method</title>
         <script>
             function test() {
-              if (window.layoutTestController) {
-                layoutTestController.dumpAsText();
-                layoutTestController.waitForPolicyDelegate();
+              if (window.testRunner) {
+                testRunner.dumpAsText();
+                testRunner.waitForPolicyDelegate();
                 document.getElementsByTagName("form")[0].submit();
               }
             }
index 36a790b..489fe21 100644 (file)
@@ -13,9 +13,9 @@ Line 2
 <script>
 function test()
 {
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitForPolicyDelegate();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitForPolicyDelegate();
     }
     document.getElementById("submit").click();
 }
index 9e4a4f8..15f8cee 100644 (file)
@@ -13,9 +13,9 @@ Line 2
 <script>
 function test()
 {
-    if (window.layoutTestController) {
-        layoutTestController.dumpAsText();
-        layoutTestController.waitForPolicyDelegate();
+    if (window.testRunner) {
+        testRunner.dumpAsText();
+        testRunner.waitForPolicyDelegate();
     }
     document.getElementById("submit").click();
 }