Change fast/f* files to use pre and post js files in LayoutTests/resources.
https://bugs.webkit.org/show_bug.cgi?id=120976.
Rubber stamped by Filip Pizlo.
* fast/files/blob-constructor.html:
* fast/files/file-list-test.html:
* fast/files/file-reader-event-listener.html:
* fast/files/file-reader-fffd.html:
* fast/files/not-enough-arguments.html:
* fast/files/url-null.html:
* fast/files/url-required-arguments.html:
* fast/files/xhr-response-blob.html:
* fast/filesystem/async-operations.html:
* fast/filesystem/directory-entry-to-uri.html:
* fast/filesystem/entry-points-missing-arguments.html:
* fast/filesystem/file-entry-to-uri.html:
* fast/filesystem/file-from-file-entry.html:
* fast/filesystem/file-metadata-after-write.html:
* fast/filesystem/file-writer-abort-continue.html:
* fast/filesystem/file-writer-abort-depth.html:
* fast/filesystem/file-writer-abort.html:
* fast/filesystem/file-writer-empty-blob.html:
* fast/filesystem/file-writer-events.html:
* fast/filesystem/file-writer-gc-blob.html:
* fast/filesystem/file-writer-truncate-extend.html:
* fast/filesystem/file-writer-write-overlapped.html:
* fast/filesystem/filesystem-missing-arguments.html:
* fast/filesystem/filesystem-reference.html:
* fast/filesystem/filesystem-unserializable.html:
* fast/filesystem/flags-passing.html:
* fast/filesystem/input-access-entries.html:
* fast/filesystem/not-enough-arguments.html:
* fast/filesystem/op-copy.html:
* fast/filesystem/op-get-entry.html:
* fast/filesystem/op-get-metadata.html:
* fast/filesystem/op-get-parent.html:
* fast/filesystem/op-move.html:
* fast/filesystem/op-read-directory.html:
* fast/filesystem/op-remove.html:
* fast/filesystem/op-restricted-chars.html:
* fast/filesystem/op-restricted-names.html:
* fast/filesystem/op-restricted-unicode.html:
* fast/filesystem/read-directory.html:
* fast/filesystem/resources/async-operations.js:
* fast/filesystem/resources/directory-entry-to-uri.js:
* fast/filesystem/resources/file-entry-to-uri-sync.js:
* fast/filesystem/resources/file-entry-to-uri.js:
* fast/filesystem/resources/file-from-file-entry-sync.js:
* fast/filesystem/resources/file-from-file-entry.js:
* fast/filesystem/resources/file-writer-abort-continue.js:
* fast/filesystem/resources/file-writer-abort-depth.js:
* fast/filesystem/resources/file-writer-abort.js:
* fast/filesystem/resources/file-writer-empty-blob.js:
* fast/filesystem/resources/file-writer-events.js:
* fast/filesystem/resources/file-writer-gc-blob.js:
* fast/filesystem/resources/file-writer-sync-truncate-extend.js:
* fast/filesystem/resources/file-writer-sync-write-overlapped.js:
* fast/filesystem/resources/file-writer-truncate-extend.js:
* fast/filesystem/resources/file-writer-write-overlapped.js:
* fast/filesystem/resources/shared-worker-stub.js:
* fast/filesystem/resources/simple-persistent-sync.js:
* fast/filesystem/resources/simple-persistent.js:
* fast/filesystem/resources/simple-readonly.js:
* fast/filesystem/resources/simple-required-arguments-getdirectory.js:
* fast/filesystem/resources/simple-required-arguments-getfile.js:
* fast/filesystem/resources/simple-required-arguments-getmetadata.js:
* fast/filesystem/resources/simple-required-arguments-remove.js:
* fast/filesystem/resources/simple-temporary-sync.js:
* fast/filesystem/resources/simple-temporary.js:
* fast/filesystem/resources/sync-operations.js:
* fast/filesystem/script-tests/TEMPLATE.html:
* fast/filesystem/simple-persistent.html:
* fast/filesystem/simple-readonly-file-object.html:
* fast/filesystem/simple-readonly.html:
* fast/filesystem/simple-required-arguments-getdirectory.html:
* fast/filesystem/simple-required-arguments-getfile.html:
* fast/filesystem/simple-required-arguments-getmetadata.html:
* fast/filesystem/simple-required-arguments-remove.html:
* fast/filesystem/simple-temporary.html:
* fast/filesystem/workers/async-operations.html:
* fast/filesystem/workers/file-entry-to-uri-sync.html:
* fast/filesystem/workers/file-from-file-entry-sync.html:
* fast/filesystem/workers/file-from-file-entry.html:
* fast/filesystem/workers/file-writer-empty-blob.html:
* fast/filesystem/workers/file-writer-events-shared-worker.html:
* fast/filesystem/workers/file-writer-events.html:
* fast/filesystem/workers/file-writer-gc-blob.html:
* fast/filesystem/workers/file-writer-sync-truncate-extend.html:
* fast/filesystem/workers/file-writer-sync-write-overlapped.html:
* fast/filesystem/workers/file-writer-truncate-extend.html:
* fast/filesystem/workers/file-writer-write-overlapped.html:
* fast/filesystem/workers/simple-persistent-sync.html:
* fast/filesystem/workers/simple-persistent.html:
* fast/filesystem/workers/simple-temporary-sync.html:
* fast/filesystem/workers/simple-temporary.html:
* fast/filesystem/workers/sync-operations.html:
* fast/filter-image/parse-filter-image.html:
* fast/flexbox/box-orient-button.html:
* fast/flexbox/child-flexing.html:
* fast/flexbox/line-clamp-link-after-ellipsis.html:
* fast/flexbox/repaint-scrollbar.html:
* fast/flexbox/vertical-box-form-controls.html:
* fast/forms/ValidityState-customError.html:
* fast/forms/ValidityState-patternMismatch-unsupported.html:
* fast/forms/ValidityState-patternMismatch.html:
* fast/forms/ValidityState-rangeOverflow.html:
* fast/forms/ValidityState-rangeUnderflow.html:
* fast/forms/ValidityState-stepMismatch.html:
* fast/forms/ValidityState-tooLong-input.html:
* fast/forms/ValidityState-tooLong-textarea.html:
* fast/forms/ValidityState-typeMismatch-email.html:
* fast/forms/ValidityState-typeMismatch-url.html:
* fast/forms/ValidityState-valueMissing-001.html:
* fast/forms/ValidityState-valueMissing-002.html:
* fast/forms/ValidityState-valueMissing-003.html:
* fast/forms/access-key-for-all-elements.html:
* fast/forms/autocomplete.html:
* fast/forms/autofocus-focus-only-once.html:
* fast/forms/autofocus-keygen.html:
* fast/forms/button-in-forms-collection.html:
* fast/forms/checkValidity-001.html:
* fast/forms/checkValidity-002.html:
* fast/forms/checkValidity-003.html:
* fast/forms/checkValidity-004.html:
* fast/forms/checkValidity-cancel.html:
* fast/forms/checkValidity-handler-updates-dom.html:
* fast/forms/checkbox-click-indeterminate.html:
* fast/forms/checkbox-default-value.html:
* fast/forms/checkbox-onchange.html:
* fast/forms/color/color-setrangetext.html:
* fast/forms/color/input-color-onchange-event.html:
* fast/forms/color/input-value-sanitization-color.html:
* fast/forms/cursor-at-editable-content-boundary.html:
* fast/forms/datalist/datalist-child-validation.html:
* fast/forms/datalist/datalist-nonoption-child.html:
* fast/forms/datalist/datalist.html:
* fast/forms/datalist/input-list.html:
* fast/forms/datalist/range-snap-to-datalist.html:
* fast/forms/date/ValidityState-rangeOverflow-date.html:
* fast/forms/date/ValidityState-rangeUnderflow-date.html:
* fast/forms/date/ValidityState-stepMismatch-date.html:
* fast/forms/date/ValidityState-typeMismatch-date.html:
* fast/forms/date/date-click-on-label.html:
* fast/forms/date/date-input-type.html:
* fast/forms/date/date-interactive-validation-required.html:
* fast/forms/date/date-pseudo-classes.html:
* fast/forms/date/date-setrangetext.html:
* fast/forms/date/date-stepup-stepdown-from-renderer.html:
* fast/forms/date/date-stepup-stepdown.html:
* fast/forms/date/input-date-validation-message.html:
* fast/forms/date/input-valueasdate-date.html:
* fast/forms/date/input-valueasnumber-date.html:
* fast/forms/datetime/ValidityState-rangeOverflow-datetime.html:
* fast/forms/datetime/ValidityState-rangeUnderflow-datetime.html:
* fast/forms/datetime/ValidityState-stepMismatch-datetime.html:
* fast/forms/datetime/ValidityState-typeMismatch-datetime.html:
* fast/forms/datetime/datetime-input-type.html:
* fast/forms/datetime/datetime-interactive-validation-required.html:
* fast/forms/datetime/datetime-setrangetext.html:
* fast/forms/datetime/datetime-stepup-stepdown.html:
* fast/forms/datetime/datetime-value-sanitization.html:
* fast/forms/datetime/input-valueasdate-datetime.html:
* fast/forms/datetime/input-valueasnumber-datetime.html:
* fast/forms/datetimelocal/ValidityState-rangeOverflow-datetimelocal.html:
* fast/forms/datetimelocal/ValidityState-rangeUnderflow-datetimelocal.html:
* fast/forms/datetimelocal/ValidityState-stepMismatch-datetimelocal.html:
* fast/forms/datetimelocal/ValidityState-typeMismatch-datetimelocal.html:
* fast/forms/datetimelocal/datetimelocal-input-type.html:
* fast/forms/datetimelocal/datetimelocal-interactive-validation-required.html:
* fast/forms/datetimelocal/datetimelocal-pseudo-classes.html:
* fast/forms/datetimelocal/datetimelocal-setrangetext.html:
* fast/forms/datetimelocal/datetimelocal-stepup-stepdown.html:
* fast/forms/datetimelocal/input-valueasdate-datetimelocal.html:
* fast/forms/datetimelocal/input-valueasnumber-datetimelocal.html:
* fast/forms/disabled-attr-checkvalidity.html:
* fast/forms/editing-value.html:
* fast/forms/elements-invalidate-on-form-attribute-invalidation.html:
* fast/forms/enctype-attribute.html:
* fast/forms/fieldset/fieldset-disabled.html:
* fast/forms/fieldset/fieldset-elements.html:
* fast/forms/fieldset/fieldset-form-collection-radionode-list.html:
* fast/forms/fieldset/fieldset-name.html:
* fast/forms/fieldset/fieldset-type.html:
* fast/forms/fieldset/focus-in-fieldset-disabled.html:
* fast/forms/fieldset/validation-in-fieldset.html:
* fast/forms/file/display-none-upload-button.html:
* fast/forms/file/file-input-capture.html:
* fast/forms/file/file-input-change-event.html:
* fast/forms/file/file-setrangetext.html:
* fast/forms/file/file-style-inheritance.html:
* fast/forms/file/input-file-entries.html:
* fast/forms/file/input-file-label.html:
* fast/forms/file/input-file-value.html:
* fast/forms/file/input-file-write-files.html:
* fast/forms/file/recover-file-input-in-unposted-form.html:
* fast/forms/file/selected-files-from-history-state.html:
* fast/forms/focus-selection-input.html:
* fast/forms/focus-selection-textarea.html:
* fast/forms/focus-with-display-block.html:
* fast/forms/form-associated-element-removal.html:
* fast/forms/form-attribute-elements-order.html:
* fast/forms/form-attribute-elements-order2.html:
* fast/forms/form-attribute-elements.html:
* fast/forms/form-attribute-nonexistence-form-id.html:
* fast/forms/form-attribute-not-in-document.html:
* fast/forms/form-attribute.html:
* fast/forms/form-collection-elements-order.html:
* fast/forms/form-collection-elements.html:
* fast/forms/form-collection-radio-node-list.html:
* fast/forms/form-dirname-attribute.html:
* fast/forms/form-image-access-by-name.html:
* fast/forms/form-input-named-arguments.html:
* fast/forms/formaction-attribute.html:
* fast/forms/formmethod-attribute-button-html.html:
* fast/forms/formmethod-attribute-input-html.html:
* fast/forms/formmethod-attribute-test.html:
* fast/forms/formnovalidate-attribute.html:
* fast/forms/formtarget-attribute-button-html.html:
* fast/forms/formtarget-attribute-input-html.html:
* fast/forms/get-forms-to-about-blank.html:
* fast/forms/hidden/hidden-setrangetext.html:
* fast/forms/image/image-setrangetext.html:
* fast/forms/image/width-and-height-of-detached-input.html:
* fast/forms/incremental-dom-property.html:
* fast/forms/indeterminate-input-types.html:
* fast/forms/input-appearance-maxlength.html:
* fast/forms/input-autofilled.html:
* fast/forms/input-image-submit.html:
* fast/forms/input-live-pseudo-selectors.html:
* fast/forms/input-maxlength-ime-completed.html:
* fast/forms/input-maxlength-ime-preedit.html:
* fast/forms/input-maxlength-unsupported.html:
* fast/forms/input-maxlength.html:
* fast/forms/input-minmax.html:
* fast/forms/input-paste-undo.html:
* fast/forms/input-pattern.html:
* fast/forms/input-readonly-select.html:
* fast/forms/input-search-press-escape-key.html:
* fast/forms/input-step-as-double.html:
* fast/forms/input-stepup-stepdown.html:
* fast/forms/input-text-maxlength.html:
* fast/forms/input-text-paste-maxlength.html:
* fast/forms/input-type-change.html:
* fast/forms/input-type-change3.html:
* fast/forms/input-value-sanitization.html:
* fast/forms/input-valueasnumber-unsupported.html:
* fast/forms/input-width-height-attributes-without-renderer-loaded-image.html:
* fast/forms/input-width-height-attributes-without-renderer-not-loaded-image.html:
* fast/forms/input-width-height-attributes-without-renderer.html:
* fast/forms/input-width-height-attributes.html:
* fast/forms/input-widths.html:
* fast/forms/interactive-validation-assertion-by-validate-twice.html:
* fast/forms/interactive-validation-attach-assertion.html:
* fast/forms/interactive-validation-cancel.html:
* fast/forms/interactive-validation-crash-by-style-override.html:
* fast/forms/interactive-validation-formnovalidate-child.html:
* fast/forms/interactive-validation-formnovalidate.html:
* fast/forms/interactive-validation-novalidate.html:
* fast/forms/interactive-validation-prevented.html:
* fast/forms/interactive-validation-remove-node-in-handler.html:
* fast/forms/interactive-validation-required-checkbox.html:
* fast/forms/interactive-validation-select-crash.html:
* fast/forms/isindex-name.html:
* fast/forms/label/label-becomes-visible-while-clicking-on-label.html:
* fast/forms/label/labelable-elements.html:
* fast/forms/label/labels-add-htmlFor-label.html:
* fast/forms/label/labels-add-parent-label.html:
* fast/forms/label/labels-change-htmlFor-attribute.html:
* fast/forms/label/labels-custom-property.html:
* fast/forms/label/labels-item-index.html:
* fast/forms/label/labels-multiple-sibling-labels.html:
* fast/forms/label/labels-owner-node-adopted.html:
* fast/forms/label/labels-parent-and-sibling-labels.html:
* fast/forms/label/labels-remove-htmlFor-attribute.html:
* fast/forms/label/labels-remove-htmlFor-label.html:
* fast/forms/label/labels-remove-parent-label.html:
* fast/forms/label/labels-set-htmlFor-attribute.html:
* fast/forms/lazy-event-listener-scope-chain.html:
* fast/forms/legend/legend-form.html:
* fast/forms/listbox-deselect-scroll.html:
* fast/forms/listbox-selection-2.html:
* fast/forms/listbox-selection.html:
* fast/forms/menulist-disabled-selected-option.html:
* fast/forms/menulist-no-renderer-for-unexpected-children.html:
* fast/forms/menulist-submit-without-selection.html:
* fast/forms/method-attribute.html:
* fast/forms/min-content-form-controls.html:
* fast/forms/month/ValidityState-rangeOverflow-month.html:
* fast/forms/month/ValidityState-rangeUnderflow-month.html:
* fast/forms/month/ValidityState-stepMismatch-month.html:
* fast/forms/month/ValidityState-typeMismatch-month.html:
* fast/forms/month/input-valueasdate-month.html:
* fast/forms/month/input-valueasdate.html:
* fast/forms/month/input-valueasnumber-month.html:
* fast/forms/month/month-input-type.html:
* fast/forms/month/month-interactive-validation-required.html:
* fast/forms/month/month-pseudo-classes.html:
* fast/forms/month/month-setrangetext.html:
* fast/forms/month/month-stepup-stepdown.html:
* fast/forms/novalidate-attribute.html:
* fast/forms/number/number-blur-twice.html:
* fast/forms/number/number-change-type-on-focus.html:
* fast/forms/number/number-commit-valid-only.html:
* fast/forms/number/number-input-changeevent.html:
* fast/forms/number/number-interactive-validation-required.html:
* fast/forms/number/number-keyoperation.html:
* fast/forms/number/number-l10n-input.html:
* fast/forms/number/number-large-padding.html:
* fast/forms/number/number-lossless-localization.html:
* fast/forms/number/number-outofrange.html:
* fast/forms/number/number-setrangetext.html:
* fast/forms/number/number-size.html:
* fast/forms/number/number-spinbutton-capturing.html:
* fast/forms/number/number-spinbutton-change-and-input-events.html:
* fast/forms/number/number-spinbutton-click-in-iframe.html:
* fast/forms/number/number-spinbutton-gets-disabled-or-readonly.html:
* fast/forms/number/number-stepup-stepdown-from-renderer.html:
* fast/forms/number/number-stepup-stepdown.html:
* fast/forms/number/number-validation-message.html:
* fast/forms/number/number-validity-badinput.html:
* fast/forms/number/number-validity-rangeoverflow.html:
* fast/forms/number/number-validity-rangeunderflow.html:
* fast/forms/number/number-validity-stepmismatch.html:
* fast/forms/number/number-validity-typemismatch.html:
* fast/forms/number/number-valueasnumber.html:
* fast/forms/number/number-wheel-event.html:
* fast/forms/old-names.html:
* fast/forms/onchange-change-type.html:
* fast/forms/onchange-setvalueforuser.html:
* fast/forms/option-label-trim-html-spaces.html:
* fast/forms/option-strip-unicode-spaces.html:
* fast/forms/option-value-and-label-changed-by-js.html:
* fast/forms/option-value-and-label.html:
* fast/forms/option-value-trim-html-spaces.html:
* fast/forms/output-reset-assertion-failed.html:
* fast/forms/parser-associated-form-removal.html:
* fast/forms/past-names-map-should-be-used-only-when-named-item-is-empty.html:
* fast/forms/past-names-map-should-not-contain-disassociated-elements.html:
* fast/forms/past-names-map-should-not-contain-nodelist-item.html:
* fast/forms/percent-height-auto-width-form-controls.html:
* fast/forms/placeholder-dom-property.html:
* fast/forms/placeholder-stripped.html:
* fast/forms/radio/ValidityState-valueMissing-radio.html:
* fast/forms/radio/interactive-validation-required-radio.html:
* fast/forms/radio/radio-attr-order.html:
* fast/forms/radio/radio-default-value.html:
* fast/forms/radio/radio-group-document-destruction.html:
* fast/forms/radio/radio-group-in-detached-form.html:
* fast/forms/radio/radio-group.html:
* fast/forms/radio/radio-live-validation-style.html:
* fast/forms/radio/radio-onchange.html:
* fast/forms/radio/radio-remove-form-attr.html:
* fast/forms/radio/state-restore-radio-group.html:
* fast/forms/radionodelist-image-type.html:
* fast/forms/radionodelist-whose-form-element-detached-from-domtree.html:
* fast/forms/range/ValidityState-stepMismatch-range.html:
* fast/forms/range/input-range-validation-message.html:
* fast/forms/range/input-valueasnumber-range.html:
* fast/forms/range/range-default-value.html:
* fast/forms/range/range-drag-when-toggled-disabled.html:
* fast/forms/range/range-drag.html:
* fast/forms/range/range-hit-test-with-padding.html:
* fast/forms/range/range-keyoperation.html:
* fast/forms/range/range-reset.html:
* fast/forms/range/range-set-attribute.html:
* fast/forms/range/range-setrangetext.html:
* fast/forms/range/range-slow-drag-to-edge.html:
* fast/forms/range/range-stepup-stepdown-from-renderer.html:
* fast/forms/range/range-stepup-stepdown.html:
* fast/forms/range/range-type-change-onchange.html:
* fast/forms/range/range-type-change-oninput.html:
* fast/forms/range/range-value-rounding.html:
* fast/forms/required-attribute-001.html:
* fast/forms/required-attribute-002.html:
* fast/forms/reset-autofilled.html:
* fast/forms/resources/state-restore-empty-state-1.html:
* fast/forms/resources/state-restore-skip-stateless-dump.html:
* fast/forms/search-cancel-button-events.html:
* fast/forms/search-disabled-readonly.html:
* fast/forms/search-hide-cancel-on-cancel.html:
* fast/forms/search/intrinsic-search-width-with-decoration-border-padding.html:
* fast/forms/search/search-setrangetext.html:
* fast/forms/select-clientheight-large-size.html:
* fast/forms/select-clientheight-with-multiple-attr.html:
* fast/forms/select-live-pseudo-selectors.html:
* fast/forms/select-multiple-elements-with-mouse-drag-with-options-less-than-size.html:
* fast/forms/select-multiple-elements-with-mouse-drag.html:
* fast/forms/select-option-accesskey-crash.html:
* fast/forms/select-set-length-optgroup.html:
* fast/forms/select-set-length-with-mutation-remove.html:
* fast/forms/select-set-length-with-mutation-reorder.html:
* fast/forms/select-set-length-with-mutation-reparent.html:
* fast/forms/select-set-length-with-mutation.html:
* fast/forms/select-set-length.html:
* fast/forms/select/listbox-click-on-scrollbar.html:
* fast/forms/select/listbox-disabled-scroll-no-onchange.html:
* fast/forms/select/listbox-drag-in-non-multiple.html:
* fast/forms/select/menulist-onchange-fired-with-key-up-down.html:
* fast/forms/select/optgroup-clicking.html:
* fast/forms/select/optgroup-disabled.html:
* fast/forms/select/option-selecting.html:
* fast/forms/select/options-indexed-properties.html:
* fast/forms/select/popup-closes-on-blur.html:
* fast/forms/select/select-assign-null.html:
* fast/forms/select/select-change-type-on-focus.html:
* fast/forms/select/select-disabled.html:
* fast/forms/select/select-state-restore.html:
* fast/forms/select/select-typeahead-crash.html:
* fast/forms/select/setting-to-invalid-value.html:
* fast/forms/selection-direction.html:
* fast/forms/selection-start-end-readonly.html:
* fast/forms/selection-wrongtype.html:
* fast/forms/setCustomValidity-arguments.html:
* fast/forms/setCustomValidity-existence.html:
* fast/forms/setCustomValidity.html:
* fast/forms/setrangetext.html:
* fast/forms/shadow-tree-exposure.html:
* fast/forms/state-restore-broken-state.html:
* fast/forms/state-restore-empty-state.html:
* fast/forms/state-restore-hidden.html:
* fast/forms/state-restore-per-form.html:
* fast/forms/state-restore-skip-stateless.html:
* fast/forms/state-restore-to-non-autocomplete-form.html:
* fast/forms/state-restore-to-non-edited-controls.html:
* fast/forms/state-save-of-detached-control.html:
* fast/forms/submit-form-attributes.html:
* fast/forms/submit-form-with-dirname-attribute-with-ancestor-dir-attribute.html:
* fast/forms/submit-form-with-dirname-attribute-with-nonhtml-ancestor.html:
* fast/forms/submit-form-with-dirname-attribute.html:
* fast/forms/text-control-intrinsic-widths.html:
* fast/forms/textarea-and-mutation-events-appending-text.html:
* fast/forms/textarea-checkValidity-crash.html:
* fast/forms/textarea-initial-caret-position.html:
* fast/forms/textarea-input-event.html:
* fast/forms/textarea-live-pseudo-selectors.html:
* fast/forms/textarea-maxlength.html:
* fast/forms/textarea-metrics.html:
* fast/forms/textarea-newline.html:
* fast/forms/textarea-placeholder-dom-property.html:
* fast/forms/textarea-rows-cols.html:
* fast/forms/textarea-selection-preservation.html:
* fast/forms/textarea-set-defaultvalue-after-value.html:
* fast/forms/textarea-textlength.html:
* fast/forms/textarea-wrap-attribute.html:
* fast/forms/textarea/textarea-setrangetext.html:
* fast/forms/textarea/textarea-state-restore.html:
* fast/forms/textfield-clone.html:
* fast/forms/textfield-lastchange-was-useredit.html:
* fast/forms/textfield-to-password-on-focus.html:
* fast/forms/time/time-input-type.html:
* fast/forms/time/time-interactive-validation-required.html:
* fast/forms/time/time-pseudo-classes.html:
* fast/forms/time/time-setrangetext.html:
* fast/forms/time/time-stepup-stepdown.html:
* fast/forms/time/time-validity-rangeoverflow.html:
* fast/forms/time/time-validity-rangeunderflow.html:
* fast/forms/time/time-validity-stepmismatch.html:
* fast/forms/time/time-validity-typemismatch.html:
* fast/forms/time/time-valueasdate.html:
* fast/forms/time/time-valueasnumber.html:
* fast/forms/update-form-attribute-element.html:
* fast/forms/validation-message-clone.html:
* fast/forms/validation-message-in-relative-body.html:
* fast/forms/validation-message-on-checkbox.html:
* fast/forms/validation-message-on-listbox.html:
* fast/forms/validation-message-on-menulist.html:
* fast/forms/validation-message-on-radio.html:
* fast/forms/validation-message-on-range.html:
* fast/forms/validation-message-on-textarea.html:
* fast/forms/validation-message-user-modify.html:
* fast/forms/validationMessage.html:
* fast/forms/week/ValidityState-rangeOverflow-week.html:
* fast/forms/week/ValidityState-rangeUnderflow-week.html:
* fast/forms/week/ValidityState-stepMismatch-week.html:
* fast/forms/week/ValidityState-typeMismatch-week.html:
* fast/forms/week/input-valueasdate-week.html:
* fast/forms/week/input-valueasnumber-week.html:
* fast/forms/week/week-input-type.html:
* fast/forms/week/week-interactive-validation-required.html:
* fast/forms/week/week-pseudo-classes.html:
* fast/forms/week/week-setrangetext.html:
* fast/forms/week/week-stepup-stepdown.html:
* fast/forms/willvalidate.html:
* fast/forms/xss-auditor-doesnt-crash-on-post-submit.html:
* fast/frames/detached-shadow-frame.html:
* fast/frames/flattening/iframe-tiny.html:
* fast/frames/frameset-frameborder-boolean-values.html:
* fast/frames/frameset-frameborder-inheritance.html:
* fast/frames/frameset-frameborder-overrides-border.html:
* fast/frames/iframe-double-scale-contents.html:
* fast/frames/iframe-no-src-local-origin-allow.html:
* fast/frames/iframe-no-src-set-location.html:
* fast/frames/iframe-onload-and-domnodeinserted.html:
* fast/frames/out-of-document-iframe-has-child-frame.html:
* fast/frames/reparent-in-unload-contentdocument.html:
* fast/frames/resources/frame-element-name.html:
* fast/frames/resources/sandboxed-iframe-storage-allowed.html:
* fast/frames/sandboxed-iframe-about-blank.html:
* fast/frames/sandboxed-iframe-navigation-allowed.html:
* fast/frames/sandboxed-iframe-plugins.html:
* fast/frames/sandboxed-iframe-scripting-01.html:
* fast/frames/sandboxed-iframe-scripting-02.html:
* fast/frames/sandboxed-iframe-scripting-03.html:
* fast/frames/sandboxed-iframe-scripting-04.html:
* fast/frames/sandboxed-iframe-scripting-05.html:
* fast/frames/sandboxed-iframe-storage.html:
* fast/frames/script-tests/TEMPLATE.html:
* fast/frames/seamless/seamless-basic.html:
* fast/frames/seamless/seamless-body-margin.html:
* fast/frames/seamless/seamless-border-padding.html:
* fast/frames/seamless/seamless-contenteditable-not-inherited.html:
* fast/frames/seamless/seamless-css-cascade.html:
* fast/frames/seamless/seamless-designMode.html:
* fast/frames/seamless/seamless-document-write.html:
* fast/frames/seamless/seamless-float.html:
* fast/frames/seamless/seamless-form-get-named.html:
* fast/frames/seamless/seamless-form-get-override.html:
* fast/frames/seamless/seamless-form-get.html:
* fast/frames/seamless/seamless-form-post-named.html:
* fast/frames/seamless/seamless-form-post-override.html:
* fast/frames/seamless/seamless-form-post.html:
* fast/frames/seamless/seamless-hyperlink-named.html:
* fast/frames/seamless/seamless-hyperlink-override.html:
* fast/frames/seamless/seamless-hyperlink.html:
* fast/frames/seamless/seamless-inherited-document-style.html:
* fast/frames/seamless/seamless-inherited-origin.html:
* fast/frames/seamless/seamless-inline.html:
* fast/frames/seamless/seamless-min-max.html:
* fast/frames/seamless/seamless-nested.html:
* fast/frames/seamless/seamless-percent-height.html:
* fast/frames/seamless/seamless-quirks.html:
* fast/frames/seamless/seamless-sandbox-flag.html:
* fast/frames/seamless/seamless-sandbox-srcdoc.html:
* fast/frames/seamless/seamless-srcdoc.html:
* fast/frames/seamless/seamless-window-location-href.html:
* fast/frames/seamless/seamless-window-location-replace.html:
* fast/frames/seamless/seamless-window-location-sandbox.html:
* fast/frames/seamless/seamless-window-location.html:
* fast/frames/seamless/seamless-window-open-override.html:
* fast/frames/seamless/seamless-window-open.html:
* fast/frames/unload-reparent-sibling-frame.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index d48f60c..671b50a 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,5 +1,550 @@
2013-09-07 Mark Lam <mark.lam@apple.com>
+ Change fast/f* files to use pre and post js files in LayoutTests/resources.
+ https://bugs.webkit.org/show_bug.cgi?id=120976.
+
+ Rubber stamped by Filip Pizlo.
+
+ * fast/files/blob-constructor.html:
+ * fast/files/file-list-test.html:
+ * fast/files/file-reader-event-listener.html:
+ * fast/files/file-reader-fffd.html:
+ * fast/files/not-enough-arguments.html:
+ * fast/files/url-null.html:
+ * fast/files/url-required-arguments.html:
+ * fast/files/xhr-response-blob.html:
+ * fast/filesystem/async-operations.html:
+ * fast/filesystem/directory-entry-to-uri.html:
+ * fast/filesystem/entry-points-missing-arguments.html:
+ * fast/filesystem/file-entry-to-uri.html:
+ * fast/filesystem/file-from-file-entry.html:
+ * fast/filesystem/file-metadata-after-write.html:
+ * fast/filesystem/file-writer-abort-continue.html:
+ * fast/filesystem/file-writer-abort-depth.html:
+ * fast/filesystem/file-writer-abort.html:
+ * fast/filesystem/file-writer-empty-blob.html:
+ * fast/filesystem/file-writer-events.html:
+ * fast/filesystem/file-writer-gc-blob.html:
+ * fast/filesystem/file-writer-truncate-extend.html:
+ * fast/filesystem/file-writer-write-overlapped.html:
+ * fast/filesystem/filesystem-missing-arguments.html:
+ * fast/filesystem/filesystem-reference.html:
+ * fast/filesystem/filesystem-unserializable.html:
+ * fast/filesystem/flags-passing.html:
+ * fast/filesystem/input-access-entries.html:
+ * fast/filesystem/not-enough-arguments.html:
+ * fast/filesystem/op-copy.html:
+ * fast/filesystem/op-get-entry.html:
+ * fast/filesystem/op-get-metadata.html:
+ * fast/filesystem/op-get-parent.html:
+ * fast/filesystem/op-move.html:
+ * fast/filesystem/op-read-directory.html:
+ * fast/filesystem/op-remove.html:
+ * fast/filesystem/op-restricted-chars.html:
+ * fast/filesystem/op-restricted-names.html:
+ * fast/filesystem/op-restricted-unicode.html:
+ * fast/filesystem/read-directory.html:
+ * fast/filesystem/resources/async-operations.js:
+ * fast/filesystem/resources/directory-entry-to-uri.js:
+ * fast/filesystem/resources/file-entry-to-uri-sync.js:
+ * fast/filesystem/resources/file-entry-to-uri.js:
+ * fast/filesystem/resources/file-from-file-entry-sync.js:
+ * fast/filesystem/resources/file-from-file-entry.js:
+ * fast/filesystem/resources/file-writer-abort-continue.js:
+ * fast/filesystem/resources/file-writer-abort-depth.js:
+ * fast/filesystem/resources/file-writer-abort.js:
+ * fast/filesystem/resources/file-writer-empty-blob.js:
+ * fast/filesystem/resources/file-writer-events.js:
+ * fast/filesystem/resources/file-writer-gc-blob.js:
+ * fast/filesystem/resources/file-writer-sync-truncate-extend.js:
+ * fast/filesystem/resources/file-writer-sync-write-overlapped.js:
+ * fast/filesystem/resources/file-writer-truncate-extend.js:
+ * fast/filesystem/resources/file-writer-write-overlapped.js:
+ * fast/filesystem/resources/shared-worker-stub.js:
+ * fast/filesystem/resources/simple-persistent-sync.js:
+ * fast/filesystem/resources/simple-persistent.js:
+ * fast/filesystem/resources/simple-readonly.js:
+ * fast/filesystem/resources/simple-required-arguments-getdirectory.js:
+ * fast/filesystem/resources/simple-required-arguments-getfile.js:
+ * fast/filesystem/resources/simple-required-arguments-getmetadata.js:
+ * fast/filesystem/resources/simple-required-arguments-remove.js:
+ * fast/filesystem/resources/simple-temporary-sync.js:
+ * fast/filesystem/resources/simple-temporary.js:
+ * fast/filesystem/resources/sync-operations.js:
+ * fast/filesystem/script-tests/TEMPLATE.html:
+ * fast/filesystem/simple-persistent.html:
+ * fast/filesystem/simple-readonly-file-object.html:
+ * fast/filesystem/simple-readonly.html:
+ * fast/filesystem/simple-required-arguments-getdirectory.html:
+ * fast/filesystem/simple-required-arguments-getfile.html:
+ * fast/filesystem/simple-required-arguments-getmetadata.html:
+ * fast/filesystem/simple-required-arguments-remove.html:
+ * fast/filesystem/simple-temporary.html:
+ * fast/filesystem/workers/async-operations.html:
+ * fast/filesystem/workers/file-entry-to-uri-sync.html:
+ * fast/filesystem/workers/file-from-file-entry-sync.html:
+ * fast/filesystem/workers/file-from-file-entry.html:
+ * fast/filesystem/workers/file-writer-empty-blob.html:
+ * fast/filesystem/workers/file-writer-events-shared-worker.html:
+ * fast/filesystem/workers/file-writer-events.html:
+ * fast/filesystem/workers/file-writer-gc-blob.html:
+ * fast/filesystem/workers/file-writer-sync-truncate-extend.html:
+ * fast/filesystem/workers/file-writer-sync-write-overlapped.html:
+ * fast/filesystem/workers/file-writer-truncate-extend.html:
+ * fast/filesystem/workers/file-writer-write-overlapped.html:
+ * fast/filesystem/workers/simple-persistent-sync.html:
+ * fast/filesystem/workers/simple-persistent.html:
+ * fast/filesystem/workers/simple-temporary-sync.html:
+ * fast/filesystem/workers/simple-temporary.html:
+ * fast/filesystem/workers/sync-operations.html:
+ * fast/filter-image/parse-filter-image.html:
+ * fast/flexbox/box-orient-button.html:
+ * fast/flexbox/child-flexing.html:
+ * fast/flexbox/line-clamp-link-after-ellipsis.html:
+ * fast/flexbox/repaint-scrollbar.html:
+ * fast/flexbox/vertical-box-form-controls.html:
+ * fast/forms/ValidityState-customError.html:
+ * fast/forms/ValidityState-patternMismatch-unsupported.html:
+ * fast/forms/ValidityState-patternMismatch.html:
+ * fast/forms/ValidityState-rangeOverflow.html:
+ * fast/forms/ValidityState-rangeUnderflow.html:
+ * fast/forms/ValidityState-stepMismatch.html:
+ * fast/forms/ValidityState-tooLong-input.html:
+ * fast/forms/ValidityState-tooLong-textarea.html:
+ * fast/forms/ValidityState-typeMismatch-email.html:
+ * fast/forms/ValidityState-typeMismatch-url.html:
+ * fast/forms/ValidityState-valueMissing-001.html:
+ * fast/forms/ValidityState-valueMissing-002.html:
+ * fast/forms/ValidityState-valueMissing-003.html:
+ * fast/forms/access-key-for-all-elements.html:
+ * fast/forms/autocomplete.html:
+ * fast/forms/autofocus-focus-only-once.html:
+ * fast/forms/autofocus-keygen.html:
+ * fast/forms/button-in-forms-collection.html:
+ * fast/forms/checkValidity-001.html:
+ * fast/forms/checkValidity-002.html:
+ * fast/forms/checkValidity-003.html:
+ * fast/forms/checkValidity-004.html:
+ * fast/forms/checkValidity-cancel.html:
+ * fast/forms/checkValidity-handler-updates-dom.html:
+ * fast/forms/checkbox-click-indeterminate.html:
+ * fast/forms/checkbox-default-value.html:
+ * fast/forms/checkbox-onchange.html:
+ * fast/forms/color/color-setrangetext.html:
+ * fast/forms/color/input-color-onchange-event.html:
+ * fast/forms/color/input-value-sanitization-color.html:
+ * fast/forms/cursor-at-editable-content-boundary.html:
+ * fast/forms/datalist/datalist-child-validation.html:
+ * fast/forms/datalist/datalist-nonoption-child.html:
+ * fast/forms/datalist/datalist.html:
+ * fast/forms/datalist/input-list.html:
+ * fast/forms/datalist/range-snap-to-datalist.html:
+ * fast/forms/date/ValidityState-rangeOverflow-date.html:
+ * fast/forms/date/ValidityState-rangeUnderflow-date.html:
+ * fast/forms/date/ValidityState-stepMismatch-date.html:
+ * fast/forms/date/ValidityState-typeMismatch-date.html:
+ * fast/forms/date/date-click-on-label.html:
+ * fast/forms/date/date-input-type.html:
+ * fast/forms/date/date-interactive-validation-required.html:
+ * fast/forms/date/date-pseudo-classes.html:
+ * fast/forms/date/date-setrangetext.html:
+ * fast/forms/date/date-stepup-stepdown-from-renderer.html:
+ * fast/forms/date/date-stepup-stepdown.html:
+ * fast/forms/date/input-date-validation-message.html:
+ * fast/forms/date/input-valueasdate-date.html:
+ * fast/forms/date/input-valueasnumber-date.html:
+ * fast/forms/datetime/ValidityState-rangeOverflow-datetime.html:
+ * fast/forms/datetime/ValidityState-rangeUnderflow-datetime.html:
+ * fast/forms/datetime/ValidityState-stepMismatch-datetime.html:
+ * fast/forms/datetime/ValidityState-typeMismatch-datetime.html:
+ * fast/forms/datetime/datetime-input-type.html:
+ * fast/forms/datetime/datetime-interactive-validation-required.html:
+ * fast/forms/datetime/datetime-setrangetext.html:
+ * fast/forms/datetime/datetime-stepup-stepdown.html:
+ * fast/forms/datetime/datetime-value-sanitization.html:
+ * fast/forms/datetime/input-valueasdate-datetime.html:
+ * fast/forms/datetime/input-valueasnumber-datetime.html:
+ * fast/forms/datetimelocal/ValidityState-rangeOverflow-datetimelocal.html:
+ * fast/forms/datetimelocal/ValidityState-rangeUnderflow-datetimelocal.html:
+ * fast/forms/datetimelocal/ValidityState-stepMismatch-datetimelocal.html:
+ * fast/forms/datetimelocal/ValidityState-typeMismatch-datetimelocal.html:
+ * fast/forms/datetimelocal/datetimelocal-input-type.html:
+ * fast/forms/datetimelocal/datetimelocal-interactive-validation-required.html:
+ * fast/forms/datetimelocal/datetimelocal-pseudo-classes.html:
+ * fast/forms/datetimelocal/datetimelocal-setrangetext.html:
+ * fast/forms/datetimelocal/datetimelocal-stepup-stepdown.html:
+ * fast/forms/datetimelocal/input-valueasdate-datetimelocal.html:
+ * fast/forms/datetimelocal/input-valueasnumber-datetimelocal.html:
+ * fast/forms/disabled-attr-checkvalidity.html:
+ * fast/forms/editing-value.html:
+ * fast/forms/elements-invalidate-on-form-attribute-invalidation.html:
+ * fast/forms/enctype-attribute.html:
+ * fast/forms/fieldset/fieldset-disabled.html:
+ * fast/forms/fieldset/fieldset-elements.html:
+ * fast/forms/fieldset/fieldset-form-collection-radionode-list.html:
+ * fast/forms/fieldset/fieldset-name.html:
+ * fast/forms/fieldset/fieldset-type.html:
+ * fast/forms/fieldset/focus-in-fieldset-disabled.html:
+ * fast/forms/fieldset/validation-in-fieldset.html:
+ * fast/forms/file/display-none-upload-button.html:
+ * fast/forms/file/file-input-capture.html:
+ * fast/forms/file/file-input-change-event.html:
+ * fast/forms/file/file-setrangetext.html:
+ * fast/forms/file/file-style-inheritance.html:
+ * fast/forms/file/input-file-entries.html:
+ * fast/forms/file/input-file-label.html:
+ * fast/forms/file/input-file-value.html:
+ * fast/forms/file/input-file-write-files.html:
+ * fast/forms/file/recover-file-input-in-unposted-form.html:
+ * fast/forms/file/selected-files-from-history-state.html:
+ * fast/forms/focus-selection-input.html:
+ * fast/forms/focus-selection-textarea.html:
+ * fast/forms/focus-with-display-block.html:
+ * fast/forms/form-associated-element-removal.html:
+ * fast/forms/form-attribute-elements-order.html:
+ * fast/forms/form-attribute-elements-order2.html:
+ * fast/forms/form-attribute-elements.html:
+ * fast/forms/form-attribute-nonexistence-form-id.html:
+ * fast/forms/form-attribute-not-in-document.html:
+ * fast/forms/form-attribute.html:
+ * fast/forms/form-collection-elements-order.html:
+ * fast/forms/form-collection-elements.html:
+ * fast/forms/form-collection-radio-node-list.html:
+ * fast/forms/form-dirname-attribute.html:
+ * fast/forms/form-image-access-by-name.html:
+ * fast/forms/form-input-named-arguments.html:
+ * fast/forms/formaction-attribute.html:
+ * fast/forms/formmethod-attribute-button-html.html:
+ * fast/forms/formmethod-attribute-input-html.html:
+ * fast/forms/formmethod-attribute-test.html:
+ * fast/forms/formnovalidate-attribute.html:
+ * fast/forms/formtarget-attribute-button-html.html:
+ * fast/forms/formtarget-attribute-input-html.html:
+ * fast/forms/get-forms-to-about-blank.html:
+ * fast/forms/hidden/hidden-setrangetext.html:
+ * fast/forms/image/image-setrangetext.html:
+ * fast/forms/image/width-and-height-of-detached-input.html:
+ * fast/forms/incremental-dom-property.html:
+ * fast/forms/indeterminate-input-types.html:
+ * fast/forms/input-appearance-maxlength.html:
+ * fast/forms/input-autofilled.html:
+ * fast/forms/input-image-submit.html:
+ * fast/forms/input-live-pseudo-selectors.html:
+ * fast/forms/input-maxlength-ime-completed.html:
+ * fast/forms/input-maxlength-ime-preedit.html:
+ * fast/forms/input-maxlength-unsupported.html:
+ * fast/forms/input-maxlength.html:
+ * fast/forms/input-minmax.html:
+ * fast/forms/input-paste-undo.html:
+ * fast/forms/input-pattern.html:
+ * fast/forms/input-readonly-select.html:
+ * fast/forms/input-search-press-escape-key.html:
+ * fast/forms/input-step-as-double.html:
+ * fast/forms/input-stepup-stepdown.html:
+ * fast/forms/input-text-maxlength.html:
+ * fast/forms/input-text-paste-maxlength.html:
+ * fast/forms/input-type-change.html:
+ * fast/forms/input-type-change3.html:
+ * fast/forms/input-value-sanitization.html:
+ * fast/forms/input-valueasnumber-unsupported.html:
+ * fast/forms/input-width-height-attributes-without-renderer-loaded-image.html:
+ * fast/forms/input-width-height-attributes-without-renderer-not-loaded-image.html:
+ * fast/forms/input-width-height-attributes-without-renderer.html:
+ * fast/forms/input-width-height-attributes.html:
+ * fast/forms/input-widths.html:
+ * fast/forms/interactive-validation-assertion-by-validate-twice.html:
+ * fast/forms/interactive-validation-attach-assertion.html:
+ * fast/forms/interactive-validation-cancel.html:
+ * fast/forms/interactive-validation-crash-by-style-override.html:
+ * fast/forms/interactive-validation-formnovalidate-child.html:
+ * fast/forms/interactive-validation-formnovalidate.html:
+ * fast/forms/interactive-validation-novalidate.html:
+ * fast/forms/interactive-validation-prevented.html:
+ * fast/forms/interactive-validation-remove-node-in-handler.html:
+ * fast/forms/interactive-validation-required-checkbox.html:
+ * fast/forms/interactive-validation-select-crash.html:
+ * fast/forms/isindex-name.html:
+ * fast/forms/label/label-becomes-visible-while-clicking-on-label.html:
+ * fast/forms/label/labelable-elements.html:
+ * fast/forms/label/labels-add-htmlFor-label.html:
+ * fast/forms/label/labels-add-parent-label.html:
+ * fast/forms/label/labels-change-htmlFor-attribute.html:
+ * fast/forms/label/labels-custom-property.html:
+ * fast/forms/label/labels-item-index.html:
+ * fast/forms/label/labels-multiple-sibling-labels.html:
+ * fast/forms/label/labels-owner-node-adopted.html:
+ * fast/forms/label/labels-parent-and-sibling-labels.html:
+ * fast/forms/label/labels-remove-htmlFor-attribute.html:
+ * fast/forms/label/labels-remove-htmlFor-label.html:
+ * fast/forms/label/labels-remove-parent-label.html:
+ * fast/forms/label/labels-set-htmlFor-attribute.html:
+ * fast/forms/lazy-event-listener-scope-chain.html:
+ * fast/forms/legend/legend-form.html:
+ * fast/forms/listbox-deselect-scroll.html:
+ * fast/forms/listbox-selection-2.html:
+ * fast/forms/listbox-selection.html:
+ * fast/forms/menulist-disabled-selected-option.html:
+ * fast/forms/menulist-no-renderer-for-unexpected-children.html:
+ * fast/forms/menulist-submit-without-selection.html:
+ * fast/forms/method-attribute.html:
+ * fast/forms/min-content-form-controls.html:
+ * fast/forms/month/ValidityState-rangeOverflow-month.html:
+ * fast/forms/month/ValidityState-rangeUnderflow-month.html:
+ * fast/forms/month/ValidityState-stepMismatch-month.html:
+ * fast/forms/month/ValidityState-typeMismatch-month.html:
+ * fast/forms/month/input-valueasdate-month.html:
+ * fast/forms/month/input-valueasdate.html:
+ * fast/forms/month/input-valueasnumber-month.html:
+ * fast/forms/month/month-input-type.html:
+ * fast/forms/month/month-interactive-validation-required.html:
+ * fast/forms/month/month-pseudo-classes.html:
+ * fast/forms/month/month-setrangetext.html:
+ * fast/forms/month/month-stepup-stepdown.html:
+ * fast/forms/novalidate-attribute.html:
+ * fast/forms/number/number-blur-twice.html:
+ * fast/forms/number/number-change-type-on-focus.html:
+ * fast/forms/number/number-commit-valid-only.html:
+ * fast/forms/number/number-input-changeevent.html:
+ * fast/forms/number/number-interactive-validation-required.html:
+ * fast/forms/number/number-keyoperation.html:
+ * fast/forms/number/number-l10n-input.html:
+ * fast/forms/number/number-large-padding.html:
+ * fast/forms/number/number-lossless-localization.html:
+ * fast/forms/number/number-outofrange.html:
+ * fast/forms/number/number-setrangetext.html:
+ * fast/forms/number/number-size.html:
+ * fast/forms/number/number-spinbutton-capturing.html:
+ * fast/forms/number/number-spinbutton-change-and-input-events.html:
+ * fast/forms/number/number-spinbutton-click-in-iframe.html:
+ * fast/forms/number/number-spinbutton-gets-disabled-or-readonly.html:
+ * fast/forms/number/number-stepup-stepdown-from-renderer.html:
+ * fast/forms/number/number-stepup-stepdown.html:
+ * fast/forms/number/number-validation-message.html:
+ * fast/forms/number/number-validity-badinput.html:
+ * fast/forms/number/number-validity-rangeoverflow.html:
+ * fast/forms/number/number-validity-rangeunderflow.html:
+ * fast/forms/number/number-validity-stepmismatch.html:
+ * fast/forms/number/number-validity-typemismatch.html:
+ * fast/forms/number/number-valueasnumber.html:
+ * fast/forms/number/number-wheel-event.html:
+ * fast/forms/old-names.html:
+ * fast/forms/onchange-change-type.html:
+ * fast/forms/onchange-setvalueforuser.html:
+ * fast/forms/option-label-trim-html-spaces.html:
+ * fast/forms/option-strip-unicode-spaces.html:
+ * fast/forms/option-value-and-label-changed-by-js.html:
+ * fast/forms/option-value-and-label.html:
+ * fast/forms/option-value-trim-html-spaces.html:
+ * fast/forms/output-reset-assertion-failed.html:
+ * fast/forms/parser-associated-form-removal.html:
+ * fast/forms/past-names-map-should-be-used-only-when-named-item-is-empty.html:
+ * fast/forms/past-names-map-should-not-contain-disassociated-elements.html:
+ * fast/forms/past-names-map-should-not-contain-nodelist-item.html:
+ * fast/forms/percent-height-auto-width-form-controls.html:
+ * fast/forms/placeholder-dom-property.html:
+ * fast/forms/placeholder-stripped.html:
+ * fast/forms/radio/ValidityState-valueMissing-radio.html:
+ * fast/forms/radio/interactive-validation-required-radio.html:
+ * fast/forms/radio/radio-attr-order.html:
+ * fast/forms/radio/radio-default-value.html:
+ * fast/forms/radio/radio-group-document-destruction.html:
+ * fast/forms/radio/radio-group-in-detached-form.html:
+ * fast/forms/radio/radio-group.html:
+ * fast/forms/radio/radio-live-validation-style.html:
+ * fast/forms/radio/radio-onchange.html:
+ * fast/forms/radio/radio-remove-form-attr.html:
+ * fast/forms/radio/state-restore-radio-group.html:
+ * fast/forms/radionodelist-image-type.html:
+ * fast/forms/radionodelist-whose-form-element-detached-from-domtree.html:
+ * fast/forms/range/ValidityState-stepMismatch-range.html:
+ * fast/forms/range/input-range-validation-message.html:
+ * fast/forms/range/input-valueasnumber-range.html:
+ * fast/forms/range/range-default-value.html:
+ * fast/forms/range/range-drag-when-toggled-disabled.html:
+ * fast/forms/range/range-drag.html:
+ * fast/forms/range/range-hit-test-with-padding.html:
+ * fast/forms/range/range-keyoperation.html:
+ * fast/forms/range/range-reset.html:
+ * fast/forms/range/range-set-attribute.html:
+ * fast/forms/range/range-setrangetext.html:
+ * fast/forms/range/range-slow-drag-to-edge.html:
+ * fast/forms/range/range-stepup-stepdown-from-renderer.html:
+ * fast/forms/range/range-stepup-stepdown.html:
+ * fast/forms/range/range-type-change-onchange.html:
+ * fast/forms/range/range-type-change-oninput.html:
+ * fast/forms/range/range-value-rounding.html:
+ * fast/forms/required-attribute-001.html:
+ * fast/forms/required-attribute-002.html:
+ * fast/forms/reset-autofilled.html:
+ * fast/forms/resources/state-restore-empty-state-1.html:
+ * fast/forms/resources/state-restore-skip-stateless-dump.html:
+ * fast/forms/search-cancel-button-events.html:
+ * fast/forms/search-disabled-readonly.html:
+ * fast/forms/search-hide-cancel-on-cancel.html:
+ * fast/forms/search/intrinsic-search-width-with-decoration-border-padding.html:
+ * fast/forms/search/search-setrangetext.html:
+ * fast/forms/select-clientheight-large-size.html:
+ * fast/forms/select-clientheight-with-multiple-attr.html:
+ * fast/forms/select-live-pseudo-selectors.html:
+ * fast/forms/select-multiple-elements-with-mouse-drag-with-options-less-than-size.html:
+ * fast/forms/select-multiple-elements-with-mouse-drag.html:
+ * fast/forms/select-option-accesskey-crash.html:
+ * fast/forms/select-set-length-optgroup.html:
+ * fast/forms/select-set-length-with-mutation-remove.html:
+ * fast/forms/select-set-length-with-mutation-reorder.html:
+ * fast/forms/select-set-length-with-mutation-reparent.html:
+ * fast/forms/select-set-length-with-mutation.html:
+ * fast/forms/select-set-length.html:
+ * fast/forms/select/listbox-click-on-scrollbar.html:
+ * fast/forms/select/listbox-disabled-scroll-no-onchange.html:
+ * fast/forms/select/listbox-drag-in-non-multiple.html:
+ * fast/forms/select/menulist-onchange-fired-with-key-up-down.html:
+ * fast/forms/select/optgroup-clicking.html:
+ * fast/forms/select/optgroup-disabled.html:
+ * fast/forms/select/option-selecting.html:
+ * fast/forms/select/options-indexed-properties.html:
+ * fast/forms/select/popup-closes-on-blur.html:
+ * fast/forms/select/select-assign-null.html:
+ * fast/forms/select/select-change-type-on-focus.html:
+ * fast/forms/select/select-disabled.html:
+ * fast/forms/select/select-state-restore.html:
+ * fast/forms/select/select-typeahead-crash.html:
+ * fast/forms/select/setting-to-invalid-value.html:
+ * fast/forms/selection-direction.html:
+ * fast/forms/selection-start-end-readonly.html:
+ * fast/forms/selection-wrongtype.html:
+ * fast/forms/setCustomValidity-arguments.html:
+ * fast/forms/setCustomValidity-existence.html:
+ * fast/forms/setCustomValidity.html:
+ * fast/forms/setrangetext.html:
+ * fast/forms/shadow-tree-exposure.html:
+ * fast/forms/state-restore-broken-state.html:
+ * fast/forms/state-restore-empty-state.html:
+ * fast/forms/state-restore-hidden.html:
+ * fast/forms/state-restore-per-form.html:
+ * fast/forms/state-restore-skip-stateless.html:
+ * fast/forms/state-restore-to-non-autocomplete-form.html:
+ * fast/forms/state-restore-to-non-edited-controls.html:
+ * fast/forms/state-save-of-detached-control.html:
+ * fast/forms/submit-form-attributes.html:
+ * fast/forms/submit-form-with-dirname-attribute-with-ancestor-dir-attribute.html:
+ * fast/forms/submit-form-with-dirname-attribute-with-nonhtml-ancestor.html:
+ * fast/forms/submit-form-with-dirname-attribute.html:
+ * fast/forms/text-control-intrinsic-widths.html:
+ * fast/forms/textarea-and-mutation-events-appending-text.html:
+ * fast/forms/textarea-checkValidity-crash.html:
+ * fast/forms/textarea-initial-caret-position.html:
+ * fast/forms/textarea-input-event.html:
+ * fast/forms/textarea-live-pseudo-selectors.html:
+ * fast/forms/textarea-maxlength.html:
+ * fast/forms/textarea-metrics.html:
+ * fast/forms/textarea-newline.html:
+ * fast/forms/textarea-placeholder-dom-property.html:
+ * fast/forms/textarea-rows-cols.html:
+ * fast/forms/textarea-selection-preservation.html:
+ * fast/forms/textarea-set-defaultvalue-after-value.html:
+ * fast/forms/textarea-textlength.html:
+ * fast/forms/textarea-wrap-attribute.html:
+ * fast/forms/textarea/textarea-setrangetext.html:
+ * fast/forms/textarea/textarea-state-restore.html:
+ * fast/forms/textfield-clone.html:
+ * fast/forms/textfield-lastchange-was-useredit.html:
+ * fast/forms/textfield-to-password-on-focus.html:
+ * fast/forms/time/time-input-type.html:
+ * fast/forms/time/time-interactive-validation-required.html:
+ * fast/forms/time/time-pseudo-classes.html:
+ * fast/forms/time/time-setrangetext.html:
+ * fast/forms/time/time-stepup-stepdown.html:
+ * fast/forms/time/time-validity-rangeoverflow.html:
+ * fast/forms/time/time-validity-rangeunderflow.html:
+ * fast/forms/time/time-validity-stepmismatch.html:
+ * fast/forms/time/time-validity-typemismatch.html:
+ * fast/forms/time/time-valueasdate.html:
+ * fast/forms/time/time-valueasnumber.html:
+ * fast/forms/update-form-attribute-element.html:
+ * fast/forms/validation-message-clone.html:
+ * fast/forms/validation-message-in-relative-body.html:
+ * fast/forms/validation-message-on-checkbox.html:
+ * fast/forms/validation-message-on-listbox.html:
+ * fast/forms/validation-message-on-menulist.html:
+ * fast/forms/validation-message-on-radio.html:
+ * fast/forms/validation-message-on-range.html:
+ * fast/forms/validation-message-on-textarea.html:
+ * fast/forms/validation-message-user-modify.html:
+ * fast/forms/validationMessage.html:
+ * fast/forms/week/ValidityState-rangeOverflow-week.html:
+ * fast/forms/week/ValidityState-rangeUnderflow-week.html:
+ * fast/forms/week/ValidityState-stepMismatch-week.html:
+ * fast/forms/week/ValidityState-typeMismatch-week.html:
+ * fast/forms/week/input-valueasdate-week.html:
+ * fast/forms/week/input-valueasnumber-week.html:
+ * fast/forms/week/week-input-type.html:
+ * fast/forms/week/week-interactive-validation-required.html:
+ * fast/forms/week/week-pseudo-classes.html:
+ * fast/forms/week/week-setrangetext.html:
+ * fast/forms/week/week-stepup-stepdown.html:
+ * fast/forms/willvalidate.html:
+ * fast/forms/xss-auditor-doesnt-crash-on-post-submit.html:
+ * fast/frames/detached-shadow-frame.html:
+ * fast/frames/flattening/iframe-tiny.html:
+ * fast/frames/frameset-frameborder-boolean-values.html:
+ * fast/frames/frameset-frameborder-inheritance.html:
+ * fast/frames/frameset-frameborder-overrides-border.html:
+ * fast/frames/iframe-double-scale-contents.html:
+ * fast/frames/iframe-no-src-local-origin-allow.html:
+ * fast/frames/iframe-no-src-set-location.html:
+ * fast/frames/iframe-onload-and-domnodeinserted.html:
+ * fast/frames/out-of-document-iframe-has-child-frame.html:
+ * fast/frames/reparent-in-unload-contentdocument.html:
+ * fast/frames/resources/frame-element-name.html:
+ * fast/frames/resources/sandboxed-iframe-storage-allowed.html:
+ * fast/frames/sandboxed-iframe-about-blank.html:
+ * fast/frames/sandboxed-iframe-navigation-allowed.html:
+ * fast/frames/sandboxed-iframe-plugins.html:
+ * fast/frames/sandboxed-iframe-scripting-01.html:
+ * fast/frames/sandboxed-iframe-scripting-02.html:
+ * fast/frames/sandboxed-iframe-scripting-03.html:
+ * fast/frames/sandboxed-iframe-scripting-04.html:
+ * fast/frames/sandboxed-iframe-scripting-05.html:
+ * fast/frames/sandboxed-iframe-storage.html:
+ * fast/frames/script-tests/TEMPLATE.html:
+ * fast/frames/seamless/seamless-basic.html:
+ * fast/frames/seamless/seamless-body-margin.html:
+ * fast/frames/seamless/seamless-border-padding.html:
+ * fast/frames/seamless/seamless-contenteditable-not-inherited.html:
+ * fast/frames/seamless/seamless-css-cascade.html:
+ * fast/frames/seamless/seamless-designMode.html:
+ * fast/frames/seamless/seamless-document-write.html:
+ * fast/frames/seamless/seamless-float.html:
+ * fast/frames/seamless/seamless-form-get-named.html:
+ * fast/frames/seamless/seamless-form-get-override.html:
+ * fast/frames/seamless/seamless-form-get.html:
+ * fast/frames/seamless/seamless-form-post-named.html:
+ * fast/frames/seamless/seamless-form-post-override.html:
+ * fast/frames/seamless/seamless-form-post.html:
+ * fast/frames/seamless/seamless-hyperlink-named.html:
+ * fast/frames/seamless/seamless-hyperlink-override.html:
+ * fast/frames/seamless/seamless-hyperlink.html:
+ * fast/frames/seamless/seamless-inherited-document-style.html:
+ * fast/frames/seamless/seamless-inherited-origin.html:
+ * fast/frames/seamless/seamless-inline.html:
+ * fast/frames/seamless/seamless-min-max.html:
+ * fast/frames/seamless/seamless-nested.html:
+ * fast/frames/seamless/seamless-percent-height.html:
+ * fast/frames/seamless/seamless-quirks.html:
+ * fast/frames/seamless/seamless-sandbox-flag.html:
+ * fast/frames/seamless/seamless-sandbox-srcdoc.html:
+ * fast/frames/seamless/seamless-srcdoc.html:
+ * fast/frames/seamless/seamless-window-location-href.html:
+ * fast/frames/seamless/seamless-window-location-replace.html:
+ * fast/frames/seamless/seamless-window-location-sandbox.html:
+ * fast/frames/seamless/seamless-window-location.html:
+ * fast/frames/seamless/seamless-window-open-override.html:
+ * fast/frames/seamless/seamless-window-open.html:
+ * fast/frames/unload-reparent-sibling-frame.html:
+
+2013-09-07 Mark Lam <mark.lam@apple.com>
+
Change fast/e* files to use pre and post js files in LayoutTests/resources.
https://bugs.webkit.org/show_bug.cgi?id=120975.
diff --git a/LayoutTests/fast/files/blob-constructor.html b/LayoutTests/fast/files/blob-constructor.html
index 32eb0ef..e6fe75d 100644
--- a/LayoutTests/fast/files/blob-constructor.html
+++ b/LayoutTests/fast/files/blob-constructor.html
@@ -1,10 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script src="script-tests/blob-constructor.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/files/file-list-test.html b/LayoutTests/fast/files/file-list-test.html
index 051258b..2bda09e 100644
--- a/LayoutTests/fast/files/file-list-test.html
+++ b/LayoutTests/fast/files/file-list-test.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<input type="file" multiple onchange="onInputFileChange(this.files)">
@@ -38,5 +38,5 @@
</script>
</body>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/files/file-reader-event-listener.html b/LayoutTests/fast/files/file-reader-event-listener.html
index 3d0a350..09996dc 100644
--- a/LayoutTests/fast/files/file-reader-event-listener.html
+++ b/LayoutTests/fast/files/file-reader-event-listener.html
@@ -2,7 +2,7 @@
<html>
<body>
<pre id='console'></pre>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
var fileReader;
@@ -94,6 +94,6 @@
runTest();
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/files/file-reader-fffd.html b/LayoutTests/fast/files/file-reader-fffd.html
index 438001d..985716d 100644
--- a/LayoutTests/fast/files/file-reader-fffd.html
+++ b/LayoutTests/fast/files/file-reader-fffd.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script src="resources/read-common.js"></script>
</head>
<body>
@@ -23,6 +23,6 @@
var jsTestIsAsync = true;
</script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/files/not-enough-arguments.html b/LayoutTests/fast/files/not-enough-arguments.html
index 0fdf175..dc25227 100644
--- a/LayoutTests/fast/files/not-enough-arguments.html
+++ b/LayoutTests/fast/files/not-enough-arguments.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
@@ -19,6 +19,6 @@
shouldThrow('fileInput.files.item()');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/files/url-null.html b/LayoutTests/fast/files/url-null.html
index 7b908de..dbcbe02 100644
--- a/LayoutTests/fast/files/url-null.html
+++ b/LayoutTests/fast/files/url-null.html
@@ -2,7 +2,7 @@
<html>
<head>
<link rel="stylesheet" href="../js/resources/js-test-style.css">
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="description"></div>
@@ -15,6 +15,6 @@
var successfullyParsed = true;
</script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/files/url-required-arguments.html b/LayoutTests/fast/files/url-required-arguments.html
index 46b03e2..17a9103 100644
--- a/LayoutTests/fast/files/url-required-arguments.html
+++ b/LayoutTests/fast/files/url-required-arguments.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="description"></div>
@@ -13,6 +13,6 @@
shouldThrow("URL.revokeObjectURL()");
</script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/files/xhr-response-blob.html b/LayoutTests/fast/files/xhr-response-blob.html
index 48e5ec9..e7778a5 100644
--- a/LayoutTests/fast/files/xhr-response-blob.html
+++ b/LayoutTests/fast/files/xhr-response-blob.html
@@ -1,10 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script src="script-tests/xhr-response-blob.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/async-operations.html b/LayoutTests/fast/filesystem/async-operations.html
index 567e665..67be608 100644
--- a/LayoutTests/fast/filesystem/async-operations.html
+++ b/LayoutTests/fast/filesystem/async-operations.html
@@ -1,10 +1,10 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<script src="resources/async-operations.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/directory-entry-to-uri.html b/LayoutTests/fast/filesystem/directory-entry-to-uri.html
index 5897753..dfdb8a0 100644
--- a/LayoutTests/fast/filesystem/directory-entry-to-uri.html
+++ b/LayoutTests/fast/filesystem/directory-entry-to-uri.html
@@ -1,10 +1,10 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<script src="resources/directory-entry-to-uri.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/entry-points-missing-arguments.html b/LayoutTests/fast/filesystem/entry-points-missing-arguments.html
index 79c531f..abdded3 100644
--- a/LayoutTests/fast/filesystem/entry-points-missing-arguments.html
+++ b/LayoutTests/fast/filesystem/entry-points-missing-arguments.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description('Ensures that we get exceptions when we do not include required arguments for webkitRequestFileSystem and webkitResolveLocalFileSystemURL methods.');
@@ -13,4 +13,4 @@
} else
debug("This test requires window.webkitResolveLocalFileSystemURL.");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/filesystem/file-entry-to-uri.html b/LayoutTests/fast/filesystem/file-entry-to-uri.html
index ea2f695..3ccf549 100644
--- a/LayoutTests/fast/filesystem/file-entry-to-uri.html
+++ b/LayoutTests/fast/filesystem/file-entry-to-uri.html
@@ -1,10 +1,10 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<script src="resources/file-entry-to-uri.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/file-from-file-entry.html b/LayoutTests/fast/filesystem/file-from-file-entry.html
index ace8793..00cf336 100644
--- a/LayoutTests/fast/filesystem/file-from-file-entry.html
+++ b/LayoutTests/fast/filesystem/file-from-file-entry.html
@@ -1,10 +1,10 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<script src="resources/file-from-file-entry.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/file-metadata-after-write.html b/LayoutTests/fast/filesystem/file-metadata-after-write.html
index e77d286..43da822 100644
--- a/LayoutTests/fast/filesystem/file-metadata-after-write.html
+++ b/LayoutTests/fast/filesystem/file-metadata-after-write.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<div>This verifies File.size (for a file from FileSystem API) always returns the fresh size even after the file is modified.</div>
diff --git a/LayoutTests/fast/filesystem/file-writer-abort-continue.html b/LayoutTests/fast/filesystem/file-writer-abort-continue.html
index b11ecf2..afa0920 100644
--- a/LayoutTests/fast/filesystem/file-writer-abort-continue.html
+++ b/LayoutTests/fast/filesystem/file-writer-abort-continue.html
@@ -2,14 +2,14 @@
<html>
<head>
<title>File Writer Abort and Continue</title>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script src="resources/file-writer-utils.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script src="resources/file-writer-abort-continue.js"></script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/file-writer-abort-depth.html b/LayoutTests/fast/filesystem/file-writer-abort-depth.html
index 70b3fde..2b27fe4 100644
--- a/LayoutTests/fast/filesystem/file-writer-abort-depth.html
+++ b/LayoutTests/fast/filesystem/file-writer-abort-depth.html
@@ -2,14 +2,14 @@
<html>
<head>
<title>File Writer Abort Depth</title>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script src="resources/file-writer-utils.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script src="resources/file-writer-abort-depth.js"></script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/file-writer-abort.html b/LayoutTests/fast/filesystem/file-writer-abort.html
index 83b8bec..8b65ffb 100644
--- a/LayoutTests/fast/filesystem/file-writer-abort.html
+++ b/LayoutTests/fast/filesystem/file-writer-abort.html
@@ -2,14 +2,14 @@
<html>
<head>
<title>File Writer Abort</title>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script src="resources/file-writer-utils.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script src="resources/file-writer-abort.js"></script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/file-writer-empty-blob.html b/LayoutTests/fast/filesystem/file-writer-empty-blob.html
index f56fc15..4b95c08 100644
--- a/LayoutTests/fast/filesystem/file-writer-empty-blob.html
+++ b/LayoutTests/fast/filesystem/file-writer-empty-blob.html
@@ -2,14 +2,14 @@
<html>
<head>
<title>File Writer with empty Blob</title>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/file-writer-utils.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script src="resources/file-writer-empty-blob.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/file-writer-events.html b/LayoutTests/fast/filesystem/file-writer-events.html
index 95a6281..9d9bae9 100644
--- a/LayoutTests/fast/filesystem/file-writer-events.html
+++ b/LayoutTests/fast/filesystem/file-writer-events.html
@@ -2,14 +2,14 @@
<html>
<head>
<title>File Writer Events</title>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script src="resources/file-writer-utils.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script src="resources/file-writer-events.js"></script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/file-writer-gc-blob.html b/LayoutTests/fast/filesystem/file-writer-gc-blob.html
index 43c982c..77624c7 100644
--- a/LayoutTests/fast/filesystem/file-writer-gc-blob.html
+++ b/LayoutTests/fast/filesystem/file-writer-gc-blob.html
@@ -2,13 +2,13 @@
<html>
<head>
<title>File Writer GC Blob</title>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script src="resources/file-writer-utils.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script src="resources/file-writer-gc-blob.js"></script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/file-writer-truncate-extend.html b/LayoutTests/fast/filesystem/file-writer-truncate-extend.html
index af8c540..a7bb0d0 100644
--- a/LayoutTests/fast/filesystem/file-writer-truncate-extend.html
+++ b/LayoutTests/fast/filesystem/file-writer-truncate-extend.html
@@ -2,14 +2,14 @@
<html>
<head>
<title>File Writer Truncate-To-Extend</title>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script src="resources/file-writer-utils.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script src="resources/file-writer-truncate-extend.js"></script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/file-writer-write-overlapped.html b/LayoutTests/fast/filesystem/file-writer-write-overlapped.html
index 9f1b885..0f20703 100644
--- a/LayoutTests/fast/filesystem/file-writer-write-overlapped.html
+++ b/LayoutTests/fast/filesystem/file-writer-write-overlapped.html
@@ -2,13 +2,13 @@
<html>
<head>
<title>File Writer Write Overlapped</title>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script src="resources/file-writer-utils.js"></script>
</head>
<body>
<div id="description"></div>
<div id="console"></div>
<script src="resources/file-writer-write-overlapped.js"></script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/filesystem-missing-arguments.html b/LayoutTests/fast/filesystem/filesystem-missing-arguments.html
index 6231be3..83b1a9f 100644
--- a/LayoutTests/fast/filesystem/filesystem-missing-arguments.html
+++ b/LayoutTests/fast/filesystem/filesystem-missing-arguments.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -10,6 +10,6 @@
shouldThrow("webkitRequestFileSystem(TEMPORARY)");
shouldThrow("webkitResolveLocalFileSystemURL()");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/filesystem-reference.html b/LayoutTests/fast/filesystem/filesystem-reference.html
index e70677d..4d48695 100644
--- a/LayoutTests/fast/filesystem/filesystem-reference.html
+++ b/LayoutTests/fast/filesystem/filesystem-reference.html
@@ -1,10 +1,10 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<script src="script-tests/filesystem-reference.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/filesystem-unserializable.html b/LayoutTests/fast/filesystem/filesystem-unserializable.html
index 2bc6167..01ea320 100644
--- a/LayoutTests/fast/filesystem/filesystem-unserializable.html
+++ b/LayoutTests/fast/filesystem/filesystem-unserializable.html
@@ -1,10 +1,10 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<script src="script-tests/filesystem-unserializable.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/flags-passing.html b/LayoutTests/fast/filesystem/flags-passing.html
index ee4a015..525d210 100644
--- a/LayoutTests/fast/filesystem/flags-passing.html
+++ b/LayoutTests/fast/filesystem/flags-passing.html
@@ -1,10 +1,10 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<script src="script-tests/flags-passing.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/input-access-entries.html b/LayoutTests/fast/filesystem/input-access-entries.html
index 5403134..3ac791d 100644
--- a/LayoutTests/fast/filesystem/input-access-entries.html
+++ b/LayoutTests/fast/filesystem/input-access-entries.html
@@ -2,7 +2,7 @@
<html>
<body>
<input name="input" id="input"></input>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description('Tests accessing webkitEntries does not crash when input type is not file');
@@ -10,6 +10,6 @@
shouldEvaluateTo('input.webkitEntries.length', 0);
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/not-enough-arguments.html b/LayoutTests/fast/filesystem/not-enough-arguments.html
index 30a1bad..2df9e25 100644
--- a/LayoutTests/fast/filesystem/not-enough-arguments.html
+++ b/LayoutTests/fast/filesystem/not-enough-arguments.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
@@ -56,6 +56,6 @@
} else
debug("This test requires FileSystem API support.");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/op-copy.html b/LayoutTests/fast/filesystem/op-copy.html
index 2092707..ace7c63 100644
--- a/LayoutTests/fast/filesystem/op-copy.html
+++ b/LayoutTests/fast/filesystem/op-copy.html
@@ -1,12 +1,12 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<div id="console"></div>
<script src="resources/op-copy.js"></script>
<script src="resources/op-tests-helper.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/op-get-entry.html b/LayoutTests/fast/filesystem/op-get-entry.html
index fb3c33c..d694b28 100644
--- a/LayoutTests/fast/filesystem/op-get-entry.html
+++ b/LayoutTests/fast/filesystem/op-get-entry.html
@@ -1,12 +1,12 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<div id="console"></div>
<script src="resources/op-get-entry.js"></script>
<script src="resources/op-tests-helper.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/op-get-metadata.html b/LayoutTests/fast/filesystem/op-get-metadata.html
index c4d4564..9a3e98a 100644
--- a/LayoutTests/fast/filesystem/op-get-metadata.html
+++ b/LayoutTests/fast/filesystem/op-get-metadata.html
@@ -1,13 +1,13 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<div id="console"></div>
<script src="resources/op-get-metadata.js"></script>
<script src="resources/op-tests-helper.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/op-get-parent.html b/LayoutTests/fast/filesystem/op-get-parent.html
index c740557..e2ed437 100644
--- a/LayoutTests/fast/filesystem/op-get-parent.html
+++ b/LayoutTests/fast/filesystem/op-get-parent.html
@@ -1,13 +1,13 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<div id="console"></div>
<script src="resources/op-get-parent.js"></script>
<script src="resources/op-tests-helper.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/op-move.html b/LayoutTests/fast/filesystem/op-move.html
index 8812c5c..005abcd 100644
--- a/LayoutTests/fast/filesystem/op-move.html
+++ b/LayoutTests/fast/filesystem/op-move.html
@@ -1,12 +1,12 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<div id="console"></div>
<script src="resources/op-move.js"></script>
<script src="resources/op-tests-helper.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/op-read-directory.html b/LayoutTests/fast/filesystem/op-read-directory.html
index cafc523..78c4318 100644
--- a/LayoutTests/fast/filesystem/op-read-directory.html
+++ b/LayoutTests/fast/filesystem/op-read-directory.html
@@ -1,12 +1,12 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<div id="console"></div>
<script src="resources/op-read-directory.js"></script>
<script src="resources/op-tests-helper.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/op-remove.html b/LayoutTests/fast/filesystem/op-remove.html
index 96fd1a3..3bf8db9 100644
--- a/LayoutTests/fast/filesystem/op-remove.html
+++ b/LayoutTests/fast/filesystem/op-remove.html
@@ -1,13 +1,13 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<div id="console"></div>
<script src="resources/op-remove.js"></script>
<script src="resources/op-tests-helper.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/op-restricted-chars.html b/LayoutTests/fast/filesystem/op-restricted-chars.html
index d75941c..4e445fe 100644
--- a/LayoutTests/fast/filesystem/op-restricted-chars.html
+++ b/LayoutTests/fast/filesystem/op-restricted-chars.html
@@ -1,12 +1,12 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<div id="console"></div>
<script src="resources/op-restricted-chars.js"></script>
<script src="resources/op-tests-helper.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/op-restricted-names.html b/LayoutTests/fast/filesystem/op-restricted-names.html
index 5f5c571..75dd343 100644
--- a/LayoutTests/fast/filesystem/op-restricted-names.html
+++ b/LayoutTests/fast/filesystem/op-restricted-names.html
@@ -1,12 +1,12 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<div id="console"></div>
<script src="resources/op-restricted-names.js"></script>
<script src="resources/op-tests-helper.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/op-restricted-unicode.html b/LayoutTests/fast/filesystem/op-restricted-unicode.html
index b0c9585..a3d6611 100644
--- a/LayoutTests/fast/filesystem/op-restricted-unicode.html
+++ b/LayoutTests/fast/filesystem/op-restricted-unicode.html
@@ -1,12 +1,12 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<div id="console"></div>
<script src="resources/op-restricted-unicode.js"></script>
<script src="resources/op-tests-helper.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/read-directory.html b/LayoutTests/fast/filesystem/read-directory.html
index db65ecd..db843f3 100644
--- a/LayoutTests/fast/filesystem/read-directory.html
+++ b/LayoutTests/fast/filesystem/read-directory.html
@@ -1,10 +1,10 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<script src="script-tests/read-directory.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/resources/async-operations.js b/LayoutTests/fast/filesystem/resources/async-operations.js
index e509b9b..062bf6b 100644
--- a/LayoutTests/fast/filesystem/resources/async-operations.js
+++ b/LayoutTests/fast/filesystem/resources/async-operations.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('../resources/fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('../resources/fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/directory-entry-to-uri.js b/LayoutTests/fast/filesystem/resources/directory-entry-to-uri.js
index 92e8e2c..3249ede 100644
--- a/LayoutTests/fast/filesystem/resources/directory-entry-to-uri.js
+++ b/LayoutTests/fast/filesystem/resources/directory-entry-to-uri.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/file-entry-to-uri-sync.js b/LayoutTests/fast/filesystem/resources/file-entry-to-uri-sync.js
index f40b381..142bb49 100644
--- a/LayoutTests/fast/filesystem/resources/file-entry-to-uri-sync.js
+++ b/LayoutTests/fast/filesystem/resources/file-entry-to-uri-sync.js
@@ -1,5 +1,5 @@
importScripts('fs-worker-common.js');
-importScripts('../../js/resources/js-test-pre.js');
+importScripts('../../../resources/js-test-pre.js');
description("Obtaining URL from FileEntry.");
diff --git a/LayoutTests/fast/filesystem/resources/file-entry-to-uri.js b/LayoutTests/fast/filesystem/resources/file-entry-to-uri.js
index c5514e7..cca549a 100644
--- a/LayoutTests/fast/filesystem/resources/file-entry-to-uri.js
+++ b/LayoutTests/fast/filesystem/resources/file-entry-to-uri.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/file-from-file-entry-sync.js b/LayoutTests/fast/filesystem/resources/file-from-file-entry-sync.js
index ca2c4ac..c1bf558 100644
--- a/LayoutTests/fast/filesystem/resources/file-from-file-entry-sync.js
+++ b/LayoutTests/fast/filesystem/resources/file-from-file-entry-sync.js
@@ -1,6 +1,6 @@
// FIXME: move this under workers/resources
importScripts('fs-worker-common.js');
-importScripts('../../js/resources/js-test-pre.js');
+importScripts('../../../resources/js-test-pre.js');
description("Obtaining File from FileEntrySync.");
diff --git a/LayoutTests/fast/filesystem/resources/file-from-file-entry.js b/LayoutTests/fast/filesystem/resources/file-from-file-entry.js
index d8c1219..fda9f6eb 100644
--- a/LayoutTests/fast/filesystem/resources/file-from-file-entry.js
+++ b/LayoutTests/fast/filesystem/resources/file-from-file-entry.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-abort-continue.js b/LayoutTests/fast/filesystem/resources/file-writer-abort-continue.js
index 522c434..a951ebd 100644
--- a/LayoutTests/fast/filesystem/resources/file-writer-abort-continue.js
+++ b/LayoutTests/fast/filesystem/resources/file-writer-abort-continue.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('file-writer-utils.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-abort-depth.js b/LayoutTests/fast/filesystem/resources/file-writer-abort-depth.js
index 97b120a..7809dbf 100644
--- a/LayoutTests/fast/filesystem/resources/file-writer-abort-depth.js
+++ b/LayoutTests/fast/filesystem/resources/file-writer-abort-depth.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('file-writer-utils.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-abort.js b/LayoutTests/fast/filesystem/resources/file-writer-abort.js
index 499a7df..82c27d4 100644
--- a/LayoutTests/fast/filesystem/resources/file-writer-abort.js
+++ b/LayoutTests/fast/filesystem/resources/file-writer-abort.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('file-writer-utils.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-empty-blob.js b/LayoutTests/fast/filesystem/resources/file-writer-empty-blob.js
index 4ed0b77..13534ba 100644
--- a/LayoutTests/fast/filesystem/resources/file-writer-empty-blob.js
+++ b/LayoutTests/fast/filesystem/resources/file-writer-empty-blob.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('file-writer-utils.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-events.js b/LayoutTests/fast/filesystem/resources/file-writer-events.js
index 8d0e526..6201a41 100644
--- a/LayoutTests/fast/filesystem/resources/file-writer-events.js
+++ b/LayoutTests/fast/filesystem/resources/file-writer-events.js
@@ -1,7 +1,7 @@
if (this.importScripts) {
importScripts('fs-worker-common.js');
if (!('description' in self)) // Shared workers will already have imported this, and importing twice would break it.
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('file-writer-utils.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-gc-blob.js b/LayoutTests/fast/filesystem/resources/file-writer-gc-blob.js
index 48fb75c..9a0b406 100644
--- a/LayoutTests/fast/filesystem/resources/file-writer-gc-blob.js
+++ b/LayoutTests/fast/filesystem/resources/file-writer-gc-blob.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('file-writer-utils.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-sync-truncate-extend.js b/LayoutTests/fast/filesystem/resources/file-writer-sync-truncate-extend.js
index 8fbb014..8a6cd08 100644
--- a/LayoutTests/fast/filesystem/resources/file-writer-sync-truncate-extend.js
+++ b/LayoutTests/fast/filesystem/resources/file-writer-sync-truncate-extend.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('../resources/fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('../resources/fs-test-util.js');
importScripts('../resources/file-writer-utils.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-sync-write-overlapped.js b/LayoutTests/fast/filesystem/resources/file-writer-sync-write-overlapped.js
index 6e3d57b..17c3c0e 100644
--- a/LayoutTests/fast/filesystem/resources/file-writer-sync-write-overlapped.js
+++ b/LayoutTests/fast/filesystem/resources/file-writer-sync-write-overlapped.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('../resources/fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('../resources/fs-test-util.js');
importScripts('../resources/file-writer-utils.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-truncate-extend.js b/LayoutTests/fast/filesystem/resources/file-writer-truncate-extend.js
index 483ef2c..fa29552 100644
--- a/LayoutTests/fast/filesystem/resources/file-writer-truncate-extend.js
+++ b/LayoutTests/fast/filesystem/resources/file-writer-truncate-extend.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('file-writer-utils.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/file-writer-write-overlapped.js b/LayoutTests/fast/filesystem/resources/file-writer-write-overlapped.js
index 1764a11..b5376c1 100644
--- a/LayoutTests/fast/filesystem/resources/file-writer-write-overlapped.js
+++ b/LayoutTests/fast/filesystem/resources/file-writer-write-overlapped.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('file-writer-utils.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/shared-worker-stub.js b/LayoutTests/fast/filesystem/resources/shared-worker-stub.js
index 6378969b..7ed33cb 100644
--- a/LayoutTests/fast/filesystem/resources/shared-worker-stub.js
+++ b/LayoutTests/fast/filesystem/resources/shared-worker-stub.js
@@ -1,3 +1,3 @@
// We don't start js-test-pre.js directly as the worker script because it screws
// up the base of all relative paths passed to importScripts.
-importScripts('../../js/resources/js-test-pre.js');
+importScripts('../../../resources/js-test-pre.js');
diff --git a/LayoutTests/fast/filesystem/resources/simple-persistent-sync.js b/LayoutTests/fast/filesystem/resources/simple-persistent-sync.js
index 3bb135c..9bfcf59 100644
--- a/LayoutTests/fast/filesystem/resources/simple-persistent-sync.js
+++ b/LayoutTests/fast/filesystem/resources/simple-persistent-sync.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('../resources/fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('../resources/fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/simple-persistent.js b/LayoutTests/fast/filesystem/resources/simple-persistent.js
index 7e8580f5..6a20b0b 100644
--- a/LayoutTests/fast/filesystem/resources/simple-persistent.js
+++ b/LayoutTests/fast/filesystem/resources/simple-persistent.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('../resources/fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('../resources/fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/simple-readonly.js b/LayoutTests/fast/filesystem/resources/simple-readonly.js
index 951b7d4..ef7d96b 100644
--- a/LayoutTests/fast/filesystem/resources/simple-readonly.js
+++ b/LayoutTests/fast/filesystem/resources/simple-readonly.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('../resources/fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('../resources/fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/simple-required-arguments-getdirectory.js b/LayoutTests/fast/filesystem/resources/simple-required-arguments-getdirectory.js
index fb9fb2f..99bc4d1 100644
--- a/LayoutTests/fast/filesystem/resources/simple-required-arguments-getdirectory.js
+++ b/LayoutTests/fast/filesystem/resources/simple-required-arguments-getdirectory.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('../resources/fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('../resources/fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/simple-required-arguments-getfile.js b/LayoutTests/fast/filesystem/resources/simple-required-arguments-getfile.js
index 65efd59..00beed9 100644
--- a/LayoutTests/fast/filesystem/resources/simple-required-arguments-getfile.js
+++ b/LayoutTests/fast/filesystem/resources/simple-required-arguments-getfile.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('../resources/fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('../resources/fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/simple-required-arguments-getmetadata.js b/LayoutTests/fast/filesystem/resources/simple-required-arguments-getmetadata.js
index 1c6affd..c1a3757 100644
--- a/LayoutTests/fast/filesystem/resources/simple-required-arguments-getmetadata.js
+++ b/LayoutTests/fast/filesystem/resources/simple-required-arguments-getmetadata.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('../resources/fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('../resources/fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/simple-required-arguments-remove.js b/LayoutTests/fast/filesystem/resources/simple-required-arguments-remove.js
index 654da74..0cb28c6 100644
--- a/LayoutTests/fast/filesystem/resources/simple-required-arguments-remove.js
+++ b/LayoutTests/fast/filesystem/resources/simple-required-arguments-remove.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('../resources/fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('../resources/fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/simple-temporary-sync.js b/LayoutTests/fast/filesystem/resources/simple-temporary-sync.js
index ec15bdc..91231e0 100644
--- a/LayoutTests/fast/filesystem/resources/simple-temporary-sync.js
+++ b/LayoutTests/fast/filesystem/resources/simple-temporary-sync.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('../resources/fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('../resources/fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/simple-temporary.js b/LayoutTests/fast/filesystem/resources/simple-temporary.js
index c7b2824..32e79d5 100644
--- a/LayoutTests/fast/filesystem/resources/simple-temporary.js
+++ b/LayoutTests/fast/filesystem/resources/simple-temporary.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('../resources/fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('../resources/fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/resources/sync-operations.js b/LayoutTests/fast/filesystem/resources/sync-operations.js
index 90ecc69..878cbc8 100644
--- a/LayoutTests/fast/filesystem/resources/sync-operations.js
+++ b/LayoutTests/fast/filesystem/resources/sync-operations.js
@@ -1,6 +1,6 @@
if (this.importScripts) {
importScripts('../resources/fs-worker-common.js');
- importScripts('../../js/resources/js-test-pre.js');
+ importScripts('../../../resources/js-test-pre.js');
importScripts('../resources/fs-test-util.js');
}
diff --git a/LayoutTests/fast/filesystem/script-tests/TEMPLATE.html b/LayoutTests/fast/filesystem/script-tests/TEMPLATE.html
index 4cbdff6..2ff82c9 100644
--- a/LayoutTests/fast/filesystem/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/filesystem/script-tests/TEMPLATE.html
@@ -1,10 +1,10 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/fs-test-util.js"></script>
</head>
<body>
<script src="YOUR_JS_FILE_HERE"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/simple-persistent.html b/LayoutTests/fast/filesystem/simple-persistent.html
index 1940ee3..db8ffd2 100644
--- a/LayoutTests/fast/filesystem/simple-persistent.html
+++ b/LayoutTests/fast/filesystem/simple-persistent.html
@@ -1,9 +1,9 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script src="resources/simple-persistent.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/simple-readonly-file-object.html b/LayoutTests/fast/filesystem/simple-readonly-file-object.html
index 8665431..8e62733 100644
--- a/LayoutTests/fast/filesystem/simple-readonly-file-object.html
+++ b/LayoutTests/fast/filesystem/simple-readonly-file-object.html
@@ -2,7 +2,7 @@
<html>
<head>
<script src="resources/fs-test-util.js"></script>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -58,6 +58,6 @@
var jsTestIsAsync = true;
evalAndLog("webkitRequestFileSystem(TEMPORARY, 100, fileSystemCallback, errorCallback);");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/simple-readonly.html b/LayoutTests/fast/filesystem/simple-readonly.html
index fe402f4..9b3c04a 100644
--- a/LayoutTests/fast/filesystem/simple-readonly.html
+++ b/LayoutTests/fast/filesystem/simple-readonly.html
@@ -1,11 +1,11 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="resources/simple-readonly.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/simple-required-arguments-getdirectory.html b/LayoutTests/fast/filesystem/simple-required-arguments-getdirectory.html
index 8728f80..9eca105 100644
--- a/LayoutTests/fast/filesystem/simple-required-arguments-getdirectory.html
+++ b/LayoutTests/fast/filesystem/simple-required-arguments-getdirectory.html
@@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" href="../js/resources/js-test-style.css">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="resources/simple-required-arguments-getdirectory.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/simple-required-arguments-getfile.html b/LayoutTests/fast/filesystem/simple-required-arguments-getfile.html
index 7bcb7ff..d272b30 100644
--- a/LayoutTests/fast/filesystem/simple-required-arguments-getfile.html
+++ b/LayoutTests/fast/filesystem/simple-required-arguments-getfile.html
@@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" href="../js/resources/js-test-style.css">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="resources/simple-required-arguments-getfile.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/simple-required-arguments-getmetadata.html b/LayoutTests/fast/filesystem/simple-required-arguments-getmetadata.html
index 3ccd8f6..a3a41f1 100644
--- a/LayoutTests/fast/filesystem/simple-required-arguments-getmetadata.html
+++ b/LayoutTests/fast/filesystem/simple-required-arguments-getmetadata.html
@@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" href="../js/resources/js-test-style.css">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="resources/simple-required-arguments-getmetadata.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/simple-required-arguments-remove.html b/LayoutTests/fast/filesystem/simple-required-arguments-remove.html
index 8af7e71..61984fd 100644
--- a/LayoutTests/fast/filesystem/simple-required-arguments-remove.html
+++ b/LayoutTests/fast/filesystem/simple-required-arguments-remove.html
@@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" href="../js/resources/js-test-style.css">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="resources/simple-required-arguments-remove.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/simple-temporary.html b/LayoutTests/fast/filesystem/simple-temporary.html
index 5e7d4a8..3be36fa 100644
--- a/LayoutTests/fast/filesystem/simple-temporary.html
+++ b/LayoutTests/fast/filesystem/simple-temporary.html
@@ -1,9 +1,9 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script src="resources/simple-temporary.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/async-operations.html b/LayoutTests/fast/filesystem/workers/async-operations.html
index 8464a28..142467f 100644
--- a/LayoutTests/fast/filesystem/workers/async-operations.html
+++ b/LayoutTests/fast/filesystem/workers/async-operations.html
@@ -1,12 +1,12 @@
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
worker = startWorker('../resources/async-operations.js');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/file-entry-to-uri-sync.html b/LayoutTests/fast/filesystem/workers/file-entry-to-uri-sync.html
index 337f78a..972e5fd 100644
--- a/LayoutTests/fast/filesystem/workers/file-entry-to-uri-sync.html
+++ b/LayoutTests/fast/filesystem/workers/file-entry-to-uri-sync.html
@@ -1,11 +1,11 @@
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
worker = startWorker('../resources/file-entry-to-uri-sync.js');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/file-from-file-entry-sync.html b/LayoutTests/fast/filesystem/workers/file-from-file-entry-sync.html
index 30bf92a..cd78f99 100644
--- a/LayoutTests/fast/filesystem/workers/file-from-file-entry-sync.html
+++ b/LayoutTests/fast/filesystem/workers/file-from-file-entry-sync.html
@@ -1,11 +1,11 @@
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
worker = startWorker('../resources/file-from-file-entry-sync.js');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/file-from-file-entry.html b/LayoutTests/fast/filesystem/workers/file-from-file-entry.html
index 1bc9e02..c241feb 100644
--- a/LayoutTests/fast/filesystem/workers/file-from-file-entry.html
+++ b/LayoutTests/fast/filesystem/workers/file-from-file-entry.html
@@ -1,11 +1,11 @@
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
worker = startWorker('../resources/file-from-file-entry.js');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/file-writer-empty-blob.html b/LayoutTests/fast/filesystem/workers/file-writer-empty-blob.html
index 353c545..4a87afd 100644
--- a/LayoutTests/fast/filesystem/workers/file-writer-empty-blob.html
+++ b/LayoutTests/fast/filesystem/workers/file-writer-empty-blob.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>File Writer with empty Blob in Worker</title>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="description"></div>
@@ -10,6 +10,6 @@
<script>
worker = startWorker("../resources/file-writer-empty-blob.js");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/file-writer-events-shared-worker.html b/LayoutTests/fast/filesystem/workers/file-writer-events-shared-worker.html
index 8968094..968a6c6 100644
--- a/LayoutTests/fast/filesystem/workers/file-writer-events-shared-worker.html
+++ b/LayoutTests/fast/filesystem/workers/file-writer-events-shared-worker.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>File Writer Events Shared Worker</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="description"></div>
@@ -11,7 +11,7 @@
var worker = startWorker("../resources/shared-worker-stub.js", true /* shared */);
worker.port.postMessage("IMPORT:file-writer-events.js");
</script>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/file-writer-events.html b/LayoutTests/fast/filesystem/workers/file-writer-events.html
index 664084d..49c416a 100644
--- a/LayoutTests/fast/filesystem/workers/file-writer-events.html
+++ b/LayoutTests/fast/filesystem/workers/file-writer-events.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>File Writer Events Worker</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="description"></div>
@@ -10,7 +10,7 @@
<script>
worker = startWorker("../resources/file-writer-events.js");
</script>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/file-writer-gc-blob.html b/LayoutTests/fast/filesystem/workers/file-writer-gc-blob.html
index 51f0415..6d07382 100644
--- a/LayoutTests/fast/filesystem/workers/file-writer-gc-blob.html
+++ b/LayoutTests/fast/filesystem/workers/file-writer-gc-blob.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>File Writer GC Blob Worker</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="description"></div>
@@ -10,7 +10,7 @@
<script>
worker = startWorker("../resources/file-writer-gc-blob.js");
</script>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/file-writer-sync-truncate-extend.html b/LayoutTests/fast/filesystem/workers/file-writer-sync-truncate-extend.html
index f3d05f9..f38765e 100644
--- a/LayoutTests/fast/filesystem/workers/file-writer-sync-truncate-extend.html
+++ b/LayoutTests/fast/filesystem/workers/file-writer-sync-truncate-extend.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>File Writer Sync Truncate-To-Extend</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="description"></div>
@@ -10,7 +10,7 @@
<script>
worker = startWorker("../resources/file-writer-sync-truncate-extend.js");
</script>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/file-writer-sync-write-overlapped.html b/LayoutTests/fast/filesystem/workers/file-writer-sync-write-overlapped.html
index cbbe802..3313c29 100644
--- a/LayoutTests/fast/filesystem/workers/file-writer-sync-write-overlapped.html
+++ b/LayoutTests/fast/filesystem/workers/file-writer-sync-write-overlapped.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>File Writer Sync Truncate-To-Extend</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="description"></div>
@@ -10,7 +10,7 @@
<script>
worker = startWorker("../resources/file-writer-sync-write-overlapped.js");
</script>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/file-writer-truncate-extend.html b/LayoutTests/fast/filesystem/workers/file-writer-truncate-extend.html
index c49d738..12dad18 100644
--- a/LayoutTests/fast/filesystem/workers/file-writer-truncate-extend.html
+++ b/LayoutTests/fast/filesystem/workers/file-writer-truncate-extend.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>File Writer Truncate-To-Extend Worker</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="description"></div>
@@ -10,7 +10,7 @@
<script>
worker = startWorker("../resources/file-writer-truncate-extend.js");
</script>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/file-writer-write-overlapped.html b/LayoutTests/fast/filesystem/workers/file-writer-write-overlapped.html
index c059705..5db53f1 100644
--- a/LayoutTests/fast/filesystem/workers/file-writer-write-overlapped.html
+++ b/LayoutTests/fast/filesystem/workers/file-writer-write-overlapped.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>File Writer Write Overlapped Worker</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="description"></div>
@@ -10,7 +10,7 @@
<script>
worker = startWorker("../resources/file-writer-write-overlapped.js");
</script>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/simple-persistent-sync.html b/LayoutTests/fast/filesystem/workers/simple-persistent-sync.html
index fbb4c43..96ba399 100644
--- a/LayoutTests/fast/filesystem/workers/simple-persistent-sync.html
+++ b/LayoutTests/fast/filesystem/workers/simple-persistent-sync.html
@@ -1,12 +1,12 @@
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
worker = startWorker('../resources/simple-persistent-sync.js');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/simple-persistent.html b/LayoutTests/fast/filesystem/workers/simple-persistent.html
index fa57f34..08e38fa 100644
--- a/LayoutTests/fast/filesystem/workers/simple-persistent.html
+++ b/LayoutTests/fast/filesystem/workers/simple-persistent.html
@@ -1,11 +1,11 @@
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
worker = startWorker('../resources/simple-persistent.js');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/simple-temporary-sync.html b/LayoutTests/fast/filesystem/workers/simple-temporary-sync.html
index 0ac529c..0fec618 100644
--- a/LayoutTests/fast/filesystem/workers/simple-temporary-sync.html
+++ b/LayoutTests/fast/filesystem/workers/simple-temporary-sync.html
@@ -1,12 +1,12 @@
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
worker = startWorker('../resources/simple-temporary-sync.js');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/simple-temporary.html b/LayoutTests/fast/filesystem/workers/simple-temporary.html
index 2b5bb89..12fb82f 100644
--- a/LayoutTests/fast/filesystem/workers/simple-temporary.html
+++ b/LayoutTests/fast/filesystem/workers/simple-temporary.html
@@ -1,11 +1,11 @@
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
worker = startWorker('../resources/simple-temporary.js');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filesystem/workers/sync-operations.html b/LayoutTests/fast/filesystem/workers/sync-operations.html
index 4db9461..a7b48b3 100644
--- a/LayoutTests/fast/filesystem/workers/sync-operations.html
+++ b/LayoutTests/fast/filesystem/workers/sync-operations.html
@@ -1,12 +1,12 @@
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
worker = startWorker('../resources/sync-operations.js');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/filter-image/parse-filter-image.html b/LayoutTests/fast/filter-image/parse-filter-image.html
index e4da8d4..9fa5b91 100644
--- a/LayoutTests/fast/filter-image/parse-filter-image.html
+++ b/LayoutTests/fast/filter-image/parse-filter-image.html
@@ -5,7 +5,7 @@
div { font-size: 8px; }
</style>
<body>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description('Test parsing and computation of CSS image filter() function.');
@@ -390,6 +390,6 @@
negativeTest("background-image", "-webkit-filter(url(image1.png), url(image2.png), brightness(50%))");
negativeTest("background-image", "-webkit-filter(invalidToken.png, blur(3px))");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/flexbox/box-orient-button.html b/LayoutTests/fast/flexbox/box-orient-button.html
index 713af63..7359036 100644
--- a/LayoutTests/fast/flexbox/box-orient-button.html
+++ b/LayoutTests/fast/flexbox/box-orient-button.html
@@ -19,7 +19,7 @@
display: flex;
}
</style>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -69,6 +69,6 @@
</div>
<div id="console"></div>
<script src="resources/box-orient-button.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/flexbox/child-flexing.html b/LayoutTests/fast/flexbox/child-flexing.html
index b972ea9..0510af0 100644
--- a/LayoutTests/fast/flexbox/child-flexing.html
+++ b/LayoutTests/fast/flexbox/child-flexing.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<style>
div.box {
display: -moz-box;
@@ -139,5 +139,5 @@
shouldBe("element.scrollHeight", "100");
shouldBe("element.scrollWidth", "100");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis.html b/LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis.html
index c17d5ed..33e985e 100644
--- a/LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis.html
+++ b/LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<style>
span#container {
display: inline-block; /* clamp the width of the enclosing P to its contents */
@@ -35,6 +35,6 @@
shouldBeEqualToString("document.getElementsByTagName('a')[0].textContent", "clicked");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/flexbox/repaint-scrollbar.html b/LayoutTests/fast/flexbox/repaint-scrollbar.html
index daf041a..a08afe9 100644
--- a/LayoutTests/fast/flexbox/repaint-scrollbar.html
+++ b/LayoutTests/fast/flexbox/repaint-scrollbar.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -31,6 +31,6 @@
</div>
<div id="console"></div>
<script src="resources/repaint-scrollbar.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/flexbox/vertical-box-form-controls.html b/LayoutTests/fast/flexbox/vertical-box-form-controls.html
index 1e8977f9..584d00d 100644
--- a/LayoutTests/fast/flexbox/vertical-box-form-controls.html
+++ b/LayoutTests/fast/flexbox/vertical-box-form-controls.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<style>
div.box {
display: -moz-box;
@@ -72,6 +72,6 @@
shouldBe("element.offsetHeight", "100");
shouldBe("element.offsetWidth", "100");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/ValidityState-customError.html b/LayoutTests/fast/forms/ValidityState-customError.html
index f3e22c0..a7d4b89 100644
--- a/LayoutTests/fast/forms/ValidityState-customError.html
+++ b/LayoutTests/fast/forms/ValidityState-customError.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -153,6 +153,6 @@
debug('');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/ValidityState-patternMismatch-unsupported.html b/LayoutTests/fast/forms/ValidityState-patternMismatch-unsupported.html
index b2fd9c6..f49d82e 100644
--- a/LayoutTests/fast/forms/ValidityState-patternMismatch-unsupported.html
+++ b/LayoutTests/fast/forms/ValidityState-patternMismatch-unsupported.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -22,6 +22,6 @@
shouldBe('input.validity.patternMismatch', 'true');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/ValidityState-patternMismatch.html b/LayoutTests/fast/forms/ValidityState-patternMismatch.html
index 573707b..159ed9d 100644
--- a/LayoutTests/fast/forms/ValidityState-patternMismatch.html
+++ b/LayoutTests/fast/forms/ValidityState-patternMismatch.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -143,6 +143,6 @@
document.body.removeChild(document.getElementById('container'));
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/ValidityState-rangeOverflow.html b/LayoutTests/fast/forms/ValidityState-rangeOverflow.html
index 716988e..1fbe709 100644
--- a/LayoutTests/fast/forms/ValidityState-rangeOverflow.html
+++ b/LayoutTests/fast/forms/ValidityState-rangeOverflow.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -31,6 +31,6 @@
input.type = 'text'; // No overflow for type=text.
checkNotOverflow('101', '100');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/ValidityState-rangeUnderflow.html b/LayoutTests/fast/forms/ValidityState-rangeUnderflow.html
index 3e530ef..a07f258 100644
--- a/LayoutTests/fast/forms/ValidityState-rangeUnderflow.html
+++ b/LayoutTests/fast/forms/ValidityState-rangeUnderflow.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -31,6 +31,6 @@
input.type = 'text'; // No underflow for type=text.
checkNotUnderflow('99', '100');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/ValidityState-stepMismatch.html b/LayoutTests/fast/forms/ValidityState-stepMismatch.html
index 376d126..49af65d6 100644
--- a/LayoutTests/fast/forms/ValidityState-stepMismatch.html
+++ b/LayoutTests/fast/forms/ValidityState-stepMismatch.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -30,6 +30,6 @@
shouldBe('input.type = "url"; input.validity.stepMismatch', 'false');
shouldBe('input.type = "file"; input.validity.stepMismatch', 'false');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/ValidityState-tooLong-input.html b/LayoutTests/fast/forms/ValidityState-tooLong-input.html
index 78d0ccf..a614500 100644
--- a/LayoutTests/fast/forms/ValidityState-tooLong-input.html
+++ b/LayoutTests/fast/forms/ValidityState-tooLong-input.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -76,6 +76,6 @@
shouldBeTrue('input.validity.tooLong');
shouldBeFalse('input.type = "number"; input.validity.tooLong');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/ValidityState-tooLong-textarea.html b/LayoutTests/fast/forms/ValidityState-tooLong-textarea.html
index c9ea2ed..9ebab0d 100644
--- a/LayoutTests/fast/forms/ValidityState-tooLong-textarea.html
+++ b/LayoutTests/fast/forms/ValidityState-tooLong-textarea.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -91,6 +91,6 @@
shouldBe('textarea.value', '"abcdef"');
shouldBeFalse('textarea.validity.tooLong');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/ValidityState-typeMismatch-email.html b/LayoutTests/fast/forms/ValidityState-typeMismatch-email.html
index 6a56720..4200447 100644
--- a/LayoutTests/fast/forms/ValidityState-typeMismatch-email.html
+++ b/LayoutTests/fast/forms/ValidityState-typeMismatch-email.html
@@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="resources/ValidityState-typeMismatch-email.js"></script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/ValidityState-typeMismatch-url.html b/LayoutTests/fast/forms/ValidityState-typeMismatch-url.html
index 5dd4fd5..c73d503 100644
--- a/LayoutTests/fast/forms/ValidityState-typeMismatch-url.html
+++ b/LayoutTests/fast/forms/ValidityState-typeMismatch-url.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -90,6 +90,6 @@
// Disabled
expectValid('invalid', true);
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/ValidityState-valueMissing-001.html b/LayoutTests/fast/forms/ValidityState-valueMissing-001.html
index dfeff99..0c4ceaf 100644
--- a/LayoutTests/fast/forms/ValidityState-valueMissing-001.html
+++ b/LayoutTests/fast/forms/ValidityState-valueMissing-001.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>required and basic valueMissing</title>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -86,6 +86,6 @@
shouldBeFalse('valueMissingFor("select-optgroup")');
shouldBeTrue('valueMissingFor("select-disabled-option")');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/ValidityState-valueMissing-002.html b/LayoutTests/fast/forms/ValidityState-valueMissing-002.html
index 532e691..a173297 100644
--- a/LayoutTests/fast/forms/ValidityState-valueMissing-002.html
+++ b/LayoutTests/fast/forms/ValidityState-valueMissing-002.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>required and basic valueMissing 2</title>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -99,6 +99,6 @@
document.body.removeChild(document.getElementById('parent'));
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/ValidityState-valueMissing-003.html b/LayoutTests/fast/forms/ValidityState-valueMissing-003.html
index e8b0ca9..619aeb6 100644
--- a/LayoutTests/fast/forms/ValidityState-valueMissing-003.html
+++ b/LayoutTests/fast/forms/ValidityState-valueMissing-003.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>required and valueMissing on disabled elements</title>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -74,6 +74,6 @@
shouldBeFalse('valueMissingFor("select-fake-placeholder-selected-size2-multiple")');
shouldBeFalse('valueMissingFor("select-without-fake-placeholder-size2-multiple")');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/access-key-for-all-elements.html b/LayoutTests/fast/forms/access-key-for-all-elements.html
index 77bb7ec..e429bb9 100644
--- a/LayoutTests/fast/forms/access-key-for-all-elements.html
+++ b/LayoutTests/fast/forms/access-key-for-all-elements.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -38,7 +38,7 @@
debug('');
}
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
<div id="console"></div>
</body>
</html>
diff --git a/LayoutTests/fast/forms/autocomplete.html b/LayoutTests/fast/forms/autocomplete.html
index c638627..0443895 100644
--- a/LayoutTests/fast/forms/autocomplete.html
+++ b/LayoutTests/fast/forms/autocomplete.html
@@ -1,6 +1,6 @@
<html>
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
function test() {
var form = document.getElementById('form');
diff --git a/LayoutTests/fast/forms/autofocus-focus-only-once.html b/LayoutTests/fast/forms/autofocus-focus-only-once.html
index d5fc833..31e0545 100644
--- a/LayoutTests/fast/forms/autofocus-focus-only-once.html
+++ b/LayoutTests/fast/forms/autofocus-focus-only-once.html
@@ -5,7 +5,7 @@
input { background:red }
input:focus { background:lime }
</style>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script language="JavaScript" type="text/javascript">
window.jsTestIsAsync = true;
@@ -31,6 +31,6 @@
<pre id="console">
</pre>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/autofocus-keygen.html b/LayoutTests/fast/forms/autofocus-keygen.html
index 6564c50..e8970df 100644
--- a/LayoutTests/fast/forms/autofocus-keygen.html
+++ b/LayoutTests/fast/forms/autofocus-keygen.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
window.jsTestIsAsync = true;
@@ -18,6 +18,6 @@
This tests whether the keygen element supports the autofocus attribute.
</pre>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/button-in-forms-collection.html b/LayoutTests/fast/forms/button-in-forms-collection.html
index 8577b49..4bc71f0 100644
--- a/LayoutTests/fast/forms/button-in-forms-collection.html
+++ b/LayoutTests/fast/forms/button-in-forms-collection.html
@@ -1,7 +1,7 @@
<!-- Based on testcase from KDE bug #110629, heavily modified -->
<html> <head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
diff --git a/LayoutTests/fast/forms/checkValidity-001.html b/LayoutTests/fast/forms/checkValidity-001.html
index 7979b12..21fc218 100644
--- a/LayoutTests/fast/forms/checkValidity-001.html
+++ b/LayoutTests/fast/forms/checkValidity-001.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -28,6 +28,6 @@
shouldBe('document.getElementsByTagName("object")[0].checkValidity()', 'true');
shouldBe('document.getElementsByTagName("keygen")[0].checkValidity()', 'true');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/checkValidity-002.html b/LayoutTests/fast/forms/checkValidity-002.html
index 3e9be04..5d2e2ca 100644
--- a/LayoutTests/fast/forms/checkValidity-002.html
+++ b/LayoutTests/fast/forms/checkValidity-002.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -37,6 +37,6 @@
shouldBeFalse('checkValidityFor("select-placeholder")');
shouldBeTrue('checkValidityFor("select-non-placeholder")');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/checkValidity-003.html b/LayoutTests/fast/forms/checkValidity-003.html
index e80ad5b..0f1778d 100644
--- a/LayoutTests/fast/forms/checkValidity-003.html
+++ b/LayoutTests/fast/forms/checkValidity-003.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -19,6 +19,6 @@
f = document.getElementById("happy_form");
shouldBe("f.checkValidity()", "true");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/checkValidity-004.html b/LayoutTests/fast/forms/checkValidity-004.html
index 45e949c..223cbc6 100644
--- a/LayoutTests/fast/forms/checkValidity-004.html
+++ b/LayoutTests/fast/forms/checkValidity-004.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -19,6 +19,6 @@
f = document.getElementById("sad_form");
shouldBe("f.checkValidity()", "false");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/checkValidity-cancel.html b/LayoutTests/fast/forms/checkValidity-cancel.html
index 450f212..b519686 100644
--- a/LayoutTests/fast/forms/checkValidity-cancel.html
+++ b/LayoutTests/fast/forms/checkValidity-cancel.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -38,6 +38,6 @@
// form.checkValidity() also should be false.
shouldBeTrue('invalidFired = false; !form.checkValidity() && invalidFired');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/checkValidity-handler-updates-dom.html b/LayoutTests/fast/forms/checkValidity-handler-updates-dom.html
index 7bb2c66..fbe594b 100644
--- a/LayoutTests/fast/forms/checkValidity-handler-updates-dom.html
+++ b/LayoutTests/fast/forms/checkValidity-handler-updates-dom.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -94,6 +94,6 @@
parent.innerHTML = '';
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/checkbox-click-indeterminate.html b/LayoutTests/fast/forms/checkbox-click-indeterminate.html
index 2d54fd0..d5904b4 100644
--- a/LayoutTests/fast/forms/checkbox-click-indeterminate.html
+++ b/LayoutTests/fast/forms/checkbox-click-indeterminate.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -39,6 +39,6 @@
shouldBeFalse('cb.checked');
shouldBeTrue('cb.indeterminate');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/forms/checkbox-default-value.html b/LayoutTests/fast/forms/checkbox-default-value.html
index 1b1b86c..3fa72d1 100644
--- a/LayoutTests/fast/forms/checkbox-default-value.html
+++ b/LayoutTests/fast/forms/checkbox-default-value.html
@@ -1,5 +1,5 @@
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="console"></div>
diff --git a/LayoutTests/fast/forms/checkbox-onchange.html b/LayoutTests/fast/forms/checkbox-onchange.html
index 2e41649..b676297 100644
--- a/LayoutTests/fast/forms/checkbox-onchange.html
+++ b/LayoutTests/fast/forms/checkbox-onchange.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<input type="checkbox" id="ch" onchange="handleChange()">
@@ -14,6 +14,6 @@
document.getElementById('ch').click();
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/color/color-setrangetext.html b/LayoutTests/fast/forms/color/color-setrangetext.html
index 4d9d172..7ffd767 100644
--- a/LayoutTests/fast/forms/color/color-setrangetext.html
+++ b/LayoutTests/fast/forms/color/color-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -10,7 +10,7 @@
description("Test setRangeText() method is not available in color inputs.");
runTestsShouldFail("input", { type: "color" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/color/input-color-onchange-event.html b/LayoutTests/fast/forms/color/input-color-onchange-event.html
index e3a22fb..22a1524 100644
--- a/LayoutTests/fast/forms/color/input-color-onchange-event.html
+++ b/LayoutTests/fast/forms/color/input-color-onchange-event.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
diff --git a/LayoutTests/fast/forms/color/input-value-sanitization-color.html b/LayoutTests/fast/forms/color/input-value-sanitization-color.html
index f67e5ee..a5845ad 100644
--- a/LayoutTests/fast/forms/color/input-value-sanitization-color.html
+++ b/LayoutTests/fast/forms/color/input-value-sanitization-color.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -47,6 +47,6 @@
shouldBe('input.value = "xxx-non-existent-color-name"; input.value', fallbackValue);
shouldBe('input.value = "transparent"; input.value', fallbackValue);
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/cursor-at-editable-content-boundary.html b/LayoutTests/fast/forms/cursor-at-editable-content-boundary.html
index 0f8d502..eef2b96 100644
--- a/LayoutTests/fast/forms/cursor-at-editable-content-boundary.html
+++ b/LayoutTests/fast/forms/cursor-at-editable-content-boundary.html
@@ -9,7 +9,7 @@
font-size: 10px;
}
</style>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
var succeed = true;
diff --git a/LayoutTests/fast/forms/datalist/datalist-child-validation.html b/LayoutTests/fast/forms/datalist/datalist-child-validation.html
index de8c81a..cdcfd1d 100644
--- a/LayoutTests/fast/forms/datalist/datalist-child-validation.html
+++ b/LayoutTests/fast/forms/datalist/datalist-child-validation.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -35,6 +35,6 @@
shouldBeFalse('document.getElementById("inLegend").willValidate');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datalist/datalist-nonoption-child.html b/LayoutTests/fast/forms/datalist/datalist-nonoption-child.html
index 838bae2..fbdc1f5 100644
--- a/LayoutTests/fast/forms/datalist/datalist-nonoption-child.html
+++ b/LayoutTests/fast/forms/datalist/datalist-nonoption-child.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -23,6 +23,6 @@
datalist = document.getElementById('dl3');
shouldBe('datalist.firstChild.nodeName', '"DIV"');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datalist/datalist.html b/LayoutTests/fast/forms/datalist/datalist.html
index 3019bb5..561b66b 100644
--- a/LayoutTests/fast/forms/datalist/datalist.html
+++ b/LayoutTests/fast/forms/datalist/datalist.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -29,6 +29,6 @@
// After datalist is implemented, the expected text should not contain the
// text in the datalist element.
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datalist/input-list.html b/LayoutTests/fast/forms/datalist/input-list.html
index 966c0be..09c6dbd 100644
--- a/LayoutTests/fast/forms/datalist/input-list.html
+++ b/LayoutTests/fast/forms/datalist/input-list.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -95,6 +95,6 @@
shouldBeNull('document.getElementById("button").list');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datalist/range-snap-to-datalist.html b/LayoutTests/fast/forms/datalist/range-snap-to-datalist.html
index 129f230..42e16c2 100644
--- a/LayoutTests/fast/forms/datalist/range-snap-to-datalist.html
+++ b/LayoutTests/fast/forms/datalist/range-snap-to-datalist.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description">Tests if clicking close to a tick mark snaps to it. Result will change depending on the return value of RenderTheme::sliderTickSnappingThreshold().</p>
@@ -42,6 +42,6 @@
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/date/ValidityState-rangeOverflow-date.html b/LayoutTests/fast/forms/date/ValidityState-rangeOverflow-date.html
index 772e132..7ed9e08 100644
--- a/LayoutTests/fast/forms/date/ValidityState-rangeOverflow-date.html
+++ b/LayoutTests/fast/forms/date/ValidityState-rangeOverflow-date.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -69,6 +69,6 @@
// Disabled
checkNotOverflow('9999-01-01', '2010-12-31', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/date/ValidityState-rangeUnderflow-date.html b/LayoutTests/fast/forms/date/ValidityState-rangeUnderflow-date.html
index 2e850ad..84e7dc2 100644
--- a/LayoutTests/fast/forms/date/ValidityState-rangeUnderflow-date.html
+++ b/LayoutTests/fast/forms/date/ValidityState-rangeUnderflow-date.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -71,6 +71,6 @@
// Disabled
checkNotUnderflow('9999-01-01', '10000-12-31', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/date/ValidityState-stepMismatch-date.html b/LayoutTests/fast/forms/date/ValidityState-stepMismatch-date.html
index dbbd010..cc6e2aa 100644
--- a/LayoutTests/fast/forms/date/ValidityState-stepMismatch-date.html
+++ b/LayoutTests/fast/forms/date/ValidityState-stepMismatch-date.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -51,6 +51,6 @@
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/date/ValidityState-typeMismatch-date.html b/LayoutTests/fast/forms/date/ValidityState-typeMismatch-date.html
index 2b7dcb5..4393b21 100644
--- a/LayoutTests/fast/forms/date/ValidityState-typeMismatch-date.html
+++ b/LayoutTests/fast/forms/date/ValidityState-typeMismatch-date.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -98,6 +98,6 @@
// Disabled
shouldBeInvalid('2009-09', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/date/date-click-on-label.html b/LayoutTests/fast/forms/date/date-click-on-label.html
index 038fb9c..731f2fd 100644
--- a/LayoutTests/fast/forms/date/date-click-on-label.html
+++ b/LayoutTests/fast/forms/date/date-click-on-label.html
@@ -1,6 +1,6 @@
<!DOCTYPE>
<body id=body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<label id="label1">Label: <input type="date" id="date1"></label>
<script>
@@ -14,5 +14,5 @@
document.getElementById('label1').dispatchEvent(clickEvent);
shouldBeEqualToString('document.activeElement.id', 'date1');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/date/date-input-type.html b/LayoutTests/fast/forms/date/date-input-type.html
index 3bd9c2e..8aeeb40 100644
--- a/LayoutTests/fast/forms/date/date-input-type.html
+++ b/LayoutTests/fast/forms/date/date-input-type.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -25,6 +25,6 @@
check("DATE", "date");
check(" date ", "text");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/date/date-interactive-validation-required.html b/LayoutTests/fast/forms/date/date-interactive-validation-required.html
index ebba9c4..27f7b7d 100644
--- a/LayoutTests/fast/forms/date/date-interactive-validation-required.html
+++ b/LayoutTests/fast/forms/date/date-interactive-validation-required.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-interactive-validation-required.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/forms/date/date-pseudo-classes.html b/LayoutTests/fast/forms/date/date-pseudo-classes.html
index d9aa2d2..228f4fb 100644
--- a/LayoutTests/fast/forms/date/date-pseudo-classes.html
+++ b/LayoutTests/fast/forms/date/date-pseudo-classes.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-pseudo-classes.js"></script>
<div id="container">
@@ -38,5 +38,5 @@
shouldBeTrue('matchedNodesContainId(container, ":out-of-range", "inrange")');
container.remove();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/date/date-setrangetext.html b/LayoutTests/fast/forms/date/date-setrangetext.html
index 90054fda..e62a6fe 100644
--- a/LayoutTests/fast/forms/date/date-setrangetext.html
+++ b/LayoutTests/fast/forms/date/date-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -10,7 +10,7 @@
description("Test setRangeText() method is not available in date inputs.");
runTestsShouldFail("input", { type: "date" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/date/date-stepup-stepdown-from-renderer.html b/LayoutTests/fast/forms/date/date-stepup-stepdown-from-renderer.html
index c729b6d..c09da21 100644
--- a/LayoutTests/fast/forms/date/date-stepup-stepdown-from-renderer.html
+++ b/LayoutTests/fast/forms/date/date-stepup-stepdown-from-renderer.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -36,6 +36,6 @@
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/date/date-stepup-stepdown.html b/LayoutTests/fast/forms/date/date-stepup-stepdown.html
index 76224e0..fce1208 100644
--- a/LayoutTests/fast/forms/date/date-stepup-stepdown.html
+++ b/LayoutTests/fast/forms/date/date-stepup-stepdown.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -66,6 +66,6 @@
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/date/input-date-validation-message.html b/LayoutTests/fast/forms/date/input-date-validation-message.html
index c937563..8f6b45c 100644
--- a/LayoutTests/fast/forms/date/input-date-validation-message.html
+++ b/LayoutTests/fast/forms/date/input-date-validation-message.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -41,6 +41,6 @@
shouldBeEqualToString('testIt("1982-11-02", "", "", "123")', 'step mismatch');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/date/input-valueasdate-date.html b/LayoutTests/fast/forms/date/input-valueasdate-date.html
index b2f3d8b..64bc4a5 100644
--- a/LayoutTests/fast/forms/date/input-valueasdate-date.html
+++ b/LayoutTests/fast/forms/date/input-valueasdate-date.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -48,6 +48,6 @@
shouldBe('input.value = "2010-01-01"; input.valueAsDate = document; input.value', '""');
shouldBe('input.value = "2010-01-01"; input.valueAsDate = null; input.value', '""');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/date/input-valueasnumber-date.html b/LayoutTests/fast/forms/date/input-valueasnumber-date.html
index 67bbfa2..c0fed71 100644
--- a/LayoutTests/fast/forms/date/input-valueasnumber-date.html
+++ b/LayoutTests/fast/forms/date/input-valueasnumber-date.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -51,6 +51,6 @@
shouldThrow('input.valueAsNumber = Number.NEGATIVE_INFINITY', '"Error: NotSupportedError: DOM Exception 9"');
shouldThrow('input.valueAsNumber = Date.UTC(275760, 8, 14)', '"Error: NotSupportedError: DOM Exception 9"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetime/ValidityState-rangeOverflow-datetime.html b/LayoutTests/fast/forms/datetime/ValidityState-rangeOverflow-datetime.html
index 906d866..1059568 100644
--- a/LayoutTests/fast/forms/datetime/ValidityState-rangeOverflow-datetime.html
+++ b/LayoutTests/fast/forms/datetime/ValidityState-rangeOverflow-datetime.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -69,6 +69,6 @@
// Disabled
checkNotOverflow('9999-01-01T23:59Z', '2010-12-31T00:00Z', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetime/ValidityState-rangeUnderflow-datetime.html b/LayoutTests/fast/forms/datetime/ValidityState-rangeUnderflow-datetime.html
index 971b549a..03519e5 100644
--- a/LayoutTests/fast/forms/datetime/ValidityState-rangeUnderflow-datetime.html
+++ b/LayoutTests/fast/forms/datetime/ValidityState-rangeUnderflow-datetime.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -71,6 +71,6 @@
// Disabled
checkNotUnderflow('9999-01-01T12:00Z', '10000-12-31T12:00Z', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetime/ValidityState-stepMismatch-datetime.html b/LayoutTests/fast/forms/datetime/ValidityState-stepMismatch-datetime.html
index 32c0f16..1b0b000 100644
--- a/LayoutTests/fast/forms/datetime/ValidityState-stepMismatch-datetime.html
+++ b/LayoutTests/fast/forms/datetime/ValidityState-stepMismatch-datetime.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -52,6 +52,6 @@
debug('Disabled');
shouldBeFalse('stepMismatchFor("2010-02-09T12:34:55.001Z", "1", "2010-02-09T12:34:56Z", true)');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetime/ValidityState-typeMismatch-datetime.html b/LayoutTests/fast/forms/datetime/ValidityState-typeMismatch-datetime.html
index 5d45144..2a77c06 100644
--- a/LayoutTests/fast/forms/datetime/ValidityState-typeMismatch-datetime.html
+++ b/LayoutTests/fast/forms/datetime/ValidityState-typeMismatch-datetime.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -77,6 +77,6 @@
// Disabled
shouldBeInvalid('invalid', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetime/datetime-input-type.html b/LayoutTests/fast/forms/datetime/datetime-input-type.html
index 31c6201..4f732d5 100644
--- a/LayoutTests/fast/forms/datetime/datetime-input-type.html
+++ b/LayoutTests/fast/forms/datetime/datetime-input-type.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -28,6 +28,6 @@
check(" datetime ", "text");
check("date-time", "text");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetime/datetime-interactive-validation-required.html b/LayoutTests/fast/forms/datetime/datetime-interactive-validation-required.html
index 2a73441..99ac677 100644
--- a/LayoutTests/fast/forms/datetime/datetime-interactive-validation-required.html
+++ b/LayoutTests/fast/forms/datetime/datetime-interactive-validation-required.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-interactive-validation-required.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/forms/datetime/datetime-setrangetext.html b/LayoutTests/fast/forms/datetime/datetime-setrangetext.html
index 353b423..eb3c361 100644
--- a/LayoutTests/fast/forms/datetime/datetime-setrangetext.html
+++ b/LayoutTests/fast/forms/datetime/datetime-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -10,7 +10,7 @@
description("Test setRangeText() method is not available in datetime inputs.");
runTestsShouldFail("input", { type: "datetime" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetime/datetime-stepup-stepdown.html b/LayoutTests/fast/forms/datetime/datetime-stepup-stepdown.html
index 938a970..2b189a9 100644
--- a/LayoutTests/fast/forms/datetime/datetime-stepup-stepdown.html
+++ b/LayoutTests/fast/forms/datetime/datetime-stepup-stepdown.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -64,6 +64,6 @@
shouldThrow('stepUp("2010-02-10T20:13Z", "1", "2010-02-10T20:13Z")', invalidStateErr);
shouldThrow('stepDown("2010-02-10T20:13Z", "1", "2010-02-10T20:13Z")', invalidStateErr);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetime/datetime-value-sanitization.html b/LayoutTests/fast/forms/datetime/datetime-value-sanitization.html
index 42e410e..c1a7622 100644
--- a/LayoutTests/fast/forms/datetime/datetime-value-sanitization.html
+++ b/LayoutTests/fast/forms/datetime/datetime-value-sanitization.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -43,6 +43,6 @@
shouldBeEqualToString('input.value = "2147483648-01-01T00:00:00"; input.value', '');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetime/input-valueasdate-datetime.html b/LayoutTests/fast/forms/datetime/input-valueasdate-datetime.html
index 6e2a823..935dbe9 100644
--- a/LayoutTests/fast/forms/datetime/input-valueasdate-datetime.html
+++ b/LayoutTests/fast/forms/datetime/input-valueasdate-datetime.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -51,6 +51,6 @@
shouldBe('input.step = "1"; setValueAsDateAndGetValue(2010, 0, 21, 0, 0, 0, 0)', '"2010-01-21T00:00Z"');
shouldBe('input.step = "0.001"; setValueAsDateAndGetValue(2010, 0, 21, 0, 0, 0, 0)', '"2010-01-21T00:00Z"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetime/input-valueasnumber-datetime.html b/LayoutTests/fast/forms/datetime/input-valueasnumber-datetime.html
index df54e69..2a2ef19 100644
--- a/LayoutTests/fast/forms/datetime/input-valueasnumber-datetime.html
+++ b/LayoutTests/fast/forms/datetime/input-valueasnumber-datetime.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -57,6 +57,6 @@
shouldBe('input.step = "1"; setValueAsNumberAndGetValue(2010, 0, 21, 0, 0, 0, 0)', '"2010-01-21T00:00Z"');
shouldBe('input.step = "0.001"; setValueAsNumberAndGetValue(2010, 0, 21, 0, 0, 0, 0)', '"2010-01-21T00:00Z"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetimelocal/ValidityState-rangeOverflow-datetimelocal.html b/LayoutTests/fast/forms/datetimelocal/ValidityState-rangeOverflow-datetimelocal.html
index 8542d69..8932d8e 100644
--- a/LayoutTests/fast/forms/datetimelocal/ValidityState-rangeOverflow-datetimelocal.html
+++ b/LayoutTests/fast/forms/datetimelocal/ValidityState-rangeOverflow-datetimelocal.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -69,6 +69,6 @@
// Disabled
checkNotOverflow('9999-01-01T23:59', '2010-12-31T00:00', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetimelocal/ValidityState-rangeUnderflow-datetimelocal.html b/LayoutTests/fast/forms/datetimelocal/ValidityState-rangeUnderflow-datetimelocal.html
index 0cd2273..8f375c4 100644
--- a/LayoutTests/fast/forms/datetimelocal/ValidityState-rangeUnderflow-datetimelocal.html
+++ b/LayoutTests/fast/forms/datetimelocal/ValidityState-rangeUnderflow-datetimelocal.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -71,6 +71,6 @@
// Disabled
checkNotUnderflow('9999-01-01T12:00', '10000-12-31T12:00', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetimelocal/ValidityState-stepMismatch-datetimelocal.html b/LayoutTests/fast/forms/datetimelocal/ValidityState-stepMismatch-datetimelocal.html
index fcc5f4c..daef0f3 100644
--- a/LayoutTests/fast/forms/datetimelocal/ValidityState-stepMismatch-datetimelocal.html
+++ b/LayoutTests/fast/forms/datetimelocal/ValidityState-stepMismatch-datetimelocal.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -52,6 +52,6 @@
debug('Disabled');
shouldBeFalse('stepMismatchFor("2010-02-09T12:34:55.001", "1", "2010-02-09T12:34:56", true)');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetimelocal/ValidityState-typeMismatch-datetimelocal.html b/LayoutTests/fast/forms/datetimelocal/ValidityState-typeMismatch-datetimelocal.html
index 83ba627..f61541a 100644
--- a/LayoutTests/fast/forms/datetimelocal/ValidityState-typeMismatch-datetimelocal.html
+++ b/LayoutTests/fast/forms/datetimelocal/ValidityState-typeMismatch-datetimelocal.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -62,6 +62,6 @@
// Disabled
shouldBeInvalid('invalid', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetimelocal/datetimelocal-input-type.html b/LayoutTests/fast/forms/datetimelocal/datetimelocal-input-type.html
index 0e7cf7f..b300c41 100644
--- a/LayoutTests/fast/forms/datetimelocal/datetimelocal-input-type.html
+++ b/LayoutTests/fast/forms/datetimelocal/datetimelocal-input-type.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -27,7 +27,7 @@
check("datetimelocal", "text");
check("datetime_local", "text");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetimelocal/datetimelocal-interactive-validation-required.html b/LayoutTests/fast/forms/datetimelocal/datetimelocal-interactive-validation-required.html
index 078b014..70dfb21 100644
--- a/LayoutTests/fast/forms/datetimelocal/datetimelocal-interactive-validation-required.html
+++ b/LayoutTests/fast/forms/datetimelocal/datetimelocal-interactive-validation-required.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-interactive-validation-required.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/forms/datetimelocal/datetimelocal-pseudo-classes.html b/LayoutTests/fast/forms/datetimelocal/datetimelocal-pseudo-classes.html
index 5d007b8..353c2dc 100644
--- a/LayoutTests/fast/forms/datetimelocal/datetimelocal-pseudo-classes.html
+++ b/LayoutTests/fast/forms/datetimelocal/datetimelocal-pseudo-classes.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-pseudo-classes.js"></script>
<div id="container">
@@ -38,5 +38,5 @@
shouldBeTrue('matchedNodesContainId(container, ":out-of-range", "inrange")');
container.remove();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/datetimelocal/datetimelocal-setrangetext.html b/LayoutTests/fast/forms/datetimelocal/datetimelocal-setrangetext.html
index 4446a10..3d54c5c 100644
--- a/LayoutTests/fast/forms/datetimelocal/datetimelocal-setrangetext.html
+++ b/LayoutTests/fast/forms/datetimelocal/datetimelocal-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -10,7 +10,7 @@
description("Test setRangeText() method is not available in datetimelocal inputs.");
runTestsShouldFail("input", { type: "datetime-local" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetimelocal/datetimelocal-stepup-stepdown.html b/LayoutTests/fast/forms/datetimelocal/datetimelocal-stepup-stepdown.html
index b84fa9b..4bd17cd 100644
--- a/LayoutTests/fast/forms/datetimelocal/datetimelocal-stepup-stepdown.html
+++ b/LayoutTests/fast/forms/datetimelocal/datetimelocal-stepup-stepdown.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -64,6 +64,6 @@
shouldThrow('stepUp("2010-02-10T20:13", "1", "2010-02-10T20:13")', invalidStateErr);
shouldThrow('stepDown("2010-02-10T20:13", "1", "2010-02-10T20:13")', invalidStateErr);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetimelocal/input-valueasdate-datetimelocal.html b/LayoutTests/fast/forms/datetimelocal/input-valueasdate-datetimelocal.html
index d04c14b..3ef4fba 100644
--- a/LayoutTests/fast/forms/datetimelocal/input-valueasdate-datetimelocal.html
+++ b/LayoutTests/fast/forms/datetimelocal/input-valueasdate-datetimelocal.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -22,6 +22,6 @@
shouldBe('valueAsDateFor("1970-01-01T00:00:00.000")', 'null');
shouldBe('valueAsDateFor("2009-12-22T11:32:11")', 'null');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/datetimelocal/input-valueasnumber-datetimelocal.html b/LayoutTests/fast/forms/datetimelocal/input-valueasnumber-datetimelocal.html
index d7878e2..cb5a474 100644
--- a/LayoutTests/fast/forms/datetimelocal/input-valueasnumber-datetimelocal.html
+++ b/LayoutTests/fast/forms/datetimelocal/input-valueasnumber-datetimelocal.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -58,6 +58,6 @@
// If the step attribute value is 0.001 second and the millisecond part is 0, we should show the millisecond part.
shouldBe('input.step = "0.001"; setValueAsNumberAndGetValue(2010, 0, 21, 0, 0, 0, 0)', '"2010-01-21T00:00:00.000"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/disabled-attr-checkvalidity.html b/LayoutTests/fast/forms/disabled-attr-checkvalidity.html
index 3d0caf1..b460f06 100644
--- a/LayoutTests/fast/forms/disabled-attr-checkvalidity.html
+++ b/LayoutTests/fast/forms/disabled-attr-checkvalidity.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -18,6 +18,6 @@
shouldBeFalse('input.checkValidity()');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/editing-value.html b/LayoutTests/fast/forms/editing-value.html
index 4acc59e..470d05d 100644
--- a/LayoutTests/fast/forms/editing-value.html
+++ b/LayoutTests/fast/forms/editing-value.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -32,6 +32,6 @@
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/elements-invalidate-on-form-attribute-invalidation.html b/LayoutTests/fast/forms/elements-invalidate-on-form-attribute-invalidation.html
index 3b2fa20..9387700 100644
--- a/LayoutTests/fast/forms/elements-invalidate-on-form-attribute-invalidation.html
+++ b/LayoutTests/fast/forms/elements-invalidate-on-form-attribute-invalidation.html
@@ -5,7 +5,7 @@
<form id="someForm"></form>
<input type="text" name="someName" form="someForm">
</div>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description("Tests form.elements is invalidated when input element's form attribute is changed.");
diff --git a/LayoutTests/fast/forms/enctype-attribute.html b/LayoutTests/fast/forms/enctype-attribute.html
index df8d05e..e5bdf7f 100644
--- a/LayoutTests/fast/forms/enctype-attribute.html
+++ b/LayoutTests/fast/forms/enctype-attribute.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<body>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<p>Test enctype and formenctype attributes</p>
@@ -84,6 +84,6 @@
debug('');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/fieldset/fieldset-disabled.html b/LayoutTests/fast/forms/fieldset/fieldset-disabled.html
index 111e65f..dd8de48 100644
--- a/LayoutTests/fast/forms/fieldset/fieldset-disabled.html
+++ b/LayoutTests/fast/forms/fieldset/fieldset-disabled.html
@@ -2,7 +2,7 @@
<html>
<head>
<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style type="text/css">
input {
background:rgb(255,255,100);
@@ -298,7 +298,7 @@
document.body.removeChild(legendFieldSet);
var successfullyParsed = true;
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/fieldset/fieldset-elements.html b/LayoutTests/fast/forms/fieldset/fieldset-elements.html
index 4367683..70e7820 100644
--- a/LayoutTests/fast/forms/fieldset/fieldset-elements.html
+++ b/LayoutTests/fast/forms/fieldset/fieldset-elements.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -100,6 +100,6 @@
container.parentNode.removeChild(container);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/fieldset/fieldset-form-collection-radionode-list.html b/LayoutTests/fast/forms/fieldset/fieldset-form-collection-radionode-list.html
index 3341d0c..ab5e9e5 100644
--- a/LayoutTests/fast/forms/fieldset/fieldset-form-collection-radionode-list.html
+++ b/LayoutTests/fast/forms/fieldset/fieldset-form-collection-radionode-list.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<p id="description"></p>
<div id="divId">
<form>
@@ -115,6 +115,6 @@
var container = document.getElementById("divId");
container.parentNode.removeChild(container);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/fieldset/fieldset-name.html b/LayoutTests/fast/forms/fieldset/fieldset-name.html
index f47e1e4..c5d4d30 100644
--- a/LayoutTests/fast/forms/fieldset/fieldset-name.html
+++ b/LayoutTests/fast/forms/fieldset/fieldset-name.html
@@ -1,4 +1,4 @@
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<fieldset id="fs1" name="a"></fieldset>
<script>
description("This test checks fieldset.name attribute.");
@@ -30,5 +30,5 @@
shouldBe('fs1.getAttribute("name")', '"undefined"');
shouldBeTrue('fs1.hasAttribute("name")');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/fieldset/fieldset-type.html b/LayoutTests/fast/forms/fieldset/fieldset-type.html
index 635e403..32934c7 100644
--- a/LayoutTests/fast/forms/fieldset/fieldset-type.html
+++ b/LayoutTests/fast/forms/fieldset/fieldset-type.html
@@ -1,8 +1,8 @@
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<fieldset id="fs1" name="a"></fieldset>
<script>
description("This test checks fieldset.test attribute");
shouldBe('fs1.type', '"fieldset"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/fieldset/focus-in-fieldset-disabled.html b/LayoutTests/fast/forms/fieldset/focus-in-fieldset-disabled.html
index 0becb83..d169353 100644
--- a/LayoutTests/fast/forms/fieldset/focus-in-fieldset-disabled.html
+++ b/LayoutTests/fast/forms/fieldset/focus-in-fieldset-disabled.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<fieldset disabled>
<input id=input1>
</fieldset>
@@ -13,6 +13,6 @@
document.getElementsByTagName('fieldset')[0].disabled = false;
shouldBe('input1.focus(); document.activeElement', 'input1');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/fieldset/validation-in-fieldset.html b/LayoutTests/fast/forms/fieldset/validation-in-fieldset.html
index 6e443fe..3c14144 100644
--- a/LayoutTests/fast/forms/fieldset/validation-in-fieldset.html
+++ b/LayoutTests/fast/forms/fieldset/validation-in-fieldset.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<fieldset id="f1" disabled>
<input required id="i1">
@@ -26,5 +26,5 @@
shouldBeTrue('fieldset2.removeChild(control2); control2.willValidate');
</script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/file/display-none-upload-button.html b/LayoutTests/fast/forms/file/display-none-upload-button.html
index b527943..f1011123f 100644
--- a/LayoutTests/fast/forms/file/display-none-upload-button.html
+++ b/LayoutTests/fast/forms/file/display-none-upload-button.html
@@ -9,11 +9,11 @@
</style>
Tests that a display:none upload button works.
<input type="file">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
// FIXME: The text inside the file input should give the input a contentHeight
// even when there's no upload button.
// https://bugs.webkit.org/show_bug.cgi?id=109104
shouldBeTrue("document.querySelector('input').offsetHeight > 10");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
\ No newline at end of file
+<script src="../../../resources/js-test-post.js"></script>
\ No newline at end of file
diff --git a/LayoutTests/fast/forms/file/file-input-capture.html b/LayoutTests/fast/forms/file/file-input-capture.html
index 0ce9955..e228f1c 100644
--- a/LayoutTests/fast/forms/file/file-input-capture.html
+++ b/LayoutTests/fast/forms/file/file-input-capture.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description("Tests the capture attribute of <input type='file'>");
@@ -30,5 +30,5 @@
shouldBe("input.getAttribute('capture')", "'CamCorder'");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/forms/file/file-input-change-event.html b/LayoutTests/fast/forms/file/file-input-change-event.html
index 89a80d9..2e547c8 100644
--- a/LayoutTests/fast/forms/file/file-input-change-event.html
+++ b/LayoutTests/fast/forms/file/file-input-change-event.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<input type="file" id="singleFile" name="upfile" onchange="singleFileSelected()" />
@@ -101,6 +101,6 @@
eventSender.mouseUp();
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/file/file-setrangetext.html b/LayoutTests/fast/forms/file/file-setrangetext.html
index d720e51..59726c8 100644
--- a/LayoutTests/fast/forms/file/file-setrangetext.html
+++ b/LayoutTests/fast/forms/file/file-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -10,7 +10,7 @@
description("Test setRangeText() method is not available in file inputs.");
runTestsShouldFail("input", { type: "file" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/file/file-style-inheritance.html b/LayoutTests/fast/forms/file/file-style-inheritance.html
index 416fc99..b5f7e92 100644
--- a/LayoutTests/fast/forms/file/file-style-inheritance.html
+++ b/LayoutTests/fast/forms/file/file-style-inheritance.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
#large {
font-size: 30px;
@@ -31,4 +31,4 @@
shouldBe('document.defaultView.getComputedStyle(document.getElementById("darkFile"), null).getPropertyValue("color")', '"rgb(255, 255, 255)"');
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/file/input-file-entries.html b/LayoutTests/fast/forms/file/input-file-entries.html
index 1df0f1b..d4b8290 100644
--- a/LayoutTests/fast/forms/file/input-file-entries.html
+++ b/LayoutTests/fast/forms/file/input-file-entries.html
@@ -3,7 +3,7 @@
<body>
<input type="file" name="files" id="files">
<pre id="console"></pre>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('Tests the webkitEntries attribute of <input type="file">');
@@ -131,6 +131,6 @@
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/file/input-file-label.html b/LayoutTests/fast/forms/file/input-file-label.html
index bc42986..72d20da 100644
--- a/LayoutTests/fast/forms/file/input-file-label.html
+++ b/LayoutTests/fast/forms/file/input-file-label.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<input id="single_file" name="upfile" type="file" />
@@ -42,6 +42,6 @@
label == 'Choose File' ? testPassed(result) : testFailed(result);
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/file/input-file-value.html b/LayoutTests/fast/forms/file/input-file-value.html
index 8b79797..595a690 100644
--- a/LayoutTests/fast/forms/file/input-file-value.html
+++ b/LayoutTests/fast/forms/file/input-file-value.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<input type="file" name="file" id="file">
@@ -37,6 +37,6 @@
eventSender.mouseUp();
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/file/input-file-write-files.html b/LayoutTests/fast/forms/file/input-file-write-files.html
index 63be80c..e38119f 100644
--- a/LayoutTests/fast/forms/file/input-file-write-files.html
+++ b/LayoutTests/fast/forms/file/input-file-write-files.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<input type="file" name="file1" id="file1">
@@ -43,6 +43,6 @@
eventSender.mouseUp();
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/file/recover-file-input-in-unposted-form.html b/LayoutTests/fast/forms/file/recover-file-input-in-unposted-form.html
index f5da4f0..9677e25 100644
--- a/LayoutTests/fast/forms/file/recover-file-input-in-unposted-form.html
+++ b/LayoutTests/fast/forms/file/recover-file-input-in-unposted-form.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body onload="test()">
<form id="form" method="post" enctype="multipart/form-data">
@@ -97,6 +97,6 @@
eventSender.mouseUp();
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/file/selected-files-from-history-state.html b/LayoutTests/fast/forms/file/selected-files-from-history-state.html
index 59a947b..12ed8c8 100644
--- a/LayoutTests/fast/forms/file/selected-files-from-history-state.html
+++ b/LayoutTests/fast/forms/file/selected-files-from-history-state.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
window.jsTestIsAsync = true;
function onLoad() {
@@ -66,6 +66,6 @@
</form>
</div>
<div id="console"></div>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/focus-selection-input.html b/LayoutTests/fast/forms/focus-selection-input.html
index dc28b49..412ebfb 100644
--- a/LayoutTests/fast/forms/focus-selection-input.html
+++ b/LayoutTests/fast/forms/focus-selection-input.html
@@ -1,5 +1,5 @@
<body onload="runTest()">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
function runTest()
diff --git a/LayoutTests/fast/forms/focus-selection-textarea.html b/LayoutTests/fast/forms/focus-selection-textarea.html
index 35cbe8f..7830b7f 100644
--- a/LayoutTests/fast/forms/focus-selection-textarea.html
+++ b/LayoutTests/fast/forms/focus-selection-textarea.html
@@ -1,5 +1,5 @@
<body onload="runTest()">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
function runTest()
diff --git a/LayoutTests/fast/forms/focus-with-display-block.html b/LayoutTests/fast/forms/focus-with-display-block.html
index e491dab..2b9ce94 100644
--- a/LayoutTests/fast/forms/focus-with-display-block.html
+++ b/LayoutTests/fast/forms/focus-with-display-block.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<style>
output, meter, progress {
display: block;
@@ -55,6 +55,6 @@
moveFocus(meter);
shouldBeTrue('checkFocus()');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/form-associated-element-removal.html b/LayoutTests/fast/forms/form-associated-element-removal.html
index 03fae2e..5ac7eab 100644
--- a/LayoutTests/fast/forms/form-associated-element-removal.html
+++ b/LayoutTests/fast/forms/form-associated-element-removal.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description("Removing all children of a form should disassociate any form controls in that subtree");
var form = document.createElement('form');
@@ -9,4 +9,4 @@
shouldBeNull("input.form");
shouldBe("form.elements.length", "0");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/form-attribute-elements-order.html b/LayoutTests/fast/forms/form-attribute-elements-order.html
index d28420e..5597e1b 100644
--- a/LayoutTests/fast/forms/form-attribute-elements-order.html
+++ b/LayoutTests/fast/forms/form-attribute-elements-order.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -159,6 +159,6 @@
shouldBe('owner.elements[4]', 'after1');
shouldBe('owner.elements[5]', 'after2');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/form-attribute-elements-order2.html b/LayoutTests/fast/forms/form-attribute-elements-order2.html
index 384ed72..72d3bb5 100644
--- a/LayoutTests/fast/forms/form-attribute-elements-order2.html
+++ b/LayoutTests/fast/forms/form-attribute-elements-order2.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -104,6 +104,6 @@
shouldBe('owner.elements[4]', 'after');
shouldBe('owner.elements[5]', 'after2');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/form-attribute-elements.html b/LayoutTests/fast/forms/form-attribute-elements.html
index 37629ea..1132497 100644
--- a/LayoutTests/fast/forms/form-attribute-elements.html
+++ b/LayoutTests/fast/forms/form-attribute-elements.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -48,6 +48,6 @@
testRunner.notifyDone();
}
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/form-attribute-nonexistence-form-id.html b/LayoutTests/fast/forms/form-attribute-nonexistence-form-id.html
index a13ca83..20ff42d 100644
--- a/LayoutTests/fast/forms/form-attribute-nonexistence-form-id.html
+++ b/LayoutTests/fast/forms/form-attribute-nonexistence-form-id.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -25,6 +25,6 @@
shouldBe('labelShouldHaveForm.form', 'form');
shouldBeNull('labelShouldNotHaveForm.form');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/form-attribute-not-in-document.html b/LayoutTests/fast/forms/form-attribute-not-in-document.html
index 68bc39b..e6cd194 100644
--- a/LayoutTests/fast/forms/form-attribute-not-in-document.html
+++ b/LayoutTests/fast/forms/form-attribute-not-in-document.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<form id=myform></form>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description('Inserting a form control with a form attribute into a non-document tree should not cause it to get a form owner.');
@@ -12,4 +12,4 @@
div.appendChild(input);
shouldBeNull('input.form');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/form-attribute.html b/LayoutTests/fast/forms/form-attribute.html
index 9137b33..b55a681 100644
--- a/LayoutTests/fast/forms/form-attribute.html
+++ b/LayoutTests/fast/forms/form-attribute.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -179,6 +179,6 @@
shouldBe('inputElement.form', 'owner');
shouldBe('labelElement.form', 'owner');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/form-collection-elements-order.html b/LayoutTests/fast/forms/form-collection-elements-order.html
index d2b6f7f..78749fa 100644
--- a/LayoutTests/fast/forms/form-collection-elements-order.html
+++ b/LayoutTests/fast/forms/form-collection-elements-order.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -106,6 +106,6 @@
container.appendChild(button);
shouldBe('checkOrder([textarea, fieldset, input, keygen, object, output, select, button])', '"OK"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/form-collection-elements.html b/LayoutTests/fast/forms/form-collection-elements.html
index 55d794c..bc3bcb6 100644
--- a/LayoutTests/fast/forms/form-collection-elements.html
+++ b/LayoutTests/fast/forms/form-collection-elements.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -73,6 +73,6 @@
shouldBe('owner.elements[21].id', "'select1'");
shouldBe('owner.elements[22].id', "'textarea1'");
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/form-collection-radio-node-list.html b/LayoutTests/fast/forms/form-collection-radio-node-list.html
index 7fb8b9b..9fc7ac9 100644
--- a/LayoutTests/fast/forms/form-collection-radio-node-list.html
+++ b/LayoutTests/fast/forms/form-collection-radio-node-list.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<body>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<p id="description"></p>
<div id="divId">
<form id="form1">
@@ -135,6 +135,6 @@
container.parentNode.removeChild(container);
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/form-dirname-attribute.html b/LayoutTests/fast/forms/form-dirname-attribute.html
index 6fafc3b..af4a461 100644
--- a/LayoutTests/fast/forms/form-dirname-attribute.html
+++ b/LayoutTests/fast/forms/form-dirname-attribute.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="../js/resources/js-test-style.css">
-<script src="../js/resources/js-test-pre.js"> </script>
+<script src="../../resources/js-test-pre.js"> </script>
</head>
<body>
<p>"dirname" attribute</p>
@@ -18,6 +18,6 @@
shouldBeEqualToString('textArea.dirName', "Hello");
successfullyParsed = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/form-image-access-by-name.html b/LayoutTests/fast/forms/form-image-access-by-name.html
index bde2999..20e0dd5 100644
--- a/LayoutTests/fast/forms/form-image-access-by-name.html
+++ b/LayoutTests/fast/forms/form-image-access-by-name.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -44,6 +44,6 @@
span.innerHTML = "<img id='4' name='fourthImage'>";
shouldBeUndefined("form.thirdImage");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/form-input-named-arguments.html b/LayoutTests/fast/forms/form-input-named-arguments.html
index f927d55..b2c58e3 100644
--- a/LayoutTests/fast/forms/form-input-named-arguments.html
+++ b/LayoutTests/fast/forms/form-input-named-arguments.html
@@ -2,7 +2,7 @@
<html>
<head></head>
<body>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<form>
<input type="hidden" name="arguments"></input>
<div onclick="onclicked()" id="divInsideForm"></div>
@@ -24,5 +24,5 @@
var successfullyParsed = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/forms/formaction-attribute.html b/LayoutTests/fast/forms/formaction-attribute.html
index 712baa0..15fd620 100644
--- a/LayoutTests/fast/forms/formaction-attribute.html
+++ b/LayoutTests/fast/forms/formaction-attribute.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -61,6 +61,6 @@
if (!doneAction)
testFailed('Both of the action and the formaction attributes were ignored.');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/formmethod-attribute-button-html.html b/LayoutTests/fast/forms/formmethod-attribute-button-html.html
index fd39fb2..d4d9443 100644
--- a/LayoutTests/fast/forms/formmethod-attribute-button-html.html
+++ b/LayoutTests/fast/forms/formmethod-attribute-button-html.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -32,6 +32,6 @@
}
}
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/formmethod-attribute-input-html.html b/LayoutTests/fast/forms/formmethod-attribute-input-html.html
index 38584b3..f66e139 100644
--- a/LayoutTests/fast/forms/formmethod-attribute-input-html.html
+++ b/LayoutTests/fast/forms/formmethod-attribute-input-html.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -32,6 +32,6 @@
}
}
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/formmethod-attribute-test.html b/LayoutTests/fast/forms/formmethod-attribute-test.html
index b41e0cb..ca9f978 100644
--- a/LayoutTests/fast/forms/formmethod-attribute-test.html
+++ b/LayoutTests/fast/forms/formmethod-attribute-test.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<body>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<p>Test formmethod attribute</p>
@@ -46,7 +46,7 @@
shouldBeEqualToString("ip5.getAttribute('formmethod')", "foo");
debug('');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/formnovalidate-attribute.html b/LayoutTests/fast/forms/formnovalidate-attribute.html
index 76f4eda..219daed 100644
--- a/LayoutTests/fast/forms/formnovalidate-attribute.html
+++ b/LayoutTests/fast/forms/formnovalidate-attribute.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -49,6 +49,6 @@
shouldBe("i2.getAttribute('formNoValidate')", "''");
shouldBe("i2.formNoValidate", "true");
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/formtarget-attribute-button-html.html b/LayoutTests/fast/forms/formtarget-attribute-button-html.html
index 43ae590..5ecf53b 100644
--- a/LayoutTests/fast/forms/formtarget-attribute-button-html.html
+++ b/LayoutTests/fast/forms/formtarget-attribute-button-html.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body onload="runTest()">
<form action="resources/success.txt" method="GET" target="failFrame">
diff --git a/LayoutTests/fast/forms/formtarget-attribute-input-html.html b/LayoutTests/fast/forms/formtarget-attribute-input-html.html
index 23987de..86b40e0 100644
--- a/LayoutTests/fast/forms/formtarget-attribute-input-html.html
+++ b/LayoutTests/fast/forms/formtarget-attribute-input-html.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body onload="runTest()">
<form action="resources/success.txt" method="GET" target="failFrame">
diff --git a/LayoutTests/fast/forms/get-forms-to-about-blank.html b/LayoutTests/fast/forms/get-forms-to-about-blank.html
index 609224d..27c2171 100644
--- a/LayoutTests/fast/forms/get-forms-to-about-blank.html
+++ b/LayoutTests/fast/forms/get-forms-to-about-blank.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
- <script src="../../fast/js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
function run() {
diff --git a/LayoutTests/fast/forms/hidden/hidden-setrangetext.html b/LayoutTests/fast/forms/hidden/hidden-setrangetext.html
index 14747d6..e99ea5c 100644
--- a/LayoutTests/fast/forms/hidden/hidden-setrangetext.html
+++ b/LayoutTests/fast/forms/hidden/hidden-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -10,7 +10,7 @@
description("Test setRangeText() method is not available in hidden inputs.");
runTestsShouldFail("input", { type: "hidden" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/image/image-setrangetext.html b/LayoutTests/fast/forms/image/image-setrangetext.html
index f99134b..4402ede 100644
--- a/LayoutTests/fast/forms/image/image-setrangetext.html
+++ b/LayoutTests/fast/forms/image/image-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -10,7 +10,7 @@
description("Test setRangeText() method is not available in image inputs.");
runTestsShouldFail("input", { type: "image" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/image/width-and-height-of-detached-input.html b/LayoutTests/fast/forms/image/width-and-height-of-detached-input.html
index a6196cc..841e589 100644
--- a/LayoutTests/fast/forms/image/width-and-height-of-detached-input.html
+++ b/LayoutTests/fast/forms/image/width-and-height-of-detached-input.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('Width and height properties of a detached input element should return 0.');
var input = document.createElement('input');
@@ -7,5 +7,5 @@
shouldBe('input.width', '0');
shouldBe('input.height', '0');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/incremental-dom-property.html b/LayoutTests/fast/forms/incremental-dom-property.html
index 56eff86..f03a749 100644
--- a/LayoutTests/fast/forms/incremental-dom-property.html
+++ b/LayoutTests/fast/forms/incremental-dom-property.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -23,6 +23,6 @@
input.incremental = false;
shouldBeFalse('input.hasAttribute("incremental")');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/indeterminate-input-types.html b/LayoutTests/fast/forms/indeterminate-input-types.html
index 339412e..af33cee 100644
--- a/LayoutTests/fast/forms/indeterminate-input-types.html
+++ b/LayoutTests/fast/forms/indeterminate-input-types.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<form style="visibility: hidden">
@@ -79,6 +79,6 @@
weekInput.indeterminate = true;
shouldBeTrue("weekInput.indeterminate");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-appearance-maxlength.html b/LayoutTests/fast/forms/input-appearance-maxlength.html
index 52b21a1..05b9f59 100644
--- a/LayoutTests/fast/forms/input-appearance-maxlength.html
+++ b/LayoutTests/fast/forms/input-appearance-maxlength.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -30,6 +30,6 @@
testFailed('Maxlength does not work for inserted text.');
}
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-autofilled.html b/LayoutTests/fast/forms/input-autofilled.html
index fffd088..a1e5ba7 100644
--- a/LayoutTests/fast/forms/input-autofilled.html
+++ b/LayoutTests/fast/forms/input-autofilled.html
@@ -1,6 +1,6 @@
<html>
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
function test() {
if (window.testRunner) {
diff --git a/LayoutTests/fast/forms/input-image-submit.html b/LayoutTests/fast/forms/input-image-submit.html
index c71a1b6..fd6a5a2 100644
--- a/LayoutTests/fast/forms/input-image-submit.html
+++ b/LayoutTests/fast/forms/input-image-submit.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body onload="startTests()">
diff --git a/LayoutTests/fast/forms/input-live-pseudo-selectors.html b/LayoutTests/fast/forms/input-live-pseudo-selectors.html
index 6301f13..c86471b 100644
--- a/LayoutTests/fast/forms/input-live-pseudo-selectors.html
+++ b/LayoutTests/fast/forms/input-live-pseudo-selectors.html
@@ -2,12 +2,12 @@
<html
<head>
<link rel="stylesheet" href="resources/live-pseudo-selectors.css">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="resources/input-live-pseudo-selectors.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-maxlength-ime-completed.html b/LayoutTests/fast/forms/input-maxlength-ime-completed.html
index cceff3a..cfdaded 100644
--- a/LayoutTests/fast/forms/input-maxlength-ime-completed.html
+++ b/LayoutTests/fast/forms/input-maxlength-ime-completed.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -20,6 +20,6 @@
document.execCommand('SelectAll');
shouldBe('document.getSelection().toString()', '"ab"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-maxlength-ime-preedit.html b/LayoutTests/fast/forms/input-maxlength-ime-preedit.html
index e839dac..84a756b 100644
--- a/LayoutTests/fast/forms/input-maxlength-ime-preedit.html
+++ b/LayoutTests/fast/forms/input-maxlength-ime-preedit.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -17,6 +17,6 @@
// The selection should have 4 characters though maxLength is 2.
shouldBe('document.getSelection().toString()', '"abcd"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-maxlength-unsupported.html b/LayoutTests/fast/forms/input-maxlength-unsupported.html
index 33f0ce1..852f70c 100644
--- a/LayoutTests/fast/forms/input-maxlength-unsupported.html
+++ b/LayoutTests/fast/forms/input-maxlength-unsupported.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -19,6 +19,6 @@
input.parentNode.removeChild(input);
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-maxlength.html b/LayoutTests/fast/forms/input-maxlength.html
index f28f2d7..dae5e99 100644
--- a/LayoutTests/fast/forms/input-maxlength.html
+++ b/LayoutTests/fast/forms/input-maxlength.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p>This page tests that the <tt>maxlength</tt> attribute of the <tt><input></tt> element works correctly. <a href="http://bugs.webkit.org/show_bug.cgi?id=14388">http://bugs.webkit.org/show_bug.cgi?id=14388</a></p>
@@ -51,6 +51,6 @@
input.maxLength = 100;
shouldBe("input.getAttribute('maxlength')", "'100'");
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-minmax.html b/LayoutTests/fast/forms/input-minmax.html
index f32c446..4507166 100644
--- a/LayoutTests/fast/forms/input-minmax.html
+++ b/LayoutTests/fast/forms/input-minmax.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -87,6 +87,6 @@
shouldBe('input.min', '""');
shouldBe('input.max', '""');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-paste-undo.html b/LayoutTests/fast/forms/input-paste-undo.html
index a48e7b2..c4a9047 100644
--- a/LayoutTests/fast/forms/input-paste-undo.html
+++ b/LayoutTests/fast/forms/input-paste-undo.html
@@ -1,7 +1,7 @@
<html>
<head>
<script src=../../editing/editing.js language="JavaScript" type="text/JavaScript" ></script>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -37,6 +37,6 @@
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-pattern.html b/LayoutTests/fast/forms/input-pattern.html
index 9417aa9..cc088f8 100644
--- a/LayoutTests/fast/forms/input-pattern.html
+++ b/LayoutTests/fast/forms/input-pattern.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -42,6 +42,6 @@
input.setAttribute('pattern', 256);
shouldBe('input.pattern', '"256"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-readonly-select.html b/LayoutTests/fast/forms/input-readonly-select.html
index c4856f8..69307e1 100644
--- a/LayoutTests/fast/forms/input-readonly-select.html
+++ b/LayoutTests/fast/forms/input-readonly-select.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html><body>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<div id="container">
<input id="input" type="text" value="something">
@@ -86,5 +86,5 @@
container.innerHTML = "";
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body></html>
diff --git a/LayoutTests/fast/forms/input-search-press-escape-key.html b/LayoutTests/fast/forms/input-search-press-escape-key.html
index 2cc00e0..79b9263 100644
--- a/LayoutTests/fast/forms/input-search-press-escape-key.html
+++ b/LayoutTests/fast/forms/input-search-press-escape-key.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/common.js"></script>
</head>
<body>
@@ -74,6 +74,6 @@
searchEventObserved = true;
}
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-step-as-double.html b/LayoutTests/fast/forms/input-step-as-double.html
index 3d58fa3..6eaba9a 100644
--- a/LayoutTests/fast/forms/input-step-as-double.html
+++ b/LayoutTests/fast/forms/input-step-as-double.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -26,6 +26,6 @@
}
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-stepup-stepdown.html b/LayoutTests/fast/forms/input-stepup-stepdown.html
index b261f4e..4fa41c9 100644
--- a/LayoutTests/fast/forms/input-stepup-stepdown.html
+++ b/LayoutTests/fast/forms/input-stepup-stepdown.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -19,6 +19,6 @@
shouldThrow('input.stepUp()', '"Error: InvalidStateError: DOM Exception 11"');
shouldThrow('input.stepUp(0)', '"Error: InvalidStateError: DOM Exception 11"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-text-maxlength.html b/LayoutTests/fast/forms/input-text-maxlength.html
index 61a1705..58d2c81 100644
--- a/LayoutTests/fast/forms/input-text-maxlength.html
+++ b/LayoutTests/fast/forms/input-text-maxlength.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -89,6 +89,6 @@
shouldBe('domValueOf("g")', '"12" + fancyX + "45"');
shouldBe('visibleValueOf("g")', '"12" + fancyX + "45"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-text-paste-maxlength.html b/LayoutTests/fast/forms/input-text-paste-maxlength.html
index 8eee4d4..e1d078e 100644
--- a/LayoutTests/fast/forms/input-text-paste-maxlength.html
+++ b/LayoutTests/fast/forms/input-text-paste-maxlength.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -122,6 +122,6 @@
document.getElementById('container').innerHTML = '';
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-type-change.html b/LayoutTests/fast/forms/input-type-change.html
index 09c1ecd..03d297c 100644
--- a/LayoutTests/fast/forms/input-type-change.html
+++ b/LayoutTests/fast/forms/input-type-change.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body onload="change()">
<p>Test the changing of an input type=TEXT to type=IMAGE, and vice versa. This test is to make sure that
@@ -34,6 +34,6 @@
finishJSTest();
}
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-type-change3.html b/LayoutTests/fast/forms/input-type-change3.html
index 5922eb4..7ac0a40 100644
--- a/LayoutTests/fast/forms/input-type-change3.html
+++ b/LayoutTests/fast/forms/input-type-change3.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -55,6 +55,6 @@
check("uri", "text");
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-value-sanitization.html b/LayoutTests/fast/forms/input-value-sanitization.html
index 92fc12a..5b2d00b 100644
--- a/LayoutTests/fast/forms/input-value-sanitization.html
+++ b/LayoutTests/fast/forms/input-value-sanitization.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p>Tests for value sanitization algorithm.</p>
@@ -58,6 +58,6 @@
container.innerHTML = '';
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-valueasnumber-unsupported.html b/LayoutTests/fast/forms/input-valueasnumber-unsupported.html
index 98546bb..96fa85c 100644
--- a/LayoutTests/fast/forms/input-valueasnumber-unsupported.html
+++ b/LayoutTests/fast/forms/input-valueasnumber-unsupported.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -38,6 +38,6 @@
checkValueAsNumber('text');
checkValueAsNumber('url');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-width-height-attributes-without-renderer-loaded-image.html b/LayoutTests/fast/forms/input-width-height-attributes-without-renderer-loaded-image.html
index 0d014e2..a2e23ae 100644
--- a/LayoutTests/fast/forms/input-width-height-attributes-without-renderer-loaded-image.html
+++ b/LayoutTests/fast/forms/input-width-height-attributes-without-renderer-loaded-image.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
jsTestIsAsync = true;
</script>
@@ -20,7 +20,7 @@
}
}
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-width-height-attributes-without-renderer-not-loaded-image.html b/LayoutTests/fast/forms/input-width-height-attributes-without-renderer-not-loaded-image.html
index 5211862..4cd9a1c 100644
--- a/LayoutTests/fast/forms/input-width-height-attributes-without-renderer-not-loaded-image.html
+++ b/LayoutTests/fast/forms/input-width-height-attributes-without-renderer-not-loaded-image.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
jsTestIsAsync = true;
</script>
@@ -14,7 +14,7 @@
shouldBe('e.height', '0');
finishJSTest();
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-width-height-attributes-without-renderer.html b/LayoutTests/fast/forms/input-width-height-attributes-without-renderer.html
index a79bf92..4015b18 100644
--- a/LayoutTests/fast/forms/input-width-height-attributes-without-renderer.html
+++ b/LayoutTests/fast/forms/input-width-height-attributes-without-renderer.html
@@ -1,7 +1,7 @@
<html>
<head>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
jsTestIsAsync = true;
function test()
@@ -16,6 +16,6 @@
</head>
<body onload="test()">
<input id="inputElement" type="image" width="50" height="50" style="display:none">
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-width-height-attributes.html b/LayoutTests/fast/forms/input-width-height-attributes.html
index 0133318..ccb5448 100644
--- a/LayoutTests/fast/forms/input-width-height-attributes.html
+++ b/LayoutTests/fast/forms/input-width-height-attributes.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -151,6 +151,6 @@
var successfullyParsed = true;
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/input-widths.html b/LayoutTests/fast/forms/input-widths.html
index a121079..c082e93 100644
--- a/LayoutTests/fast/forms/input-widths.html
+++ b/LayoutTests/fast/forms/input-widths.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description">Text field types should have the same default widths.</p>
@@ -30,6 +30,6 @@
document.getElementById('parent').innerHTML = '';
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/interactive-validation-assertion-by-validate-twice.html b/LayoutTests/fast/forms/interactive-validation-assertion-by-validate-twice.html
index 967eb79..492fd10 100644
--- a/LayoutTests/fast/forms/interactive-validation-assertion-by-validate-twice.html
+++ b/LayoutTests/fast/forms/interactive-validation-assertion-by-validate-twice.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -26,5 +26,5 @@
finishJSTest();
}
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/interactive-validation-attach-assertion.html b/LayoutTests/fast/forms/interactive-validation-attach-assertion.html
index f0c4a6f..d032a5b 100644
--- a/LayoutTests/fast/forms/interactive-validation-attach-assertion.html
+++ b/LayoutTests/fast/forms/interactive-validation-attach-assertion.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/forms/interactive-validation-cancel.html b/LayoutTests/fast/forms/interactive-validation-cancel.html
index b4077cb..8e7fef6 100644
--- a/LayoutTests/fast/forms/interactive-validation-cancel.html
+++ b/LayoutTests/fast/forms/interactive-validation-cancel.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
diff --git a/LayoutTests/fast/forms/interactive-validation-crash-by-style-override.html b/LayoutTests/fast/forms/interactive-validation-crash-by-style-override.html
index c6019ec..d6ae31f 100644
--- a/LayoutTests/fast/forms/interactive-validation-crash-by-style-override.html
+++ b/LayoutTests/fast/forms/interactive-validation-crash-by-style-override.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<style type="text/css">
div {
position: relative;
@@ -27,5 +27,5 @@
}, 0);
window.jsTestIsAsync = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/interactive-validation-formnovalidate-child.html b/LayoutTests/fast/forms/interactive-validation-formnovalidate-child.html
index 5ea973a..379cdd2 100644
--- a/LayoutTests/fast/forms/interactive-validation-formnovalidate-child.html
+++ b/LayoutTests/fast/forms/interactive-validation-formnovalidate-child.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
diff --git a/LayoutTests/fast/forms/interactive-validation-formnovalidate.html b/LayoutTests/fast/forms/interactive-validation-formnovalidate.html
index 0f26e43..43dca12 100644
--- a/LayoutTests/fast/forms/interactive-validation-formnovalidate.html
+++ b/LayoutTests/fast/forms/interactive-validation-formnovalidate.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
diff --git a/LayoutTests/fast/forms/interactive-validation-novalidate.html b/LayoutTests/fast/forms/interactive-validation-novalidate.html
index 34704e4..a57341b 100644
--- a/LayoutTests/fast/forms/interactive-validation-novalidate.html
+++ b/LayoutTests/fast/forms/interactive-validation-novalidate.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
diff --git a/LayoutTests/fast/forms/interactive-validation-prevented.html b/LayoutTests/fast/forms/interactive-validation-prevented.html
index 1878019..05797b1 100644
--- a/LayoutTests/fast/forms/interactive-validation-prevented.html
+++ b/LayoutTests/fast/forms/interactive-validation-prevented.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
diff --git a/LayoutTests/fast/forms/interactive-validation-remove-node-in-handler.html b/LayoutTests/fast/forms/interactive-validation-remove-node-in-handler.html
index 18fe48f..b4abf7d 100644
--- a/LayoutTests/fast/forms/interactive-validation-remove-node-in-handler.html
+++ b/LayoutTests/fast/forms/interactive-validation-remove-node-in-handler.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
diff --git a/LayoutTests/fast/forms/interactive-validation-required-checkbox.html b/LayoutTests/fast/forms/interactive-validation-required-checkbox.html
index d3f730c..c4e5f70 100644
--- a/LayoutTests/fast/forms/interactive-validation-required-checkbox.html
+++ b/LayoutTests/fast/forms/interactive-validation-required-checkbox.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
diff --git a/LayoutTests/fast/forms/interactive-validation-select-crash.html b/LayoutTests/fast/forms/interactive-validation-select-crash.html
index a82b052..eee96f2 100644
--- a/LayoutTests/fast/forms/interactive-validation-select-crash.html
+++ b/LayoutTests/fast/forms/interactive-validation-select-crash.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p>Test for a bug that RenderBlock crashed when a validation message bubble for a select element with float:left was closing.</p>
@@ -29,5 +29,5 @@
document.getElementById('submit').click();
setTimeout(closeBubble, 0);
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/isindex-name.html b/LayoutTests/fast/forms/isindex-name.html
index cbbaa2c..6133440 100644
--- a/LayoutTests/fast/forms/isindex-name.html
+++ b/LayoutTests/fast/forms/isindex-name.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<isindex id=isindex1>
@@ -17,6 +17,6 @@
// This behavior is compatible with IE, Firefox, and Opera.
shouldBeEqualToString('isindex.removeAttribute("name"); isindex.name', '');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/label/label-becomes-visible-while-clicking-on-label.html b/LayoutTests/fast/forms/label/label-becomes-visible-while-clicking-on-label.html
index fd25332..8337dc4 100644
--- a/LayoutTests/fast/forms/label/label-becomes-visible-while-clicking-on-label.html
+++ b/LayoutTests/fast/forms/label/label-becomes-visible-while-clicking-on-label.html
@@ -2,7 +2,7 @@
<html>
<body>
<script src="../resources/common.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div>
<input id="input-element" style="visibility: hidden;" onfocus="focused = true" onblur="focused = false" onclick="this.style.visibility = 'visible';">
@@ -24,6 +24,6 @@
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/label/labelable-elements.html b/LayoutTests/fast/forms/label/labelable-elements.html
index c23b6e0..6252556 100644
--- a/LayoutTests/fast/forms/label/labelable-elements.html
+++ b/LayoutTests/fast/forms/label/labelable-elements.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<script src="../resources/label-test-util.js"></script>
</head>
@@ -35,6 +35,6 @@
}
}
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/label/labels-add-htmlFor-label.html b/LayoutTests/fast/forms/label/labels-add-htmlFor-label.html
index e4b632b..a48fbec 100644
--- a/LayoutTests/fast/forms/label/labels-add-htmlFor-label.html
+++ b/LayoutTests/fast/forms/label/labels-add-htmlFor-label.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<script src="../resources/label-test-util.js"></script>
</head>
@@ -27,6 +27,6 @@
shouldBe('element.labels.length', '1');
}
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/label/labels-add-parent-label.html b/LayoutTests/fast/forms/label/labels-add-parent-label.html
index 6bbad5d..a725fdd 100644
--- a/LayoutTests/fast/forms/label/labels-add-parent-label.html
+++ b/LayoutTests/fast/forms/label/labels-add-parent-label.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<script src="../resources/label-test-util.js"></script>
</head>
@@ -27,6 +27,6 @@
shouldBe('element.labels.length', '1');
}
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/label/labels-change-htmlFor-attribute.html b/LayoutTests/fast/forms/label/labels-change-htmlFor-attribute.html
index cb3ccca..2a74d71 100644
--- a/LayoutTests/fast/forms/label/labels-change-htmlFor-attribute.html
+++ b/LayoutTests/fast/forms/label/labels-change-htmlFor-attribute.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<script src="../resources/label-test-util.js"></script>
</head>
@@ -26,6 +26,6 @@
shouldBe('element.labels.length', '1');
}
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/label/labels-custom-property.html b/LayoutTests/fast/forms/label/labels-custom-property.html
index 274e628..0e4f005 100644
--- a/LayoutTests/fast/forms/label/labels-custom-property.html
+++ b/LayoutTests/fast/forms/label/labels-custom-property.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -21,6 +21,6 @@
shouldBe('labels.customProperty', '1');
shouldBe('document.getElementById("btn").labels.customProperty', '1');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/label/labels-item-index.html b/LayoutTests/fast/forms/label/labels-item-index.html
index ec8f8fb..f19f12c 100644
--- a/LayoutTests/fast/forms/label/labels-item-index.html
+++ b/LayoutTests/fast/forms/label/labels-item-index.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -27,6 +27,6 @@
labels = document.getElementById("id4").labels;
shouldBe('labels.item(1).id', '"l14"');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/label/labels-multiple-sibling-labels.html b/LayoutTests/fast/forms/label/labels-multiple-sibling-labels.html
index 3cc620c..1f1abdb 100644
--- a/LayoutTests/fast/forms/label/labels-multiple-sibling-labels.html
+++ b/LayoutTests/fast/forms/label/labels-multiple-sibling-labels.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<script src="../resources/label-test-util.js"></script>
</head>
@@ -22,6 +22,6 @@
shouldBe('element.labels.length', '2');
}
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/label/labels-owner-node-adopted.html b/LayoutTests/fast/forms/label/labels-owner-node-adopted.html
index 3b3b13f..4c20320 100644
--- a/LayoutTests/fast/forms/label/labels-owner-node-adopted.html
+++ b/LayoutTests/fast/forms/label/labels-owner-node-adopted.html
@@ -6,7 +6,7 @@
<label id="label2" for="input">label2</label>
<input id="input" type="text">
</form>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
var form = document.querySelector('form');
diff --git a/LayoutTests/fast/forms/label/labels-parent-and-sibling-labels.html b/LayoutTests/fast/forms/label/labels-parent-and-sibling-labels.html
index 134d7a8..1dc0b4e 100644
--- a/LayoutTests/fast/forms/label/labels-parent-and-sibling-labels.html
+++ b/LayoutTests/fast/forms/label/labels-parent-and-sibling-labels.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<script src="../resources/label-test-util.js"></script>
</head>
@@ -22,6 +22,6 @@
shouldBe('element.labels.length', '2');
}
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/label/labels-remove-htmlFor-attribute.html b/LayoutTests/fast/forms/label/labels-remove-htmlFor-attribute.html
index 3d1ff3e..a1fe2c5 100644
--- a/LayoutTests/fast/forms/label/labels-remove-htmlFor-attribute.html
+++ b/LayoutTests/fast/forms/label/labels-remove-htmlFor-attribute.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<script src="../resources/label-test-util.js"></script>
</head>
@@ -26,6 +26,6 @@
shouldBe('element.labels.length', '0');
}
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/label/labels-remove-htmlFor-label.html b/LayoutTests/fast/forms/label/labels-remove-htmlFor-label.html
index 5810e80..42177a7 100644
--- a/LayoutTests/fast/forms/label/labels-remove-htmlFor-label.html
+++ b/LayoutTests/fast/forms/label/labels-remove-htmlFor-label.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<script src="../resources/label-test-util.js"></script>
</head>
@@ -26,6 +26,6 @@
shouldBe('element.labels.length', '0');
}
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/label/labels-remove-parent-label.html b/LayoutTests/fast/forms/label/labels-remove-parent-label.html
index ec94920..52f925c 100644
--- a/LayoutTests/fast/forms/label/labels-remove-parent-label.html
+++ b/LayoutTests/fast/forms/label/labels-remove-parent-label.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<script src="../resources/label-test-util.js"></script>
</head>
@@ -25,6 +25,6 @@
shouldBe('element.labels.length', '0');
}
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/label/labels-set-htmlFor-attribute.html b/LayoutTests/fast/forms/label/labels-set-htmlFor-attribute.html
index cb3ccca..2a74d71 100644
--- a/LayoutTests/fast/forms/label/labels-set-htmlFor-attribute.html
+++ b/LayoutTests/fast/forms/label/labels-set-htmlFor-attribute.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<script src="../resources/label-test-util.js"></script>
</head>
@@ -26,6 +26,6 @@
shouldBe('element.labels.length', '1');
}
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/lazy-event-listener-scope-chain.html b/LayoutTests/fast/forms/lazy-event-listener-scope-chain.html
index 2380487..6561b8b 100644
--- a/LayoutTests/fast/forms/lazy-event-listener-scope-chain.html
+++ b/LayoutTests/fast/forms/lazy-event-listener-scope-chain.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<form action="javascript:void(0)" onsubmit="runTest(username.value)">
<input type="text" value="abc" name="username">
<input type="submit" name="login" value="Login">
@@ -32,4 +32,4 @@
f.login.click();
</script>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
diff --git a/LayoutTests/fast/forms/legend/legend-form.html b/LayoutTests/fast/forms/legend/legend-form.html
index f089f51..41a876c 100644
--- a/LayoutTests/fast/forms/legend/legend-form.html
+++ b/LayoutTests/fast/forms/legend/legend-form.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -56,6 +56,6 @@
shouldBe('legendElement.form', 'form2');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/listbox-deselect-scroll.html b/LayoutTests/fast/forms/listbox-deselect-scroll.html
index 1548d7a..c4e9f53 100644
--- a/LayoutTests/fast/forms/listbox-deselect-scroll.html
+++ b/LayoutTests/fast/forms/listbox-deselect-scroll.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -53,6 +53,6 @@
shouldBe('sl.scrollTop', 'scrollBeforeClick');
shouldBe('selectionPattern(sl)', '"11111110111"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/listbox-selection-2.html b/LayoutTests/fast/forms/listbox-selection-2.html
index 1ea7abb..d7cfb67 100644
--- a/LayoutTests/fast/forms/listbox-selection-2.html
+++ b/LayoutTests/fast/forms/listbox-selection-2.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -95,6 +95,6 @@
mouseDownOnSelect("sl2", 2);
shouldBe('selectionPattern("sl2")', '"001"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/listbox-selection.html b/LayoutTests/fast/forms/listbox-selection.html
index 28594eb..7a3acd0 100644
--- a/LayoutTests/fast/forms/listbox-selection.html
+++ b/LayoutTests/fast/forms/listbox-selection.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -133,6 +133,6 @@
keyDownOnSelect("sl14", "downArrow", "rangeSelectionKey");
shouldBe('selectionPattern("sl14")', '"01100"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/menulist-disabled-selected-option.html b/LayoutTests/fast/forms/menulist-disabled-selected-option.html
index 6dc8002..0410708 100644
--- a/LayoutTests/fast/forms/menulist-disabled-selected-option.html
+++ b/LayoutTests/fast/forms/menulist-disabled-selected-option.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -33,6 +33,6 @@
testRunner.notifyDone();
}
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/menulist-no-renderer-for-unexpected-children.html b/LayoutTests/fast/forms/menulist-no-renderer-for-unexpected-children.html
index 5af8a49..05192f1 100644
--- a/LayoutTests/fast/forms/menulist-no-renderer-for-unexpected-children.html
+++ b/LayoutTests/fast/forms/menulist-no-renderer-for-unexpected-children.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<select size="2">
<option>PASS</option>FAIL
</select>
@@ -17,4 +17,4 @@
// not appear.
shouldBeEqualToString('select.innerText', '');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/menulist-submit-without-selection.html b/LayoutTests/fast/forms/menulist-submit-without-selection.html
index 02e6d16..3dd4520 100644
--- a/LayoutTests/fast/forms/menulist-submit-without-selection.html
+++ b/LayoutTests/fast/forms/menulist-submit-without-selection.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -31,6 +31,6 @@
testRunner.notifyDone();
}
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/method-attribute.html b/LayoutTests/fast/forms/method-attribute.html
index e766dab..85549d2 100644
--- a/LayoutTests/fast/forms/method-attribute.html
+++ b/LayoutTests/fast/forms/method-attribute.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<body>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<p>Test method and formmethod attributes</p>
@@ -31,6 +31,6 @@
debug('');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/min-content-form-controls.html b/LayoutTests/fast/forms/min-content-form-controls.html
index 02b6506..2a1229e 100644
--- a/LayoutTests/fast/forms/min-content-form-controls.html
+++ b/LayoutTests/fast/forms/min-content-form-controls.html
@@ -26,11 +26,11 @@
<select id="multiple-a" multiple class="min-content"><option>aaaaaaaaaaaaaaaaaaaaaaaaa</option></select><br>
<select id="multiple-b" multiple><option>aaaaaaaaaaaaaaaaaaaaaaaaa</option></select><br>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
var ids = ['text', 'file', 'range', 'select', 'multiple'];
ids.forEach(function(id) {
shouldBe('document.getElementById("' + id + '-a").offsetWidth', 'document.getElementById("' + id + '-b").offsetWidth');
});
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/month/ValidityState-rangeOverflow-month.html b/LayoutTests/fast/forms/month/ValidityState-rangeOverflow-month.html
index bbde86d..ddb7eea 100644
--- a/LayoutTests/fast/forms/month/ValidityState-rangeOverflow-month.html
+++ b/LayoutTests/fast/forms/month/ValidityState-rangeOverflow-month.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -69,6 +69,6 @@
// Disabled
checkNotOverflow('9999-01', '2010-12', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/month/ValidityState-rangeUnderflow-month.html b/LayoutTests/fast/forms/month/ValidityState-rangeUnderflow-month.html
index 437f3d5..455aac7 100644
--- a/LayoutTests/fast/forms/month/ValidityState-rangeUnderflow-month.html
+++ b/LayoutTests/fast/forms/month/ValidityState-rangeUnderflow-month.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -71,6 +71,6 @@
// Disabled
checkNotUnderflow('9999-01', '10000-12', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/month/ValidityState-stepMismatch-month.html b/LayoutTests/fast/forms/month/ValidityState-stepMismatch-month.html
index 9e97954..8cb9985 100644
--- a/LayoutTests/fast/forms/month/ValidityState-stepMismatch-month.html
+++ b/LayoutTests/fast/forms/month/ValidityState-stepMismatch-month.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -51,6 +51,6 @@
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/month/ValidityState-typeMismatch-month.html b/LayoutTests/fast/forms/month/ValidityState-typeMismatch-month.html
index a0fc773..f6a1c56 100644
--- a/LayoutTests/fast/forms/month/ValidityState-typeMismatch-month.html
+++ b/LayoutTests/fast/forms/month/ValidityState-typeMismatch-month.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -77,6 +77,6 @@
// Disabled
shouldBeInvalid('invalid', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/month/input-valueasdate-month.html b/LayoutTests/fast/forms/month/input-valueasdate-month.html
index 0c0a588..a1fc2b8 100644
--- a/LayoutTests/fast/forms/month/input-valueasdate-month.html
+++ b/LayoutTests/fast/forms/month/input-valueasdate-month.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -48,6 +48,6 @@
input.valueAsDate = null;
shouldBe('input.value', '""');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/month/input-valueasdate.html b/LayoutTests/fast/forms/month/input-valueasdate.html
index 98eb8ba..009fb66 100644
--- a/LayoutTests/fast/forms/month/input-valueasdate.html
+++ b/LayoutTests/fast/forms/month/input-valueasdate.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -47,6 +47,6 @@
input.valueAsDate = document;
shouldBe('input.value', '""');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/month/input-valueasnumber-month.html b/LayoutTests/fast/forms/month/input-valueasnumber-month.html
index dae54df..c1ea3ef 100644
--- a/LayoutTests/fast/forms/month/input-valueasnumber-month.html
+++ b/LayoutTests/fast/forms/month/input-valueasnumber-month.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -54,6 +54,6 @@
shouldThrow('input.valueAsNumber = Number.POSITIVE_INFINITY', '"Error: NotSupportedError: DOM Exception 9"');
shouldThrow('input.valueAsNumber = Number.NEGATIVE_INFINITY', '"Error: NotSupportedError: DOM Exception 9"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/month/month-input-type.html b/LayoutTests/fast/forms/month/month-input-type.html
index 29da0c9..fc91570 100644
--- a/LayoutTests/fast/forms/month/month-input-type.html
+++ b/LayoutTests/fast/forms/month/month-input-type.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -25,6 +25,6 @@
check("MONTH", "month");
check(" month ", "text");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/month/month-interactive-validation-required.html b/LayoutTests/fast/forms/month/month-interactive-validation-required.html
index 8b17013..73f0a95 100644
--- a/LayoutTests/fast/forms/month/month-interactive-validation-required.html
+++ b/LayoutTests/fast/forms/month/month-interactive-validation-required.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-interactive-validation-required.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/forms/month/month-pseudo-classes.html b/LayoutTests/fast/forms/month/month-pseudo-classes.html
index f1abd4a..7449eb8 100644
--- a/LayoutTests/fast/forms/month/month-pseudo-classes.html
+++ b/LayoutTests/fast/forms/month/month-pseudo-classes.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-pseudo-classes.js"></script>
<div id="container">
@@ -38,5 +38,5 @@
shouldBeTrue('matchedNodesContainId(container, ":out-of-range", "inrange")');
container.remove();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/month/month-setrangetext.html b/LayoutTests/fast/forms/month/month-setrangetext.html
index 9170134..ea394ce 100644
--- a/LayoutTests/fast/forms/month/month-setrangetext.html
+++ b/LayoutTests/fast/forms/month/month-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -10,7 +10,7 @@
description("Test setRangeText() method is not available in month inputs.");
runTestsShouldFail("input", { type: "month" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/month/month-stepup-stepdown.html b/LayoutTests/fast/forms/month/month-stepup-stepdown.html
index 096648c..15f4355 100644
--- a/LayoutTests/fast/forms/month/month-stepup-stepdown.html
+++ b/LayoutTests/fast/forms/month/month-stepup-stepdown.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -66,6 +66,6 @@
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/novalidate-attribute.html b/LayoutTests/fast/forms/novalidate-attribute.html
index 0475d4a..fa7c8f4 100644
--- a/LayoutTests/fast/forms/novalidate-attribute.html
+++ b/LayoutTests/fast/forms/novalidate-attribute.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -42,6 +42,6 @@
shouldBe("f2.getAttribute('noValidate')", "''");
shouldBe("f2.noValidate", "true");
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-blur-twice.html b/LayoutTests/fast/forms/number/number-blur-twice.html
index c723393..5b0c705 100644
--- a/LayoutTests/fast/forms/number/number-blur-twice.html
+++ b/LayoutTests/fast/forms/number/number-blur-twice.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description">There was a bug that moving focus with TAB from a number input with an invalid string dispatched an extra focus event and an extra blur event.</p>
@@ -34,6 +34,6 @@
shouldBe('numOfFocus', '1');
shouldBe('numOfBlur', '1');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-change-type-on-focus.html b/LayoutTests/fast/forms/number/number-change-type-on-focus.html
index b59a699..7b7bc9c 100644
--- a/LayoutTests/fast/forms/number/number-change-type-on-focus.html
+++ b/LayoutTests/fast/forms/number/number-change-type-on-focus.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-change-type-on-focus.js"></script>
</head>
<body>
@@ -13,6 +13,6 @@
<script>
testChangeTypeOnFocus();
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-commit-valid-only.html b/LayoutTests/fast/forms/number/number-commit-valid-only.html
index 9cac5bb..51dd68b 100644
--- a/LayoutTests/fast/forms/number/number-commit-valid-only.html
+++ b/LayoutTests/fast/forms/number/number-commit-valid-only.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -43,6 +43,6 @@
checkIt("empty", "", ""); // empty
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-input-changeevent.html b/LayoutTests/fast/forms/number/number-input-changeevent.html
index c5260a4..63e69ca 100644
--- a/LayoutTests/fast/forms/number/number-input-changeevent.html
+++ b/LayoutTests/fast/forms/number/number-input-changeevent.html
@@ -4,7 +4,7 @@
<p>This test ensures change event is fired for input[type=number] when the user reverts the change made by a script.</p>
<div id="console"></div>
<div><input id="test" type="number" onchange="numberOfChangeEventsFired++;"><input id="dummy"></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
@@ -24,6 +24,6 @@
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-interactive-validation-required.html b/LayoutTests/fast/forms/number/number-interactive-validation-required.html
index 5a0ea89..e44faad 100644
--- a/LayoutTests/fast/forms/number/number-interactive-validation-required.html
+++ b/LayoutTests/fast/forms/number/number-interactive-validation-required.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-interactive-validation-required.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/forms/number/number-keyoperation.html b/LayoutTests/fast/forms/number/number-keyoperation.html
index 8ec6c13..49416ae 100644
--- a/LayoutTests/fast/forms/number/number-keyoperation.html
+++ b/LayoutTests/fast/forms/number/number-keyoperation.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -36,6 +36,6 @@
eventSender.keyDown('upArrow');
shouldBe('input.value', '"123"');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-l10n-input.html b/LayoutTests/fast/forms/number/number-l10n-input.html
index b77cb25..c5ec0a6 100644
--- a/LayoutTests/fast/forms/number/number-l10n-input.html
+++ b/LayoutTests/fast/forms/number/number-l10n-input.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.internals)
internals.settings.setLangAttributeAwareFormControlUIEnabled(true);
@@ -44,5 +44,5 @@
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/number/number-large-padding.html b/LayoutTests/fast/forms/number/number-large-padding.html
index fe93a0c..4e17092 100644
--- a/LayoutTests/fast/forms/number/number-large-padding.html
+++ b/LayoutTests/fast/forms/number/number-large-padding.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -24,6 +24,6 @@
document.getElementById('console').innerHTML = 'No eventSender. Please click the up or down arrow button and check if the value increases or decreses.';
}
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-lossless-localization.html b/LayoutTests/fast/forms/number/number-lossless-localization.html
index f47fefa..20233ad 100644
--- a/LayoutTests/fast/forms/number/number-lossless-localization.html
+++ b/LayoutTests/fast/forms/number/number-lossless-localization.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<input type="number" id="number1">
<script>
var numberInput = document.getElementById('number1');
@@ -11,5 +11,5 @@
numberInput.blur();
shouldBeEqualToString('numberInput.value', '0000123456789012345678901234567890123456789');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/number/number-outofrange.html b/LayoutTests/fast/forms/number/number-outofrange.html
index 8c6020d..4eb46c2 100644
--- a/LayoutTests/fast/forms/number/number-outofrange.html
+++ b/LayoutTests/fast/forms/number/number-outofrange.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -42,6 +42,6 @@
parent.innerHTML = '';
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-setrangetext.html b/LayoutTests/fast/forms/number/number-setrangetext.html
index 0670cd1..2c50df3 100644
--- a/LayoutTests/fast/forms/number/number-setrangetext.html
+++ b/LayoutTests/fast/forms/number/number-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -10,7 +10,7 @@
description("Test setRangeText() method is not available in number inputs.");
runTestsShouldFail("input", { type: "number" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-size.html b/LayoutTests/fast/forms/number/number-size.html
index cf407fc..6d21417 100644
--- a/LayoutTests/fast/forms/number/number-size.html
+++ b/LayoutTests/fast/forms/number/number-size.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
input.with-border::-webkit-inner-spin-button {
@@ -155,6 +155,6 @@
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-spinbutton-capturing.html b/LayoutTests/fast/forms/number/number-spinbutton-capturing.html
index 2c24ccf..1e98f7c 100644
--- a/LayoutTests/fast/forms/number/number-spinbutton-capturing.html
+++ b/LayoutTests/fast/forms/number/number-spinbutton-capturing.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -34,6 +34,6 @@
document.getElementById('console').innerHTML = '<p>No eventSender. <p>Manual test instruction: Click the upper button of the first input field, then click the upper button of the second input field. Confirm that the second input field value is changed.';
}
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-spinbutton-change-and-input-events.html b/LayoutTests/fast/forms/number/number-spinbutton-change-and-input-events.html
index 2a1c973..8899a79 100644
--- a/LayoutTests/fast/forms/number/number-spinbutton-change-and-input-events.html
+++ b/LayoutTests/fast/forms/number/number-spinbutton-change-and-input-events.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<script src="../resources/common-spinbutton-change-and-input-events.js"></script>
</head>
@@ -9,6 +9,6 @@
<script>
testSpinButtonChangeAndInputEvents('number', '0', '1', '1');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-spinbutton-click-in-iframe.html b/LayoutTests/fast/forms/number/number-spinbutton-click-in-iframe.html
index 860b32d..1bc7d98 100644
--- a/LayoutTests/fast/forms/number/number-spinbutton-click-in-iframe.html
+++ b/LayoutTests/fast/forms/number/number-spinbutton-click-in-iframe.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<script src="../resources/common-spinbutton-click-in-iframe.js"></script>
</head>
@@ -13,6 +13,6 @@
'inputType' : 'number'
});
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-spinbutton-gets-disabled-or-readonly.html b/LayoutTests/fast/forms/number/number-spinbutton-gets-disabled-or-readonly.html
index 7cedf7d..e964345 100644
--- a/LayoutTests/fast/forms/number/number-spinbutton-gets-disabled-or-readonly.html
+++ b/LayoutTests/fast/forms/number/number-spinbutton-gets-disabled-or-readonly.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<input id="readonlyNumber" type="number" onmouseup="mouseupEventOnReadonlyNumber()" />
@@ -88,6 +88,6 @@
eventSender.mouseUp();
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html b/LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html
index 52f8bdb..64b7d60 100644
--- a/LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html
+++ b/LayoutTests/fast/forms/number/number-stepup-stepdown-from-renderer.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -168,6 +168,6 @@
debug('');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-stepup-stepdown.html b/LayoutTests/fast/forms/number/number-stepup-stepdown.html
index c8e45c1..64cfd8f 100644
--- a/LayoutTests/fast/forms/number/number-stepup-stepdown.html
+++ b/LayoutTests/fast/forms/number/number-stepup-stepdown.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -119,6 +119,6 @@
shouldBe('stepUpExplicitBounds("4", "9", "0.005", "5.005", 11)', '"5.06"');
shouldBe('stepUpExplicitBounds("4", "9", "0.005", "5.005", 12)', '"5.065"');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-validation-message.html b/LayoutTests/fast/forms/number/number-validation-message.html
index e150e1d..2176fa9 100644
--- a/LayoutTests/fast/forms/number/number-validation-message.html
+++ b/LayoutTests/fast/forms/number/number-validation-message.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -41,6 +41,6 @@
shouldBeEqualToString('testIt("55", "0", "100", "10")', 'step mismatch');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-validity-badinput.html b/LayoutTests/fast/forms/number/number-validity-badinput.html
index ff6f189..cbdaf78 100644
--- a/LayoutTests/fast/forms/number/number-validity-badinput.html
+++ b/LayoutTests/fast/forms/number/number-validity-badinput.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
:invalid {
background-color: #ff0000;
@@ -66,6 +66,6 @@
document.getElementById('parent').innerHTML = '';
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-validity-rangeoverflow.html b/LayoutTests/fast/forms/number/number-validity-rangeoverflow.html
index 62ec913..afc4f76 100644
--- a/LayoutTests/fast/forms/number/number-validity-rangeoverflow.html
+++ b/LayoutTests/fast/forms/number/number-validity-rangeoverflow.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -63,6 +63,6 @@
// Disabled
checkNotOverflow('101', '1E+2', true);
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-validity-rangeunderflow.html b/LayoutTests/fast/forms/number/number-validity-rangeunderflow.html
index c9ba6b4..bf0d7e7 100644
--- a/LayoutTests/fast/forms/number/number-validity-rangeunderflow.html
+++ b/LayoutTests/fast/forms/number/number-validity-rangeunderflow.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -65,6 +65,6 @@
// Disabled
checkNotUnderflow('99', '1E+2', true);
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-validity-stepmismatch.html b/LayoutTests/fast/forms/number/number-validity-stepmismatch.html
index 53ef5a4..67d80d9c 100644
--- a/LayoutTests/fast/forms/number/number-validity-stepmismatch.html
+++ b/LayoutTests/fast/forms/number/number-validity-stepmismatch.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -50,6 +50,6 @@
debug('Disabled');
shouldBe('stepMismatchFor("1", "2", "0", true)', 'false');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-validity-typemismatch.html b/LayoutTests/fast/forms/number/number-validity-typemismatch.html
index a681791..8702515 100644
--- a/LayoutTests/fast/forms/number/number-validity-typemismatch.html
+++ b/LayoutTests/fast/forms/number/number-validity-typemismatch.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -77,6 +77,6 @@
// Disabled
check('invalid', true);
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-valueasnumber.html b/LayoutTests/fast/forms/number/number-valueasnumber.html
index 922f176..8022142 100644
--- a/LayoutTests/fast/forms/number/number-valueasnumber.html
+++ b/LayoutTests/fast/forms/number/number-valueasnumber.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -75,6 +75,6 @@
shouldThrow('setValueAsNumberAndGetValue(Number.POSITIVE_INFINITY)', '"Error: NotSupportedError: DOM Exception 9"');
shouldThrow('setValueAsNumberAndGetValue(Number.NEGATIVE_INFINITY)', '"Error: NotSupportedError: DOM Exception 9"');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/number/number-wheel-event.html b/LayoutTests/fast/forms/number/number-wheel-event.html
index 73a8425..310b394 100644
--- a/LayoutTests/fast/forms/number/number-wheel-event.html
+++ b/LayoutTests/fast/forms/number/number-wheel-event.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-wheel-event.js"></script>
</head>
<body>
@@ -12,6 +12,6 @@
'stepUpValue1' : '1',
'stepUpValue2' : '2' });
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/old-names.html b/LayoutTests/fast/forms/old-names.html
index 94eddb8..270818b 100644
--- a/LayoutTests/fast/forms/old-names.html
+++ b/LayoutTests/fast/forms/old-names.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
function runTest()
{
@@ -161,6 +161,6 @@
<p id="description"></p>
<div id="console"></div>
<script>runTest();</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/onchange-change-type.html b/LayoutTests/fast/forms/onchange-change-type.html
index 25522a4..27eb159 100644
--- a/LayoutTests/fast/forms/onchange-change-type.html
+++ b/LayoutTests/fast/forms/onchange-change-type.html
@@ -1,6 +1,6 @@
<html>
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
function sendText(element, text) {
var event = document.createEvent('TextEvent');
diff --git a/LayoutTests/fast/forms/onchange-setvalueforuser.html b/LayoutTests/fast/forms/onchange-setvalueforuser.html
index 3f07554..75837fb 100644
--- a/LayoutTests/fast/forms/onchange-setvalueforuser.html
+++ b/LayoutTests/fast/forms/onchange-setvalueforuser.html
@@ -1,6 +1,6 @@
<html>
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
function test() {
var tf = document.getElementById('tf');
diff --git a/LayoutTests/fast/forms/option-label-trim-html-spaces.html b/LayoutTests/fast/forms/option-label-trim-html-spaces.html
index 0da8b55..7c1d84b 100644
--- a/LayoutTests/fast/forms/option-label-trim-html-spaces.html
+++ b/LayoutTests/fast/forms/option-label-trim-html-spaces.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -33,6 +33,6 @@
var expected = 'test'+'\u00A0\u00A0'+ 'text';
shouldBe('o4.label', '"'+expected+'"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/option-strip-unicode-spaces.html b/LayoutTests/fast/forms/option-strip-unicode-spaces.html
index c5aabdb..a266109 100644
--- a/LayoutTests/fast/forms/option-strip-unicode-spaces.html
+++ b/LayoutTests/fast/forms/option-strip-unicode-spaces.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -92,6 +92,6 @@
debug('');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/option-value-and-label-changed-by-js.html b/LayoutTests/fast/forms/option-value-and-label-changed-by-js.html
index a256ec5..a8db2f5 100644
--- a/LayoutTests/fast/forms/option-value-and-label-changed-by-js.html
+++ b/LayoutTests/fast/forms/option-value-and-label-changed-by-js.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -41,6 +41,6 @@
shouldBe('o4.value', '"newValue"');
shouldBe('o4.label', '"newLabel"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/option-value-and-label.html b/LayoutTests/fast/forms/option-value-and-label.html
index b7d2c01..fc4ebad 100644
--- a/LayoutTests/fast/forms/option-value-and-label.html
+++ b/LayoutTests/fast/forms/option-value-and-label.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -33,6 +33,6 @@
shouldBe('o4.value', '"value"');
shouldBe('o4.label', '"label"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/option-value-trim-html-spaces.html b/LayoutTests/fast/forms/option-value-trim-html-spaces.html
index 14e88125..90ec1b3 100644
--- a/LayoutTests/fast/forms/option-value-trim-html-spaces.html
+++ b/LayoutTests/fast/forms/option-value-trim-html-spaces.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -32,6 +32,6 @@
var expected = 'test'+'\u00A0\u00A0'+ 'text';
shouldBe('o4.value', '"'+expected+'"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/output-reset-assertion-failed.html b/LayoutTests/fast/forms/output-reset-assertion-failed.html
index c41fb51..60b7be9 100644
--- a/LayoutTests/fast/forms/output-reset-assertion-failed.html
+++ b/LayoutTests/fast/forms/output-reset-assertion-failed.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -50,6 +50,6 @@
testPassed('Not crashed');
document.body.removeChild(form);
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/parser-associated-form-removal.html b/LayoutTests/fast/forms/parser-associated-form-removal.html
index 92fee17..4ad52e3 100644
--- a/LayoutTests/fast/forms/parser-associated-form-removal.html
+++ b/LayoutTests/fast/forms/parser-associated-form-removal.html
@@ -2,7 +2,7 @@
<style>
table { display: none; }
</style>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<table id="table1">
<form>
<td><input></td>
@@ -29,4 +29,4 @@
table2.removeChild(table2.querySelector('form'));
shouldBeNull('table2.querySelector("input").form');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/past-names-map-should-be-used-only-when-named-item-is-empty.html b/LayoutTests/fast/forms/past-names-map-should-be-used-only-when-named-item-is-empty.html
index df21000..70856da 100644
--- a/LayoutTests/fast/forms/past-names-map-should-be-used-only-when-named-item-is-empty.html
+++ b/LayoutTests/fast/forms/past-names-map-should-be-used-only-when-named-item-is-empty.html
@@ -2,7 +2,7 @@
<html>
<body>
<form><input type="text" name="foo"><input type="text" name="bar"><input type="text" name="bar"></form>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
var form = document.querySelector('form');
@@ -14,6 +14,6 @@
var successfullyParsed = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/past-names-map-should-not-contain-disassociated-elements.html b/LayoutTests/fast/forms/past-names-map-should-not-contain-disassociated-elements.html
index b5a7999..2bb01da 100644
--- a/LayoutTests/fast/forms/past-names-map-should-not-contain-disassociated-elements.html
+++ b/LayoutTests/fast/forms/past-names-map-should-not-contain-disassociated-elements.html
@@ -3,7 +3,7 @@
<body>
<form id="form1"><input type="text" name="foo"></form>
<form id="form2"></form>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description('This test ensures elements are removed from the past names map of a form element once they are no longer associated with the form element.');
@@ -25,6 +25,6 @@
var successfullyParsed = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/past-names-map-should-not-contain-nodelist-item.html b/LayoutTests/fast/forms/past-names-map-should-not-contain-nodelist-item.html
index 4a8d635..251010a 100644
--- a/LayoutTests/fast/forms/past-names-map-should-not-contain-nodelist-item.html
+++ b/LayoutTests/fast/forms/past-names-map-should-not-contain-nodelist-item.html
@@ -2,7 +2,7 @@
<html>
<body>
<form><input type="text" name="foo"><input type="text" name="foo"></form>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description("This test ensures that none of elements in a node list returned by the named getter of a form element are added to the past names map of the element.");
@@ -20,6 +20,6 @@
var successfullyParsed = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/percent-height-auto-width-form-controls.html b/LayoutTests/fast/forms/percent-height-auto-width-form-controls.html
index ab24fe9..17ec43d 100644
--- a/LayoutTests/fast/forms/percent-height-auto-width-form-controls.html
+++ b/LayoutTests/fast/forms/percent-height-auto-width-form-controls.html
@@ -61,11 +61,11 @@
</td></tr></tbody></table>
</div>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
var ids = ['text', 'file', 'range', 'select', 'multiple'];
ids.forEach(function(id) {
shouldBe('document.getElementById("' + id + '-a").offsetWidth', 'document.getElementById("' + id + '-b").offsetWidth');
})
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/placeholder-dom-property.html b/LayoutTests/fast/forms/placeholder-dom-property.html
index 3843af9..bbcae5b 100644
--- a/LayoutTests/fast/forms/placeholder-dom-property.html
+++ b/LayoutTests/fast/forms/placeholder-dom-property.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -20,6 +20,6 @@
shouldBeEqualToString("input.getAttribute('placeholder')", 'p2');
shouldBeEqualToString("input.placeholder", 'p2');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/placeholder-stripped.html b/LayoutTests/fast/forms/placeholder-stripped.html
index 7f040a3..7667baf 100644
--- a/LayoutTests/fast/forms/placeholder-stripped.html
+++ b/LayoutTests/fast/forms/placeholder-stripped.html
@@ -7,7 +7,7 @@
<textarea placeholder="first line second line"></textarea><br>
<textarea placeholder=" "></textarea>
</div>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description('CR and LF in placeholder values should be stripped.');
@@ -25,6 +25,6 @@
} else
debug('The first input element and the first textarea element should have a placeholder "first line second line", and the second input element and the second textarea element should have nothing.');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/radio/ValidityState-valueMissing-radio.html b/LayoutTests/fast/forms/radio/ValidityState-valueMissing-radio.html
index 0cfc31d..9048c69 100644
--- a/LayoutTests/fast/forms/radio/ValidityState-valueMissing-radio.html
+++ b/LayoutTests/fast/forms/radio/ValidityState-valueMissing-radio.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -84,6 +84,6 @@
shouldBeFalse('requiredButton.validity.valueMissing');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/radio/interactive-validation-required-radio.html b/LayoutTests/fast/forms/radio/interactive-validation-required-radio.html
index daf32c6..82633551 100644
--- a/LayoutTests/fast/forms/radio/interactive-validation-required-radio.html
+++ b/LayoutTests/fast/forms/radio/interactive-validation-required-radio.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
diff --git a/LayoutTests/fast/forms/radio/radio-attr-order.html b/LayoutTests/fast/forms/radio/radio-attr-order.html
index 0218a13..f03edb5 100644
--- a/LayoutTests/fast/forms/radio/radio-attr-order.html
+++ b/LayoutTests/fast/forms/radio/radio-attr-order.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<input type="radio" checked name="test_group" id="rb">
@@ -9,6 +9,6 @@
shouldBeTrue('document.getElementById("rb").checked');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/radio/radio-default-value.html b/LayoutTests/fast/forms/radio/radio-default-value.html
index ff28a12..91b6514 100644
--- a/LayoutTests/fast/forms/radio/radio-default-value.html
+++ b/LayoutTests/fast/forms/radio/radio-default-value.html
@@ -1,5 +1,5 @@
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="console"></div>
diff --git a/LayoutTests/fast/forms/radio/radio-group-document-destruction.html b/LayoutTests/fast/forms/radio/radio-group-document-destruction.html
index 96b3195..dcdb842 100644
--- a/LayoutTests/fast/forms/radio/radio-group-document-destruction.html
+++ b/LayoutTests/fast/forms/radio/radio-group-document-destruction.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<iframe id=frame></iframe>
<script>
description('Test if destructing a documet with radio groups with the same name doesn\'t crash.');
@@ -12,5 +12,5 @@
gc();
debug('PASS if not crashed.');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/radio/radio-group-in-detached-form.html b/LayoutTests/fast/forms/radio/radio-group-in-detached-form.html
index 4f4bbe6..ed363ce 100644
--- a/LayoutTests/fast/forms/radio/radio-group-in-detached-form.html
+++ b/LayoutTests/fast/forms/radio/radio-group-in-detached-form.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('Radio buttons within the same form outside a document should still be updated appropriately when one of them is checked.');
@@ -12,4 +12,4 @@
radio2.checked = true;
shouldBeFalse('radio1.checked');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/radio/radio-group.html b/LayoutTests/fast/forms/radio/radio-group.html
index cdbdb5f..a0d03e4 100644
--- a/LayoutTests/fast/forms/radio/radio-group.html
+++ b/LayoutTests/fast/forms/radio/radio-group.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div id="parent"></div>
@@ -152,5 +152,5 @@
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/radio/radio-live-validation-style.html b/LayoutTests/fast/forms/radio/radio-live-validation-style.html
index e890ac3..0a8ec31 100644
--- a/LayoutTests/fast/forms/radio/radio-live-validation-style.html
+++ b/LayoutTests/fast/forms/radio/radio-live-validation-style.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
:invalid { background: rgb(255, 0, 0); }
:valid { background: rgb(0, 0, 255); }
@@ -95,6 +95,6 @@
parent.innerHTML = '';
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/radio/radio-onchange.html b/LayoutTests/fast/forms/radio/radio-onchange.html
index d40fec0..fd46ece 100644
--- a/LayoutTests/fast/forms/radio/radio-onchange.html
+++ b/LayoutTests/fast/forms/radio/radio-onchange.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<input type="radio" name="test" id="rd">
@@ -15,6 +15,6 @@
document.getElementById('rd2').click();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/radio/radio-remove-form-attr.html b/LayoutTests/fast/forms/radio/radio-remove-form-attr.html
index 7a23321..2b1aa35 100644
--- a/LayoutTests/fast/forms/radio/radio-remove-form-attr.html
+++ b/LayoutTests/fast/forms/radio/radio-remove-form-attr.html
@@ -1,6 +1,6 @@
<html>
<head>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<body>
<p>Test that removing a form attribute from an input element leaves any
existing radio button group in the document in a valid state.</p>
diff --git a/LayoutTests/fast/forms/radio/state-restore-radio-group.html b/LayoutTests/fast/forms/radio/state-restore-radio-group.html
index 66547aa..190f38d 100644
--- a/LayoutTests/fast/forms/radio/state-restore-radio-group.html
+++ b/LayoutTests/fast/forms/radio/state-restore-radio-group.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body onload="runTest()">
<p>Test to restore form value states for a radio group.</p>
diff --git a/LayoutTests/fast/forms/radionodelist-image-type.html b/LayoutTests/fast/forms/radionodelist-image-type.html
index 31ec696..b3edecc 100644
--- a/LayoutTests/fast/forms/radionodelist-image-type.html
+++ b/LayoutTests/fast/forms/radionodelist-image-type.html
@@ -6,7 +6,7 @@
<input type="text" name="someName" value="secondItem" checked>
<input type="text" name="someName" value="thirdItem" checked>
</form>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description("RadioNodeList should respond to type attribute change.");
diff --git a/LayoutTests/fast/forms/radionodelist-whose-form-element-detached-from-domtree.html b/LayoutTests/fast/forms/radionodelist-whose-form-element-detached-from-domtree.html
index 609c6e4..aaa1020 100644
--- a/LayoutTests/fast/forms/radionodelist-whose-form-element-detached-from-domtree.html
+++ b/LayoutTests/fast/forms/radionodelist-whose-form-element-detached-from-domtree.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="container">
@@ -89,6 +89,6 @@
container.parentNode.removeChild(container);
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/ValidityState-stepMismatch-range.html b/LayoutTests/fast/forms/range/ValidityState-stepMismatch-range.html
index d92f639..0dc76d9 100644
--- a/LayoutTests/fast/forms/range/ValidityState-stepMismatch-range.html
+++ b/LayoutTests/fast/forms/range/ValidityState-stepMismatch-range.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -50,6 +50,6 @@
debug('Disabled');
shouldBe('stepMismatchFor("1", "2", "0", true)', 'false');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/input-range-validation-message.html b/LayoutTests/fast/forms/range/input-range-validation-message.html
index 43d7250..a6692eb 100644
--- a/LayoutTests/fast/forms/range/input-range-validation-message.html
+++ b/LayoutTests/fast/forms/range/input-range-validation-message.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -41,6 +41,6 @@
shouldBeEqualToString('testIt("55", "0", "100", "10")', '');
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/input-valueasnumber-range.html b/LayoutTests/fast/forms/range/input-valueasnumber-range.html
index fd534bf..52db92a 100644
--- a/LayoutTests/fast/forms/range/input-valueasnumber-range.html
+++ b/LayoutTests/fast/forms/range/input-valueasnumber-range.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -77,6 +77,6 @@
shouldThrow('setValueAsNumberAndGetValue(Number.POSITIVE_INFINITY)', '"Error: NotSupportedError: DOM Exception 9"');
shouldThrow('setValueAsNumberAndGetValue(Number.NEGATIVE_INFINITY)', '"Error: NotSupportedError: DOM Exception 9"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/range-default-value.html b/LayoutTests/fast/forms/range/range-default-value.html
index cc74377..9e364be 100644
--- a/LayoutTests/fast/forms/range/range-default-value.html
+++ b/LayoutTests/fast/forms/range/range-default-value.html
@@ -1,6 +1,6 @@
<html
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<body>
<p id="description"></p>
<form>
@@ -18,6 +18,6 @@
var slider = document.getElementById("slider");
shouldBe("slider.value", quoteNumber(51));
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/range-drag-when-toggled-disabled.html b/LayoutTests/fast/forms/range/range-drag-when-toggled-disabled.html
index 307e0543..8b575af 100644
--- a/LayoutTests/fast/forms/range/range-drag-when-toggled-disabled.html
+++ b/LayoutTests/fast/forms/range/range-drag-when-toggled-disabled.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description">Test for dragging operations of <input type=range> when <code>readonly</code> or <code>disabled</code> are toggled.</p>
@@ -84,6 +84,6 @@
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/range-drag.html b/LayoutTests/fast/forms/range/range-drag.html
index b1e3863..c0c59ba 100644
--- a/LayoutTests/fast/forms/range/range-drag.html
+++ b/LayoutTests/fast/forms/range/range-drag.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description">Test for dragging operations of <input type=range></p>
@@ -83,6 +83,6 @@
testInput(true);
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/range-hit-test-with-padding.html b/LayoutTests/fast/forms/range/range-hit-test-with-padding.html
index 0846af5..a8525c2 100644
--- a/LayoutTests/fast/forms/range/range-hit-test-with-padding.html
+++ b/LayoutTests/fast/forms/range/range-hit-test-with-padding.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description">Clicking middle of input type=range with padding should set the value to middle.</p>
@@ -46,6 +46,6 @@
shouldBe('input_vertical_rtl.value', '"25"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/range-keyoperation.html b/LayoutTests/fast/forms/range/range-keyoperation.html
index c3c436a..00600d6 100644
--- a/LayoutTests/fast/forms/range/range-keyoperation.html
+++ b/LayoutTests/fast/forms/range/range-keyoperation.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description">Test for keyboard operations of <input type=range></p>
@@ -266,6 +266,6 @@
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/range-reset.html b/LayoutTests/fast/forms/range/range-reset.html
index 0eaa7f5..cdfb808 100644
--- a/LayoutTests/fast/forms/range/range-reset.html
+++ b/LayoutTests/fast/forms/range/range-reset.html
@@ -1,6 +1,6 @@
<html
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<body>
<p id="description"></p>
<form>
@@ -43,6 +43,6 @@
debug("Slider with default limits, and a step value");
testSliderReset("step");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/range-set-attribute.html b/LayoutTests/fast/forms/range/range-set-attribute.html
index 0ae4785..a28add5 100644
--- a/LayoutTests/fast/forms/range/range-set-attribute.html
+++ b/LayoutTests/fast/forms/range/range-set-attribute.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -26,6 +26,6 @@
debug("value attribute should not change the value after you set a value")
shouldBe('input.value = 10; input.setAttribute("value", "5"); input.value', '"10"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/range-setrangetext.html b/LayoutTests/fast/forms/range/range-setrangetext.html
index 1ee0c94..87a3ef2 100644
--- a/LayoutTests/fast/forms/range/range-setrangetext.html
+++ b/LayoutTests/fast/forms/range/range-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -10,7 +10,7 @@
description("Test setRangeText() method is not available in range inputs.");
runTestsShouldFail("input", { type: "range" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/range-slow-drag-to-edge.html b/LayoutTests/fast/forms/range/range-slow-drag-to-edge.html
index 2df5552..316f39e 100644
--- a/LayoutTests/fast/forms/range/range-slow-drag-to-edge.html
+++ b/LayoutTests/fast/forms/range/range-slow-drag-to-edge.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description">Test for dragging operations of <input type=range></p>
@@ -44,6 +44,6 @@
shouldBeEqualToString('input.value', '255');
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/range-stepup-stepdown-from-renderer.html b/LayoutTests/fast/forms/range/range-stepup-stepdown-from-renderer.html
index ce286b2..ce9f145 100644
--- a/LayoutTests/fast/forms/range/range-stepup-stepdown-from-renderer.html
+++ b/LayoutTests/fast/forms/range/range-stepup-stepdown-from-renderer.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -150,6 +150,6 @@
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/range-stepup-stepdown.html b/LayoutTests/fast/forms/range/range-stepup-stepdown.html
index b52955d..2dbf2fc 100644
--- a/LayoutTests/fast/forms/range/range-stepup-stepdown.html
+++ b/LayoutTests/fast/forms/range/range-stepup-stepdown.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -128,6 +128,6 @@
shouldBe('stepDownExplicitBounds(null, null, 0.1, 1, 8)', '"0.2"');
shouldBe('stepDownExplicitBounds(null, null, 0.1, 1)', '"0.9"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/range-type-change-onchange.html b/LayoutTests/fast/forms/range/range-type-change-onchange.html
index 2fa67ec..fc3ee9b 100644
--- a/LayoutTests/fast/forms/range/range-type-change-onchange.html
+++ b/LayoutTests/fast/forms/range/range-type-change-onchange.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<input id="range1" type="range" onchange="updateType(this)" autofocus>
<script>
@@ -19,5 +19,5 @@
jsTestIsAsync = true;
eventSender.keyDown('upArrow');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/range/range-type-change-oninput.html b/LayoutTests/fast/forms/range/range-type-change-oninput.html
index 590b36f0..4d6116010 100644
--- a/LayoutTests/fast/forms/range/range-type-change-oninput.html
+++ b/LayoutTests/fast/forms/range/range-type-change-oninput.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<input type="range" value="0" oninput="this.type = 'text';">
<script>
@@ -12,6 +12,6 @@
testPassed('if not crashed.');
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/range/range-value-rounding.html b/LayoutTests/fast/forms/range/range-value-rounding.html
index 05f6b65..6413a4b 100644
--- a/LayoutTests/fast/forms/range/range-value-rounding.html
+++ b/LayoutTests/fast/forms/range/range-value-rounding.html
@@ -1,5 +1,5 @@
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<input id="foo" type=range step=0.1 value=0.6>
@@ -32,5 +32,5 @@
// Remove generated sliders.
document.getElementById("sliders").innerHTML = "";
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/required-attribute-001.html b/LayoutTests/fast/forms/required-attribute-001.html
index 02f4348..a3fffeb 100644
--- a/LayoutTests/fast/forms/required-attribute-001.html
+++ b/LayoutTests/fast/forms/required-attribute-001.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>required attribute presence test</title>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -26,6 +26,6 @@
shouldBeTrue('requiredFor("textarea")');
shouldBeTrue('requiredFor("select")');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/required-attribute-002.html b/LayoutTests/fast/forms/required-attribute-002.html
index 078b2ef..25fb6bb 100644
--- a/LayoutTests/fast/forms/required-attribute-002.html
+++ b/LayoutTests/fast/forms/required-attribute-002.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>required attribute JS set</title>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -38,6 +38,6 @@
shouldBeTrue('requiredFor("select")');
debug("");
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/reset-autofilled.html b/LayoutTests/fast/forms/reset-autofilled.html
index c4a161a..ffe7824 100644
--- a/LayoutTests/fast/forms/reset-autofilled.html
+++ b/LayoutTests/fast/forms/reset-autofilled.html
@@ -1,6 +1,6 @@
<html>
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
function countAutofilledElements() {
return document.querySelectorAll(':-webkit-autofill').length;
diff --git a/LayoutTests/fast/forms/resources/state-restore-empty-state-1.html b/LayoutTests/fast/forms/resources/state-restore-empty-state-1.html
index da008cf..9292510 100644
--- a/LayoutTests/fast/forms/resources/state-restore-empty-state-1.html
+++ b/LayoutTests/fast/forms/resources/state-restore-empty-state-1.html
@@ -1,4 +1,4 @@
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('State vector should be empty if nothing is saved.');
if (window.internals) {
@@ -10,4 +10,4 @@
jsTestIsAsync = true;
finishJSTest();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/resources/state-restore-skip-stateless-dump.html b/LayoutTests/fast/forms/resources/state-restore-skip-stateless-dump.html
index cd48776..c3d2536 100644
--- a/LayoutTests/fast/forms/resources/state-restore-skip-stateless-dump.html
+++ b/LayoutTests/fast/forms/resources/state-restore-skip-stateless-dump.html
@@ -1,4 +1,4 @@
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.internals) {
var statefulTypes = ['hidden', 'text', 'tel', 'url', 'email', 'number', 'range', 'checkbox',
@@ -23,4 +23,4 @@
jsTestIsAsync = true;
finishJSTest();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/search-cancel-button-events.html b/LayoutTests/fast/forms/search-cancel-button-events.html
index c191421..9029b7c 100644
--- a/LayoutTests/fast/forms/search-cancel-button-events.html
+++ b/LayoutTests/fast/forms/search-cancel-button-events.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -43,6 +43,6 @@
document.getElementById('console').innerHTML = 'No eventSender';
}
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/search-disabled-readonly.html b/LayoutTests/fast/forms/search-disabled-readonly.html
index 8e98706..2db31a9 100644
--- a/LayoutTests/fast/forms/search-disabled-readonly.html
+++ b/LayoutTests/fast/forms/search-disabled-readonly.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/common.js"></script>
</head>
<body>
@@ -123,6 +123,6 @@
debug("");
}
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/search-hide-cancel-on-cancel.html b/LayoutTests/fast/forms/search-hide-cancel-on-cancel.html
index 0034b1e..e204621 100644
--- a/LayoutTests/fast/forms/search-hide-cancel-on-cancel.html
+++ b/LayoutTests/fast/forms/search-hide-cancel-on-cancel.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -37,6 +37,6 @@
shouldBe('mouseDownCount', '2');
input.removeEventListener('focus', clearValue, false);
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/search/intrinsic-search-width-with-decoration-border-padding.html b/LayoutTests/fast/forms/search/intrinsic-search-width-with-decoration-border-padding.html
index 088cf01..494580d 100644
--- a/LayoutTests/fast/forms/search/intrinsic-search-width-with-decoration-border-padding.html
+++ b/LayoutTests/fast/forms/search/intrinsic-search-width-with-decoration-border-padding.html
@@ -10,7 +10,7 @@
}
</style>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<input type="search" id="search1">
<input type="search" id="search2">
@@ -18,5 +18,5 @@
shouldBe('document.getElementById("search1").offsetWidth', 'document.getElementById("search2").offsetWidth');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/search/search-setrangetext.html b/LayoutTests/fast/forms/search/search-setrangetext.html
index eedfcab..9b26883 100644
--- a/LayoutTests/fast/forms/search/search-setrangetext.html
+++ b/LayoutTests/fast/forms/search/search-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -11,7 +11,7 @@
runTestsShouldPass("input", { type: "search" });
runTestsShouldPass("input", { type: "search", dir: "rtl" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select-clientheight-large-size.html b/LayoutTests/fast/forms/select-clientheight-large-size.html
index 35eaa36..91a42c6 100644
--- a/LayoutTests/fast/forms/select-clientheight-large-size.html
+++ b/LayoutTests/fast/forms/select-clientheight-large-size.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<div id="output"></div>
<script>
description("Tests that select elements cap their size to the size attribute and to 4 when no size is specified.");
@@ -35,4 +35,4 @@
shouldBeTrue("getElemById('select2').setAttribute('size', '12'); clientHeight('select2') == multipleOfElement('select1', 3)");
shouldBeTrue("getElemById('select2').setAttribute('size', '16'); clientHeight('select2') == multipleOfElement('select1', 4)");
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/select-clientheight-with-multiple-attr.html b/LayoutTests/fast/forms/select-clientheight-with-multiple-attr.html
index 2a1f15c..1860a93 100644
--- a/LayoutTests/fast/forms/select-clientheight-with-multiple-attr.html
+++ b/LayoutTests/fast/forms/select-clientheight-with-multiple-attr.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p>HTMLSelectElement multiple attribute test when no size is specified</p>
@@ -52,6 +52,6 @@
shouldBe("getElemById('sel3').setAttribute('size', ''); clientHeight('sel3')", "clientHeight('sel1')");
shouldBe("getElemById('sel3').setAttribute('size', '1+ef'); clientHeight('sel3')", "clientHeight('sel1')");
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select-live-pseudo-selectors.html b/LayoutTests/fast/forms/select-live-pseudo-selectors.html
index 8874655..24e6676 100644
--- a/LayoutTests/fast/forms/select-live-pseudo-selectors.html
+++ b/LayoutTests/fast/forms/select-live-pseudo-selectors.html
@@ -2,12 +2,12 @@
<html
<head>
<link rel="stylesheet" href="resources/live-pseudo-selectors.css">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="resources/select-live-pseudo-selectors.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select-multiple-elements-with-mouse-drag-with-options-less-than-size.html b/LayoutTests/fast/forms/select-multiple-elements-with-mouse-drag-with-options-less-than-size.html
index 0c86741..639c028 100644
--- a/LayoutTests/fast/forms/select-multiple-elements-with-mouse-drag-with-options-less-than-size.html
+++ b/LayoutTests/fast/forms/select-multiple-elements-with-mouse-drag-with-options-less-than-size.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<title></title>
</head>
<body>
@@ -122,6 +122,6 @@
successfullyParsed = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select-multiple-elements-with-mouse-drag.html b/LayoutTests/fast/forms/select-multiple-elements-with-mouse-drag.html
index d8137c4..a133284 100644
--- a/LayoutTests/fast/forms/select-multiple-elements-with-mouse-drag.html
+++ b/LayoutTests/fast/forms/select-multiple-elements-with-mouse-drag.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
window.jsTestIsAsync = true;
@@ -53,6 +53,6 @@
</select>
<div id="console"></div>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select-option-accesskey-crash.html b/LayoutTests/fast/forms/select-option-accesskey-crash.html
index 6cdd35a..84abfaed 100644
--- a/LayoutTests/fast/forms/select-option-accesskey-crash.html
+++ b/LayoutTests/fast/forms/select-option-accesskey-crash.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<form>
@@ -31,6 +31,6 @@
}
}
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select-set-length-optgroup.html b/LayoutTests/fast/forms/select-set-length-optgroup.html
index 9dad06e..b91a711 100644
--- a/LayoutTests/fast/forms/select-set-length-optgroup.html
+++ b/LayoutTests/fast/forms/select-set-length-optgroup.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -36,6 +36,6 @@
shouldBe('sel.length', '1');
shouldBe('og.childElementCount', '0');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select-set-length-with-mutation-remove.html b/LayoutTests/fast/forms/select-set-length-with-mutation-remove.html
index 42f2256..69eec3d 100644
--- a/LayoutTests/fast/forms/select-set-length-with-mutation-remove.html
+++ b/LayoutTests/fast/forms/select-set-length-with-mutation-remove.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -34,6 +34,6 @@
sel.length = 180;
shouldBe('sel.length', '180');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select-set-length-with-mutation-reorder.html b/LayoutTests/fast/forms/select-set-length-with-mutation-reorder.html
index 441168f..301de89 100644
--- a/LayoutTests/fast/forms/select-set-length-with-mutation-reorder.html
+++ b/LayoutTests/fast/forms/select-set-length-with-mutation-reorder.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -42,6 +42,6 @@
shouldBe('sel.options.item(0).id', '"a"');
shouldBe('sel.options.item(1).id', '"b"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select-set-length-with-mutation-reparent.html b/LayoutTests/fast/forms/select-set-length-with-mutation-reparent.html
index aabd671..f7bdf70 100644
--- a/LayoutTests/fast/forms/select-set-length-with-mutation-reparent.html
+++ b/LayoutTests/fast/forms/select-set-length-with-mutation-reparent.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -40,6 +40,6 @@
shouldBe('sel.length', '180');
shouldBe('otherSel.length', '0');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select-set-length-with-mutation.html b/LayoutTests/fast/forms/select-set-length-with-mutation.html
index a01e9d4..698f590 100644
--- a/LayoutTests/fast/forms/select-set-length-with-mutation.html
+++ b/LayoutTests/fast/forms/select-set-length-with-mutation.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -24,6 +24,6 @@
sel.length = 180;
shouldBe('sel.length', '180');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select-set-length.html b/LayoutTests/fast/forms/select-set-length.html
index dadbebe..044c215 100644
--- a/LayoutTests/fast/forms/select-set-length.html
+++ b/LayoutTests/fast/forms/select-set-length.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -23,6 +23,6 @@
sel.length = 180;
shouldBe('sel.length', '180');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select/listbox-click-on-scrollbar.html b/LayoutTests/fast/forms/select/listbox-click-on-scrollbar.html
index 1a17084..c0c5a96 100644
--- a/LayoutTests/fast/forms/select/listbox-click-on-scrollbar.html
+++ b/LayoutTests/fast/forms/select/listbox-click-on-scrollbar.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<select id="selectElement" multiple size="4">
<option>1</option>
<option>2</option>
@@ -57,5 +57,5 @@
};
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/forms/select/listbox-disabled-scroll-no-onchange.html b/LayoutTests/fast/forms/select/listbox-disabled-scroll-no-onchange.html
index 6ae19ec..c09653f 100644
--- a/LayoutTests/fast/forms/select/listbox-disabled-scroll-no-onchange.html
+++ b/LayoutTests/fast/forms/select/listbox-disabled-scroll-no-onchange.html
@@ -8,7 +8,7 @@
<option>foo4</option>
<option>foo5</option>
</select>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<script>
description('Test that scrolling the listbox does not fire change event.');
@@ -32,6 +32,6 @@
shouldBe('changeEventCount', '0');
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select/listbox-drag-in-non-multiple.html b/LayoutTests/fast/forms/select/listbox-drag-in-non-multiple.html
index 59dd8bb..27fb479 100644
--- a/LayoutTests/fast/forms/select/listbox-drag-in-non-multiple.html
+++ b/LayoutTests/fast/forms/select/listbox-drag-in-non-multiple.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<body>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<p id="description"></p>
@@ -31,6 +31,6 @@
eventSender.mouseUp(0);
}
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select/menulist-onchange-fired-with-key-up-down.html b/LayoutTests/fast/forms/select/menulist-onchange-fired-with-key-up-down.html
index febfbaf..22645c6 100644
--- a/LayoutTests/fast/forms/select/menulist-onchange-fired-with-key-up-down.html
+++ b/LayoutTests/fast/forms/select/menulist-onchange-fired-with-key-up-down.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
window.jsTestIsAsync = true;
@@ -56,6 +56,6 @@
</select>
<div id="console"></div>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select/optgroup-clicking.html b/LayoutTests/fast/forms/select/optgroup-clicking.html
index e60c532..ad65624 100644
--- a/LayoutTests/fast/forms/select/optgroup-clicking.html
+++ b/LayoutTests/fast/forms/select/optgroup-clicking.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<body onload="test()">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<form id="form">
@@ -78,6 +78,6 @@
finishJSTest();
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select/optgroup-disabled.html b/LayoutTests/fast/forms/select/optgroup-disabled.html
index e67c2c9..3a8e426 100644
--- a/LayoutTests/fast/forms/select/optgroup-disabled.html
+++ b/LayoutTests/fast/forms/select/optgroup-disabled.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
<form id="form">
@@ -133,6 +133,6 @@
shouldBe('$("menulist").selectedIndex', '4');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select/option-selecting.html b/LayoutTests/fast/forms/select/option-selecting.html
index 54371a5..625656d 100644
--- a/LayoutTests/fast/forms/select/option-selecting.html
+++ b/LayoutTests/fast/forms/select/option-selecting.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<form style="visibility: hidden">
@@ -95,6 +95,6 @@
shouldBe("multipleListBox.options[2].selected", "true");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select/options-indexed-properties.html b/LayoutTests/fast/forms/select/options-indexed-properties.html
index a469713..d142fb0 100644
--- a/LayoutTests/fast/forms/select/options-indexed-properties.html
+++ b/LayoutTests/fast/forms/select/options-indexed-properties.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<select id="select1">
@@ -22,6 +22,6 @@
shouldBeEqualToString('properties[1].value', "b");
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select/popup-closes-on-blur.html b/LayoutTests/fast/forms/select/popup-closes-on-blur.html
index 1469d22..c77cdac 100644
--- a/LayoutTests/fast/forms/select/popup-closes-on-blur.html
+++ b/LayoutTests/fast/forms/select/popup-closes-on-blur.html
@@ -1,7 +1,7 @@
<html>
<head>
<title></title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -36,6 +36,6 @@
}
test();
</script>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select/select-assign-null.html b/LayoutTests/fast/forms/select/select-assign-null.html
index 441d535..4dc26d9 100644
--- a/LayoutTests/fast/forms/select/select-assign-null.html
+++ b/LayoutTests/fast/forms/select/select-assign-null.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<select id="tags">
@@ -19,6 +19,6 @@
tags[tags.length] = new Option("bgsound", "bgsound");
shouldBe("tags.options.length", "2");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select/select-change-type-on-focus.html b/LayoutTests/fast/forms/select/select-change-type-on-focus.html
index 017a385..b5e0398 100644
--- a/LayoutTests/fast/forms/select/select-change-type-on-focus.html
+++ b/LayoutTests/fast/forms/select/select-change-type-on-focus.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div tabindex="04">
<select onfocus="this.size = 10">
<optgroup tabindex="20"></optgroup>
@@ -13,5 +13,5 @@
eventSender.keyDown(' ');
testPassed('if not crashed');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</div>
diff --git a/LayoutTests/fast/forms/select/select-disabled.html b/LayoutTests/fast/forms/select/select-disabled.html
index 57382d6..b5a4742 100644
--- a/LayoutTests/fast/forms/select/select-disabled.html
+++ b/LayoutTests/fast/forms/select/select-disabled.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -43,6 +43,6 @@
shouldBeEqualToString('select2.value', 'b');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/select/select-state-restore.html b/LayoutTests/fast/forms/select/select-state-restore.html
index b78af94..feda8c3 100644
--- a/LayoutTests/fast/forms/select/select-state-restore.html
+++ b/LayoutTests/fast/forms/select/select-state-restore.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
</head>
<body>
@@ -65,5 +65,5 @@
window.onload = runTest;
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/select/select-typeahead-crash.html b/LayoutTests/fast/forms/select/select-typeahead-crash.html
index 2f89967..e5f2914 100644
--- a/LayoutTests/fast/forms/select/select-typeahead-crash.html
+++ b/LayoutTests/fast/forms/select/select-typeahead-crash.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -21,5 +21,5 @@
keyDown('a');
keyDown('b');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/select/setting-to-invalid-value.html b/LayoutTests/fast/forms/select/setting-to-invalid-value.html
index a69f0bb..b061ea6 100644
--- a/LayoutTests/fast/forms/select/setting-to-invalid-value.html
+++ b/LayoutTests/fast/forms/select/setting-to-invalid-value.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<select id="theSelect">
@@ -57,6 +57,6 @@
successfullyParsed = true;
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/forms/selection-direction.html b/LayoutTests/fast/forms/selection-direction.html
index b8bed2a..5a7658a 100644
--- a/LayoutTests/fast/forms/selection-direction.html
+++ b/LayoutTests/fast/forms/selection-direction.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -100,6 +100,6 @@
dummy.parentNode.style.display = 'none';
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/selection-start-end-readonly.html b/LayoutTests/fast/forms/selection-start-end-readonly.html
index d8144ca..2925051 100644
--- a/LayoutTests/fast/forms/selection-start-end-readonly.html
+++ b/LayoutTests/fast/forms/selection-start-end-readonly.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -41,7 +41,7 @@
testHandler(document.getElementById('area'));
</script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/selection-wrongtype.html b/LayoutTests/fast/forms/selection-wrongtype.html
index 7937226..42fbd9c 100644
--- a/LayoutTests/fast/forms/selection-wrongtype.html
+++ b/LayoutTests/fast/forms/selection-wrongtype.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -69,7 +69,7 @@
tests.style.display = 'none';
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/setCustomValidity-arguments.html b/LayoutTests/fast/forms/setCustomValidity-arguments.html
index 4e5ec5e..e5d9106 100644
--- a/LayoutTests/fast/forms/setCustomValidity-arguments.html
+++ b/LayoutTests/fast/forms/setCustomValidity-arguments.html
@@ -2,7 +2,7 @@
<html>
<head>
<link rel="stylesheet" href="../js/resources/js-test-style.css">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -19,6 +19,6 @@
shouldThrow("k.setCustomValidity()");
successfullyParsed = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/setCustomValidity-existence.html b/LayoutTests/fast/forms/setCustomValidity-existence.html
index 8bb2910..e6bb5eb 100644
--- a/LayoutTests/fast/forms/setCustomValidity-existence.html
+++ b/LayoutTests/fast/forms/setCustomValidity-existence.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -33,6 +33,6 @@
shouldBe('typeof document.getElementsByTagName("object")[0].setCustomValidity', '"function"');
shouldBe('typeof document.getElementsByTagName("keygen")[0].setCustomValidity', '"function"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/setCustomValidity.html b/LayoutTests/fast/forms/setCustomValidity.html
index 111fc03..5420c52 100644
--- a/LayoutTests/fast/forms/setCustomValidity.html
+++ b/LayoutTests/fast/forms/setCustomValidity.html
@@ -12,7 +12,7 @@
}
</style>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -49,6 +49,6 @@
}
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/setrangetext.html b/LayoutTests/fast/forms/setrangetext.html
index 836d711..ca226aa 100644
--- a/LayoutTests/fast/forms/setrangetext.html
+++ b/LayoutTests/fast/forms/setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/common-setrangetext.js"></script>
</head>
<body>
@@ -30,6 +30,6 @@
runTestsShouldFail("input", { type: "submit" });
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/shadow-tree-exposure.html b/LayoutTests/fast/forms/shadow-tree-exposure.html
index b0506b0..eee2571 100644
--- a/LayoutTests/fast/forms/shadow-tree-exposure.html
+++ b/LayoutTests/fast/forms/shadow-tree-exposure.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -81,6 +81,6 @@
debug("");
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/state-restore-broken-state.html b/LayoutTests/fast/forms/state-restore-broken-state.html
index 26d00e2..f0d49f5 100644
--- a/LayoutTests/fast/forms/state-restore-broken-state.html
+++ b/LayoutTests/fast/forms/state-restore-broken-state.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<iframe name="subframe" src="resources/state-restore-broken-state-1.html">
@@ -23,5 +23,5 @@
}
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/state-restore-empty-state.html b/LayoutTests/fast/forms/state-restore-empty-state.html
index 0cc928b..d88bf02 100644
--- a/LayoutTests/fast/forms/state-restore-empty-state.html
+++ b/LayoutTests/fast/forms/state-restore-empty-state.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -16,5 +16,5 @@
}, 0);
};
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/state-restore-hidden.html b/LayoutTests/fast/forms/state-restore-hidden.html
index c9ba7f9..153dae9 100644
--- a/LayoutTests/fast/forms/state-restore-hidden.html
+++ b/LayoutTests/fast/forms/state-restore-hidden.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body onload="runTest()">
@@ -32,7 +32,7 @@
successfullyParsed = true;
var script = document.createElement('script');
- script.src = "../js/resources/js-test-post.js";
+ script.src = "../../resources/js-test-post.js";
script.type = "text/javascript";
script.onload = function() {
if (window.testRunner)
diff --git a/LayoutTests/fast/forms/state-restore-per-form.html b/LayoutTests/fast/forms/state-restore-per-form.html
index 1565687..98a914e 100644
--- a/LayoutTests/fast/forms/state-restore-per-form.html
+++ b/LayoutTests/fast/forms/state-restore-per-form.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/common.js"></script>
</head>
<body>
@@ -124,5 +124,5 @@
runTest();
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/state-restore-skip-stateless.html b/LayoutTests/fast/forms/state-restore-skip-stateless.html
index 8fa130b..e05d0b1 100644
--- a/LayoutTests/fast/forms/state-restore-skip-stateless.html
+++ b/LayoutTests/fast/forms/state-restore-skip-stateless.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/common.js"></script>
</head>
<body>
@@ -50,5 +50,5 @@
}, 0);
};
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/state-restore-to-non-autocomplete-form.html b/LayoutTests/fast/forms/state-restore-to-non-autocomplete-form.html
index 8540dd9..aaa6d63 100644
--- a/LayoutTests/fast/forms/state-restore-to-non-autocomplete-form.html
+++ b/LayoutTests/fast/forms/state-restore-to-non-autocomplete-form.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body onload="runTest()">
<p>Test to NOT restore form state to a form with autocomplete=off.</p>
diff --git a/LayoutTests/fast/forms/state-restore-to-non-edited-controls.html b/LayoutTests/fast/forms/state-restore-to-non-edited-controls.html
index e87a93b..06802a3 100644
--- a/LayoutTests/fast/forms/state-restore-to-non-edited-controls.html
+++ b/LayoutTests/fast/forms/state-restore-to-non-edited-controls.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p>Test to NOT save state for non-edited controls</p>
diff --git a/LayoutTests/fast/forms/state-save-of-detached-control.html b/LayoutTests/fast/forms/state-save-of-detached-control.html
index e300e59..f5bca83 100644
--- a/LayoutTests/fast/forms/state-save-of-detached-control.html
+++ b/LayoutTests/fast/forms/state-save-of-detached-control.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body onload="runTest()">
<p>Test to NOT save state of a detached form control.</p>
diff --git a/LayoutTests/fast/forms/submit-form-attributes.html b/LayoutTests/fast/forms/submit-form-attributes.html
index 9c6ec14..d08fc2e 100644
--- a/LayoutTests/fast/forms/submit-form-attributes.html
+++ b/LayoutTests/fast/forms/submit-form-attributes.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -203,6 +203,6 @@
button.setAttribute('formTarget', 281);
shouldBeEqualToString('button.formTarget', '281');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/submit-form-with-dirname-attribute-with-ancestor-dir-attribute.html b/LayoutTests/fast/forms/submit-form-with-dirname-attribute-with-ancestor-dir-attribute.html
index ccf3f96..7fc2968 100644
--- a/LayoutTests/fast/forms/submit-form-with-dirname-attribute-with-ancestor-dir-attribute.html
+++ b/LayoutTests/fast/forms/submit-form-with-dirname-attribute-with-ancestor-dir-attribute.html
@@ -2,7 +2,7 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
-<script src="../js/resources/js-test-pre.js"> </script>
+<script src="../../resources/js-test-pre.js"> </script>
<script>
window.jsTestIsAsync = true;
@@ -36,6 +36,6 @@
successfullyParsed = true;
</script>
</div>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/submit-form-with-dirname-attribute-with-nonhtml-ancestor.html b/LayoutTests/fast/forms/submit-form-with-dirname-attribute-with-nonhtml-ancestor.html
index 90a8048..ba92f21 100644
--- a/LayoutTests/fast/forms/submit-form-with-dirname-attribute-with-nonhtml-ancestor.html
+++ b/LayoutTests/fast/forms/submit-form-with-dirname-attribute-with-nonhtml-ancestor.html
@@ -2,7 +2,7 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
-<script src="../js/resources/js-test-pre.js"> </script>
+<script src="../../resources/js-test-pre.js"> </script>
<script>
window.jsTestIsAsync = true;
@@ -31,6 +31,6 @@
successfullyParsed = true;
</script>
</div>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/submit-form-with-dirname-attribute.html b/LayoutTests/fast/forms/submit-form-with-dirname-attribute.html
index 472fda1..dbb7d83 100644
--- a/LayoutTests/fast/forms/submit-form-with-dirname-attribute.html
+++ b/LayoutTests/fast/forms/submit-form-with-dirname-attribute.html
@@ -2,7 +2,7 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
-<script src="../js/resources/js-test-pre.js"> </script>
+<script src="../../resources/js-test-pre.js"> </script>
<script>
window.jsTestIsAsync = true;
@@ -37,6 +37,6 @@
successfullyParsed = true;
</script>
</div>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/text-control-intrinsic-widths.html b/LayoutTests/fast/forms/text-control-intrinsic-widths.html
index f9f6d28..e3a5f32 100644
--- a/LayoutTests/fast/forms/text-control-intrinsic-widths.html
+++ b/LayoutTests/fast/forms/text-control-intrinsic-widths.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -40,6 +40,6 @@
debug('');
}
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea-and-mutation-events-appending-text.html b/LayoutTests/fast/forms/textarea-and-mutation-events-appending-text.html
index 4831ce4..ecd326c 100644
--- a/LayoutTests/fast/forms/textarea-and-mutation-events-appending-text.html
+++ b/LayoutTests/fast/forms/textarea-and-mutation-events-appending-text.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -21,5 +21,5 @@
testPassed("unless crash.")
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/textarea-checkValidity-crash.html b/LayoutTests/fast/forms/textarea-checkValidity-crash.html
index ed943e5..5afa904 100644
--- a/LayoutTests/fast/forms/textarea-checkValidity-crash.html
+++ b/LayoutTests/fast/forms/textarea-checkValidity-crash.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description">Bug 45681: Assertion failure about dirty flag changes of textarea elements.</p>
@@ -18,6 +18,6 @@
ta.checkValidity(); // This made an assertion fail.
testPassed('Not crashed.');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea-initial-caret-position.html b/LayoutTests/fast/forms/textarea-initial-caret-position.html
index 306f7ec..82b51c5 100644
--- a/LayoutTests/fast/forms/textarea-initial-caret-position.html
+++ b/LayoutTests/fast/forms/textarea-initial-caret-position.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<div>
@@ -29,6 +29,6 @@
shouldBe('ta.selectionStart', '0');
shouldBe('ta.selectionEnd', '0');
</script>
-<script type="text/javascript" src="../js/resources/js-test-post.js"></script>
+<script type="text/javascript" src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea-input-event.html b/LayoutTests/fast/forms/textarea-input-event.html
index 27d15ab..b337146 100644
--- a/LayoutTests/fast/forms/textarea-input-event.html
+++ b/LayoutTests/fast/forms/textarea-input-event.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -12,6 +12,6 @@
</div>
<script src="resources/textarea-input-event.js"></script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea-live-pseudo-selectors.html b/LayoutTests/fast/forms/textarea-live-pseudo-selectors.html
index 8784989..2b74b1b 100644
--- a/LayoutTests/fast/forms/textarea-live-pseudo-selectors.html
+++ b/LayoutTests/fast/forms/textarea-live-pseudo-selectors.html
@@ -2,12 +2,12 @@
<html
<head>
<link rel="stylesheet" href="resources/live-pseudo-selectors.css">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="resources/textarea-live-pseudo-selectors.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea-maxlength.html b/LayoutTests/fast/forms/textarea-maxlength.html
index f00a8e5..c6d5e40 100644
--- a/LayoutTests/fast/forms/textarea-maxlength.html
+++ b/LayoutTests/fast/forms/textarea-maxlength.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -161,6 +161,6 @@
document.execCommand('insertText', false, 'ABC');
shouldBe('textArea.value', '"ABC"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea-metrics.html b/LayoutTests/fast/forms/textarea-metrics.html
index 346870c..00a438c 100644
--- a/LayoutTests/fast/forms/textarea-metrics.html
+++ b/LayoutTests/fast/forms/textarea-metrics.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -164,6 +164,6 @@
textareaSizesStandards, textareaWithScrollSizesStandards,
textareaWith8pxPaddingSizesStandards, textareaWith8pxPaddingAndScrollbarSizesStandards);
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea-newline.html b/LayoutTests/fast/forms/textarea-newline.html
index afc7d6c..e618b60 100644
--- a/LayoutTests/fast/forms/textarea-newline.html
+++ b/LayoutTests/fast/forms/textarea-newline.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
These tests check if leading line feeds characters in textarea as default values are parsed correctly.
@@ -36,6 +36,6 @@
shouldBe('document.getElementById("two-line-feed-escaped-chars").value', '"\\nHomura"');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea-placeholder-dom-property.html b/LayoutTests/fast/forms/textarea-placeholder-dom-property.html
index 6f4dc9d..c1441bf 100644
--- a/LayoutTests/fast/forms/textarea-placeholder-dom-property.html
+++ b/LayoutTests/fast/forms/textarea-placeholder-dom-property.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -21,6 +21,6 @@
shouldBeEqualToString('textarea.getAttribute("placeholder")', 'p2');
shouldBeEqualToString('textarea.placeholder', 'p2');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea-rows-cols.html b/LayoutTests/fast/forms/textarea-rows-cols.html
index 7df1402..b66e279 100644
--- a/LayoutTests/fast/forms/textarea-rows-cols.html
+++ b/LayoutTests/fast/forms/textarea-rows-cols.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -124,6 +124,6 @@
shouldBe('textarea.offsetWidth', 'defaultWidth');
shouldBe('textarea.offsetHeight', 'defaultHeight');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea-selection-preservation.html b/LayoutTests/fast/forms/textarea-selection-preservation.html
index f567d58..43f238f 100644
--- a/LayoutTests/fast/forms/textarea-selection-preservation.html
+++ b/LayoutTests/fast/forms/textarea-selection-preservation.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p>This tests for problems where we'd lose the selection in a textarea when making style and value changes.</p>
@@ -40,6 +40,6 @@
shouldBe('ta.selectionStart', '3');
shouldBe('ta.selectionEnd', '4');
</script>
-<script type="text/javascript" src="../js/resources/js-test-post.js"></script>
+<script type="text/javascript" src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea-set-defaultvalue-after-value.html b/LayoutTests/fast/forms/textarea-set-defaultvalue-after-value.html
index a770cb7..22d574b 100644
--- a/LayoutTests/fast/forms/textarea-set-defaultvalue-after-value.html
+++ b/LayoutTests/fast/forms/textarea-set-defaultvalue-after-value.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description">Tests to check behaviors of dirty flag and defaultValue change.</p>
@@ -43,6 +43,6 @@
form.innerHTML = '';
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea-textlength.html b/LayoutTests/fast/forms/textarea-textlength.html
index 5a8a693..074fc3ed 100644
--- a/LayoutTests/fast/forms/textarea-textlength.html
+++ b/LayoutTests/fast/forms/textarea-textlength.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -36,6 +36,6 @@
shouldBe('textArea.textLength', '2');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea-wrap-attribute.html b/LayoutTests/fast/forms/textarea-wrap-attribute.html
index 8bdd88b..b698d796 100644
--- a/LayoutTests/fast/forms/textarea-wrap-attribute.html
+++ b/LayoutTests/fast/forms/textarea-wrap-attribute.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -38,7 +38,7 @@
debug('');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea/textarea-setrangetext.html b/LayoutTests/fast/forms/textarea/textarea-setrangetext.html
index a8f31ab..fa658b6 100644
--- a/LayoutTests/fast/forms/textarea/textarea-setrangetext.html
+++ b/LayoutTests/fast/forms/textarea/textarea-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -28,7 +28,7 @@
runTestsShouldPass("textarea", { dir: "rtl" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textarea/textarea-state-restore.html b/LayoutTests/fast/forms/textarea/textarea-state-restore.html
index 163d884..965dfb1 100644
--- a/LayoutTests/fast/forms/textarea/textarea-state-restore.html
+++ b/LayoutTests/fast/forms/textarea/textarea-state-restore.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common.js"></script>
</head>
<body>
@@ -50,5 +50,5 @@
runTest();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/textfield-clone.html b/LayoutTests/fast/forms/textfield-clone.html
index e6bb5d5..a227b59 100644
--- a/LayoutTests/fast/forms/textfield-clone.html
+++ b/LayoutTests/fast/forms/textfield-clone.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<p>There was a bug that the value property of a cloned text input was not updated.</p>
<div id=container>
<input id=i1 value="Initial" style>
@@ -32,4 +32,4 @@
check('i4', '13');
container.innerHTML = '';
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/forms/textfield-lastchange-was-useredit.html b/LayoutTests/fast/forms/textfield-lastchange-was-useredit.html
index 4cf521f..1ce0897 100644
--- a/LayoutTests/fast/forms/textfield-lastchange-was-useredit.html
+++ b/LayoutTests/fast/forms/textfield-lastchange-was-useredit.html
@@ -1,7 +1,7 @@
<!DOCTYPE>
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description">This test ensures WebKit returns correct values for HTMLInputElement.lastChangeWasUserEdit and
@@ -53,6 +53,6 @@
runTest(document.getElementsByTagName('textarea')[0]);
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/textfield-to-password-on-focus.html b/LayoutTests/fast/forms/textfield-to-password-on-focus.html
index 9022b11..60e6474 100644
--- a/LayoutTests/fast/forms/textfield-to-password-on-focus.html
+++ b/LayoutTests/fast/forms/textfield-to-password-on-focus.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner) {
window.testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/forms/time/time-input-type.html b/LayoutTests/fast/forms/time/time-input-type.html
index 3adb60f..06cc665 100644
--- a/LayoutTests/fast/forms/time/time-input-type.html
+++ b/LayoutTests/fast/forms/time/time-input-type.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -25,6 +25,6 @@
check("TIME", "time");
check(" time ", "text");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/time/time-interactive-validation-required.html b/LayoutTests/fast/forms/time/time-interactive-validation-required.html
index 8be9358..63d5947 100644
--- a/LayoutTests/fast/forms/time/time-interactive-validation-required.html
+++ b/LayoutTests/fast/forms/time/time-interactive-validation-required.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-interactive-validation-required.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/forms/time/time-pseudo-classes.html b/LayoutTests/fast/forms/time/time-pseudo-classes.html
index 713a462..5ae55b5 100644
--- a/LayoutTests/fast/forms/time/time-pseudo-classes.html
+++ b/LayoutTests/fast/forms/time/time-pseudo-classes.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-pseudo-classes.js"></script>
<div id="container">
@@ -38,5 +38,5 @@
shouldBeTrue('matchedNodesContainId(container, ":out-of-range", "inrange")');
container.remove();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/time/time-setrangetext.html b/LayoutTests/fast/forms/time/time-setrangetext.html
index 1582d6f..5e58c3b 100644
--- a/LayoutTests/fast/forms/time/time-setrangetext.html
+++ b/LayoutTests/fast/forms/time/time-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -10,7 +10,7 @@
description("Test setRangeText() method is not available in time inputs.");
runTestsShouldFail("input", { type: "time" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/time/time-stepup-stepdown.html b/LayoutTests/fast/forms/time/time-stepup-stepdown.html
index 8e9b991..41c030b 100644
--- a/LayoutTests/fast/forms/time/time-stepup-stepdown.html
+++ b/LayoutTests/fast/forms/time/time-stepup-stepdown.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -68,6 +68,6 @@
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/time/time-validity-rangeoverflow.html b/LayoutTests/fast/forms/time/time-validity-rangeoverflow.html
index 2f98f5f..a9e3477 100644
--- a/LayoutTests/fast/forms/time/time-validity-rangeoverflow.html
+++ b/LayoutTests/fast/forms/time/time-validity-rangeoverflow.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -68,6 +68,6 @@
// Disabled
checkNotOverflow('23:59:59.999', '13:16', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/time/time-validity-rangeunderflow.html b/LayoutTests/fast/forms/time/time-validity-rangeunderflow.html
index 1018b6c..d57bc1f 100644
--- a/LayoutTests/fast/forms/time/time-validity-rangeunderflow.html
+++ b/LayoutTests/fast/forms/time/time-validity-rangeunderflow.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -69,6 +69,6 @@
// Disabled
checkNotUnderflow('23:59', '23:59:30', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/time/time-validity-stepmismatch.html b/LayoutTests/fast/forms/time/time-validity-stepmismatch.html
index 7f52164..3646e00 100644
--- a/LayoutTests/fast/forms/time/time-validity-stepmismatch.html
+++ b/LayoutTests/fast/forms/time/time-validity-stepmismatch.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -52,6 +52,6 @@
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/time/time-validity-typemismatch.html b/LayoutTests/fast/forms/time/time-validity-typemismatch.html
index 08cecfb..3113082 100644
--- a/LayoutTests/fast/forms/time/time-validity-typemismatch.html
+++ b/LayoutTests/fast/forms/time/time-validity-typemismatch.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -75,6 +75,6 @@
// Disabled
shouldBeInvalid('invalid', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/time/time-valueasdate.html b/LayoutTests/fast/forms/time/time-valueasdate.html
index ccbb874..c1b606c 100644
--- a/LayoutTests/fast/forms/time/time-valueasdate.html
+++ b/LayoutTests/fast/forms/time/time-valueasdate.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -52,6 +52,6 @@
// If the step attribute value is 0.001 second and the millisecond part is 0, we should show the millisecond part.
shouldBe('input.step = "0.001"; setValueAsDateAndGetValue(0, 0, 0, 0)', '"00:00:00.000"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/time/time-valueasnumber.html b/LayoutTests/fast/forms/time/time-valueasnumber.html
index df67928..92d5e1d 100644
--- a/LayoutTests/fast/forms/time/time-valueasnumber.html
+++ b/LayoutTests/fast/forms/time/time-valueasnumber.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -52,6 +52,6 @@
// If the step attribute value is 0.001 second and the millisecond part is 0, we should show the millisecond part.
shouldBe('input.step = "0.001"; setValueAsNumberAndGetValue(0, 0, 0, 0)', '"00:00:00.000"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/update-form-attribute-element.html b/LayoutTests/fast/forms/update-form-attribute-element.html
index a1cae1e..a01273c 100644
--- a/LayoutTests/fast/forms/update-form-attribute-element.html
+++ b/LayoutTests/fast/forms/update-form-attribute-element.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -102,6 +102,6 @@
test5();
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
\ No newline at end of file
diff --git a/LayoutTests/fast/forms/validation-message-clone.html b/LayoutTests/fast/forms/validation-message-clone.html
index 71c0cb4..260caa8 100644
--- a/LayoutTests/fast/forms/validation-message-clone.html
+++ b/LayoutTests/fast/forms/validation-message-clone.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/common.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/forms/validation-message-in-relative-body.html b/LayoutTests/fast/forms/validation-message-in-relative-body.html
index 2819b21..c1a28b0 100644
--- a/LayoutTests/fast/forms/validation-message-in-relative-body.html
+++ b/LayoutTests/fast/forms/validation-message-in-relative-body.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/common.js"></script>
<style>
body {
@@ -45,6 +45,6 @@
var jsTestIsAsync = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/validation-message-on-checkbox.html b/LayoutTests/fast/forms/validation-message-on-checkbox.html
index 81d2fe2..7b71528 100644
--- a/LayoutTests/fast/forms/validation-message-on-checkbox.html
+++ b/LayoutTests/fast/forms/validation-message-on-checkbox.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/common.js"></script>
</head>
<body>
@@ -39,6 +39,6 @@
var jsTestIsAsync = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/validation-message-on-listbox.html b/LayoutTests/fast/forms/validation-message-on-listbox.html
index bd56c8e..d4b3e9d 100644
--- a/LayoutTests/fast/forms/validation-message-on-listbox.html
+++ b/LayoutTests/fast/forms/validation-message-on-listbox.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/common.js"></script>
</head>
<body>
@@ -38,6 +38,6 @@
var jsTestIsAsync = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/validation-message-on-menulist.html b/LayoutTests/fast/forms/validation-message-on-menulist.html
index 51ff125..203271a 100644
--- a/LayoutTests/fast/forms/validation-message-on-menulist.html
+++ b/LayoutTests/fast/forms/validation-message-on-menulist.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/common.js"></script>
</head>
<body>
@@ -46,5 +46,5 @@
var jsTestIsAsync = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/validation-message-on-radio.html b/LayoutTests/fast/forms/validation-message-on-radio.html
index 3404eff..d0c00d3 100644
--- a/LayoutTests/fast/forms/validation-message-on-radio.html
+++ b/LayoutTests/fast/forms/validation-message-on-radio.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/common.js"></script>
</head>
<body>
@@ -35,6 +35,6 @@
var jsTestIsAsync = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/validation-message-on-range.html b/LayoutTests/fast/forms/validation-message-on-range.html
index 2494e60..f5acf7a 100644
--- a/LayoutTests/fast/forms/validation-message-on-range.html
+++ b/LayoutTests/fast/forms/validation-message-on-range.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/common.js"></script>
</head>
<body>
@@ -36,6 +36,6 @@
var jsTestIsAsync = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/validation-message-on-textarea.html b/LayoutTests/fast/forms/validation-message-on-textarea.html
index 7e9f4e3..4d60166 100644
--- a/LayoutTests/fast/forms/validation-message-on-textarea.html
+++ b/LayoutTests/fast/forms/validation-message-on-textarea.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="resources/common.js"></script>
</head>
<body>
@@ -37,6 +37,6 @@
var jsTestIsAsync = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/validation-message-user-modify.html b/LayoutTests/fast/forms/validation-message-user-modify.html
index a9973ff..a71f5f8 100644
--- a/LayoutTests/fast/forms/validation-message-user-modify.html
+++ b/LayoutTests/fast/forms/validation-message-user-modify.html
@@ -14,7 +14,7 @@
</style>
</head>
<body>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<p>The inner element of validation should not be modifiable.</p>
@@ -52,6 +52,6 @@
var successfullyParsed = true;
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/validationMessage.html b/LayoutTests/fast/forms/validationMessage.html
index 03995bb..c68cf1e 100644
--- a/LayoutTests/fast/forms/validationMessage.html
+++ b/LayoutTests/fast/forms/validationMessage.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -104,6 +104,6 @@
form.remove();
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/week/ValidityState-rangeOverflow-week.html b/LayoutTests/fast/forms/week/ValidityState-rangeOverflow-week.html
index 9b3232d..46a9010 100644
--- a/LayoutTests/fast/forms/week/ValidityState-rangeOverflow-week.html
+++ b/LayoutTests/fast/forms/week/ValidityState-rangeOverflow-week.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -70,6 +70,6 @@
// Disabled
checkNotOverflow('9999-W01', '2010-W12', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/week/ValidityState-rangeUnderflow-week.html b/LayoutTests/fast/forms/week/ValidityState-rangeUnderflow-week.html
index 84376a9..5197fc3 100644
--- a/LayoutTests/fast/forms/week/ValidityState-rangeUnderflow-week.html
+++ b/LayoutTests/fast/forms/week/ValidityState-rangeUnderflow-week.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -71,6 +71,6 @@
// Disabled
checkNotUnderflow('9999-W01', '10000-W12', true);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/week/ValidityState-stepMismatch-week.html b/LayoutTests/fast/forms/week/ValidityState-stepMismatch-week.html
index 79f2816..3ee8280 100644
--- a/LayoutTests/fast/forms/week/ValidityState-stepMismatch-week.html
+++ b/LayoutTests/fast/forms/week/ValidityState-stepMismatch-week.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -51,6 +51,6 @@
debug('Disabled');
shouldBeFalse('stepMismatchFor("2010-W03", "2", "2010-W02", true)');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/week/ValidityState-typeMismatch-week.html b/LayoutTests/fast/forms/week/ValidityState-typeMismatch-week.html
index 331d369..bb343d1 100644
--- a/LayoutTests/fast/forms/week/ValidityState-typeMismatch-week.html
+++ b/LayoutTests/fast/forms/week/ValidityState-typeMismatch-week.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -73,6 +73,6 @@
// Disabled
shouldBeInvalid('invalid', true);
</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/week/input-valueasdate-week.html b/LayoutTests/fast/forms/week/input-valueasdate-week.html
index 71ac040..c3858e9 100644
--- a/LayoutTests/fast/forms/week/input-valueasdate-week.html
+++ b/LayoutTests/fast/forms/week/input-valueasdate-week.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -65,6 +65,6 @@
shouldBe('setValueAsDateAndGetValue(0, 11, 31)', '""');
shouldBe('setValueAsDateAndGetValue(0, 0, 1)', '""');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/week/input-valueasnumber-week.html b/LayoutTests/fast/forms/week/input-valueasnumber-week.html
index 8d271f61..bc65176 100644
--- a/LayoutTests/fast/forms/week/input-valueasnumber-week.html
+++ b/LayoutTests/fast/forms/week/input-valueasnumber-week.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -75,6 +75,6 @@
shouldThrow('input.valueAsNumber = Number.NEGATIVE_INFINITY', '"Error: NotSupportedError: DOM Exception 9"');
shouldThrow('input.valueAsNumber = Date.UTC(275760, 8, 14)', '"Error: NotSupportedError: DOM Exception 9"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/week/week-input-type.html b/LayoutTests/fast/forms/week/week-input-type.html
index 6996308..6feef90 100644
--- a/LayoutTests/fast/forms/week/week-input-type.html
+++ b/LayoutTests/fast/forms/week/week-input-type.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -25,7 +25,7 @@
check("WEEK", "week");
check(" week ", "text");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/week/week-interactive-validation-required.html b/LayoutTests/fast/forms/week/week-interactive-validation-required.html
index 12a5922..4191290 100644
--- a/LayoutTests/fast/forms/week/week-interactive-validation-required.html
+++ b/LayoutTests/fast/forms/week/week-interactive-validation-required.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-interactive-validation-required.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/forms/week/week-pseudo-classes.html b/LayoutTests/fast/forms/week/week-pseudo-classes.html
index 2264916..0f79274 100644
--- a/LayoutTests/fast/forms/week/week-pseudo-classes.html
+++ b/LayoutTests/fast/forms/week/week-pseudo-classes.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-pseudo-classes.js"></script>
<div id="container">
@@ -38,5 +38,5 @@
shouldBeTrue('matchedNodesContainId(container, ":out-of-range", "inrange")');
container.remove();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/forms/week/week-setrangetext.html b/LayoutTests/fast/forms/week/week-setrangetext.html
index a8d7dd8..5820336 100644
--- a/LayoutTests/fast/forms/week/week-setrangetext.html
+++ b/LayoutTests/fast/forms/week/week-setrangetext.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="../resources/common-setrangetext.js"></script>
</head>
<body>
@@ -10,7 +10,7 @@
description("Test setRangeText() method is not available in week inputs.");
runTestsShouldFail("input", { type: "week" });
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/week/week-stepup-stepdown.html b/LayoutTests/fast/forms/week/week-stepup-stepdown.html
index e1319a9..8731a3d 100644
--- a/LayoutTests/fast/forms/week/week-stepup-stepdown.html
+++ b/LayoutTests/fast/forms/week/week-stepup-stepdown.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -66,6 +66,6 @@
debug('');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/willvalidate.html b/LayoutTests/fast/forms/willvalidate.html
index 5fcf17a..319c467 100644
--- a/LayoutTests/fast/forms/willvalidate.html
+++ b/LayoutTests/fast/forms/willvalidate.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
@@ -92,6 +92,6 @@
parent.innerHTML = '<form><keygen></form>';
shouldBeFalse('document.getElementsByTagName("keygen")[0].willValidate');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/forms/xss-auditor-doesnt-crash-on-post-submit.html b/LayoutTests/fast/forms/xss-auditor-doesnt-crash-on-post-submit.html
index 5e579d6..1d497ca 100644
--- a/LayoutTests/fast/forms/xss-auditor-doesnt-crash-on-post-submit.html
+++ b/LayoutTests/fast/forms/xss-auditor-doesnt-crash-on-post-submit.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
function test() {
if (document.location.hash !== '#submitted') {
diff --git a/LayoutTests/fast/frames/detached-shadow-frame.html b/LayoutTests/fast/frames/detached-shadow-frame.html
index cd743b0..cad07b4 100644
--- a/LayoutTests/fast/frames/detached-shadow-frame.html
+++ b/LayoutTests/fast/frames/detached-shadow-frame.html
@@ -3,7 +3,7 @@
<body>
<script src="../dom/shadow/resources/polyfill.js"></script>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description('Should not be able to create an iframe with a loaded contentDocument that is not in the document tree.');
@@ -22,4 +22,4 @@
shouldBe('innerFrame.contentDocument', 'null');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/frames/flattening/iframe-tiny.html b/LayoutTests/fast/frames/flattening/iframe-tiny.html
index eb011eb..633722a 100644
--- a/LayoutTests/fast/frames/flattening/iframe-tiny.html
+++ b/LayoutTests/fast/frames/flattening/iframe-tiny.html
@@ -1,7 +1,7 @@
<html>
<head>
<script>window.jsTestIsAsync = true;</script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description("Test that frame flattening is not used for tiny frames. This test requires DRT or user agent with flattening enabled.");
@@ -121,6 +121,6 @@
</body>
">
</iframe>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/frames/frameset-frameborder-boolean-values.html b/LayoutTests/fast/frames/frameset-frameborder-boolean-values.html
index 0482af9..751c62e 100644
--- a/LayoutTests/fast/frames/frameset-frameborder-boolean-values.html
+++ b/LayoutTests/fast/frames/frameset-frameborder-boolean-values.html
@@ -1,6 +1,6 @@
<!doctype html>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<iframe data-test="frameborder=1 is true" data-assert-frame-width="145">
<!doctype html>
@@ -78,4 +78,4 @@
});
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/frames/frameset-frameborder-inheritance.html b/LayoutTests/fast/frames/frameset-frameborder-inheritance.html
index aed3030..a04b966 100644
--- a/LayoutTests/fast/frames/frameset-frameborder-inheritance.html
+++ b/LayoutTests/fast/frames/frameset-frameborder-inheritance.html
@@ -1,6 +1,6 @@
<!doctype html>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<iframe
data-test="missing frameborder attribute should inherit it"
@@ -97,4 +97,4 @@
});
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/frames/frameset-frameborder-overrides-border.html b/LayoutTests/fast/frames/frameset-frameborder-overrides-border.html
index f927c95..1ae686d 100644
--- a/LayoutTests/fast/frames/frameset-frameborder-overrides-border.html
+++ b/LayoutTests/fast/frames/frameset-frameborder-overrides-border.html
@@ -1,6 +1,6 @@
<!doctype html>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<iframe>
<!doctype html>
@@ -23,4 +23,4 @@
shouldBe('frames[1].offsetWidth', '150');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/frames/iframe-double-scale-contents.html b/LayoutTests/fast/frames/iframe-double-scale-contents.html
index 2327bd5..63f5acb 100644
--- a/LayoutTests/fast/frames/iframe-double-scale-contents.html
+++ b/LayoutTests/fast/frames/iframe-double-scale-contents.html
@@ -6,7 +6,7 @@
height: 0px;
}
</style>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
window.enablePixelTesting = true;
@@ -36,11 +36,11 @@
testRunner.notifyDone();
}
</script>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
</head>
<body onload="test();">
<iframe id="frame" src="resources/iframe-content-scaling-bug-iframe.html" style="position: absolute; left: 0px; top: 0px; border: none; width: 300px; height: 300px;"></iframe>
<div id="rightbox" style="position: absolute; left: 300px; top: 0px; width: 300px; height: 300px; background-color: green;"></div>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/frames/iframe-no-src-local-origin-allow.html b/LayoutTests/fast/frames/iframe-no-src-local-origin-allow.html
index 833b0aa..6a5b4b1 100644
--- a/LayoutTests/fast/frames/iframe-no-src-local-origin-allow.html
+++ b/LayoutTests/fast/frames/iframe-no-src-local-origin-allow.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
diff --git a/LayoutTests/fast/frames/iframe-no-src-set-location.html b/LayoutTests/fast/frames/iframe-no-src-set-location.html
index c052998..3d2386c 100644
--- a/LayoutTests/fast/frames/iframe-no-src-set-location.html
+++ b/LayoutTests/fast/frames/iframe-no-src-set-location.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
diff --git a/LayoutTests/fast/frames/iframe-onload-and-domnodeinserted.html b/LayoutTests/fast/frames/iframe-onload-and-domnodeinserted.html
index 6c3f804..2671e52 100644
--- a/LayoutTests/fast/frames/iframe-onload-and-domnodeinserted.html
+++ b/LayoutTests/fast/frames/iframe-onload-and-domnodeinserted.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="g"></div>
@@ -21,6 +21,6 @@
shouldBeTrue("loadEventFired");
debug("PASS unless crash.");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/frames/out-of-document-iframe-has-child-frame.html b/LayoutTests/fast/frames/out-of-document-iframe-has-child-frame.html
index 0d057bf..e9e576b 100644
--- a/LayoutTests/fast/frames/out-of-document-iframe-has-child-frame.html
+++ b/LayoutTests/fast/frames/out-of-document-iframe-has-child-frame.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="main"/>
diff --git a/LayoutTests/fast/frames/reparent-in-unload-contentdocument.html b/LayoutTests/fast/frames/reparent-in-unload-contentdocument.html
index f44fc48..c8b94cb 100644
--- a/LayoutTests/fast/frames/reparent-in-unload-contentdocument.html
+++ b/LayoutTests/fast/frames/reparent-in-unload-contentdocument.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<div id="a">
<div id="b">
diff --git a/LayoutTests/fast/frames/resources/frame-element-name.html b/LayoutTests/fast/frames/resources/frame-element-name.html
index 9911564..9aec501 100644
--- a/LayoutTests/fast/frames/resources/frame-element-name.html
+++ b/LayoutTests/fast/frames/resources/frame-element-name.html
@@ -1,5 +1,5 @@
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="console"></div>
diff --git a/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-allowed.html b/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-allowed.html
index 99ae2d9..3786efa 100644
--- a/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-allowed.html
+++ b/LayoutTests/fast/frames/resources/sandboxed-iframe-storage-allowed.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
window.onload = function() {
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-about-blank.html b/LayoutTests/fast/frames/sandboxed-iframe-about-blank.html
index 7e0c318..a82fa85 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-about-blank.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-about-blank.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html b/LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html
index d9338d9..8f16397 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-navigation-allowed.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner) {
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-plugins.html b/LayoutTests/fast/frames/sandboxed-iframe-plugins.html
index 1bb2242..2978f0d 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-plugins.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-plugins.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.dumpAsText();
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-scripting-01.html b/LayoutTests/fast/frames/sandboxed-iframe-scripting-01.html
index 6668668..68d318b 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-scripting-01.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-scripting-01.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
var allowedExecuted = 0;
var disallowedExecuted = 0;
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-scripting-02.html b/LayoutTests/fast/frames/sandboxed-iframe-scripting-02.html
index 56a1dc8..4cd23f3 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-scripting-02.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-scripting-02.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
window.jsTestIsAsync = true;
@@ -20,7 +20,7 @@
finishJSTest();
};
</script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</head>
<body>
<iframe sandbox="allow-same-origin allow-scripts"
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-scripting-03.html b/LayoutTests/fast/frames/sandboxed-iframe-scripting-03.html
index 3f49e37..869767a 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-scripting-03.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-scripting-03.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
var allowedExecuted = 0;
var disallowedExecuted = 0;
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-scripting-04.html b/LayoutTests/fast/frames/sandboxed-iframe-scripting-04.html
index 8186ef9..0f700bf 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-scripting-04.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-scripting-04.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
window.jsTestIsAsync = true;
@@ -20,7 +20,7 @@
finishJSTest();
};
</script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</head>
<body>
<iframe sandbox="allow-same-origin"
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-scripting-05.html b/LayoutTests/fast/frames/sandboxed-iframe-scripting-05.html
index e336c36..43bb8de 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-scripting-05.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-scripting-05.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
var allowedExecuted = 0;
var disallowedExecuted = 0;
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-storage.html b/LayoutTests/fast/frames/sandboxed-iframe-storage.html
index c600641..7674fdc 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-storage.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-storage.html
@@ -1,6 +1,6 @@
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner) {
diff --git a/LayoutTests/fast/frames/script-tests/TEMPLATE.html b/LayoutTests/fast/frames/script-tests/TEMPLATE.html
index 056ea5d..d0cb77d 100644
--- a/LayoutTests/fast/frames/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/frames/script-tests/TEMPLATE.html
@@ -1,10 +1,10 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script src="YOUR_JS_FILE_HERE"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/frames/seamless/seamless-basic.html b/LayoutTests/fast/frames/seamless/seamless-basic.html
index 2ddb620..bb0b020 100644
--- a/LayoutTests/fast/frames/seamless/seamless-basic.html
+++ b/LayoutTests/fast/frames/seamless/seamless-basic.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div id="parent" style="width: 200px; height: 200px;">
<iframe id="iframe" seamless src="resources/square.html"></iframe>
</div>
diff --git a/LayoutTests/fast/frames/seamless/seamless-body-margin.html b/LayoutTests/fast/frames/seamless/seamless-body-margin.html
index e3245de..04a3d92 100644
--- a/LayoutTests/fast/frames/seamless/seamless-body-margin.html
+++ b/LayoutTests/fast/frames/seamless/seamless-body-margin.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script>
window.onload = function () {
debug("This test ensures that the 'body' element inside a seamless iframe defaults to a margin of 0px rather than 8px, and that we don't break the parent document's 'body' style in the process.");
diff --git a/LayoutTests/fast/frames/seamless/seamless-border-padding.html b/LayoutTests/fast/frames/seamless/seamless-border-padding.html
index f4d021c..ab3345e 100644
--- a/LayoutTests/fast/frames/seamless/seamless-border-padding.html
+++ b/LayoutTests/fast/frames/seamless/seamless-border-padding.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<style>
iframe { display: inline-block; }
.border { border: 1px solid black; }
diff --git a/LayoutTests/fast/frames/seamless/seamless-contenteditable-not-inherited.html b/LayoutTests/fast/frames/seamless/seamless-contenteditable-not-inherited.html
index cb7e431..4365ba2 100644
--- a/LayoutTests/fast/frames/seamless/seamless-contenteditable-not-inherited.html
+++ b/LayoutTests/fast/frames/seamless/seamless-contenteditable-not-inherited.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script>
window.onload = function () {
debug("This test ensures that content inside a seamless iframe does not inherit editability via the contenteditable attribute on a parent element, but does via a CSS rule that cascades into the frame.");
diff --git a/LayoutTests/fast/frames/seamless/seamless-css-cascade.html b/LayoutTests/fast/frames/seamless/seamless-css-cascade.html
index c509bb17..b94e5e6 100644
--- a/LayoutTests/fast/frames/seamless/seamless-css-cascade.html
+++ b/LayoutTests/fast/frames/seamless/seamless-css-cascade.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
iframe { color: orange; }
.test { color: white; }
diff --git a/LayoutTests/fast/frames/seamless/seamless-designMode.html b/LayoutTests/fast/frames/seamless/seamless-designMode.html
index 08b8239..6157434 100644
--- a/LayoutTests/fast/frames/seamless/seamless-designMode.html
+++ b/LayoutTests/fast/frames/seamless/seamless-designMode.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<iframe id="iframe" seamless srcdoc="FAIL"></iframe>
<script>
debug("Test that being a seamless iframe does not break designMode.")
diff --git a/LayoutTests/fast/frames/seamless/seamless-document-write.html b/LayoutTests/fast/frames/seamless/seamless-document-write.html
index e6e63e8..8a91c2a 100644
--- a/LayoutTests/fast/frames/seamless/seamless-document-write.html
+++ b/LayoutTests/fast/frames/seamless/seamless-document-write.html
@@ -4,7 +4,7 @@
<style>
.red { color: red; }
</style>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script>
function writeToFrame(html) {
var frame = document.querySelector('iframe');
diff --git a/LayoutTests/fast/frames/seamless/seamless-float.html b/LayoutTests/fast/frames/seamless/seamless-float.html
index 053d125..f829dbc 100644
--- a/LayoutTests/fast/frames/seamless/seamless-float.html
+++ b/LayoutTests/fast/frames/seamless/seamless-float.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div style="width: 200px; height: 150px;">
<iframe id="iframe1" seamless style="float: left" src="resources/two-inline-blocks.html"></iframe>
</div>
diff --git a/LayoutTests/fast/frames/seamless/seamless-form-get-named.html b/LayoutTests/fast/frames/seamless/seamless-form-get-named.html
index ab3728e..55a7b16 100644
--- a/LayoutTests/fast/frames/seamless/seamless-form-get-named.html
+++ b/LayoutTests/fast/frames/seamless/seamless-form-get-named.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/seamless/seamless-form-get-override.html b/LayoutTests/fast/frames/seamless/seamless-form-get-override.html
index d848ab5..efe4677 100644
--- a/LayoutTests/fast/frames/seamless/seamless-form-get-override.html
+++ b/LayoutTests/fast/frames/seamless/seamless-form-get-override.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/seamless/seamless-form-get.html b/LayoutTests/fast/frames/seamless/seamless-form-get.html
index 436feb1..5a59dd0 100644
--- a/LayoutTests/fast/frames/seamless/seamless-form-get.html
+++ b/LayoutTests/fast/frames/seamless/seamless-form-get.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/seamless/seamless-form-post-named.html b/LayoutTests/fast/frames/seamless/seamless-form-post-named.html
index fd80f5b..43fe508 100644
--- a/LayoutTests/fast/frames/seamless/seamless-form-post-named.html
+++ b/LayoutTests/fast/frames/seamless/seamless-form-post-named.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/seamless/seamless-form-post-override.html b/LayoutTests/fast/frames/seamless/seamless-form-post-override.html
index 190effc..b5b5c36 100644
--- a/LayoutTests/fast/frames/seamless/seamless-form-post-override.html
+++ b/LayoutTests/fast/frames/seamless/seamless-form-post-override.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/seamless/seamless-form-post.html b/LayoutTests/fast/frames/seamless/seamless-form-post.html
index f076d43..3ed15fa 100644
--- a/LayoutTests/fast/frames/seamless/seamless-form-post.html
+++ b/LayoutTests/fast/frames/seamless/seamless-form-post.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/seamless/seamless-hyperlink-named.html b/LayoutTests/fast/frames/seamless/seamless-hyperlink-named.html
index 8026a1f..9d5f4b4 100644
--- a/LayoutTests/fast/frames/seamless/seamless-hyperlink-named.html
+++ b/LayoutTests/fast/frames/seamless/seamless-hyperlink-named.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/seamless/seamless-hyperlink-override.html b/LayoutTests/fast/frames/seamless/seamless-hyperlink-override.html
index 5b10c9d..df06b28 100644
--- a/LayoutTests/fast/frames/seamless/seamless-hyperlink-override.html
+++ b/LayoutTests/fast/frames/seamless/seamless-hyperlink-override.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/seamless/seamless-hyperlink.html b/LayoutTests/fast/frames/seamless/seamless-hyperlink.html
index f8ec76d..8da6c8c 100644
--- a/LayoutTests/fast/frames/seamless/seamless-hyperlink.html
+++ b/LayoutTests/fast/frames/seamless/seamless-hyperlink.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/seamless/seamless-inherited-document-style.html b/LayoutTests/fast/frames/seamless/seamless-inherited-document-style.html
index 02476c3..50ca948 100644
--- a/LayoutTests/fast/frames/seamless/seamless-inherited-document-style.html
+++ b/LayoutTests/fast/frames/seamless/seamless-inherited-document-style.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
iframe {
-webkit-rtl-ordering: visual;
diff --git a/LayoutTests/fast/frames/seamless/seamless-inherited-origin.html b/LayoutTests/fast/frames/seamless/seamless-inherited-origin.html
index 78df2eb..bb7f31c 100644
--- a/LayoutTests/fast/frames/seamless/seamless-inherited-origin.html
+++ b/LayoutTests/fast/frames/seamless/seamless-inherited-origin.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div id="parent" style="width: 200px; height: 200px;">
<iframe id="iframe" seamless src="about:blank"></iframe>
</div>
diff --git a/LayoutTests/fast/frames/seamless/seamless-inline.html b/LayoutTests/fast/frames/seamless/seamless-inline.html
index 9d14ea7..08b2744 100644
--- a/LayoutTests/fast/frames/seamless/seamless-inline.html
+++ b/LayoutTests/fast/frames/seamless/seamless-inline.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
.parent {
line-height: 0px; // No spacing between the lines.
diff --git a/LayoutTests/fast/frames/seamless/seamless-min-max.html b/LayoutTests/fast/frames/seamless/seamless-min-max.html
index 6c5c401..fb1dcde 100644
--- a/LayoutTests/fast/frames/seamless/seamless-min-max.html
+++ b/LayoutTests/fast/frames/seamless/seamless-min-max.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div id="parent" style="width: 200px; height: 200px;">
<iframe id="iframe1" seamless style="min-width: 300px; min-height: 300px " src="resources/square.html"></iframe>
<iframe id="iframe2" seamless style="max-width: 50px; max-height: 50px" src="resources/square.html"></iframe>
diff --git a/LayoutTests/fast/frames/seamless/seamless-nested.html b/LayoutTests/fast/frames/seamless/seamless-nested.html
index dd2830f..9e74e69 100644
--- a/LayoutTests/fast/frames/seamless/seamless-nested.html
+++ b/LayoutTests/fast/frames/seamless/seamless-nested.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div id="parent" style="width: 200px; height: 200px;">
<iframe id="iframe" seamless src="resources/nested-seamless.html"></iframe>
</div>
diff --git a/LayoutTests/fast/frames/seamless/seamless-percent-height.html b/LayoutTests/fast/frames/seamless/seamless-percent-height.html
index 4680a0a..14b4d9f 100644
--- a/LayoutTests/fast/frames/seamless/seamless-percent-height.html
+++ b/LayoutTests/fast/frames/seamless/seamless-percent-height.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div id="parent" style="width: 200px; height: 200px;">
<iframe id="iframe" seamless src="resources/percent-square.html"></iframe>
</div>
diff --git a/LayoutTests/fast/frames/seamless/seamless-quirks.html b/LayoutTests/fast/frames/seamless/seamless-quirks.html
index 5063f3c..86504ad 100644
--- a/LayoutTests/fast/frames/seamless/seamless-quirks.html
+++ b/LayoutTests/fast/frames/seamless/seamless-quirks.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div id="parent" style="width: 200px; height: 200px;">
<iframe id="iframe" seamless src="resources/quirks-square.html"></iframe>
</div>
diff --git a/LayoutTests/fast/frames/seamless/seamless-sandbox-flag.html b/LayoutTests/fast/frames/seamless/seamless-sandbox-flag.html
index 1f1bba1..ff3e278 100644
--- a/LayoutTests/fast/frames/seamless/seamless-sandbox-flag.html
+++ b/LayoutTests/fast/frames/seamless/seamless-sandbox-flag.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div id="parent" style="width: 200px; height: 200px;">
<iframe id="iframe" seamless sandbox="allow-same-origin" src="resources/nested-seamless.html"></iframe>
</div>
diff --git a/LayoutTests/fast/frames/seamless/seamless-sandbox-srcdoc.html b/LayoutTests/fast/frames/seamless/seamless-sandbox-srcdoc.html
index d3e37f3..9f91564 100644
--- a/LayoutTests/fast/frames/seamless/seamless-sandbox-srcdoc.html
+++ b/LayoutTests/fast/frames/seamless/seamless-sandbox-srcdoc.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div id="parent" style="width: 200px; height: 200px;">
<iframe id="iframe" seamless sandbox srcdoc="<html style='width: 100px; height: 100px; background-color: green'></html>"></iframe>
</div>
diff --git a/LayoutTests/fast/frames/seamless/seamless-srcdoc.html b/LayoutTests/fast/frames/seamless/seamless-srcdoc.html
index 935257e..c2b98f6 100644
--- a/LayoutTests/fast/frames/seamless/seamless-srcdoc.html
+++ b/LayoutTests/fast/frames/seamless/seamless-srcdoc.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script>
window.onload = function () {
debug("This test ensures that content inside a seamless srcdoc iframe correctly inherits style, even if it doesn't set any styles of its own.");
diff --git a/LayoutTests/fast/frames/seamless/seamless-window-location-href.html b/LayoutTests/fast/frames/seamless/seamless-window-location-href.html
index 596d638..4834088 100644
--- a/LayoutTests/fast/frames/seamless/seamless-window-location-href.html
+++ b/LayoutTests/fast/frames/seamless/seamless-window-location-href.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/seamless/seamless-window-location-replace.html b/LayoutTests/fast/frames/seamless/seamless-window-location-replace.html
index 60194c1..50f6359 100644
--- a/LayoutTests/fast/frames/seamless/seamless-window-location-replace.html
+++ b/LayoutTests/fast/frames/seamless/seamless-window-location-replace.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/seamless/seamless-window-location-sandbox.html b/LayoutTests/fast/frames/seamless/seamless-window-location-sandbox.html
index d89695d..12f3a74 100644
--- a/LayoutTests/fast/frames/seamless/seamless-window-location-sandbox.html
+++ b/LayoutTests/fast/frames/seamless/seamless-window-location-sandbox.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.dumpChildFramesAsText();
diff --git a/LayoutTests/fast/frames/seamless/seamless-window-location.html b/LayoutTests/fast/frames/seamless/seamless-window-location.html
index 20cb879..d9381f2 100644
--- a/LayoutTests/fast/frames/seamless/seamless-window-location.html
+++ b/LayoutTests/fast/frames/seamless/seamless-window-location.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/seamless/seamless-window-open-override.html b/LayoutTests/fast/frames/seamless/seamless-window-open-override.html
index 5433168..c865206 100644
--- a/LayoutTests/fast/frames/seamless/seamless-window-open-override.html
+++ b/LayoutTests/fast/frames/seamless/seamless-window-open-override.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/seamless/seamless-window-open.html b/LayoutTests/fast/frames/seamless/seamless-window-open.html
index 5e1ec6b..517aeb0 100644
--- a/LayoutTests/fast/frames/seamless/seamless-window-open.html
+++ b/LayoutTests/fast/frames/seamless/seamless-window-open.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
diff --git a/LayoutTests/fast/frames/unload-reparent-sibling-frame.html b/LayoutTests/fast/frames/unload-reparent-sibling-frame.html
index 3eada30..c1e8e6e 100644
--- a/LayoutTests/fast/frames/unload-reparent-sibling-frame.html
+++ b/LayoutTests/fast/frames/unload-reparent-sibling-frame.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<div id="container">
<div id="inside">
@@ -50,4 +50,4 @@
};
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>