Change fast/d* files to use pre and post js files in LayoutTests/resources.
https://bugs.webkit.org/show_bug.cgi?id=120973.
Rubber stamped by Filip Pizlo.
* fast/dom/Attr/access-after-element-destruction.html:
* fast/dom/Attr/change-id-via-attr-node-value.html:
* fast/dom/Attr/invalidate-nodelist-after-attr-setvalue.html:
* fast/dom/Attr/parent-adopt-node.html:
* fast/dom/Attr/script-tests/TEMPLATE.html:
* fast/dom/Attr/set-attribute-node-from-iframe.html:
* fast/dom/CSSStyleDeclaration/access-longest-css-property.html:
* fast/dom/CSSStyleDeclaration/css-computed-style-item.html:
* fast/dom/CSSStyleDeclaration/css-properties-case-sensitive.html:
* fast/dom/CSSStyleDeclaration/css-style-item.html:
* fast/dom/CSSStyleDeclaration/script-tests/TEMPLATE.html:
* fast/dom/CSSStyleDeclaration/transition-property-names.html:
* fast/dom/Comment/remove.html:
* fast/dom/DOMException/EventException.html:
* fast/dom/DOMException/RangeException.html:
* fast/dom/DOMException/XPathException.html:
* fast/dom/DOMException/prototype-object.html:
* fast/dom/DOMException/stack-trace.html:
* fast/dom/DOMImplementation/createDocument-namespace-err.html:
* fast/dom/DOMImplementation/createDocument-with-used-doctype.html:
* fast/dom/DOMImplementation/createDocumentType-err.html:
* fast/dom/DOMImplementation/createHTMLDocument-optional-title.html:
* fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html:
* fast/dom/DOMImplementation/script-tests/TEMPLATE.html:
* fast/dom/DOMURL/check-instanceof-domurl-functions.html:
* fast/dom/DeviceMotion/create-event.html:
* fast/dom/DeviceMotion/no-page-cache.html:
* fast/dom/DeviceMotion/optional-event-properties.html:
* fast/dom/DeviceMotion/script-tests/TEMPLATE.html:
* fast/dom/DeviceMotion/window-property.html:
* fast/dom/DeviceOrientation/add-listener-from-callback.html:
* fast/dom/DeviceOrientation/basic-operation.html:
* fast/dom/DeviceOrientation/create-event.html:
* fast/dom/DeviceOrientation/event-after-navigation.html:
* fast/dom/DeviceOrientation/multiple-frames.html:
* fast/dom/DeviceOrientation/no-page-cache.html:
* fast/dom/DeviceOrientation/no-synchronous-events.html:
* fast/dom/DeviceOrientation/null-values.html:
* fast/dom/DeviceOrientation/optional-event-properties.html:
* fast/dom/DeviceOrientation/script-tests/TEMPLATE.html:
* fast/dom/DeviceOrientation/updates.html:
* fast/dom/DeviceOrientation/window-property.html:
* fast/dom/Document/CaretRangeFromPoint/caretRangeFromPoint-in-zoom-and-scroll.html:
* fast/dom/Document/CaretRangeFromPoint/hittest-relative-to-viewport.html:
* fast/dom/Document/createAttributeNS-namespace-err.html:
* fast/dom/Document/createElement-invalid-names.html:
* fast/dom/Document/createElement-valid-names.html:
* fast/dom/Document/createElementNS-namespace-err.html:
* fast/dom/Document/document-current-script-async.html:
* fast/dom/Document/document-current-script.html:
* fast/dom/Document/document-title-get.html:
* fast/dom/Document/document-write-doctype.html:
* fast/dom/Document/invalid-domain-change-throws-exception.html:
* fast/dom/Document/readystate.html:
* fast/dom/Document/replace-child.html:
* fast/dom/Document/replaceChild-null-oldChild.html:
* fast/dom/Document/script-tests/TEMPLATE.html:
* fast/dom/Document/title-with-multiple-children.html:
* fast/dom/DocumentType/remove.html:
* fast/dom/Element/attr-param-typechecking.html:
* fast/dom/Element/attrisid-extra01.html:
* fast/dom/Element/class-list-move-between-document-with-different-quirks-mode.html:
* fast/dom/Element/class-list-update.html:
* fast/dom/Element/class-list.html:
* fast/dom/Element/class-name.html:
* fast/dom/Element/dimension-properties-unrendered.html:
* fast/dom/Element/element-traversal.html:
* fast/dom/Element/getAttribute-case-insensitivity.html:
* fast/dom/Element/getAttribute-check-case-sensitivity.html:
* fast/dom/Element/getBoundingClientRect-getClientRects-relative-to-viewport.html:
* fast/dom/Element/getBoundingClientRect.html:
* fast/dom/Element/getClientRects.html:
* fast/dom/Element/id-in-applet.html:
* fast/dom/Element/id-in-formcollection.html:
* fast/dom/Element/id-in-frame.html:
* fast/dom/Element/id-in-getelement01.html:
* fast/dom/Element/id-in-insert-hr.html:
* fast/dom/Element/id-in-map.html:
* fast/dom/Element/id-in-node-list-index01.html:
* fast/dom/Element/id-in-param.html:
* fast/dom/Element/node-list-identity.html:
* fast/dom/Element/prefix-setter-exception.html:
* fast/dom/Element/remove.html:
* fast/dom/Element/script-tests/TEMPLATE.html:
* fast/dom/Element/scrollLeft-Quirks.html:
* fast/dom/Element/scrollLeft.html:
* fast/dom/Element/scrollTop-Quirks.html:
* fast/dom/Element/scrollTop.html:
* fast/dom/Element/setAttributeNS-namespace-err.html:
* fast/dom/Element/setAttributeNode-case-insensitivity.html:
* fast/dom/EntityReference/readonly-exceptions.html:
* fast/dom/EntityReference/script-tests/TEMPLATE.html:
* fast/dom/Geolocation/argument-types.html:
* fast/dom/Geolocation/cached-position-iframe.html:
* fast/dom/Geolocation/callback-exception.html:
* fast/dom/Geolocation/callback-to-deleted-context.html:
* fast/dom/Geolocation/callback-to-remote-context.html:
* fast/dom/Geolocation/callback-to-remote-context2.html:
* fast/dom/Geolocation/clear-watch-invalid-id-crash.html:
* fast/dom/Geolocation/coordinates-interface-attributes.html:
* fast/dom/Geolocation/delayed-permission-allowed-for-multiple-requests.html:
* fast/dom/Geolocation/delayed-permission-allowed.html:
* fast/dom/Geolocation/delayed-permission-denied-for-multiple-requests.html:
* fast/dom/Geolocation/delayed-permission-denied.html:
* fast/dom/Geolocation/disconnected-frame-already.html:
* fast/dom/Geolocation/disconnected-frame-permission-denied.html:
* fast/dom/Geolocation/disconnected-frame.html:
* fast/dom/Geolocation/enabled.html:
* fast/dom/Geolocation/error-clear-watch.html:
* fast/dom/Geolocation/error.html:
* fast/dom/Geolocation/maximum-age.html:
* fast/dom/Geolocation/multiple-requests.html:
* fast/dom/Geolocation/no-page-cache.html:
* fast/dom/Geolocation/not-enough-arguments.html:
* fast/dom/Geolocation/notimer-after-unload.html:
* fast/dom/Geolocation/page-reload-cancel-permission-requests.html:
* fast/dom/Geolocation/permission-denied-already-clear-watch.html:
* fast/dom/Geolocation/permission-denied-already-error.html:
* fast/dom/Geolocation/permission-denied-already-success.html:
* fast/dom/Geolocation/permission-denied-stops-watches.html:
* fast/dom/Geolocation/permission-denied.html:
* fast/dom/Geolocation/position-string.html:
* fast/dom/Geolocation/reentrant-error.html:
* fast/dom/Geolocation/reentrant-permission-denied.html:
* fast/dom/Geolocation/reentrant-success.html:
* fast/dom/Geolocation/remove-remote-context-in-error-callback-crash.html:
* fast/dom/Geolocation/script-tests/TEMPLATE.html:
* fast/dom/Geolocation/success-clear-watch.html:
* fast/dom/Geolocation/success.html:
* fast/dom/Geolocation/timeout-clear-watch.html:
* fast/dom/Geolocation/timeout-zero.html:
* fast/dom/Geolocation/timeout.html:
* fast/dom/Geolocation/timestamp.html:
* fast/dom/Geolocation/watch.html:
* fast/dom/Geolocation/watchPosition-unique.html:
* fast/dom/Geolocation/window-close-crash.html:
* fast/dom/HTMLAnchorElement/anchor-ismap-crash.html:
* fast/dom/HTMLAnchorElement/get-href-attribute-port.html:
* fast/dom/HTMLAnchorElement/remove-rel-attribute.html:
* fast/dom/HTMLAnchorElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLAnchorElement/set-href-attribute-hash.html:
* fast/dom/HTMLAnchorElement/set-href-attribute-host.html:
* fast/dom/HTMLAnchorElement/set-href-attribute-hostname.html:
* fast/dom/HTMLAnchorElement/set-href-attribute-pathname.html:
* fast/dom/HTMLAnchorElement/set-href-attribute-port.html:
* fast/dom/HTMLAnchorElement/set-href-attribute-prevents-rebase.html:
* fast/dom/HTMLAnchorElement/set-href-attribute-protocol.html:
* fast/dom/HTMLAnchorElement/set-href-attribute-rebase.html:
* fast/dom/HTMLAnchorElement/set-href-attribute-search.html:
* fast/dom/HTMLAnchorElement/set-href-attribute-whitespace.html:
* fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document.html:
* fast/dom/HTMLBaseElement/multiple-base-elements.html:
* fast/dom/HTMLBaseElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLButtonElement/change-type.html:
* fast/dom/HTMLDocument/document-all.html:
* fast/dom/HTMLDocument/named-item-multiple-match.html:
* fast/dom/HTMLDocument/object-with-same-id-and-name.html:
* fast/dom/HTMLDocument/set-focus-on-valid-element.html:
* fast/dom/HTMLElement/attr-dir-auto-change-before-text-node.html:
* fast/dom/HTMLElement/attr-dir-auto-change-child-node.html:
* fast/dom/HTMLElement/attr-dir-auto-change-text-form-control.html:
* fast/dom/HTMLElement/attr-dir-auto-change-text.html:
* fast/dom/HTMLElement/attr-dir-auto-children.html:
* fast/dom/HTMLElement/attr-dir-auto-remove-add-children.html:
* fast/dom/HTMLElement/attr-dir-auto-text-form-control-child.html:
* fast/dom/HTMLElement/attr-dir-auto-text-form-control.html:
* fast/dom/HTMLElement/attr-dir-auto.html:
* fast/dom/HTMLElement/attr-dir-value-change.html:
* fast/dom/HTMLElement/attr-empty-string.html:
* fast/dom/HTMLElement/attr-false-string.html:
* fast/dom/HTMLElement/attr-invalid-string.html:
* fast/dom/HTMLElement/attr-missing-ancestor-false.html:
* fast/dom/HTMLElement/attr-missing-ancestor-true.html:
* fast/dom/HTMLElement/attr-missing-parent-ancestor-missing.html:
* fast/dom/HTMLElement/attr-missing-parent-false.html:
* fast/dom/HTMLElement/attr-missing-parent-true.html:
* fast/dom/HTMLElement/attr-true-string.html:
* fast/dom/HTMLElement/class-list-gc.html:
* fast/dom/HTMLElement/class-list-quirks.html:
* fast/dom/HTMLElement/class-list.html:
* fast/dom/HTMLElement/insertAdjacentHTML-errors.html:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe.html:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit.html:
* fast/dom/HTMLElement/iscontenteditable-designmodeon-ancestor.html:
* fast/dom/HTMLElement/iscontenteditable-designmodeon.html:
* fast/dom/HTMLElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLElement/set-false.html:
* fast/dom/HTMLElement/set-inherit-parent-false.html:
* fast/dom/HTMLElement/set-inherit-parent-true.html:
* fast/dom/HTMLElement/set-invalid-value.html:
* fast/dom/HTMLElement/set-true.html:
* fast/dom/HTMLElement/set-value-caseinsensitive.html:
* fast/dom/HTMLElement/spellcheck.html:
* fast/dom/HTMLElement/translate.html:
* fast/dom/HTMLFontElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLFontElement/size-attribute.html:
* fast/dom/HTMLFormElement/elements-not-in-document.html:
* fast/dom/HTMLFormElement/htmlformelement-indexed-getter.html:
* fast/dom/HTMLFormElement/invalid-form-field.html:
* fast/dom/HTMLFormElement/move-option-between-documents.html:
* fast/dom/HTMLFormElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLHeadElement/head-check.html:
* fast/dom/HTMLImageElement/image-lowsrc-getset.html:
* fast/dom/HTMLImageElement/parse-src.html:
* fast/dom/HTMLImageElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLInputElement/checked-pseudo-selector.html:
* fast/dom/HTMLInputElement/duplicate-element-names.html:
* fast/dom/HTMLInputElement/input-size-attribute.html:
* fast/dom/HTMLInputElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLInputElement/size-attribute.html:
* fast/dom/HTMLIsIndexElement/prototype-chain.html:
* fast/dom/HTMLKeygenElement/keygen.html:
* fast/dom/HTMLLabelElement/label-control.html:
* fast/dom/HTMLLabelElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLLinkElement/disabled-attribute.html:
* fast/dom/HTMLLinkElement/prefetch-beforeload.html:
* fast/dom/HTMLLinkElement/prefetch-onerror.html:
* fast/dom/HTMLLinkElement/prefetch-too-many-clients.html:
* fast/dom/HTMLLinkElement/subresource.html:
* fast/dom/HTMLMeterElement/meter-clone.html:
* fast/dom/HTMLMeterElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLMeterElement/set-meter-properties.html:
* fast/dom/HTMLObjectElement/beforeload-set-text-crash.xhtml:
* fast/dom/HTMLObjectElement/object-as-frame.html:
* fast/dom/HTMLOptionElement/collection-setter-getter.html:
* fast/dom/HTMLOutputElement/dom-settable-token-list.html:
* fast/dom/HTMLOutputElement/htmloutputelement-children-removed.html:
* fast/dom/HTMLOutputElement/htmloutputelement-reset-event.html:
* fast/dom/HTMLOutputElement/htmloutputelement-validity.html:
* fast/dom/HTMLOutputElement/htmloutputelement-value.html:
* fast/dom/HTMLOutputElement/htmloutputelement.html:
* fast/dom/HTMLProgressElement/progress-clone.html:
* fast/dom/HTMLProgressElement/progress-element-indeterminate-crash.html:
* fast/dom/HTMLProgressElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLProgressElement/set-progress-properties.html:
* fast/dom/HTMLScriptElement/async-false-inside-async-false-load.html:
* fast/dom/HTMLScriptElement/async-inline-script.html:
* fast/dom/HTMLScriptElement/async-onbeforeload.html:
* fast/dom/HTMLScriptElement/defer-inline-script.html:
* fast/dom/HTMLScriptElement/defer-onbeforeload.html:
* fast/dom/HTMLScriptElement/defer-script-invalid-url.html:
* fast/dom/HTMLScriptElement/move-in-beforeload.html:
* fast/dom/HTMLScriptElement/remove-in-beforeload.html:
* fast/dom/HTMLScriptElement/resources/frame.html:
* fast/dom/HTMLScriptElement/script-async-attr.html:
* fast/dom/HTMLScriptElement/script-for-attribute-unexpected-execution.html:
* fast/dom/HTMLSelectElement/change-multiple-preserve-selection.html:
* fast/dom/HTMLSelectElement/click-size-zero-no-crash.html:
* fast/dom/HTMLSelectElement/named-options.html:
* fast/dom/HTMLSelectElement/option-add-crash.html:
* fast/dom/HTMLSelectElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLSelectElement/select-element-item-argument.html:
* fast/dom/HTMLSelectElement/select-selectedIndex-multiple.html:
* fast/dom/HTMLSelectElement/select-selectedIndex-noAnchorIndex-crash.html:
* fast/dom/HTMLSelectElement/select-selectedIndex.html:
* fast/dom/HTMLSelectElement/select-selectedOptions.html:
* fast/dom/HTMLSelectElement/selected-false.html:
* fast/dom/HTMLSelectElement/selected-index-preserved-when-option-text-changes.html:
* fast/dom/HTMLTableElement/cellpadding-attribute.html:
* fast/dom/HTMLTableElement/early-acid3-65-excerpt.html:
* fast/dom/HTMLTableElement/early-acid3-66-excerpt.html:
* fast/dom/HTMLTableElement/rows.html:
* fast/dom/HTMLTableElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLTableElement/tBodies.html:
* fast/dom/HTMLTableElement/table-with-invalid-border.html:
* fast/dom/HTMLTableRowElement/cells.html:
* fast/dom/HTMLTableRowElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLTableSectionElement/rows.html:
* fast/dom/HTMLTableSectionElement/script-tests/TEMPLATE.html:
* fast/dom/HTMLTemplateElement/cloneNode.html:
* fast/dom/HTMLTemplateElement/contentWrappers.html:
* fast/dom/HTMLTemplateElement/cycles-in-shadow.html:
* fast/dom/HTMLTemplateElement/cycles.html:
* fast/dom/HTMLTemplateElement/inertContents.html:
* fast/dom/HTMLTemplateElement/innerHTML-inert.html:
* fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html:
* fast/dom/HTMLTemplateElement/ownerDocument.html:
* fast/dom/HTMLTemplateElement/ownerDocumentXHTML.xhtml:
* fast/dom/MutationObserver/added-out-of-order.html:
* fast/dom/MutationObserver/callback-arguments.html:
* fast/dom/MutationObserver/clear-transient-without-delivery.html:
* fast/dom/MutationObserver/create-during-delivery.html:
* fast/dom/MutationObserver/cross-document.html:
* fast/dom/MutationObserver/database-callback-delivery.html:
* fast/dom/MutationObserver/delivery-order.html:
* fast/dom/MutationObserver/disconnect-cancel-pending.html:
* fast/dom/MutationObserver/document-fragment-insertion.html:
* fast/dom/MutationObserver/filesystem-callback-delivery.html:
* fast/dom/MutationObserver/mutate-during-delivery.html:
* fast/dom/MutationObserver/mutation-observer-constructor.html:
* fast/dom/MutationObserver/mutation-observer-prefix.html:
* fast/dom/MutationObserver/mutation-record-constructor.html:
* fast/dom/MutationObserver/mutation-record-nullity.html:
* fast/dom/MutationObserver/observe-attributes.html:
* fast/dom/MutationObserver/observe-characterdata.html:
* fast/dom/MutationObserver/observe-childList.html:
* fast/dom/MutationObserver/observe-exceptions.html:
* fast/dom/MutationObserver/observe-subtree.html:
* fast/dom/MutationObserver/observer-wrapper-dropoff-transient.html:
* fast/dom/MutationObserver/observer-wrapper-dropoff.html:
* fast/dom/MutationObserver/parser-mutations.html:
* fast/dom/MutationObserver/removed-out-of-order.html:
* fast/dom/MutationObserver/shadow-dom.html:
* fast/dom/MutationObserver/takeRecords.html:
* fast/dom/MutationObserver/transient-gc-crash.html:
* fast/dom/Node/DOMNodeRemovedEvent.html:
* fast/dom/Node/contains-method.html:
* fast/dom/Node/initial-values.html:
* fast/dom/Node/isEqualNode.html:
* fast/dom/Node/normalize-with-cdata.html:
* fast/dom/Node/script-tests/TEMPLATE.html:
* fast/dom/NodeList/childNodes-reverse-iteration.html:
* fast/dom/NodeList/nodelist-item-assignment.html:
* fast/dom/NodeList/nodelist-item-call-as-function.html:
* fast/dom/NodeList/nodelist-item-with-index.html:
* fast/dom/NodeList/nodelist-item-with-name.html:
* fast/dom/NodeList/nodelist-namespace-invalidation.html:
* fast/dom/NodeList/nodelist-reachable.html:
* fast/dom/NodeList/script-tests/TEMPLATE.html:
* fast/dom/Orientation/create-event-orientationchange.html:
* fast/dom/Range/31684.html:
* fast/dom/Range/detach-range-during-deletecontents.html:
* fast/dom/Range/getBoundingClientRect-getClientRects-relative-to-viewport.html:
* fast/dom/Range/getBoundingClientRect.html:
* fast/dom/Range/getClientRects-vertical.html:
* fast/dom/Range/getClientRects.html:
* fast/dom/Range/insertNode-empty-fragment-crash.html:
* fast/dom/Range/mutation.html:
* fast/dom/Range/range-clone-empty.html:
* fast/dom/Range/range-exceptions.html:
* fast/dom/Range/range-insertNode-assertion.html:
* fast/dom/Range/range-insertNode-separate-endContainer.html:
* fast/dom/Range/range-insertNode-splittext.html:
* fast/dom/Range/range-intersectsNode-exception.html:
* fast/dom/Range/range-intersectsNode.html:
* fast/dom/Range/range-modifycontents.html:
* fast/dom/Range/script-tests/TEMPLATE.html:
* fast/dom/Range/select-node-different-document.html:
* fast/dom/Range/set-wrong-document-err.html:
* fast/dom/Range/split-text-in-range.html:
* fast/dom/Selection/collapseToX-empty-selection.html:
* fast/dom/Selection/getRangeAt.html:
* fast/dom/Selection/script-tests/TEMPLATE.html:
* fast/dom/SelectorAPI/attrname-case-insensitive.html:
* fast/dom/SelectorAPI/attrname-case-sensitive.xhtml:
* fast/dom/SelectorAPI/caseID-almost-strict.html:
* fast/dom/SelectorAPI/caseID-strict.html:
* fast/dom/SelectorAPI/caseID.html:
* fast/dom/SelectorAPI/caseTag.html:
* fast/dom/SelectorAPI/caseTagX.xhtml:
* fast/dom/SelectorAPI/detached-element.html:
* fast/dom/SelectorAPI/elementRoot.html:
* fast/dom/SelectorAPI/id-fastpath-almost-strict.html:
* fast/dom/SelectorAPI/id-fastpath-strict.html:
* fast/dom/SelectorAPI/id-fastpath.html:
* fast/dom/SelectorAPI/script-tests/TEMPLATE.html:
* fast/dom/SelectorAPI/undefined-null-stringify.html:
* fast/dom/SelectorAPI/viewless-document.html:
* fast/dom/StyleSheet/css-medialist-item.html:
* fast/dom/StyleSheet/detached-parent-rule-without-wrapper.html:
* fast/dom/StyleSheet/detached-sheet-owner-node-link.html:
* fast/dom/StyleSheet/detached-sheet-owner-node.html:
* fast/dom/StyleSheet/detached-style-pi.xhtml:
* fast/dom/StyleSheet/detached-style.html:
* fast/dom/StyleSheet/detached-stylesheet-without-wrapper.html:
* fast/dom/StyleSheet/gc-declaration-parent-rule.html:
* fast/dom/StyleSheet/gc-inline-style-cssvalues.html:
* fast/dom/StyleSheet/gc-parent-rule.html:
* fast/dom/StyleSheet/gc-parent-stylesheet.html:
* fast/dom/StyleSheet/gc-rule-children-wrappers.html:
* fast/dom/StyleSheet/gc-styleheet-wrapper.xhtml:
* fast/dom/StyleSheet/get-stylesheet-byname.html:
* fast/dom/StyleSheet/script-tests/TEMPLATE.html:
* fast/dom/Text/remove.html:
* fast/dom/Text/replaceWholeText.html:
* fast/dom/Text/script-tests/TEMPLATE.html:
* fast/dom/Text/text-should-not-have-attributes.html:
* fast/dom/TreeWalker/TreeWalker-currentNode.html:
* fast/dom/TreeWalker/acceptNode-filter.html:
* fast/dom/TreeWalker/filter-throw.html:
* fast/dom/TreeWalker/previousNodeLastChildReject.html:
* fast/dom/TreeWalker/previousSiblingLastChildSkip.html:
* fast/dom/TreeWalker/script-tests/TEMPLATE.html:
* fast/dom/TreeWalker/traversal-reject.html:
* fast/dom/TreeWalker/traversal-skip-most.html:
* fast/dom/TreeWalker/traversal-skip.html:
* fast/dom/URL-attribute-reflection.html:
* fast/dom/Window/HTMLBodyElement-window-eventListener-attributes.html:
* fast/dom/Window/HTMLFrameSetElement-window-eventListener-attributes.html:
* fast/dom/Window/Location/location-override-toString-on-proto-using-defineGetter.html:
* fast/dom/Window/Location/location-override-toString-on-proto-using-with.html:
* fast/dom/Window/Location/location-override-toString-on-proto.html:
* fast/dom/Window/Location/location-override-toString-using-defineGetter.html:
* fast/dom/Window/Location/location-override-toString-using-with.html:
* fast/dom/Window/Location/location-override-toString.html:
* fast/dom/Window/Location/location-override-valueOf-on-proto-using-defineGetter.html:
* fast/dom/Window/Location/location-override-valueOf-on-proto-using-with.html:
* fast/dom/Window/Location/location-override-valueOf-on-proto.html:
* fast/dom/Window/Location/location-override-valueOf-using-defineGetter.html:
* fast/dom/Window/Location/location-override-valueOf-using-with.html:
* fast/dom/Window/Location/location-override-valueOf.html:
* fast/dom/Window/Location/window-override-location-using-defineGetter.html:
* fast/dom/Window/Location/window-override-window-using-defineGetter.html:
* fast/dom/Window/Location/window-shadow-location-using-js-object-with-toString.html:
* fast/dom/Window/Location/window-shadow-location-using-string.html:
* fast/dom/Window/Location/window-shadow-window-using-js-object-with-location-field.html:
* fast/dom/Window/atob-btoa.html:
* fast/dom/Window/custom-constructors.html:
* fast/dom/Window/customized-property-survives-gc.html:
* fast/dom/Window/dispatchEvent.html:
* fast/dom/Window/es52-globals.html:
* fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements.html:
* fast/dom/Window/getMatchedCSSRules-with-pseudo-elements.html:
* fast/dom/Window/invalid-protocol.html:
* fast/dom/Window/new-window-opener.html:
* fast/dom/Window/open-window-min-size.html:
* fast/dom/Window/querySelectorAll-with-pseudo-elements.html:
* fast/dom/Window/replaceable.html:
* fast/dom/Window/resources/window-appendages-cleared-results.html:
* fast/dom/Window/script-tests/TEMPLATE.html:
* fast/dom/Window/setTimeout-setInterval-unique.html:
* fast/dom/Window/web-timing-minimal-performance-now.html:
* fast/dom/Window/webkitConvertPoint.html:
* fast/dom/Window/webkitConvertPointUpdateLayout.html:
* fast/dom/Window/window-constructor-presence.html:
* fast/dom/Window/window-custom-prototype.html:
* fast/dom/Window/window-frames-self-referential.html:
* fast/dom/Window/window-legacy-event-listener.html:
* fast/dom/Window/window-lookup-precedence.html:
* fast/dom/Window/window-property-shadowing-onclick.html:
* fast/dom/Window/window-resize-and-move-arguments.html:
* fast/dom/Window/window-resize-and-move-sub-frame.html:
* fast/dom/Window/window-resize-nan.html-disabled:
* fast/dom/Window/window-resize.html:
* fast/dom/Window/window-scroll-arguments.html:
* fast/dom/Window/window-xy-properties.html:
* fast/dom/XMLHttpRequest-constants.html:
* fast/dom/XMLHttpRequest-legacy-event-listener.html:
* fast/dom/XMLSerializer-doctype2.html:
* fast/dom/access-key-iframe.html:
* fast/dom/adopt-node-prevented.html:
* fast/dom/allowed-children.html:
* fast/dom/attr-style-too-lazy.html:
* fast/dom/attribute-legacy-colors.html:
* fast/dom/body-clone-link-decl-parent-crash.html:
* fast/dom/boolean-attribute-reflection.html:
* fast/dom/call-a-constructor-as-a-function.html:
* fast/dom/child-insertion-notify-crash.html:
* fast/dom/click-method-on-html-element.html:
* fast/dom/cloneNode-below-body-attribute-merging.html:
* fast/dom/collection-idempotence.html:
* fast/dom/collection-item.html:
* fast/dom/collection-length-should-not-be-overridden.html:
* fast/dom/collection-nameditem-move-between-documents.html:
* fast/dom/compare-document-position-disconnected-nodes.html:
* fast/dom/console-log-stack-overflow.html:
* fast/dom/constructed-objects-prototypes.html:
* fast/dom/constructor-proto.html:
* fast/dom/constructors-cached-navigate.html:
* fast/dom/constructors-cached.html:
* fast/dom/createDocumentType-ownerDocument.html:
* fast/dom/css-RGBValue.html:
* fast/dom/css-delete-doc.html:
* fast/dom/css-inline-style-declaration-crash.html:
* fast/dom/css-inline-style-important.html:
* fast/dom/css-mediarule-parentRule.html:
* fast/dom/custom/document-register-basic.html:
* fast/dom/custom/document-register-namespace.html:
* fast/dom/custom/document-register-reentrant-null-constructor.html:
* fast/dom/custom/document-register-reentrant-returning-fake.html:
* fast/dom/custom/document-register-reentrant-throwing-constructor.html:
* fast/dom/custom/document-register-type-extensions.html:
* fast/dom/custom/lifecycle-ready-createElement-recursion.html:
* fast/dom/custom/lifecycle-ready-createElement-reentrancy.html:
* fast/dom/custom/lifecycle-ready-creation-api.html:
* fast/dom/custom/lifecycle-ready-innerHTML.html:
* fast/dom/custom/lifecycle-ready-parser-script.html:
* fast/dom/custom/lifecycle-ready-paste.html:
* fast/dom/dataset-gc.html:
* fast/dom/dataset-xhtml.xhtml:
* fast/dom/dataset.html:
* fast/dom/document-all-select.html:
* fast/dom/document-all-tags.html:
* fast/dom/document-dir-property.html:
* fast/dom/document-head.html:
* fast/dom/document-importNode-arguments.html:
* fast/dom/document-set-body.html:
* fast/dom/dom-constructors.html:
* fast/dom/dom-parse-serialize-xmldecl.html:
* fast/dom/dom-serialize-namespace.html:
* fast/dom/domListEnumeration.html:
* fast/dom/domstring-attribute-reflection.html:
* fast/dom/domtimestamp-is-number.html:
* fast/dom/elementFromPoint-relative-to-viewport.html:
* fast/dom/elementFromPoint-scaled-scrolled.html:
* fast/dom/error-to-string-stack-overflow.html:
* fast/dom/event-attribute-availability.html:
* fast/dom/exception-in-binding.html:
* fast/dom/fragment-activation-focuses-target.html:
* fast/dom/gc-attribute-node.html:
* fast/dom/gc-dom-tree-lifetime.html:
* fast/dom/gc-image-element-2.html:
* fast/dom/gc-image-element.html:
* fast/dom/getElementById-consistency.html:
* fast/dom/getElementById-consistency2.html:
* fast/dom/getElementById-consistency3.html:
* fast/dom/getElementById-consistency4.html:
* fast/dom/getElementById-consistency5.html:
* fast/dom/getElementsByTagName-localName-matching.html:
* fast/dom/getElementsByTagName-localName-matching2.xhtml:
* fast/dom/getelementsbyname-invalidation-cache.html:
* fast/dom/getter-on-window-object2.html:
* fast/dom/html-attribute-types.html:
* fast/dom/html-collections-named-getter.html:
* fast/dom/htmlallcollection-call-with-index-caching-bug.html:
* fast/dom/htmlallcollection-detached-node-children.html:
* fast/dom/htmlallcollection-reachable.html:
* fast/dom/htmlcollection-length-after-item.html:
* fast/dom/htmlcollection-namedItem.html:
* fast/dom/htmlcollection-non-html.html:
* fast/dom/htmlcollection-protects-base.html:
* fast/dom/htmlcollection-reachable.html:
* fast/dom/icon-size-property.html:
* fast/dom/icon-url-change.html:
* fast/dom/icon-url-list-apple-touch.html:
* fast/dom/icon-url-list.html:
* fast/dom/iframe-inner-size-scaling.html:
* fast/dom/importNode-confusing-localName.html:
* fast/dom/incompatible-operations.html:
* fast/dom/inline-event-attributes-crash.html:
* fast/dom/inline-event-attributes-event-param-name.html:
* fast/dom/inline-event-attributes-lookup-removed-form.html:
* fast/dom/inline-event-attributes-lookup-removed.html:
* fast/dom/inline-event-attributes-lookup.html:
* fast/dom/inline-event-attributes-moved.html:
* fast/dom/inline-event-attributes-release.html:
* fast/dom/inner-text-first-letter.html:
* fast/dom/isEqualNode-after-removeAttribute.html:
* fast/dom/javascript-url-exception-isolation.html:
* fast/dom/location-new-window-no-crash.html:
* fast/dom/mutation-event-listener-with-dirty-inline-style-crash.html:
* fast/dom/node-childNodes-idempotence.html:
* fast/dom/node-filter-detached-iframe-crash.html:
* fast/dom/node-iterator-reference-node-removed.html:
* fast/dom/node-iterator-with-doctype-root.html:
* fast/dom/node-legacy-event-listener.html:
* fast/dom/node-move-to-new-document-crash-main.html:
* fast/dom/node-prefix-setter-namespace-exception.html:
* fast/dom/nodelist-item-parameter.html:
* fast/dom/nodesFromRect/nodesFromRect-basic.html:
* fast/dom/nodesFromRect/nodesFromRect-child-frame-content.html:
* fast/dom/nodesFromRect/nodesFromRect-culled-inline-with-linebreak.html:
* fast/dom/nodesFromRect/nodesFromRect-culled-inlines.html:
* fast/dom/nodesFromRect/nodesFromRect-embedded-frame-content.html:
* fast/dom/nodesFromRect/nodesFromRect-inline-image.html:
* fast/dom/nodesFromRect/nodesFromRect-inner-documents.html:
* fast/dom/nodesFromRect/nodesFromRect-links-and-text.html:
* fast/dom/nodesFromRect/nodesFromRect-rotate.html:
* fast/dom/nodesFromRect/nodesFromRect-scale.html:
* fast/dom/nodesFromRect/nodesFromRect-svg.html:
* fast/dom/nodesFromRect/nodesFromRect-table.html:
* fast/dom/non-numeric-values-numeric-parameters.html:
* fast/dom/normalize-attributes-mutation-event-crash.html:
* fast/dom/offset-position-writing-modes.html:
* fast/dom/ping-attribute-dom-binding.html:
* fast/dom/processing-instruction-appendChild-exceptions.xhtml:
* fast/dom/prototype-property.html:
* fast/dom/resources/navigation-type-matches-querystring.html:
* fast/dom/script-tests/TEMPLATE.html:
* fast/dom/script-tests/webtiming-document-open.js:
(testTimingWithDocumentOpen):
* fast/dom/scroll-element-to-rect-centered.html:
* fast/dom/scroll-element-to-rect.html:
* fast/dom/set-custom-validity-with-too-few-arguments.html:
* fast/dom/setAttribute-using-initial-input-value.html:
* fast/dom/setAttributeNS-prefix-and-null-namespace.html:
* fast/dom/setPrimitiveValue-exceptions.html:
* fast/dom/setter-type-enforcement.html:
* fast/dom/shadow/access-key.html:
* fast/dom/shadow/adopt-node-with-shadow-root.html:
* fast/dom/shadow/athost-atrules.html:
* fast/dom/shadow/base-in-shadow-tree.html:
* fast/dom/shadow/caret-range-from-point-in-nested-shadow.html:
* fast/dom/shadow/compare-document-position.html:
* fast/dom/shadow/composed-shadow-tree-walker-shadow-reprojection.html:
* fast/dom/shadow/composed-shadow-tree-walker.html:
* fast/dom/shadow/content-element-api.html:
* fast/dom/shadow/content-element-distributed-nodes.html:
* fast/dom/shadow/content-element-includer.html:
* fast/dom/shadow/content-element-outside-shadow.html:
* fast/dom/shadow/content-element-user-agent-shadow.html:
* fast/dom/shadow/content-reprojection-fallback-crash.html:
* fast/dom/shadow/content-selector-query.html:
* fast/dom/shadow/content-shadow-unknown.html:
* fast/dom/shadow/cppevent-in-shadow.html:
* fast/dom/shadow/cppevent-input-in-shadow.html:
* fast/dom/shadow/css-hostrule-api.html:
* fast/dom/shadow/distributed-pseudo-element-css-text.html:
* fast/dom/shadow/distribution-crash.html:
* fast/dom/shadow/drop-event-for-input-in-shadow.html:
* fast/dom/shadow/drop-event-in-shadow.html:
* fast/dom/shadow/element-from-point-in-nested-shadow.html:
* fast/dom/shadow/element-name-in-shadow.html:
* fast/dom/shadow/elementfrompoint.html:
* fast/dom/shadow/elements-in-frameless-document.html:
* fast/dom/shadow/events-stopped-at-shadow-boundary.html:
* fast/dom/shadow/focus-navigation-with-distributed-nodes.html:
* fast/dom/shadow/focus-navigation.html:
* fast/dom/shadow/form-in-shadow.html:
* fast/dom/shadow/gc-shadow.html:
* fast/dom/shadow/gesture-tap.html:
* fast/dom/shadow/get-distributed-nodes-orphan.html:
* fast/dom/shadow/get-element-by-id-in-shadow-mutation.html:
* fast/dom/shadow/get-element-by-id-in-shadow-root.html:
* fast/dom/shadow/getelementbyid-in-orphan.html:
* fast/dom/shadow/getelementbyid-shadow.html:
* fast/dom/shadow/has-content-elements.html:
* fast/dom/shadow/has-elementshadow.html:
* fast/dom/shadow/has-shadow-insertion-point.html:
* fast/dom/shadow/host-wrapper-reclaimed.html:
* fast/dom/shadow/iframe-shadow.html:
* fast/dom/shadow/input-shadow-nochange.html:
* fast/dom/shadow/insertion-parent-shadow.html:
* fast/dom/shadow/insertion-parent.html:
* fast/dom/shadow/insertion-point-list-menu-crash.html:
* fast/dom/shadow/insertion-point-resetStyleInheritance.html:
* fast/dom/shadow/insertion-point-video-crash.html:
* fast/dom/shadow/layout-tests-can-access-shadow.html:
* fast/dom/shadow/link-in-shadow-tree.html:
* fast/dom/shadow/multiple-shadowroot-adopt.html:
* fast/dom/shadow/multiple-shadowroot.html:
* fast/dom/shadow/nested-reprojection-inconsistent.html:
* fast/dom/shadow/nodetype.html:
* fast/dom/shadow/offset-parent-does-not-leak-ua-shadow.html:
* fast/dom/shadow/olderShadowRoot-in-shadowelement.html:
* fast/dom/shadow/parent-tree-scope-in-shadow.html:
* fast/dom/shadow/pseudo-attribute.html:
* fast/dom/shadow/pseudoclass-update-checked-option.html:
* fast/dom/shadow/pseudoclass-update-disabled-optgroup.html:
* fast/dom/shadow/pseudoclass-update-disabled-option.html:
* fast/dom/shadow/pseudoclass-update-enabled-optgroup.html:
* fast/dom/shadow/pseudoclass-update-enabled-option.html:
* fast/dom/shadow/resize-in-shadow-dom.html:
* fast/dom/shadow/select-in-shadowdom.html:
* fast/dom/shadow/selection-in-nested-shadow.html:
* fast/dom/shadow/selection-shouldnt-expose-shadow-dom.html:
* fast/dom/shadow/selections-in-shadow.html:
* fast/dom/shadow/shadow-aware-create-shadow-root.html:
* fast/dom/shadow/shadow-aware-shadow-root.html:
* fast/dom/shadow/shadow-boundary-events.html:
* fast/dom/shadow/shadow-contents-event.html:
* fast/dom/shadow/shadow-disable.html:
* fast/dom/shadow/shadow-dom-enabled-flag-whitelist.html:
* fast/dom/shadow/shadow-dom-event-dispatching-child-of-inactive-content.html:
* fast/dom/shadow/shadow-dom-event-dispatching-details-summary.html:
* fast/dom/shadow/shadow-dom-event-dispatching-distributed-child.html:
* fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node.html:
* fast/dom/shadow/shadow-dom-event-dispatching-fallback-nodes.html:
* fast/dom/shadow/shadow-dom-event-dispatching-manually-fired-with-same-related-target.html:
* fast/dom/shadow/shadow-dom-event-dispatching-manually-fired.html:
* fast/dom/shadow/shadow-dom-event-dispatching-multiple-shadow-roots.html:
* fast/dom/shadow/shadow-dom-event-dispatching-nested-shadow-roots.html:
* fast/dom/shadow/shadow-dom-event-dispatching-non-distributed-nodes.html:
* fast/dom/shadow/shadow-dom-event-dispatching-svg-in-shadow-subtree.html:
* fast/dom/shadow/shadow-dom-event-dispatching-text-node-in-shadow-root.html:
* fast/dom/shadow/shadow-dom-mouse-event-adjust-offset.html:
* fast/dom/shadow/shadow-element.html:
* fast/dom/shadow/shadow-hierarchy-exception.html:
* fast/dom/shadow/shadow-nested-pseudo-id.html:
* fast/dom/shadow/shadow-removechild-and-blur-event.html:
* fast/dom/shadow/shadow-root-activeElement.html:
* fast/dom/shadow/shadow-root-append.html:
* fast/dom/shadow/shadow-root-attached.html:
* fast/dom/shadow/shadow-root-blur.html:
* fast/dom/shadow/shadow-root-innerHTML.html:
* fast/dom/shadow/shadow-root-js-api.html:
* fast/dom/shadow/shadow-root-new.html:
* fast/dom/shadow/shadow-root-touch-listener-crash.html:
* fast/dom/shadow/shadow-select-attribute-featureset.html:
* fast/dom/shadow/shadow-tree-listener-clearance.html:
* fast/dom/shadow/shadowdom-dynamic-styling.html:
* fast/dom/shadow/shadowdom-for-form-associated-element-useragent.html:
* fast/dom/shadow/shadowdom-for-image-event.html:
* fast/dom/shadow/shadowdom-for-media.html:
* fast/dom/shadow/shadowroot-clonenode.html:
* fast/dom/shadow/shadowroot-type.html:
* fast/dom/shadow/style-of-distributed-node.html:
* fast/dom/shadow/style-scoped-not-enabled.html:
* fast/dom/shadow/suppress-mutation-events-in-shadow-characterdata.html:
* fast/dom/shadow/suppress-mutation-events-in-shadow.html:
* fast/dom/shadow/tab-order-iframe-and-shadow.html:
* fast/dom/shadow/title-element-in-shadow.html:
* fast/dom/shadow/touch-event-retargeting.html:
* fast/dom/shadow/touch-event.html:
* fast/dom/shadow/user-modify-inheritance.html:
* fast/dom/shadow/wheel-event-in-shadow-dom.html:
* fast/dom/shadow/wheel-event-on-input-in-shadow-dom.html:
* fast/dom/shared-inline-style-after-node-removal.html:
* fast/dom/styled-clone-inline-style-decl-parent-crash.html:
* fast/dom/styled-not-in-document-clone-inline-style-decl-parent-crash.html:
* fast/dom/subtree-modified-attributes.html:
* fast/dom/tabindex-defaults.html:
* fast/dom/timer-throttling-hidden-page.html:
* fast/dom/title-content-set-innerText-get.xhtml:
* fast/dom/webtiming-document-open.html:
* fast/dom/webtiming-navigate-within-document.html:
* fast/dom/webtiming.html:
* fast/dom/window-inner-size-scaling.html:
* fast/dom/window-scroll-scaling.html:
* fast/dom/wrapper-classes.html:
* fast/dom/wrapper-identity.html:
* fast/dom/wrapper-scope.html:
* fast/dom/zoom-scroll-page-test.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index c12e06b..5f4b7ab 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,5 +1,726 @@
2013-09-07 Mark Lam <mark.lam@apple.com>
+ Change fast/d* files to use pre and post js files in LayoutTests/resources.
+ https://bugs.webkit.org/show_bug.cgi?id=120973.
+
+ Rubber stamped by Filip Pizlo.
+
+ * fast/dom/Attr/access-after-element-destruction.html:
+ * fast/dom/Attr/change-id-via-attr-node-value.html:
+ * fast/dom/Attr/invalidate-nodelist-after-attr-setvalue.html:
+ * fast/dom/Attr/parent-adopt-node.html:
+ * fast/dom/Attr/script-tests/TEMPLATE.html:
+ * fast/dom/Attr/set-attribute-node-from-iframe.html:
+ * fast/dom/CSSStyleDeclaration/access-longest-css-property.html:
+ * fast/dom/CSSStyleDeclaration/css-computed-style-item.html:
+ * fast/dom/CSSStyleDeclaration/css-properties-case-sensitive.html:
+ * fast/dom/CSSStyleDeclaration/css-style-item.html:
+ * fast/dom/CSSStyleDeclaration/script-tests/TEMPLATE.html:
+ * fast/dom/CSSStyleDeclaration/transition-property-names.html:
+ * fast/dom/Comment/remove.html:
+ * fast/dom/DOMException/EventException.html:
+ * fast/dom/DOMException/RangeException.html:
+ * fast/dom/DOMException/XPathException.html:
+ * fast/dom/DOMException/prototype-object.html:
+ * fast/dom/DOMException/stack-trace.html:
+ * fast/dom/DOMImplementation/createDocument-namespace-err.html:
+ * fast/dom/DOMImplementation/createDocument-with-used-doctype.html:
+ * fast/dom/DOMImplementation/createDocumentType-err.html:
+ * fast/dom/DOMImplementation/createHTMLDocument-optional-title.html:
+ * fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html:
+ * fast/dom/DOMImplementation/script-tests/TEMPLATE.html:
+ * fast/dom/DOMURL/check-instanceof-domurl-functions.html:
+ * fast/dom/DeviceMotion/create-event.html:
+ * fast/dom/DeviceMotion/no-page-cache.html:
+ * fast/dom/DeviceMotion/optional-event-properties.html:
+ * fast/dom/DeviceMotion/script-tests/TEMPLATE.html:
+ * fast/dom/DeviceMotion/window-property.html:
+ * fast/dom/DeviceOrientation/add-listener-from-callback.html:
+ * fast/dom/DeviceOrientation/basic-operation.html:
+ * fast/dom/DeviceOrientation/create-event.html:
+ * fast/dom/DeviceOrientation/event-after-navigation.html:
+ * fast/dom/DeviceOrientation/multiple-frames.html:
+ * fast/dom/DeviceOrientation/no-page-cache.html:
+ * fast/dom/DeviceOrientation/no-synchronous-events.html:
+ * fast/dom/DeviceOrientation/null-values.html:
+ * fast/dom/DeviceOrientation/optional-event-properties.html:
+ * fast/dom/DeviceOrientation/script-tests/TEMPLATE.html:
+ * fast/dom/DeviceOrientation/updates.html:
+ * fast/dom/DeviceOrientation/window-property.html:
+ * fast/dom/Document/CaretRangeFromPoint/caretRangeFromPoint-in-zoom-and-scroll.html:
+ * fast/dom/Document/CaretRangeFromPoint/hittest-relative-to-viewport.html:
+ * fast/dom/Document/createAttributeNS-namespace-err.html:
+ * fast/dom/Document/createElement-invalid-names.html:
+ * fast/dom/Document/createElement-valid-names.html:
+ * fast/dom/Document/createElementNS-namespace-err.html:
+ * fast/dom/Document/document-current-script-async.html:
+ * fast/dom/Document/document-current-script.html:
+ * fast/dom/Document/document-title-get.html:
+ * fast/dom/Document/document-write-doctype.html:
+ * fast/dom/Document/invalid-domain-change-throws-exception.html:
+ * fast/dom/Document/readystate.html:
+ * fast/dom/Document/replace-child.html:
+ * fast/dom/Document/replaceChild-null-oldChild.html:
+ * fast/dom/Document/script-tests/TEMPLATE.html:
+ * fast/dom/Document/title-with-multiple-children.html:
+ * fast/dom/DocumentType/remove.html:
+ * fast/dom/Element/attr-param-typechecking.html:
+ * fast/dom/Element/attrisid-extra01.html:
+ * fast/dom/Element/class-list-move-between-document-with-different-quirks-mode.html:
+ * fast/dom/Element/class-list-update.html:
+ * fast/dom/Element/class-list.html:
+ * fast/dom/Element/class-name.html:
+ * fast/dom/Element/dimension-properties-unrendered.html:
+ * fast/dom/Element/element-traversal.html:
+ * fast/dom/Element/getAttribute-case-insensitivity.html:
+ * fast/dom/Element/getAttribute-check-case-sensitivity.html:
+ * fast/dom/Element/getBoundingClientRect-getClientRects-relative-to-viewport.html:
+ * fast/dom/Element/getBoundingClientRect.html:
+ * fast/dom/Element/getClientRects.html:
+ * fast/dom/Element/id-in-applet.html:
+ * fast/dom/Element/id-in-formcollection.html:
+ * fast/dom/Element/id-in-frame.html:
+ * fast/dom/Element/id-in-getelement01.html:
+ * fast/dom/Element/id-in-insert-hr.html:
+ * fast/dom/Element/id-in-map.html:
+ * fast/dom/Element/id-in-node-list-index01.html:
+ * fast/dom/Element/id-in-param.html:
+ * fast/dom/Element/node-list-identity.html:
+ * fast/dom/Element/prefix-setter-exception.html:
+ * fast/dom/Element/remove.html:
+ * fast/dom/Element/script-tests/TEMPLATE.html:
+ * fast/dom/Element/scrollLeft-Quirks.html:
+ * fast/dom/Element/scrollLeft.html:
+ * fast/dom/Element/scrollTop-Quirks.html:
+ * fast/dom/Element/scrollTop.html:
+ * fast/dom/Element/setAttributeNS-namespace-err.html:
+ * fast/dom/Element/setAttributeNode-case-insensitivity.html:
+ * fast/dom/EntityReference/readonly-exceptions.html:
+ * fast/dom/EntityReference/script-tests/TEMPLATE.html:
+ * fast/dom/Geolocation/argument-types.html:
+ * fast/dom/Geolocation/cached-position-iframe.html:
+ * fast/dom/Geolocation/callback-exception.html:
+ * fast/dom/Geolocation/callback-to-deleted-context.html:
+ * fast/dom/Geolocation/callback-to-remote-context.html:
+ * fast/dom/Geolocation/callback-to-remote-context2.html:
+ * fast/dom/Geolocation/clear-watch-invalid-id-crash.html:
+ * fast/dom/Geolocation/coordinates-interface-attributes.html:
+ * fast/dom/Geolocation/delayed-permission-allowed-for-multiple-requests.html:
+ * fast/dom/Geolocation/delayed-permission-allowed.html:
+ * fast/dom/Geolocation/delayed-permission-denied-for-multiple-requests.html:
+ * fast/dom/Geolocation/delayed-permission-denied.html:
+ * fast/dom/Geolocation/disconnected-frame-already.html:
+ * fast/dom/Geolocation/disconnected-frame-permission-denied.html:
+ * fast/dom/Geolocation/disconnected-frame.html:
+ * fast/dom/Geolocation/enabled.html:
+ * fast/dom/Geolocation/error-clear-watch.html:
+ * fast/dom/Geolocation/error.html:
+ * fast/dom/Geolocation/maximum-age.html:
+ * fast/dom/Geolocation/multiple-requests.html:
+ * fast/dom/Geolocation/no-page-cache.html:
+ * fast/dom/Geolocation/not-enough-arguments.html:
+ * fast/dom/Geolocation/notimer-after-unload.html:
+ * fast/dom/Geolocation/page-reload-cancel-permission-requests.html:
+ * fast/dom/Geolocation/permission-denied-already-clear-watch.html:
+ * fast/dom/Geolocation/permission-denied-already-error.html:
+ * fast/dom/Geolocation/permission-denied-already-success.html:
+ * fast/dom/Geolocation/permission-denied-stops-watches.html:
+ * fast/dom/Geolocation/permission-denied.html:
+ * fast/dom/Geolocation/position-string.html:
+ * fast/dom/Geolocation/reentrant-error.html:
+ * fast/dom/Geolocation/reentrant-permission-denied.html:
+ * fast/dom/Geolocation/reentrant-success.html:
+ * fast/dom/Geolocation/remove-remote-context-in-error-callback-crash.html:
+ * fast/dom/Geolocation/script-tests/TEMPLATE.html:
+ * fast/dom/Geolocation/success-clear-watch.html:
+ * fast/dom/Geolocation/success.html:
+ * fast/dom/Geolocation/timeout-clear-watch.html:
+ * fast/dom/Geolocation/timeout-zero.html:
+ * fast/dom/Geolocation/timeout.html:
+ * fast/dom/Geolocation/timestamp.html:
+ * fast/dom/Geolocation/watch.html:
+ * fast/dom/Geolocation/watchPosition-unique.html:
+ * fast/dom/Geolocation/window-close-crash.html:
+ * fast/dom/HTMLAnchorElement/anchor-ismap-crash.html:
+ * fast/dom/HTMLAnchorElement/get-href-attribute-port.html:
+ * fast/dom/HTMLAnchorElement/remove-rel-attribute.html:
+ * fast/dom/HTMLAnchorElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLAnchorElement/set-href-attribute-hash.html:
+ * fast/dom/HTMLAnchorElement/set-href-attribute-host.html:
+ * fast/dom/HTMLAnchorElement/set-href-attribute-hostname.html:
+ * fast/dom/HTMLAnchorElement/set-href-attribute-pathname.html:
+ * fast/dom/HTMLAnchorElement/set-href-attribute-port.html:
+ * fast/dom/HTMLAnchorElement/set-href-attribute-prevents-rebase.html:
+ * fast/dom/HTMLAnchorElement/set-href-attribute-protocol.html:
+ * fast/dom/HTMLAnchorElement/set-href-attribute-rebase.html:
+ * fast/dom/HTMLAnchorElement/set-href-attribute-search.html:
+ * fast/dom/HTMLAnchorElement/set-href-attribute-whitespace.html:
+ * fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document.html:
+ * fast/dom/HTMLBaseElement/multiple-base-elements.html:
+ * fast/dom/HTMLBaseElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLButtonElement/change-type.html:
+ * fast/dom/HTMLDocument/document-all.html:
+ * fast/dom/HTMLDocument/named-item-multiple-match.html:
+ * fast/dom/HTMLDocument/object-with-same-id-and-name.html:
+ * fast/dom/HTMLDocument/set-focus-on-valid-element.html:
+ * fast/dom/HTMLElement/attr-dir-auto-change-before-text-node.html:
+ * fast/dom/HTMLElement/attr-dir-auto-change-child-node.html:
+ * fast/dom/HTMLElement/attr-dir-auto-change-text-form-control.html:
+ * fast/dom/HTMLElement/attr-dir-auto-change-text.html:
+ * fast/dom/HTMLElement/attr-dir-auto-children.html:
+ * fast/dom/HTMLElement/attr-dir-auto-remove-add-children.html:
+ * fast/dom/HTMLElement/attr-dir-auto-text-form-control-child.html:
+ * fast/dom/HTMLElement/attr-dir-auto-text-form-control.html:
+ * fast/dom/HTMLElement/attr-dir-auto.html:
+ * fast/dom/HTMLElement/attr-dir-value-change.html:
+ * fast/dom/HTMLElement/attr-empty-string.html:
+ * fast/dom/HTMLElement/attr-false-string.html:
+ * fast/dom/HTMLElement/attr-invalid-string.html:
+ * fast/dom/HTMLElement/attr-missing-ancestor-false.html:
+ * fast/dom/HTMLElement/attr-missing-ancestor-true.html:
+ * fast/dom/HTMLElement/attr-missing-parent-ancestor-missing.html:
+ * fast/dom/HTMLElement/attr-missing-parent-false.html:
+ * fast/dom/HTMLElement/attr-missing-parent-true.html:
+ * fast/dom/HTMLElement/attr-true-string.html:
+ * fast/dom/HTMLElement/class-list-gc.html:
+ * fast/dom/HTMLElement/class-list-quirks.html:
+ * fast/dom/HTMLElement/class-list.html:
+ * fast/dom/HTMLElement/insertAdjacentHTML-errors.html:
+ * fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe.html:
+ * fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit.html:
+ * fast/dom/HTMLElement/iscontenteditable-designmodeon-ancestor.html:
+ * fast/dom/HTMLElement/iscontenteditable-designmodeon.html:
+ * fast/dom/HTMLElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLElement/set-false.html:
+ * fast/dom/HTMLElement/set-inherit-parent-false.html:
+ * fast/dom/HTMLElement/set-inherit-parent-true.html:
+ * fast/dom/HTMLElement/set-invalid-value.html:
+ * fast/dom/HTMLElement/set-true.html:
+ * fast/dom/HTMLElement/set-value-caseinsensitive.html:
+ * fast/dom/HTMLElement/spellcheck.html:
+ * fast/dom/HTMLElement/translate.html:
+ * fast/dom/HTMLFontElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLFontElement/size-attribute.html:
+ * fast/dom/HTMLFormElement/elements-not-in-document.html:
+ * fast/dom/HTMLFormElement/htmlformelement-indexed-getter.html:
+ * fast/dom/HTMLFormElement/invalid-form-field.html:
+ * fast/dom/HTMLFormElement/move-option-between-documents.html:
+ * fast/dom/HTMLFormElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLHeadElement/head-check.html:
+ * fast/dom/HTMLImageElement/image-lowsrc-getset.html:
+ * fast/dom/HTMLImageElement/parse-src.html:
+ * fast/dom/HTMLImageElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLInputElement/checked-pseudo-selector.html:
+ * fast/dom/HTMLInputElement/duplicate-element-names.html:
+ * fast/dom/HTMLInputElement/input-size-attribute.html:
+ * fast/dom/HTMLInputElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLInputElement/size-attribute.html:
+ * fast/dom/HTMLIsIndexElement/prototype-chain.html:
+ * fast/dom/HTMLKeygenElement/keygen.html:
+ * fast/dom/HTMLLabelElement/label-control.html:
+ * fast/dom/HTMLLabelElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLLinkElement/disabled-attribute.html:
+ * fast/dom/HTMLLinkElement/prefetch-beforeload.html:
+ * fast/dom/HTMLLinkElement/prefetch-onerror.html:
+ * fast/dom/HTMLLinkElement/prefetch-too-many-clients.html:
+ * fast/dom/HTMLLinkElement/subresource.html:
+ * fast/dom/HTMLMeterElement/meter-clone.html:
+ * fast/dom/HTMLMeterElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLMeterElement/set-meter-properties.html:
+ * fast/dom/HTMLObjectElement/beforeload-set-text-crash.xhtml:
+ * fast/dom/HTMLObjectElement/object-as-frame.html:
+ * fast/dom/HTMLOptionElement/collection-setter-getter.html:
+ * fast/dom/HTMLOutputElement/dom-settable-token-list.html:
+ * fast/dom/HTMLOutputElement/htmloutputelement-children-removed.html:
+ * fast/dom/HTMLOutputElement/htmloutputelement-reset-event.html:
+ * fast/dom/HTMLOutputElement/htmloutputelement-validity.html:
+ * fast/dom/HTMLOutputElement/htmloutputelement-value.html:
+ * fast/dom/HTMLOutputElement/htmloutputelement.html:
+ * fast/dom/HTMLProgressElement/progress-clone.html:
+ * fast/dom/HTMLProgressElement/progress-element-indeterminate-crash.html:
+ * fast/dom/HTMLProgressElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLProgressElement/set-progress-properties.html:
+ * fast/dom/HTMLScriptElement/async-false-inside-async-false-load.html:
+ * fast/dom/HTMLScriptElement/async-inline-script.html:
+ * fast/dom/HTMLScriptElement/async-onbeforeload.html:
+ * fast/dom/HTMLScriptElement/defer-inline-script.html:
+ * fast/dom/HTMLScriptElement/defer-onbeforeload.html:
+ * fast/dom/HTMLScriptElement/defer-script-invalid-url.html:
+ * fast/dom/HTMLScriptElement/move-in-beforeload.html:
+ * fast/dom/HTMLScriptElement/remove-in-beforeload.html:
+ * fast/dom/HTMLScriptElement/resources/frame.html:
+ * fast/dom/HTMLScriptElement/script-async-attr.html:
+ * fast/dom/HTMLScriptElement/script-for-attribute-unexpected-execution.html:
+ * fast/dom/HTMLSelectElement/change-multiple-preserve-selection.html:
+ * fast/dom/HTMLSelectElement/click-size-zero-no-crash.html:
+ * fast/dom/HTMLSelectElement/named-options.html:
+ * fast/dom/HTMLSelectElement/option-add-crash.html:
+ * fast/dom/HTMLSelectElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLSelectElement/select-element-item-argument.html:
+ * fast/dom/HTMLSelectElement/select-selectedIndex-multiple.html:
+ * fast/dom/HTMLSelectElement/select-selectedIndex-noAnchorIndex-crash.html:
+ * fast/dom/HTMLSelectElement/select-selectedIndex.html:
+ * fast/dom/HTMLSelectElement/select-selectedOptions.html:
+ * fast/dom/HTMLSelectElement/selected-false.html:
+ * fast/dom/HTMLSelectElement/selected-index-preserved-when-option-text-changes.html:
+ * fast/dom/HTMLTableElement/cellpadding-attribute.html:
+ * fast/dom/HTMLTableElement/early-acid3-65-excerpt.html:
+ * fast/dom/HTMLTableElement/early-acid3-66-excerpt.html:
+ * fast/dom/HTMLTableElement/rows.html:
+ * fast/dom/HTMLTableElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLTableElement/tBodies.html:
+ * fast/dom/HTMLTableElement/table-with-invalid-border.html:
+ * fast/dom/HTMLTableRowElement/cells.html:
+ * fast/dom/HTMLTableRowElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLTableSectionElement/rows.html:
+ * fast/dom/HTMLTableSectionElement/script-tests/TEMPLATE.html:
+ * fast/dom/HTMLTemplateElement/cloneNode.html:
+ * fast/dom/HTMLTemplateElement/contentWrappers.html:
+ * fast/dom/HTMLTemplateElement/cycles-in-shadow.html:
+ * fast/dom/HTMLTemplateElement/cycles.html:
+ * fast/dom/HTMLTemplateElement/inertContents.html:
+ * fast/dom/HTMLTemplateElement/innerHTML-inert.html:
+ * fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html:
+ * fast/dom/HTMLTemplateElement/ownerDocument.html:
+ * fast/dom/HTMLTemplateElement/ownerDocumentXHTML.xhtml:
+ * fast/dom/MutationObserver/added-out-of-order.html:
+ * fast/dom/MutationObserver/callback-arguments.html:
+ * fast/dom/MutationObserver/clear-transient-without-delivery.html:
+ * fast/dom/MutationObserver/create-during-delivery.html:
+ * fast/dom/MutationObserver/cross-document.html:
+ * fast/dom/MutationObserver/database-callback-delivery.html:
+ * fast/dom/MutationObserver/delivery-order.html:
+ * fast/dom/MutationObserver/disconnect-cancel-pending.html:
+ * fast/dom/MutationObserver/document-fragment-insertion.html:
+ * fast/dom/MutationObserver/filesystem-callback-delivery.html:
+ * fast/dom/MutationObserver/mutate-during-delivery.html:
+ * fast/dom/MutationObserver/mutation-observer-constructor.html:
+ * fast/dom/MutationObserver/mutation-observer-prefix.html:
+ * fast/dom/MutationObserver/mutation-record-constructor.html:
+ * fast/dom/MutationObserver/mutation-record-nullity.html:
+ * fast/dom/MutationObserver/observe-attributes.html:
+ * fast/dom/MutationObserver/observe-characterdata.html:
+ * fast/dom/MutationObserver/observe-childList.html:
+ * fast/dom/MutationObserver/observe-exceptions.html:
+ * fast/dom/MutationObserver/observe-subtree.html:
+ * fast/dom/MutationObserver/observer-wrapper-dropoff-transient.html:
+ * fast/dom/MutationObserver/observer-wrapper-dropoff.html:
+ * fast/dom/MutationObserver/parser-mutations.html:
+ * fast/dom/MutationObserver/removed-out-of-order.html:
+ * fast/dom/MutationObserver/shadow-dom.html:
+ * fast/dom/MutationObserver/takeRecords.html:
+ * fast/dom/MutationObserver/transient-gc-crash.html:
+ * fast/dom/Node/DOMNodeRemovedEvent.html:
+ * fast/dom/Node/contains-method.html:
+ * fast/dom/Node/initial-values.html:
+ * fast/dom/Node/isEqualNode.html:
+ * fast/dom/Node/normalize-with-cdata.html:
+ * fast/dom/Node/script-tests/TEMPLATE.html:
+ * fast/dom/NodeList/childNodes-reverse-iteration.html:
+ * fast/dom/NodeList/nodelist-item-assignment.html:
+ * fast/dom/NodeList/nodelist-item-call-as-function.html:
+ * fast/dom/NodeList/nodelist-item-with-index.html:
+ * fast/dom/NodeList/nodelist-item-with-name.html:
+ * fast/dom/NodeList/nodelist-namespace-invalidation.html:
+ * fast/dom/NodeList/nodelist-reachable.html:
+ * fast/dom/NodeList/script-tests/TEMPLATE.html:
+ * fast/dom/Orientation/create-event-orientationchange.html:
+ * fast/dom/Range/31684.html:
+ * fast/dom/Range/detach-range-during-deletecontents.html:
+ * fast/dom/Range/getBoundingClientRect-getClientRects-relative-to-viewport.html:
+ * fast/dom/Range/getBoundingClientRect.html:
+ * fast/dom/Range/getClientRects-vertical.html:
+ * fast/dom/Range/getClientRects.html:
+ * fast/dom/Range/insertNode-empty-fragment-crash.html:
+ * fast/dom/Range/mutation.html:
+ * fast/dom/Range/range-clone-empty.html:
+ * fast/dom/Range/range-exceptions.html:
+ * fast/dom/Range/range-insertNode-assertion.html:
+ * fast/dom/Range/range-insertNode-separate-endContainer.html:
+ * fast/dom/Range/range-insertNode-splittext.html:
+ * fast/dom/Range/range-intersectsNode-exception.html:
+ * fast/dom/Range/range-intersectsNode.html:
+ * fast/dom/Range/range-modifycontents.html:
+ * fast/dom/Range/script-tests/TEMPLATE.html:
+ * fast/dom/Range/select-node-different-document.html:
+ * fast/dom/Range/set-wrong-document-err.html:
+ * fast/dom/Range/split-text-in-range.html:
+ * fast/dom/Selection/collapseToX-empty-selection.html:
+ * fast/dom/Selection/getRangeAt.html:
+ * fast/dom/Selection/script-tests/TEMPLATE.html:
+ * fast/dom/SelectorAPI/attrname-case-insensitive.html:
+ * fast/dom/SelectorAPI/attrname-case-sensitive.xhtml:
+ * fast/dom/SelectorAPI/caseID-almost-strict.html:
+ * fast/dom/SelectorAPI/caseID-strict.html:
+ * fast/dom/SelectorAPI/caseID.html:
+ * fast/dom/SelectorAPI/caseTag.html:
+ * fast/dom/SelectorAPI/caseTagX.xhtml:
+ * fast/dom/SelectorAPI/detached-element.html:
+ * fast/dom/SelectorAPI/elementRoot.html:
+ * fast/dom/SelectorAPI/id-fastpath-almost-strict.html:
+ * fast/dom/SelectorAPI/id-fastpath-strict.html:
+ * fast/dom/SelectorAPI/id-fastpath.html:
+ * fast/dom/SelectorAPI/script-tests/TEMPLATE.html:
+ * fast/dom/SelectorAPI/undefined-null-stringify.html:
+ * fast/dom/SelectorAPI/viewless-document.html:
+ * fast/dom/StyleSheet/css-medialist-item.html:
+ * fast/dom/StyleSheet/detached-parent-rule-without-wrapper.html:
+ * fast/dom/StyleSheet/detached-sheet-owner-node-link.html:
+ * fast/dom/StyleSheet/detached-sheet-owner-node.html:
+ * fast/dom/StyleSheet/detached-style-pi.xhtml:
+ * fast/dom/StyleSheet/detached-style.html:
+ * fast/dom/StyleSheet/detached-stylesheet-without-wrapper.html:
+ * fast/dom/StyleSheet/gc-declaration-parent-rule.html:
+ * fast/dom/StyleSheet/gc-inline-style-cssvalues.html:
+ * fast/dom/StyleSheet/gc-parent-rule.html:
+ * fast/dom/StyleSheet/gc-parent-stylesheet.html:
+ * fast/dom/StyleSheet/gc-rule-children-wrappers.html:
+ * fast/dom/StyleSheet/gc-styleheet-wrapper.xhtml:
+ * fast/dom/StyleSheet/get-stylesheet-byname.html:
+ * fast/dom/StyleSheet/script-tests/TEMPLATE.html:
+ * fast/dom/Text/remove.html:
+ * fast/dom/Text/replaceWholeText.html:
+ * fast/dom/Text/script-tests/TEMPLATE.html:
+ * fast/dom/Text/text-should-not-have-attributes.html:
+ * fast/dom/TreeWalker/TreeWalker-currentNode.html:
+ * fast/dom/TreeWalker/acceptNode-filter.html:
+ * fast/dom/TreeWalker/filter-throw.html:
+ * fast/dom/TreeWalker/previousNodeLastChildReject.html:
+ * fast/dom/TreeWalker/previousSiblingLastChildSkip.html:
+ * fast/dom/TreeWalker/script-tests/TEMPLATE.html:
+ * fast/dom/TreeWalker/traversal-reject.html:
+ * fast/dom/TreeWalker/traversal-skip-most.html:
+ * fast/dom/TreeWalker/traversal-skip.html:
+ * fast/dom/URL-attribute-reflection.html:
+ * fast/dom/Window/HTMLBodyElement-window-eventListener-attributes.html:
+ * fast/dom/Window/HTMLFrameSetElement-window-eventListener-attributes.html:
+ * fast/dom/Window/Location/location-override-toString-on-proto-using-defineGetter.html:
+ * fast/dom/Window/Location/location-override-toString-on-proto-using-with.html:
+ * fast/dom/Window/Location/location-override-toString-on-proto.html:
+ * fast/dom/Window/Location/location-override-toString-using-defineGetter.html:
+ * fast/dom/Window/Location/location-override-toString-using-with.html:
+ * fast/dom/Window/Location/location-override-toString.html:
+ * fast/dom/Window/Location/location-override-valueOf-on-proto-using-defineGetter.html:
+ * fast/dom/Window/Location/location-override-valueOf-on-proto-using-with.html:
+ * fast/dom/Window/Location/location-override-valueOf-on-proto.html:
+ * fast/dom/Window/Location/location-override-valueOf-using-defineGetter.html:
+ * fast/dom/Window/Location/location-override-valueOf-using-with.html:
+ * fast/dom/Window/Location/location-override-valueOf.html:
+ * fast/dom/Window/Location/window-override-location-using-defineGetter.html:
+ * fast/dom/Window/Location/window-override-window-using-defineGetter.html:
+ * fast/dom/Window/Location/window-shadow-location-using-js-object-with-toString.html:
+ * fast/dom/Window/Location/window-shadow-location-using-string.html:
+ * fast/dom/Window/Location/window-shadow-window-using-js-object-with-location-field.html:
+ * fast/dom/Window/atob-btoa.html:
+ * fast/dom/Window/custom-constructors.html:
+ * fast/dom/Window/customized-property-survives-gc.html:
+ * fast/dom/Window/dispatchEvent.html:
+ * fast/dom/Window/es52-globals.html:
+ * fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements.html:
+ * fast/dom/Window/getMatchedCSSRules-with-pseudo-elements.html:
+ * fast/dom/Window/invalid-protocol.html:
+ * fast/dom/Window/new-window-opener.html:
+ * fast/dom/Window/open-window-min-size.html:
+ * fast/dom/Window/querySelectorAll-with-pseudo-elements.html:
+ * fast/dom/Window/replaceable.html:
+ * fast/dom/Window/resources/window-appendages-cleared-results.html:
+ * fast/dom/Window/script-tests/TEMPLATE.html:
+ * fast/dom/Window/setTimeout-setInterval-unique.html:
+ * fast/dom/Window/web-timing-minimal-performance-now.html:
+ * fast/dom/Window/webkitConvertPoint.html:
+ * fast/dom/Window/webkitConvertPointUpdateLayout.html:
+ * fast/dom/Window/window-constructor-presence.html:
+ * fast/dom/Window/window-custom-prototype.html:
+ * fast/dom/Window/window-frames-self-referential.html:
+ * fast/dom/Window/window-legacy-event-listener.html:
+ * fast/dom/Window/window-lookup-precedence.html:
+ * fast/dom/Window/window-property-shadowing-onclick.html:
+ * fast/dom/Window/window-resize-and-move-arguments.html:
+ * fast/dom/Window/window-resize-and-move-sub-frame.html:
+ * fast/dom/Window/window-resize-nan.html-disabled:
+ * fast/dom/Window/window-resize.html:
+ * fast/dom/Window/window-scroll-arguments.html:
+ * fast/dom/Window/window-xy-properties.html:
+ * fast/dom/XMLHttpRequest-constants.html:
+ * fast/dom/XMLHttpRequest-legacy-event-listener.html:
+ * fast/dom/XMLSerializer-doctype2.html:
+ * fast/dom/access-key-iframe.html:
+ * fast/dom/adopt-node-prevented.html:
+ * fast/dom/allowed-children.html:
+ * fast/dom/attr-style-too-lazy.html:
+ * fast/dom/attribute-legacy-colors.html:
+ * fast/dom/body-clone-link-decl-parent-crash.html:
+ * fast/dom/boolean-attribute-reflection.html:
+ * fast/dom/call-a-constructor-as-a-function.html:
+ * fast/dom/child-insertion-notify-crash.html:
+ * fast/dom/click-method-on-html-element.html:
+ * fast/dom/cloneNode-below-body-attribute-merging.html:
+ * fast/dom/collection-idempotence.html:
+ * fast/dom/collection-item.html:
+ * fast/dom/collection-length-should-not-be-overridden.html:
+ * fast/dom/collection-nameditem-move-between-documents.html:
+ * fast/dom/compare-document-position-disconnected-nodes.html:
+ * fast/dom/console-log-stack-overflow.html:
+ * fast/dom/constructed-objects-prototypes.html:
+ * fast/dom/constructor-proto.html:
+ * fast/dom/constructors-cached-navigate.html:
+ * fast/dom/constructors-cached.html:
+ * fast/dom/createDocumentType-ownerDocument.html:
+ * fast/dom/css-RGBValue.html:
+ * fast/dom/css-delete-doc.html:
+ * fast/dom/css-inline-style-declaration-crash.html:
+ * fast/dom/css-inline-style-important.html:
+ * fast/dom/css-mediarule-parentRule.html:
+ * fast/dom/custom/document-register-basic.html:
+ * fast/dom/custom/document-register-namespace.html:
+ * fast/dom/custom/document-register-reentrant-null-constructor.html:
+ * fast/dom/custom/document-register-reentrant-returning-fake.html:
+ * fast/dom/custom/document-register-reentrant-throwing-constructor.html:
+ * fast/dom/custom/document-register-type-extensions.html:
+ * fast/dom/custom/lifecycle-ready-createElement-recursion.html:
+ * fast/dom/custom/lifecycle-ready-createElement-reentrancy.html:
+ * fast/dom/custom/lifecycle-ready-creation-api.html:
+ * fast/dom/custom/lifecycle-ready-innerHTML.html:
+ * fast/dom/custom/lifecycle-ready-parser-script.html:
+ * fast/dom/custom/lifecycle-ready-paste.html:
+ * fast/dom/dataset-gc.html:
+ * fast/dom/dataset-xhtml.xhtml:
+ * fast/dom/dataset.html:
+ * fast/dom/document-all-select.html:
+ * fast/dom/document-all-tags.html:
+ * fast/dom/document-dir-property.html:
+ * fast/dom/document-head.html:
+ * fast/dom/document-importNode-arguments.html:
+ * fast/dom/document-set-body.html:
+ * fast/dom/dom-constructors.html:
+ * fast/dom/dom-parse-serialize-xmldecl.html:
+ * fast/dom/dom-serialize-namespace.html:
+ * fast/dom/domListEnumeration.html:
+ * fast/dom/domstring-attribute-reflection.html:
+ * fast/dom/domtimestamp-is-number.html:
+ * fast/dom/elementFromPoint-relative-to-viewport.html:
+ * fast/dom/elementFromPoint-scaled-scrolled.html:
+ * fast/dom/error-to-string-stack-overflow.html:
+ * fast/dom/event-attribute-availability.html:
+ * fast/dom/exception-in-binding.html:
+ * fast/dom/fragment-activation-focuses-target.html:
+ * fast/dom/gc-attribute-node.html:
+ * fast/dom/gc-dom-tree-lifetime.html:
+ * fast/dom/gc-image-element-2.html:
+ * fast/dom/gc-image-element.html:
+ * fast/dom/getElementById-consistency.html:
+ * fast/dom/getElementById-consistency2.html:
+ * fast/dom/getElementById-consistency3.html:
+ * fast/dom/getElementById-consistency4.html:
+ * fast/dom/getElementById-consistency5.html:
+ * fast/dom/getElementsByTagName-localName-matching.html:
+ * fast/dom/getElementsByTagName-localName-matching2.xhtml:
+ * fast/dom/getelementsbyname-invalidation-cache.html:
+ * fast/dom/getter-on-window-object2.html:
+ * fast/dom/html-attribute-types.html:
+ * fast/dom/html-collections-named-getter.html:
+ * fast/dom/htmlallcollection-call-with-index-caching-bug.html:
+ * fast/dom/htmlallcollection-detached-node-children.html:
+ * fast/dom/htmlallcollection-reachable.html:
+ * fast/dom/htmlcollection-length-after-item.html:
+ * fast/dom/htmlcollection-namedItem.html:
+ * fast/dom/htmlcollection-non-html.html:
+ * fast/dom/htmlcollection-protects-base.html:
+ * fast/dom/htmlcollection-reachable.html:
+ * fast/dom/icon-size-property.html:
+ * fast/dom/icon-url-change.html:
+ * fast/dom/icon-url-list-apple-touch.html:
+ * fast/dom/icon-url-list.html:
+ * fast/dom/iframe-inner-size-scaling.html:
+ * fast/dom/importNode-confusing-localName.html:
+ * fast/dom/incompatible-operations.html:
+ * fast/dom/inline-event-attributes-crash.html:
+ * fast/dom/inline-event-attributes-event-param-name.html:
+ * fast/dom/inline-event-attributes-lookup-removed-form.html:
+ * fast/dom/inline-event-attributes-lookup-removed.html:
+ * fast/dom/inline-event-attributes-lookup.html:
+ * fast/dom/inline-event-attributes-moved.html:
+ * fast/dom/inline-event-attributes-release.html:
+ * fast/dom/inner-text-first-letter.html:
+ * fast/dom/isEqualNode-after-removeAttribute.html:
+ * fast/dom/javascript-url-exception-isolation.html:
+ * fast/dom/location-new-window-no-crash.html:
+ * fast/dom/mutation-event-listener-with-dirty-inline-style-crash.html:
+ * fast/dom/node-childNodes-idempotence.html:
+ * fast/dom/node-filter-detached-iframe-crash.html:
+ * fast/dom/node-iterator-reference-node-removed.html:
+ * fast/dom/node-iterator-with-doctype-root.html:
+ * fast/dom/node-legacy-event-listener.html:
+ * fast/dom/node-move-to-new-document-crash-main.html:
+ * fast/dom/node-prefix-setter-namespace-exception.html:
+ * fast/dom/nodelist-item-parameter.html:
+ * fast/dom/nodesFromRect/nodesFromRect-basic.html:
+ * fast/dom/nodesFromRect/nodesFromRect-child-frame-content.html:
+ * fast/dom/nodesFromRect/nodesFromRect-culled-inline-with-linebreak.html:
+ * fast/dom/nodesFromRect/nodesFromRect-culled-inlines.html:
+ * fast/dom/nodesFromRect/nodesFromRect-embedded-frame-content.html:
+ * fast/dom/nodesFromRect/nodesFromRect-inline-image.html:
+ * fast/dom/nodesFromRect/nodesFromRect-inner-documents.html:
+ * fast/dom/nodesFromRect/nodesFromRect-links-and-text.html:
+ * fast/dom/nodesFromRect/nodesFromRect-rotate.html:
+ * fast/dom/nodesFromRect/nodesFromRect-scale.html:
+ * fast/dom/nodesFromRect/nodesFromRect-svg.html:
+ * fast/dom/nodesFromRect/nodesFromRect-table.html:
+ * fast/dom/non-numeric-values-numeric-parameters.html:
+ * fast/dom/normalize-attributes-mutation-event-crash.html:
+ * fast/dom/offset-position-writing-modes.html:
+ * fast/dom/ping-attribute-dom-binding.html:
+ * fast/dom/processing-instruction-appendChild-exceptions.xhtml:
+ * fast/dom/prototype-property.html:
+ * fast/dom/resources/navigation-type-matches-querystring.html:
+ * fast/dom/script-tests/TEMPLATE.html:
+ * fast/dom/script-tests/webtiming-document-open.js:
+ (testTimingWithDocumentOpen):
+ * fast/dom/scroll-element-to-rect-centered.html:
+ * fast/dom/scroll-element-to-rect.html:
+ * fast/dom/set-custom-validity-with-too-few-arguments.html:
+ * fast/dom/setAttribute-using-initial-input-value.html:
+ * fast/dom/setAttributeNS-prefix-and-null-namespace.html:
+ * fast/dom/setPrimitiveValue-exceptions.html:
+ * fast/dom/setter-type-enforcement.html:
+ * fast/dom/shadow/access-key.html:
+ * fast/dom/shadow/adopt-node-with-shadow-root.html:
+ * fast/dom/shadow/athost-atrules.html:
+ * fast/dom/shadow/base-in-shadow-tree.html:
+ * fast/dom/shadow/caret-range-from-point-in-nested-shadow.html:
+ * fast/dom/shadow/compare-document-position.html:
+ * fast/dom/shadow/composed-shadow-tree-walker-shadow-reprojection.html:
+ * fast/dom/shadow/composed-shadow-tree-walker.html:
+ * fast/dom/shadow/content-element-api.html:
+ * fast/dom/shadow/content-element-distributed-nodes.html:
+ * fast/dom/shadow/content-element-includer.html:
+ * fast/dom/shadow/content-element-outside-shadow.html:
+ * fast/dom/shadow/content-element-user-agent-shadow.html:
+ * fast/dom/shadow/content-reprojection-fallback-crash.html:
+ * fast/dom/shadow/content-selector-query.html:
+ * fast/dom/shadow/content-shadow-unknown.html:
+ * fast/dom/shadow/cppevent-in-shadow.html:
+ * fast/dom/shadow/cppevent-input-in-shadow.html:
+ * fast/dom/shadow/css-hostrule-api.html:
+ * fast/dom/shadow/distributed-pseudo-element-css-text.html:
+ * fast/dom/shadow/distribution-crash.html:
+ * fast/dom/shadow/drop-event-for-input-in-shadow.html:
+ * fast/dom/shadow/drop-event-in-shadow.html:
+ * fast/dom/shadow/element-from-point-in-nested-shadow.html:
+ * fast/dom/shadow/element-name-in-shadow.html:
+ * fast/dom/shadow/elementfrompoint.html:
+ * fast/dom/shadow/elements-in-frameless-document.html:
+ * fast/dom/shadow/events-stopped-at-shadow-boundary.html:
+ * fast/dom/shadow/focus-navigation-with-distributed-nodes.html:
+ * fast/dom/shadow/focus-navigation.html:
+ * fast/dom/shadow/form-in-shadow.html:
+ * fast/dom/shadow/gc-shadow.html:
+ * fast/dom/shadow/gesture-tap.html:
+ * fast/dom/shadow/get-distributed-nodes-orphan.html:
+ * fast/dom/shadow/get-element-by-id-in-shadow-mutation.html:
+ * fast/dom/shadow/get-element-by-id-in-shadow-root.html:
+ * fast/dom/shadow/getelementbyid-in-orphan.html:
+ * fast/dom/shadow/getelementbyid-shadow.html:
+ * fast/dom/shadow/has-content-elements.html:
+ * fast/dom/shadow/has-elementshadow.html:
+ * fast/dom/shadow/has-shadow-insertion-point.html:
+ * fast/dom/shadow/host-wrapper-reclaimed.html:
+ * fast/dom/shadow/iframe-shadow.html:
+ * fast/dom/shadow/input-shadow-nochange.html:
+ * fast/dom/shadow/insertion-parent-shadow.html:
+ * fast/dom/shadow/insertion-parent.html:
+ * fast/dom/shadow/insertion-point-list-menu-crash.html:
+ * fast/dom/shadow/insertion-point-resetStyleInheritance.html:
+ * fast/dom/shadow/insertion-point-video-crash.html:
+ * fast/dom/shadow/layout-tests-can-access-shadow.html:
+ * fast/dom/shadow/link-in-shadow-tree.html:
+ * fast/dom/shadow/multiple-shadowroot-adopt.html:
+ * fast/dom/shadow/multiple-shadowroot.html:
+ * fast/dom/shadow/nested-reprojection-inconsistent.html:
+ * fast/dom/shadow/nodetype.html:
+ * fast/dom/shadow/offset-parent-does-not-leak-ua-shadow.html:
+ * fast/dom/shadow/olderShadowRoot-in-shadowelement.html:
+ * fast/dom/shadow/parent-tree-scope-in-shadow.html:
+ * fast/dom/shadow/pseudo-attribute.html:
+ * fast/dom/shadow/pseudoclass-update-checked-option.html:
+ * fast/dom/shadow/pseudoclass-update-disabled-optgroup.html:
+ * fast/dom/shadow/pseudoclass-update-disabled-option.html:
+ * fast/dom/shadow/pseudoclass-update-enabled-optgroup.html:
+ * fast/dom/shadow/pseudoclass-update-enabled-option.html:
+ * fast/dom/shadow/resize-in-shadow-dom.html:
+ * fast/dom/shadow/select-in-shadowdom.html:
+ * fast/dom/shadow/selection-in-nested-shadow.html:
+ * fast/dom/shadow/selection-shouldnt-expose-shadow-dom.html:
+ * fast/dom/shadow/selections-in-shadow.html:
+ * fast/dom/shadow/shadow-aware-create-shadow-root.html:
+ * fast/dom/shadow/shadow-aware-shadow-root.html:
+ * fast/dom/shadow/shadow-boundary-events.html:
+ * fast/dom/shadow/shadow-contents-event.html:
+ * fast/dom/shadow/shadow-disable.html:
+ * fast/dom/shadow/shadow-dom-enabled-flag-whitelist.html:
+ * fast/dom/shadow/shadow-dom-event-dispatching-child-of-inactive-content.html:
+ * fast/dom/shadow/shadow-dom-event-dispatching-details-summary.html:
+ * fast/dom/shadow/shadow-dom-event-dispatching-distributed-child.html:
+ * fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node.html:
+ * fast/dom/shadow/shadow-dom-event-dispatching-fallback-nodes.html:
+ * fast/dom/shadow/shadow-dom-event-dispatching-manually-fired-with-same-related-target.html:
+ * fast/dom/shadow/shadow-dom-event-dispatching-manually-fired.html:
+ * fast/dom/shadow/shadow-dom-event-dispatching-multiple-shadow-roots.html:
+ * fast/dom/shadow/shadow-dom-event-dispatching-nested-shadow-roots.html:
+ * fast/dom/shadow/shadow-dom-event-dispatching-non-distributed-nodes.html:
+ * fast/dom/shadow/shadow-dom-event-dispatching-svg-in-shadow-subtree.html:
+ * fast/dom/shadow/shadow-dom-event-dispatching-text-node-in-shadow-root.html:
+ * fast/dom/shadow/shadow-dom-mouse-event-adjust-offset.html:
+ * fast/dom/shadow/shadow-element.html:
+ * fast/dom/shadow/shadow-hierarchy-exception.html:
+ * fast/dom/shadow/shadow-nested-pseudo-id.html:
+ * fast/dom/shadow/shadow-removechild-and-blur-event.html:
+ * fast/dom/shadow/shadow-root-activeElement.html:
+ * fast/dom/shadow/shadow-root-append.html:
+ * fast/dom/shadow/shadow-root-attached.html:
+ * fast/dom/shadow/shadow-root-blur.html:
+ * fast/dom/shadow/shadow-root-innerHTML.html:
+ * fast/dom/shadow/shadow-root-js-api.html:
+ * fast/dom/shadow/shadow-root-new.html:
+ * fast/dom/shadow/shadow-root-touch-listener-crash.html:
+ * fast/dom/shadow/shadow-select-attribute-featureset.html:
+ * fast/dom/shadow/shadow-tree-listener-clearance.html:
+ * fast/dom/shadow/shadowdom-dynamic-styling.html:
+ * fast/dom/shadow/shadowdom-for-form-associated-element-useragent.html:
+ * fast/dom/shadow/shadowdom-for-image-event.html:
+ * fast/dom/shadow/shadowdom-for-media.html:
+ * fast/dom/shadow/shadowroot-clonenode.html:
+ * fast/dom/shadow/shadowroot-type.html:
+ * fast/dom/shadow/style-of-distributed-node.html:
+ * fast/dom/shadow/style-scoped-not-enabled.html:
+ * fast/dom/shadow/suppress-mutation-events-in-shadow-characterdata.html:
+ * fast/dom/shadow/suppress-mutation-events-in-shadow.html:
+ * fast/dom/shadow/tab-order-iframe-and-shadow.html:
+ * fast/dom/shadow/title-element-in-shadow.html:
+ * fast/dom/shadow/touch-event-retargeting.html:
+ * fast/dom/shadow/touch-event.html:
+ * fast/dom/shadow/user-modify-inheritance.html:
+ * fast/dom/shadow/wheel-event-in-shadow-dom.html:
+ * fast/dom/shadow/wheel-event-on-input-in-shadow-dom.html:
+ * fast/dom/shared-inline-style-after-node-removal.html:
+ * fast/dom/styled-clone-inline-style-decl-parent-crash.html:
+ * fast/dom/styled-not-in-document-clone-inline-style-decl-parent-crash.html:
+ * fast/dom/subtree-modified-attributes.html:
+ * fast/dom/tabindex-defaults.html:
+ * fast/dom/timer-throttling-hidden-page.html:
+ * fast/dom/title-content-set-innerText-get.xhtml:
+ * fast/dom/webtiming-document-open.html:
+ * fast/dom/webtiming-navigate-within-document.html:
+ * fast/dom/webtiming.html:
+ * fast/dom/window-inner-size-scaling.html:
+ * fast/dom/window-scroll-scaling.html:
+ * fast/dom/wrapper-classes.html:
+ * fast/dom/wrapper-identity.html:
+ * fast/dom/wrapper-scope.html:
+ * fast/dom/zoom-scroll-page-test.html:
+
+2013-09-07 Mark Lam <mark.lam@apple.com>
+
Change fast/c* files to use pre and post js files in LayoutTests/resources.
https://bugs.webkit.org/show_bug.cgi?id=120970.
diff --git a/LayoutTests/fast/dom/Attr/access-after-element-destruction.html b/LayoutTests/fast/dom/Attr/access-after-element-destruction.html
index 12a14ca..c78a685 100644
--- a/LayoutTests/fast/dom/Attr/access-after-element-destruction.html
+++ b/LayoutTests/fast/dom/Attr/access-after-element-destruction.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/access-after-element-destruction.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/dom/Attr/change-id-via-attr-node-value.html b/LayoutTests/fast/dom/Attr/change-id-via-attr-node-value.html
index 5fbea1f..1ac9279 100644
--- a/LayoutTests/fast/dom/Attr/change-id-via-attr-node-value.html
+++ b/LayoutTests/fast/dom/Attr/change-id-via-attr-node-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 id="a">
<script>
@@ -213,6 +213,6 @@
shouldBe('document.body.id', '"p"');
shouldBe('document.body.getAttribute("id")', '"p"');
</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/dom/Attr/invalidate-nodelist-after-attr-setvalue.html b/LayoutTests/fast/dom/Attr/invalidate-nodelist-after-attr-setvalue.html
index 884343c..533d6c6 100644
--- a/LayoutTests/fast/dom/Attr/invalidate-nodelist-after-attr-setvalue.html
+++ b/LayoutTests/fast/dom/Attr/invalidate-nodelist-after-attr-setvalue.html
@@ -5,7 +5,7 @@
The cache should be cleared and childNodes[0].data should return the new value.<br>
You should see PASS below:</p>
<div id="console"></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
var element = document.createElement('div');
diff --git a/LayoutTests/fast/dom/Attr/parent-adopt-node.html b/LayoutTests/fast/dom/Attr/parent-adopt-node.html
index 68d1820..e6cfc10 100644
--- a/LayoutTests/fast/dom/Attr/parent-adopt-node.html
+++ b/LayoutTests/fast/dom/Attr/parent-adopt-node.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="target"></div>
@@ -13,6 +13,6 @@
anotherDocument.adoptNode(target);
shouldBe("attr.ownerDocument.title", "anotherDocument.title");
</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/dom/Attr/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/Attr/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/Attr/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/Attr/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/dom/Attr/set-attribute-node-from-iframe.html b/LayoutTests/fast/dom/Attr/set-attribute-node-from-iframe.html
index 974f58d..8a5d4c9 100644
--- a/LayoutTests/fast/dom/Attr/set-attribute-node-from-iframe.html
+++ b/LayoutTests/fast/dom/Attr/set-attribute-node-from-iframe.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>
<iframe></iframe>
@@ -17,6 +17,6 @@
shouldBe('elementToBeMoved.setAttributeNode(attr); attr.ownerDocument', 'document');
shouldBe('iframeDocument.documentElement.appendChild(elementToBeMoved); attr.ownerDocument', 'iframeDocument');
</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/dom/CSSStyleDeclaration/access-longest-css-property.html b/LayoutTests/fast/dom/CSSStyleDeclaration/access-longest-css-property.html
index f181fad..e3f2cca 100644
--- a/LayoutTests/fast/dom/CSSStyleDeclaration/access-longest-css-property.html
+++ b/LayoutTests/fast/dom/CSSStyleDeclaration/access-longest-css-property.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>
* {
-webkit-border-bottom-right-radius: 5px;
@@ -19,6 +19,6 @@
shouldBeEqualToString('document.getElementById("target").style.webkitBorderBottomRightRadius', '5px');
shouldBeEqualToString('document.body.style.webkitBorderBottomRightRadius', '');
</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/dom/CSSStyleDeclaration/css-computed-style-item.html b/LayoutTests/fast/dom/CSSStyleDeclaration/css-computed-style-item.html
index 28d7abb..094e4d6 100644
--- a/LayoutTests/fast/dom/CSSStyleDeclaration/css-computed-style-item.html
+++ b/LayoutTests/fast/dom/CSSStyleDeclaration/css-computed-style-item.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/css-computed-style-item.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/dom/CSSStyleDeclaration/css-properties-case-sensitive.html b/LayoutTests/fast/dom/CSSStyleDeclaration/css-properties-case-sensitive.html
index 4817dd7..4193768 100644
--- a/LayoutTests/fast/dom/CSSStyleDeclaration/css-properties-case-sensitive.html
+++ b/LayoutTests/fast/dom/CSSStyleDeclaration/css-properties-case-sensitive.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/css-properties-case-sensitive.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/dom/CSSStyleDeclaration/css-style-item.html b/LayoutTests/fast/dom/CSSStyleDeclaration/css-style-item.html
index b81cd88..550410e 100644
--- a/LayoutTests/fast/dom/CSSStyleDeclaration/css-style-item.html
+++ b/LayoutTests/fast/dom/CSSStyleDeclaration/css-style-item.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/css-style-item.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/dom/CSSStyleDeclaration/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/CSSStyleDeclaration/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/dom/CSSStyleDeclaration/transition-property-names.html b/LayoutTests/fast/dom/CSSStyleDeclaration/transition-property-names.html
index f547884..5dca29c 100644
--- a/LayoutTests/fast/dom/CSSStyleDeclaration/transition-property-names.html
+++ b/LayoutTests/fast/dom/CSSStyleDeclaration/transition-property-names.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/transition-property-names.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/dom/Comment/remove.html b/LayoutTests/fast/dom/Comment/remove.html
index d2a1789..06c1a92 100644
--- a/LayoutTests/fast/dom/Comment/remove.html
+++ b/LayoutTests/fast/dom/Comment/remove.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="test"></div>
<script>
@@ -15,4 +15,4 @@
shouldBe('testDiv.childNodes.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/dom/DOMException/EventException.html b/LayoutTests/fast/dom/DOMException/EventException.html
index 8bd5808..0979ba7 100644
--- a/LayoutTests/fast/dom/DOMException/EventException.html
+++ b/LayoutTests/fast/dom/DOMException/EventException.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="resources/EventException.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/dom/DOMException/RangeException.html b/LayoutTests/fast/dom/DOMException/RangeException.html
index d95a161..eaa758b 100644
--- a/LayoutTests/fast/dom/DOMException/RangeException.html
+++ b/LayoutTests/fast/dom/DOMException/RangeException.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="resources/RangeException.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/dom/DOMException/XPathException.html b/LayoutTests/fast/dom/DOMException/XPathException.html
index de0b3c9..ef139f8 100644
--- a/LayoutTests/fast/dom/DOMException/XPathException.html
+++ b/LayoutTests/fast/dom/DOMException/XPathException.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="resources/XPathException.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/dom/DOMException/prototype-object.html b/LayoutTests/fast/dom/DOMException/prototype-object.html
index 16f9f70..ec5cf41 100644
--- a/LayoutTests/fast/dom/DOMException/prototype-object.html
+++ b/LayoutTests/fast/dom/DOMException/prototype-object.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("This tests the prototype chain of DOMException objects.")
@@ -27,4 +27,4 @@
shouldBeEqualToString("e.message", "HierarchyRequestError: DOM Exception 3");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/DOMException/stack-trace.html b/LayoutTests/fast/dom/DOMException/stack-trace.html
index 271f22c..fd28041 100644
--- a/LayoutTests/fast/dom/DOMException/stack-trace.html
+++ b/LayoutTests/fast/dom/DOMException/stack-trace.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 (typeof testRunner !== 'undefined')
@@ -45,4 +45,4 @@
shouldBeTrue('e.stack === 42');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err.html b/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err.html
index 8061607..59fd316 100644
--- a/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err.html
+++ b/LayoutTests/fast/dom/DOMImplementation/createDocument-namespace-err.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/createDocument-namespace-err.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/dom/DOMImplementation/createDocument-with-used-doctype.html b/LayoutTests/fast/dom/DOMImplementation/createDocument-with-used-doctype.html
index 34dbb7d..0240224 100644
--- a/LayoutTests/fast/dom/DOMImplementation/createDocument-with-used-doctype.html
+++ b/LayoutTests/fast/dom/DOMImplementation/createDocument-with-used-doctype.html
@@ -1,5 +1,5 @@
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
window.jsTestIsAsync = true;
@@ -17,5 +17,5 @@
}
</script>
<iframe src="resources/createDocument-with-used-doctype-frame.html" onload="test()"></iframe>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err.html b/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err.html
index 4fb80d1..23aaccb 100644
--- a/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err.html
+++ b/LayoutTests/fast/dom/DOMImplementation/createDocumentType-err.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/createDocumentType-err.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/dom/DOMImplementation/createHTMLDocument-optional-title.html b/LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html
index fd9afa5..bed2a45 100644
--- a/LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html
+++ b/LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.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('This tests optional title for createHTMLDocument');
@@ -11,4 +11,4 @@
shouldBeEqualToString('document.implementation.createHTMLDocument("x").querySelector("title").textContent', 'x');
</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/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html b/LayoutTests/fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html
index ec6687b..252fcc7 100644
--- a/LayoutTests/fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.html
+++ b/LayoutTests/fast/dom/DOMImplementation/resources/createDocument-with-used-doctype-frame.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>
diff --git a/LayoutTests/fast/dom/DOMImplementation/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/DOMImplementation/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/DOMImplementation/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/DOMImplementation/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/dom/DOMURL/check-instanceof-domurl-functions.html b/LayoutTests/fast/dom/DOMURL/check-instanceof-domurl-functions.html
index abcf404..afa0b01 100644
--- a/LayoutTests/fast/dom/DOMURL/check-instanceof-domurl-functions.html
+++ b/LayoutTests/fast/dom/DOMURL/check-instanceof-domurl-functions.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>
@@ -25,6 +25,6 @@
shouldBeDefined("window.webkitURL.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/dom/DeviceMotion/create-event.html b/LayoutTests/fast/dom/DeviceMotion/create-event.html
index 212cae4..f2d6103 100644
--- a/LayoutTests/fast/dom/DeviceMotion/create-event.html
+++ b/LayoutTests/fast/dom/DeviceMotion/create-event.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="script-tests/create-event.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/dom/DeviceMotion/no-page-cache.html b/LayoutTests/fast/dom/DeviceMotion/no-page-cache.html
index 518d900..38f8e0b 100644
--- a/LayoutTests/fast/dom/DeviceMotion/no-page-cache.html
+++ b/LayoutTests/fast/dom/DeviceMotion/no-page-cache.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="script-tests/no-page-cache.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/dom/DeviceMotion/optional-event-properties.html b/LayoutTests/fast/dom/DeviceMotion/optional-event-properties.html
index 8b794d1..7695529 100644
--- a/LayoutTests/fast/dom/DeviceMotion/optional-event-properties.html
+++ b/LayoutTests/fast/dom/DeviceMotion/optional-event-properties.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="script-tests/optional-event-properties.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/dom/DeviceMotion/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/DeviceMotion/script-tests/TEMPLATE.html
index 01a6e6e..7536c3b 100644
--- a/LayoutTests/fast/dom/DeviceMotion/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/DeviceMotion/script-tests/TEMPLATE.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="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/dom/DeviceMotion/window-property.html b/LayoutTests/fast/dom/DeviceMotion/window-property.html
index 9f3fd3a..f675e28 100644
--- a/LayoutTests/fast/dom/DeviceMotion/window-property.html
+++ b/LayoutTests/fast/dom/DeviceMotion/window-property.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="script-tests/window-property.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/dom/DeviceOrientation/add-listener-from-callback.html b/LayoutTests/fast/dom/DeviceOrientation/add-listener-from-callback.html
index fad9984..6a2154e 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/add-listener-from-callback.html
+++ b/LayoutTests/fast/dom/DeviceOrientation/add-listener-from-callback.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="script-tests/add-listener-from-callback.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/dom/DeviceOrientation/basic-operation.html b/LayoutTests/fast/dom/DeviceOrientation/basic-operation.html
index 9157be6..157260c 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/basic-operation.html
+++ b/LayoutTests/fast/dom/DeviceOrientation/basic-operation.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="script-tests/basic-operation.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/dom/DeviceOrientation/create-event.html b/LayoutTests/fast/dom/DeviceOrientation/create-event.html
index 212cae4..f2d6103 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/create-event.html
+++ b/LayoutTests/fast/dom/DeviceOrientation/create-event.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="script-tests/create-event.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/dom/DeviceOrientation/event-after-navigation.html b/LayoutTests/fast/dom/DeviceOrientation/event-after-navigation.html
index 7057aef..8e0ca4c 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/event-after-navigation.html
+++ b/LayoutTests/fast/dom/DeviceOrientation/event-after-navigation.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="script-tests/event-after-navigation.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/dom/DeviceOrientation/multiple-frames.html b/LayoutTests/fast/dom/DeviceOrientation/multiple-frames.html
index 4f79cac..d3de12e 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/multiple-frames.html
+++ b/LayoutTests/fast/dom/DeviceOrientation/multiple-frames.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="script-tests/multiple-frames.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/dom/DeviceOrientation/no-page-cache.html b/LayoutTests/fast/dom/DeviceOrientation/no-page-cache.html
index 518d900..38f8e0b 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/no-page-cache.html
+++ b/LayoutTests/fast/dom/DeviceOrientation/no-page-cache.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="script-tests/no-page-cache.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/dom/DeviceOrientation/no-synchronous-events.html b/LayoutTests/fast/dom/DeviceOrientation/no-synchronous-events.html
index f3175ea..6e4e6fc 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/no-synchronous-events.html
+++ b/LayoutTests/fast/dom/DeviceOrientation/no-synchronous-events.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="script-tests/no-synchronous-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/dom/DeviceOrientation/null-values.html b/LayoutTests/fast/dom/DeviceOrientation/null-values.html
index 753ccbd..ea3aa33 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/null-values.html
+++ b/LayoutTests/fast/dom/DeviceOrientation/null-values.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="script-tests/null-values.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/dom/DeviceOrientation/optional-event-properties.html b/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties.html
index 8b794d1..7695529 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties.html
+++ b/LayoutTests/fast/dom/DeviceOrientation/optional-event-properties.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="script-tests/optional-event-properties.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/dom/DeviceOrientation/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/DeviceOrientation/script-tests/TEMPLATE.html
index 01a6e6e..7536c3b 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/DeviceOrientation/script-tests/TEMPLATE.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="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/dom/DeviceOrientation/updates.html b/LayoutTests/fast/dom/DeviceOrientation/updates.html
index 8225269..0f96193 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/updates.html
+++ b/LayoutTests/fast/dom/DeviceOrientation/updates.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="script-tests/updates.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/dom/DeviceOrientation/window-property.html b/LayoutTests/fast/dom/DeviceOrientation/window-property.html
index 9f3fd3a..f675e28 100644
--- a/LayoutTests/fast/dom/DeviceOrientation/window-property.html
+++ b/LayoutTests/fast/dom/DeviceOrientation/window-property.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="script-tests/window-property.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/dom/Document/CaretRangeFromPoint/caretRangeFromPoint-in-zoom-and-scroll.html b/LayoutTests/fast/dom/Document/CaretRangeFromPoint/caretRangeFromPoint-in-zoom-and-scroll.html
index 1d71a8e..6ff3d1b 100644
--- a/LayoutTests/fast/dom/Document/CaretRangeFromPoint/caretRangeFromPoint-in-zoom-and-scroll.html
+++ b/LayoutTests/fast/dom/Document/CaretRangeFromPoint/caretRangeFromPoint-in-zoom-and-scroll.html
@@ -1,7 +1,7 @@
<div id="first" style="width: 4000px; height: 1000px">A long text to test document caretRangeFromPoint. Test scroll, zoom, zoomAndScroll .................................... The End </div>
<ul id="console"></ul>
-<script src="../../../js/resources/js-test-pre.js"></script>
+<script src="../../../../resources/js-test-pre.js"></script>
<script>
function sendClick(x, y)
{
diff --git a/LayoutTests/fast/dom/Document/CaretRangeFromPoint/hittest-relative-to-viewport.html b/LayoutTests/fast/dom/Document/CaretRangeFromPoint/hittest-relative-to-viewport.html
index 5134082..ca6b2c2 100644
--- a/LayoutTests/fast/dom/Document/CaretRangeFromPoint/hittest-relative-to-viewport.html
+++ b/LayoutTests/fast/dom/Document/CaretRangeFromPoint/hittest-relative-to-viewport.html
@@ -1,4 +1,4 @@
-<script src="../../../js/resources/js-test-pre.js"></script>
+<script src="../../../../resources/js-test-pre.js"></script>
<style>
#subpixel-test {
width: 4.5px;
@@ -105,4 +105,4 @@
area.parentNode.removeChild(area);
}
</script>
-<script src="../../../js/resources/js-test-post.js"></script>
+<script src="../../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Document/createAttributeNS-namespace-err.html b/LayoutTests/fast/dom/Document/createAttributeNS-namespace-err.html
index b932caf..c5d4dbf 100644
--- a/LayoutTests/fast/dom/Document/createAttributeNS-namespace-err.html
+++ b/LayoutTests/fast/dom/Document/createAttributeNS-namespace-err.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/createAttributeNS-namespace-err.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/dom/Document/createElement-invalid-names.html b/LayoutTests/fast/dom/Document/createElement-invalid-names.html
index 9a3613d..1072ca5 100644
--- a/LayoutTests/fast/dom/Document/createElement-invalid-names.html
+++ b/LayoutTests/fast/dom/Document/createElement-invalid-names.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -28,6 +28,6 @@
for (var i in nameList)
shouldThrow("document.createElement('" + nameList[i] +"')", "'Error: InvalidCharacterError: DOM Exception 5'");
</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/dom/Document/createElement-valid-names.html b/LayoutTests/fast/dom/Document/createElement-valid-names.html
index 20833eb..6952e81 100644
--- a/LayoutTests/fast/dom/Document/createElement-valid-names.html
+++ b/LayoutTests/fast/dom/Document/createElement-valid-names.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -49,6 +49,6 @@
for (var i in nameList)
shouldBeNonNull("document.createElement('" + nameList[i] +"')");
</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/dom/Document/createElementNS-namespace-err.html b/LayoutTests/fast/dom/Document/createElementNS-namespace-err.html
index 877dc77..71dd8ff 100644
--- a/LayoutTests/fast/dom/Document/createElementNS-namespace-err.html
+++ b/LayoutTests/fast/dom/Document/createElementNS-namespace-err.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/createElementNS-namespace-err.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/dom/Document/document-current-script-async.html b/LayoutTests/fast/dom/Document/document-current-script-async.html
index 3d031b6..bfe834db 100644
--- a/LayoutTests/fast/dom/Document/document-current-script-async.html
+++ b/LayoutTests/fast/dom/Document/document-current-script-async.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>
jsTestIsAsync = true;
@@ -43,7 +43,7 @@
document.head.appendChild(script);
</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/dom/Document/document-current-script.html b/LayoutTests/fast/dom/Document/document-current-script.html
index 3084c69..1da07ea 100644
--- a/LayoutTests/fast/dom/Document/document-current-script.html
+++ b/LayoutTests/fast/dom/Document/document-current-script.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>
jsTestIsAsync = true;
@@ -62,7 +62,7 @@
logCurrentScript();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
<script>
window.onload = function() {
shouldBeNull('document.currentScript');
diff --git a/LayoutTests/fast/dom/Document/document-title-get.html b/LayoutTests/fast/dom/Document/document-title-get.html
index bd2e66e..8a989bd 100644
--- a/LayoutTests/fast/dom/Document/document-title-get.html
+++ b/LayoutTests/fast/dom/Document/document-title-get.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/document-title-get.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/dom/Document/document-write-doctype.html b/LayoutTests/fast/dom/Document/document-write-doctype.html
index 4c1dc1e..82c1a0b 100644
--- a/LayoutTests/fast/dom/Document/document-write-doctype.html
+++ b/LayoutTests/fast/dom/Document/document-write-doctype.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/document-write-doctype.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/dom/Document/invalid-domain-change-throws-exception.html b/LayoutTests/fast/dom/Document/invalid-domain-change-throws-exception.html
index 505ec7a..53b3c48 100644
--- a/LayoutTests/fast/dom/Document/invalid-domain-change-throws-exception.html
+++ b/LayoutTests/fast/dom/Document/invalid-domain-change-throws-exception.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/invalid-domain-change-throws-exception.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/dom/Document/readystate.html b/LayoutTests/fast/dom/Document/readystate.html
index bafb64a..0ead716 100644
--- a/LayoutTests/fast/dom/Document/readystate.html
+++ b/LayoutTests/fast/dom/Document/readystate.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 onload="allDone()">
Tests that the document's readyState is set properly at various phases during load.
@@ -77,6 +77,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/dom/Document/replace-child.html b/LayoutTests/fast/dom/Document/replace-child.html
index 50dfa2f..3b36904 100644
--- a/LayoutTests/fast/dom/Document/replace-child.html
+++ b/LayoutTests/fast/dom/Document/replace-child.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>
var parser = new DOMParser();
var serializer = new XMLSerializer();
@@ -77,4 +77,4 @@
shouldThrow('doc.replaceChild(newChild, doc.documentElement)');
});
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Document/replaceChild-null-oldChild.html b/LayoutTests/fast/dom/Document/replaceChild-null-oldChild.html
index cf8e2d3..9af21f0 100644
--- a/LayoutTests/fast/dom/Document/replaceChild-null-oldChild.html
+++ b/LayoutTests/fast/dom/Document/replaceChild-null-oldChild.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/replaceChild-null-oldChild.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/dom/Document/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/Document/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/Document/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/Document/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/dom/Document/title-with-multiple-children.html b/LayoutTests/fast/dom/Document/title-with-multiple-children.html
index 2d83cdb..6f91578 100644
--- a/LayoutTests/fast/dom/Document/title-with-multiple-children.html
+++ b/LayoutTests/fast/dom/Document/title-with-multiple-children.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/title-with-multiple-children.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/dom/DocumentType/remove.html b/LayoutTests/fast/dom/DocumentType/remove.html
index 10069f8..9eae630 100644
--- a/LayoutTests/fast/dom/DocumentType/remove.html
+++ b/LayoutTests/fast/dom/DocumentType/remove.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('This tests the DOM 4 remove method on a DocumentType node.');
@@ -12,4 +12,4 @@
shouldBe('document.childNodes.length', '1');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Element/attr-param-typechecking.html b/LayoutTests/fast/dom/Element/attr-param-typechecking.html
index e9946a6..721636a 100644
--- a/LayoutTests/fast/dom/Element/attr-param-typechecking.html
+++ b/LayoutTests/fast/dom/Element/attr-param-typechecking.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/attr-param-typechecking.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/dom/Element/attrisid-extra01.html b/LayoutTests/fast/dom/Element/attrisid-extra01.html
index 918d99e..78bd21b 100644
--- a/LayoutTests/fast/dom/Element/attrisid-extra01.html
+++ b/LayoutTests/fast/dom/Element/attrisid-extra01.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>
@@ -13,6 +13,6 @@
var attr = document.createAttributeNS("","id");
shouldBeTrue('attr.isId');
</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/dom/Element/class-list-move-between-document-with-different-quirks-mode.html b/LayoutTests/fast/dom/Element/class-list-move-between-document-with-different-quirks-mode.html
index 55b3c05..ac4ee5c 100644
--- a/LayoutTests/fast/dom/Element/class-list-move-between-document-with-different-quirks-mode.html
+++ b/LayoutTests/fast/dom/Element/class-list-move-between-document-with-different-quirks-mode.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></iframe>
<script>
@@ -34,4 +34,4 @@
shouldBeFalse('htmlElement.classList.contains("b")');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Element/class-list-update.html b/LayoutTests/fast/dom/Element/class-list-update.html
index a8f529a..42dd9d9 100644
--- a/LayoutTests/fast/dom/Element/class-list-update.html
+++ b/LayoutTests/fast/dom/Element/class-list-update.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('Tests that modifying the class attribute updates the classList on non HTMLElements');
@@ -20,4 +20,4 @@
updateAndTestClassAttr('xmlElement');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Element/class-list.html b/LayoutTests/fast/dom/Element/class-list.html
index 409ed36..5e2b03d 100644
--- a/LayoutTests/fast/dom/Element/class-list.html
+++ b/LayoutTests/fast/dom/Element/class-list.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('Tests that classList works on non HTMLElements');
@@ -17,4 +17,4 @@
shouldBeTrue('xmlElement.classList instanceof DOMTokenList');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Element/class-name.html b/LayoutTests/fast/dom/Element/class-name.html
index b5f8aab..2eb91fb 100644
--- a/LayoutTests/fast/dom/Element/class-name.html
+++ b/LayoutTests/fast/dom/Element/class-name.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('Tests that className works on non HTMLElements');
@@ -12,4 +12,4 @@
shouldBeEqualToString('xmlElement.className', 'foo');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Element/dimension-properties-unrendered.html b/LayoutTests/fast/dom/Element/dimension-properties-unrendered.html
index 1c531c6..55e58de 100644
--- a/LayoutTests/fast/dom/Element/dimension-properties-unrendered.html
+++ b/LayoutTests/fast/dom/Element/dimension-properties-unrendered.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/dimension-properties-unrendered.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/dom/Element/element-traversal.html b/LayoutTests/fast/dom/Element/element-traversal.html
index d35fac0..812e984 100644
--- a/LayoutTests/fast/dom/Element/element-traversal.html
+++ b/LayoutTests/fast/dom/Element/element-traversal.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/element-traversal.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/dom/Element/getAttribute-case-insensitivity.html b/LayoutTests/fast/dom/Element/getAttribute-case-insensitivity.html
index 728b3d4..5502666 100644
--- a/LayoutTests/fast/dom/Element/getAttribute-case-insensitivity.html
+++ b/LayoutTests/fast/dom/Element/getAttribute-case-insensitivity.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()
{
diff --git a/LayoutTests/fast/dom/Element/getAttribute-check-case-sensitivity.html b/LayoutTests/fast/dom/Element/getAttribute-check-case-sensitivity.html
index f29ec0a..0cd3142e 100644
--- a/LayoutTests/fast/dom/Element/getAttribute-check-case-sensitivity.html
+++ b/LayoutTests/fast/dom/Element/getAttribute-check-case-sensitivity.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/getAttribute-check-case-sensitivity.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/dom/Element/getBoundingClientRect-getClientRects-relative-to-viewport.html b/LayoutTests/fast/dom/Element/getBoundingClientRect-getClientRects-relative-to-viewport.html
index 8442555..cf57bca 100644
--- a/LayoutTests/fast/dom/Element/getBoundingClientRect-getClientRects-relative-to-viewport.html
+++ b/LayoutTests/fast/dom/Element/getBoundingClientRect-getClientRects-relative-to-viewport.html
@@ -1,4 +1,4 @@
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
#pusher {
width: 1000px;
@@ -48,4 +48,4 @@
area.parentNode.removeChild(area);
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Element/getBoundingClientRect.html b/LayoutTests/fast/dom/Element/getBoundingClientRect.html
index 9244997..ba7b689 100644
--- a/LayoutTests/fast/dom/Element/getBoundingClientRect.html
+++ b/LayoutTests/fast/dom/Element/getBoundingClientRect.html
@@ -1,4 +1,4 @@
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
body {
font: 16px Ahem;
@@ -170,4 +170,4 @@
area.parentNode.removeChild(area);
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Element/getClientRects.html b/LayoutTests/fast/dom/Element/getClientRects.html
index 694a2da..eca743d 100644
--- a/LayoutTests/fast/dom/Element/getClientRects.html
+++ b/LayoutTests/fast/dom/Element/getClientRects.html
@@ -1,4 +1,4 @@
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
#base {
width: 300px;
@@ -163,4 +163,4 @@
area.parentNode.removeChild(area);
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Element/id-in-applet.html b/LayoutTests/fast/dom/Element/id-in-applet.html
index cd35442..872f34f 100644
--- a/LayoutTests/fast/dom/Element/id-in-applet.html
+++ b/LayoutTests/fast/dom/Element/id-in-applet.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>
@@ -11,6 +11,6 @@
shouldBeNonNull('document.getElementById("applet1")');
</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/dom/Element/id-in-formcollection.html b/LayoutTests/fast/dom/Element/id-in-formcollection.html
index 717a4fe..0fb8a9f 100644
--- a/LayoutTests/fast/dom/Element/id-in-formcollection.html
+++ b/LayoutTests/fast/dom/Element/id-in-formcollection.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>
@@ -15,6 +15,6 @@
var elems = document.getElementById("idf1").elements;
shouldBe('elems["ids1"][1].getAttribute("name")', '"name2"');
</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/dom/Element/id-in-frame.html b/LayoutTests/fast/dom/Element/id-in-frame.html
index cf67d7e..b8567e8 100644
--- a/LayoutTests/fast/dom/Element/id-in-frame.html
+++ b/LayoutTests/fast/dom/Element/id-in-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>
@@ -13,6 +13,6 @@
shouldBeNonNull('document.getElementById("theframe")');
</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/dom/Element/id-in-getelement01.html b/LayoutTests/fast/dom/Element/id-in-getelement01.html
index da499cd..3ad4f6e 100644
--- a/LayoutTests/fast/dom/Element/id-in-getelement01.html
+++ b/LayoutTests/fast/dom/Element/id-in-getelement01.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>
@@ -25,6 +25,6 @@
elem = document.getElementById('id3');
shouldBeNull('elem');
</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/dom/Element/id-in-insert-hr.html b/LayoutTests/fast/dom/Element/id-in-insert-hr.html
index 7c11baf..f60977f 100644
--- a/LayoutTests/fast/dom/Element/id-in-insert-hr.html
+++ b/LayoutTests/fast/dom/Element/id-in-insert-hr.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>
@@ -19,6 +19,6 @@
shouldBeNonNull('hr');
</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/dom/Element/id-in-map.html b/LayoutTests/fast/dom/Element/id-in-map.html
index e15642a..24d3296 100644
--- a/LayoutTests/fast/dom/Element/id-in-map.html
+++ b/LayoutTests/fast/dom/Element/id-in-map.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>
@@ -11,6 +11,6 @@
shouldBeNonNull('document.getElementById("firstmap")');
</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/dom/Element/id-in-node-list-index01.html b/LayoutTests/fast/dom/Element/id-in-node-list-index01.html
index 045cdfa..c20ddb9 100644
--- a/LayoutTests/fast/dom/Element/id-in-node-list-index01.html
+++ b/LayoutTests/fast/dom/Element/id-in-node-list-index01.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>
@@ -16,6 +16,6 @@
shouldBe('elems["id1"].getAttribute("name")', '"name1"');
shouldBe('elems["id2"].getAttribute("name")', '"name2"');
</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/dom/Element/id-in-param.html b/LayoutTests/fast/dom/Element/id-in-param.html
index e2f2d83..4e86a6b 100644
--- a/LayoutTests/fast/dom/Element/id-in-param.html
+++ b/LayoutTests/fast/dom/Element/id-in-param.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>
@@ -13,6 +13,6 @@
shouldBeNonNull('document.getElementById("id1")');
</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/dom/Element/node-list-identity.html b/LayoutTests/fast/dom/Element/node-list-identity.html
index 5f9e9d4..5a8afe7 100644
--- a/LayoutTests/fast/dom/Element/node-list-identity.html
+++ b/LayoutTests/fast/dom/Element/node-list-identity.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>
@@ -17,6 +17,6 @@
areSame('document.getElementsByName("name1")');
areSame('document.getElementsByClassName("class1")');
</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/dom/Element/prefix-setter-exception.html b/LayoutTests/fast/dom/Element/prefix-setter-exception.html
index 12404c6..42c29e1 100644
--- a/LayoutTests/fast/dom/Element/prefix-setter-exception.html
+++ b/LayoutTests/fast/dom/Element/prefix-setter-exception.html
@@ -4,7 +4,7 @@
<title>DOM L3 Core: Node Interface prefix property setter</title>
</head>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('Test for the implementation of DOM Level 3 Core API on Node Interface: prefix setter. INVALID_CHARACTER_ERR: Raised if the specified prefix contains an illegal character according to the XML version in use specified in the Document.xmlVersion attribute. <a href="http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSPrefix">http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-NodeNSPrefix</a>');
@@ -32,7 +32,7 @@
test('"aa"', false);
test('"\\n"', 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/dom/Element/remove.html b/LayoutTests/fast/dom/Element/remove.html
index cdfa0e1..a510e6e 100644
--- a/LayoutTests/fast/dom/Element/remove.html
+++ b/LayoutTests/fast/dom/Element/remove.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="test"></div>
<script>
@@ -15,4 +15,4 @@
shouldBe('testDiv.childNodes.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/dom/Element/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/Element/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/Element/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/Element/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/dom/Element/scrollLeft-Quirks.html b/LayoutTests/fast/dom/Element/scrollLeft-Quirks.html
index e31bacf..7d70aee 100755
--- a/LayoutTests/fast/dom/Element/scrollLeft-Quirks.html
+++ b/LayoutTests/fast/dom/Element/scrollLeft-Quirks.html
@@ -6,7 +6,7 @@
width:9999px;
}
</style>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script>
function runTest() {
description('Tests that for quirks mode document.body.scrollLeft returns the scroll left value');
@@ -24,6 +24,6 @@
</head>
<body onload="runTest()">
<div></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/dom/Element/scrollLeft.html b/LayoutTests/fast/dom/Element/scrollLeft.html
index 9a6fa3f..4d9d68e 100755
--- a/LayoutTests/fast/dom/Element/scrollLeft.html
+++ b/LayoutTests/fast/dom/Element/scrollLeft.html
@@ -7,7 +7,7 @@
width:9999px;
}
</style>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script>
function runTest() {
description('Tests that for standard mode document.documentElement.scrollLeft returns the scroll left value');
@@ -25,6 +25,6 @@
</head>
<body onload="runTest()">
<div></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/dom/Element/scrollTop-Quirks.html b/LayoutTests/fast/dom/Element/scrollTop-Quirks.html
index 6016ad32..d05bd55 100755
--- a/LayoutTests/fast/dom/Element/scrollTop-Quirks.html
+++ b/LayoutTests/fast/dom/Element/scrollTop-Quirks.html
@@ -6,7 +6,7 @@
width:9999px;
}
</style>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script>
function runTest() {
description('Tests that for quirks mode document.body.scrollTop returns the scroll top value');
@@ -24,6 +24,6 @@
</head>
<body onload="runTest()">
<div></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/dom/Element/scrollTop.html b/LayoutTests/fast/dom/Element/scrollTop.html
index 8323780..f0e5c37 100755
--- a/LayoutTests/fast/dom/Element/scrollTop.html
+++ b/LayoutTests/fast/dom/Element/scrollTop.html
@@ -7,7 +7,7 @@
width:9999px;
}
</style>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script>
function runTest() {
description('Tests that for standard mode document.documentElement.scrollTop returns the scroll top value');
@@ -25,6 +25,6 @@
</head>
<body onload="runTest()">
<div></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/dom/Element/setAttributeNS-namespace-err.html b/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err.html
index 35beda6..e529dab 100644
--- a/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err.html
+++ b/LayoutTests/fast/dom/Element/setAttributeNS-namespace-err.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/setAttributeNS-namespace-err.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/dom/Element/setAttributeNode-case-insensitivity.html b/LayoutTests/fast/dom/Element/setAttributeNode-case-insensitivity.html
index dbba85e..0fcd796 100644
--- a/LayoutTests/fast/dom/Element/setAttributeNode-case-insensitivity.html
+++ b/LayoutTests/fast/dom/Element/setAttributeNode-case-insensitivity.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 runTest()
{
diff --git a/LayoutTests/fast/dom/EntityReference/readonly-exceptions.html b/LayoutTests/fast/dom/EntityReference/readonly-exceptions.html
index 8db0e27..3fb1641 100644
--- a/LayoutTests/fast/dom/EntityReference/readonly-exceptions.html
+++ b/LayoutTests/fast/dom/EntityReference/readonly-exceptions.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/readonly-exceptions.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/dom/EntityReference/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/EntityReference/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/EntityReference/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/EntityReference/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/dom/Geolocation/argument-types.html b/LayoutTests/fast/dom/Geolocation/argument-types.html
index 51aa535..eb4f539 100644
--- a/LayoutTests/fast/dom/Geolocation/argument-types.html
+++ b/LayoutTests/fast/dom/Geolocation/argument-types.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/argument-types.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/dom/Geolocation/cached-position-iframe.html b/LayoutTests/fast/dom/Geolocation/cached-position-iframe.html
index 87351c8..ac11603 100644
--- a/LayoutTests/fast/dom/Geolocation/cached-position-iframe.html
+++ b/LayoutTests/fast/dom/Geolocation/cached-position-iframe.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/cached-position-iframe.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/dom/Geolocation/callback-exception.html b/LayoutTests/fast/dom/Geolocation/callback-exception.html
index ff14018..d541907 100644
--- a/LayoutTests/fast/dom/Geolocation/callback-exception.html
+++ b/LayoutTests/fast/dom/Geolocation/callback-exception.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/callback-exception.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/dom/Geolocation/callback-to-deleted-context.html b/LayoutTests/fast/dom/Geolocation/callback-to-deleted-context.html
index b322434..75eeb33 100644
--- a/LayoutTests/fast/dom/Geolocation/callback-to-deleted-context.html
+++ b/LayoutTests/fast/dom/Geolocation/callback-to-deleted-context.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/callback-to-deleted-context.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/dom/Geolocation/callback-to-remote-context.html b/LayoutTests/fast/dom/Geolocation/callback-to-remote-context.html
index 69fce0c..db00e54 100644
--- a/LayoutTests/fast/dom/Geolocation/callback-to-remote-context.html
+++ b/LayoutTests/fast/dom/Geolocation/callback-to-remote-context.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/callback-to-remote-context.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/dom/Geolocation/callback-to-remote-context2.html b/LayoutTests/fast/dom/Geolocation/callback-to-remote-context2.html
index 34d9215..0bb96af 100644
--- a/LayoutTests/fast/dom/Geolocation/callback-to-remote-context2.html
+++ b/LayoutTests/fast/dom/Geolocation/callback-to-remote-context2.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/callback-to-remote-context2.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/dom/Geolocation/clear-watch-invalid-id-crash.html b/LayoutTests/fast/dom/Geolocation/clear-watch-invalid-id-crash.html
index f7f45cc..b4078e6 100644
--- a/LayoutTests/fast/dom/Geolocation/clear-watch-invalid-id-crash.html
+++ b/LayoutTests/fast/dom/Geolocation/clear-watch-invalid-id-crash.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/clear-watch-invalid-id-crash.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/dom/Geolocation/coordinates-interface-attributes.html b/LayoutTests/fast/dom/Geolocation/coordinates-interface-attributes.html
index ff40113..90eb039 100644
--- a/LayoutTests/fast/dom/Geolocation/coordinates-interface-attributes.html
+++ b/LayoutTests/fast/dom/Geolocation/coordinates-interface-attributes.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>
<script>
@@ -62,6 +62,6 @@
runNextTest();
</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/dom/Geolocation/delayed-permission-allowed-for-multiple-requests.html b/LayoutTests/fast/dom/Geolocation/delayed-permission-allowed-for-multiple-requests.html
index 8995a13..f34475d 100644
--- a/LayoutTests/fast/dom/Geolocation/delayed-permission-allowed-for-multiple-requests.html
+++ b/LayoutTests/fast/dom/Geolocation/delayed-permission-allowed-for-multiple-requests.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/delayed-permission-allowed-for-multiple-requests.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/dom/Geolocation/delayed-permission-allowed.html b/LayoutTests/fast/dom/Geolocation/delayed-permission-allowed.html
index 8a520d2..5bf3a2a 100644
--- a/LayoutTests/fast/dom/Geolocation/delayed-permission-allowed.html
+++ b/LayoutTests/fast/dom/Geolocation/delayed-permission-allowed.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/delayed-permission-allowed.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/dom/Geolocation/delayed-permission-denied-for-multiple-requests.html b/LayoutTests/fast/dom/Geolocation/delayed-permission-denied-for-multiple-requests.html
index 0d3aa0d..5a426d2 100644
--- a/LayoutTests/fast/dom/Geolocation/delayed-permission-denied-for-multiple-requests.html
+++ b/LayoutTests/fast/dom/Geolocation/delayed-permission-denied-for-multiple-requests.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/delayed-permission-denied-for-multiple-requests.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/dom/Geolocation/delayed-permission-denied.html b/LayoutTests/fast/dom/Geolocation/delayed-permission-denied.html
index a319b30..cbf36bb 100644
--- a/LayoutTests/fast/dom/Geolocation/delayed-permission-denied.html
+++ b/LayoutTests/fast/dom/Geolocation/delayed-permission-denied.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/delayed-permission-denied.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/dom/Geolocation/disconnected-frame-already.html b/LayoutTests/fast/dom/Geolocation/disconnected-frame-already.html
index 3d0ee58..0012840 100644
--- a/LayoutTests/fast/dom/Geolocation/disconnected-frame-already.html
+++ b/LayoutTests/fast/dom/Geolocation/disconnected-frame-already.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/disconnected-frame-already.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/dom/Geolocation/disconnected-frame-permission-denied.html b/LayoutTests/fast/dom/Geolocation/disconnected-frame-permission-denied.html
index bbff5c6..8b3523e 100644
--- a/LayoutTests/fast/dom/Geolocation/disconnected-frame-permission-denied.html
+++ b/LayoutTests/fast/dom/Geolocation/disconnected-frame-permission-denied.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/disconnected-frame-permission-denied.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/dom/Geolocation/disconnected-frame.html b/LayoutTests/fast/dom/Geolocation/disconnected-frame.html
index b8a230e..d74a8e4 100644
--- a/LayoutTests/fast/dom/Geolocation/disconnected-frame.html
+++ b/LayoutTests/fast/dom/Geolocation/disconnected-frame.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/disconnected-frame.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/dom/Geolocation/enabled.html b/LayoutTests/fast/dom/Geolocation/enabled.html
index 9a8c3aa..ae2990d 100644
--- a/LayoutTests/fast/dom/Geolocation/enabled.html
+++ b/LayoutTests/fast/dom/Geolocation/enabled.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/enabled.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/dom/Geolocation/error-clear-watch.html b/LayoutTests/fast/dom/Geolocation/error-clear-watch.html
index 6c61978..0660fdf 100644
--- a/LayoutTests/fast/dom/Geolocation/error-clear-watch.html
+++ b/LayoutTests/fast/dom/Geolocation/error-clear-watch.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>
<script>
@@ -26,6 +26,6 @@
window.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/dom/Geolocation/error.html b/LayoutTests/fast/dom/Geolocation/error.html
index 2b7db15..feeb332 100644
--- a/LayoutTests/fast/dom/Geolocation/error.html
+++ b/LayoutTests/fast/dom/Geolocation/error.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/error.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/dom/Geolocation/maximum-age.html b/LayoutTests/fast/dom/Geolocation/maximum-age.html
index 3760b6a..f9c6339 100644
--- a/LayoutTests/fast/dom/Geolocation/maximum-age.html
+++ b/LayoutTests/fast/dom/Geolocation/maximum-age.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/maximum-age.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/dom/Geolocation/multiple-requests.html b/LayoutTests/fast/dom/Geolocation/multiple-requests.html
index 444736c..af92b69 100644
--- a/LayoutTests/fast/dom/Geolocation/multiple-requests.html
+++ b/LayoutTests/fast/dom/Geolocation/multiple-requests.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/multiple-requests.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/dom/Geolocation/no-page-cache.html b/LayoutTests/fast/dom/Geolocation/no-page-cache.html
index 8371b8d..5d10d91 100644
--- a/LayoutTests/fast/dom/Geolocation/no-page-cache.html
+++ b/LayoutTests/fast/dom/Geolocation/no-page-cache.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/no-page-cache.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/dom/Geolocation/not-enough-arguments.html b/LayoutTests/fast/dom/Geolocation/not-enough-arguments.html
index dfda445..145f1bd 100644
--- a/LayoutTests/fast/dom/Geolocation/not-enough-arguments.html
+++ b/LayoutTests/fast/dom/Geolocation/not-enough-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>
@@ -11,6 +11,6 @@
shouldThrow("window.navigator.geolocation.watchPosition()");
shouldThrow("window.navigator.geolocation.clearWatch()");
</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/dom/Geolocation/notimer-after-unload.html b/LayoutTests/fast/dom/Geolocation/notimer-after-unload.html
index 1158364..179ab7a 100644
--- a/LayoutTests/fast/dom/Geolocation/notimer-after-unload.html
+++ b/LayoutTests/fast/dom/Geolocation/notimer-after-unload.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/notimer-after-unload.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/dom/Geolocation/page-reload-cancel-permission-requests.html b/LayoutTests/fast/dom/Geolocation/page-reload-cancel-permission-requests.html
index d8aaf58..6402501 100644
--- a/LayoutTests/fast/dom/Geolocation/page-reload-cancel-permission-requests.html
+++ b/LayoutTests/fast/dom/Geolocation/page-reload-cancel-permission-requests.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/page-reload-cancel-permission-requests.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/dom/Geolocation/permission-denied-already-clear-watch.html b/LayoutTests/fast/dom/Geolocation/permission-denied-already-clear-watch.html
index cb101b4..265307f 100644
--- a/LayoutTests/fast/dom/Geolocation/permission-denied-already-clear-watch.html
+++ b/LayoutTests/fast/dom/Geolocation/permission-denied-already-clear-watch.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/permission-denied-already-clear-watch.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/dom/Geolocation/permission-denied-already-error.html b/LayoutTests/fast/dom/Geolocation/permission-denied-already-error.html
index 11cfd8a..816cb36 100644
--- a/LayoutTests/fast/dom/Geolocation/permission-denied-already-error.html
+++ b/LayoutTests/fast/dom/Geolocation/permission-denied-already-error.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/permission-denied-already-error.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/dom/Geolocation/permission-denied-already-success.html b/LayoutTests/fast/dom/Geolocation/permission-denied-already-success.html
index 0df1b71..75530e1 100644
--- a/LayoutTests/fast/dom/Geolocation/permission-denied-already-success.html
+++ b/LayoutTests/fast/dom/Geolocation/permission-denied-already-success.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/permission-denied-already-success.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/dom/Geolocation/permission-denied-stops-watches.html b/LayoutTests/fast/dom/Geolocation/permission-denied-stops-watches.html
index af06684..2d5cfba 100644
--- a/LayoutTests/fast/dom/Geolocation/permission-denied-stops-watches.html
+++ b/LayoutTests/fast/dom/Geolocation/permission-denied-stops-watches.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/permission-denied-stops-watches.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/dom/Geolocation/permission-denied.html b/LayoutTests/fast/dom/Geolocation/permission-denied.html
index ce69519..f4fe4dc 100644
--- a/LayoutTests/fast/dom/Geolocation/permission-denied.html
+++ b/LayoutTests/fast/dom/Geolocation/permission-denied.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/permission-denied.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/dom/Geolocation/position-string.html b/LayoutTests/fast/dom/Geolocation/position-string.html
index 3087286..fa0c170 100644
--- a/LayoutTests/fast/dom/Geolocation/position-string.html
+++ b/LayoutTests/fast/dom/Geolocation/position-string.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/position-string.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/dom/Geolocation/reentrant-error.html b/LayoutTests/fast/dom/Geolocation/reentrant-error.html
index 7a23968..3c24ed2 100644
--- a/LayoutTests/fast/dom/Geolocation/reentrant-error.html
+++ b/LayoutTests/fast/dom/Geolocation/reentrant-error.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/reentrant-error.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/dom/Geolocation/reentrant-permission-denied.html b/LayoutTests/fast/dom/Geolocation/reentrant-permission-denied.html
index 0717f65..d96e8d0 100644
--- a/LayoutTests/fast/dom/Geolocation/reentrant-permission-denied.html
+++ b/LayoutTests/fast/dom/Geolocation/reentrant-permission-denied.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/reentrant-permission-denied.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/dom/Geolocation/reentrant-success.html b/LayoutTests/fast/dom/Geolocation/reentrant-success.html
index 7db8543..521ea90 100644
--- a/LayoutTests/fast/dom/Geolocation/reentrant-success.html
+++ b/LayoutTests/fast/dom/Geolocation/reentrant-success.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/reentrant-success.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/dom/Geolocation/remove-remote-context-in-error-callback-crash.html b/LayoutTests/fast/dom/Geolocation/remove-remote-context-in-error-callback-crash.html
index 62a1578..a641f81c 100644
--- a/LayoutTests/fast/dom/Geolocation/remove-remote-context-in-error-callback-crash.html
+++ b/LayoutTests/fast/dom/Geolocation/remove-remote-context-in-error-callback-crash.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/remove-remote-context-in-error-callback-crash.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/dom/Geolocation/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/Geolocation/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/Geolocation/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/Geolocation/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/dom/Geolocation/success-clear-watch.html b/LayoutTests/fast/dom/Geolocation/success-clear-watch.html
index 56daefa..6bded78 100644
--- a/LayoutTests/fast/dom/Geolocation/success-clear-watch.html
+++ b/LayoutTests/fast/dom/Geolocation/success-clear-watch.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>
<script>
@@ -30,6 +30,6 @@
window.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/dom/Geolocation/success.html b/LayoutTests/fast/dom/Geolocation/success.html
index 8c975fa..b0a6db4 100644
--- a/LayoutTests/fast/dom/Geolocation/success.html
+++ b/LayoutTests/fast/dom/Geolocation/success.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/success.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/dom/Geolocation/timeout-clear-watch.html b/LayoutTests/fast/dom/Geolocation/timeout-clear-watch.html
index 6fba82c..9e66150 100644
--- a/LayoutTests/fast/dom/Geolocation/timeout-clear-watch.html
+++ b/LayoutTests/fast/dom/Geolocation/timeout-clear-watch.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/timeout-clear-watch.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/dom/Geolocation/timeout-zero.html b/LayoutTests/fast/dom/Geolocation/timeout-zero.html
index 93373f6..8b7adaa 100644
--- a/LayoutTests/fast/dom/Geolocation/timeout-zero.html
+++ b/LayoutTests/fast/dom/Geolocation/timeout-zero.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/timeout-zero.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/dom/Geolocation/timeout.html b/LayoutTests/fast/dom/Geolocation/timeout.html
index 7825e86..ead7848 100644
--- a/LayoutTests/fast/dom/Geolocation/timeout.html
+++ b/LayoutTests/fast/dom/Geolocation/timeout.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/timeout.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/dom/Geolocation/timestamp.html b/LayoutTests/fast/dom/Geolocation/timestamp.html
index 0214056..165ddf7 100644
--- a/LayoutTests/fast/dom/Geolocation/timestamp.html
+++ b/LayoutTests/fast/dom/Geolocation/timestamp.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/timestamp.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/dom/Geolocation/watch.html b/LayoutTests/fast/dom/Geolocation/watch.html
index 7a339ef..c243c28 100644
--- a/LayoutTests/fast/dom/Geolocation/watch.html
+++ b/LayoutTests/fast/dom/Geolocation/watch.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/watch.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/dom/Geolocation/watchPosition-unique.html b/LayoutTests/fast/dom/Geolocation/watchPosition-unique.html
index bbb5650..13380d4b 100644
--- a/LayoutTests/fast/dom/Geolocation/watchPosition-unique.html
+++ b/LayoutTests/fast/dom/Geolocation/watchPosition-unique.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>
<script>
@@ -23,6 +23,6 @@
shouldBeTrue("watchID2 !== watchID3");
</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/dom/Geolocation/window-close-crash.html b/LayoutTests/fast/dom/Geolocation/window-close-crash.html
index 9b4bcd0..6cb25f7 100644
--- a/LayoutTests/fast/dom/Geolocation/window-close-crash.html
+++ b/LayoutTests/fast/dom/Geolocation/window-close-crash.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/window-close-crash.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/dom/HTMLAnchorElement/anchor-ismap-crash.html b/LayoutTests/fast/dom/HTMLAnchorElement/anchor-ismap-crash.html
index c3d972d..546baf6 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/anchor-ismap-crash.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/anchor-ismap-crash.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<a href="javascript:">foo<img ismap style="content:'bar'; display:block;"></a>
<script>
document.getElementsByTagName('img')[0].click();
testPassed('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/dom/HTMLAnchorElement/get-href-attribute-port.html b/LayoutTests/fast/dom/HTMLAnchorElement/get-href-attribute-port.html
index dcf9a8c..88ff53c 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/get-href-attribute-port.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/get-href-attribute-port.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/get-href-attribute-port.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/dom/HTMLAnchorElement/remove-rel-attribute.html b/LayoutTests/fast/dom/HTMLAnchorElement/remove-rel-attribute.html
index e968ce1..27c9d0a 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/remove-rel-attribute.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/remove-rel-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>
<a id=target href="http://www.webkit.org" rel=noreferrer>WebKit</a>
@@ -9,6 +9,6 @@
description("Verify that removing the \"rel\" attribute from an anchor element does not cause a crash.")
document.getElementById('target').removeAttribute('rel');
</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/dom/HTMLAnchorElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/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/dom/HTMLAnchorElement/set-href-attribute-hash.html b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hash.html
index 18cc811..9174da9 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hash.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hash.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/set-href-attribute-hash.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/dom/HTMLAnchorElement/set-href-attribute-host.html b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host.html
index d0352a8..e7e5cfd 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host.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/set-href-attribute-host.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/dom/HTMLAnchorElement/set-href-attribute-hostname.html b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname.html
index a402766..a9617d6 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname.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/set-href-attribute-hostname.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/dom/HTMLAnchorElement/set-href-attribute-pathname.html b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-pathname.html
index f04608c..ffd4907 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-pathname.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-pathname.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/set-href-attribute-pathname.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/dom/HTMLAnchorElement/set-href-attribute-port.html b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-port.html
index 3aa5891..6bac30b 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-port.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-port.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/set-href-attribute-port.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/dom/HTMLAnchorElement/set-href-attribute-prevents-rebase.html b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-prevents-rebase.html
index e7f1c5e..3b468f1 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-prevents-rebase.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-prevents-rebase.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/set-href-attribute-prevents-rebase.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/dom/HTMLAnchorElement/set-href-attribute-protocol.html b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-protocol.html
index c1a8c4a..330e44d 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-protocol.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-protocol.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/set-href-attribute-protocol.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/dom/HTMLAnchorElement/set-href-attribute-rebase.html b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-rebase.html
index 4e37c35..473c68c 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-rebase.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-rebase.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<base>
<a></a>
<script>
@@ -19,4 +19,4 @@
base.href = null;
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-search.html b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-search.html
index 6b3d40d..8443f31 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-search.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-search.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/set-href-attribute-search.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/dom/HTMLAnchorElement/set-href-attribute-whitespace.html b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-whitespace.html
index a3f93b3..9cc4096 100644
--- a/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-whitespace.html
+++ b/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-whitespace.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/set-href-attribute-whitespace.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/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document.html b/LayoutTests/fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document.html
index 22d4b1b..5d7c932 100644
--- a/LayoutTests/fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document.html
+++ b/LayoutTests/fast/dom/HTMLBaseElement/href-attribute-resolves-with-respect-to-document.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<base href="foo/bar/">
<body></body>
<script>
@@ -50,7 +50,7 @@
newWindow.close();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
<script>
finishJSTest();
diff --git a/LayoutTests/fast/dom/HTMLBaseElement/multiple-base-elements.html b/LayoutTests/fast/dom/HTMLBaseElement/multiple-base-elements.html
index ece3783..b6ab4aa 100644
--- a/LayoutTests/fast/dom/HTMLBaseElement/multiple-base-elements.html
+++ b/LayoutTests/fast/dom/HTMLBaseElement/multiple-base-elements.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/multiple-base-elements.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/dom/HTMLBaseElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLBaseElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLBaseElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLBaseElement/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/dom/HTMLButtonElement/change-type.html b/LayoutTests/fast/dom/HTMLButtonElement/change-type.html
index fb60431..77dce87 100644
--- a/LayoutTests/fast/dom/HTMLButtonElement/change-type.html
+++ b/LayoutTests/fast/dom/HTMLButtonElement/change-type.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 onload="runTests()">
<script>
diff --git a/LayoutTests/fast/dom/HTMLDocument/document-all.html b/LayoutTests/fast/dom/HTMLDocument/document-all.html
index 5423c4c..6a42997 100644
--- a/LayoutTests/fast/dom/HTMLDocument/document-all.html
+++ b/LayoutTests/fast/dom/HTMLDocument/document-all.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/document-all.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/dom/HTMLDocument/named-item-multiple-match.html b/LayoutTests/fast/dom/HTMLDocument/named-item-multiple-match.html
index 532e13c..43458a6 100644
--- a/LayoutTests/fast/dom/HTMLDocument/named-item-multiple-match.html
+++ b/LayoutTests/fast/dom/HTMLDocument/named-item-multiple-match.html
@@ -7,7 +7,7 @@
</p>
<form name="someName" title="first"></form>
<form name="someName" title="second"></form>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
var collection;
diff --git a/LayoutTests/fast/dom/HTMLDocument/object-with-same-id-and-name.html b/LayoutTests/fast/dom/HTMLDocument/object-with-same-id-and-name.html
index 127c70e..019e40b 100644
--- a/LayoutTests/fast/dom/HTMLDocument/object-with-same-id-and-name.html
+++ b/LayoutTests/fast/dom/HTMLDocument/object-with-same-id-and-name.html
@@ -2,7 +2,7 @@
<html>
<body>
<object id="someName" name="someName"></object>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description("Test that the document's name getter returns an object element with id and name attributes set to the same value.");
diff --git a/LayoutTests/fast/dom/HTMLDocument/set-focus-on-valid-element.html b/LayoutTests/fast/dom/HTMLDocument/set-focus-on-valid-element.html
index a5ba300..6744020 100644
--- a/LayoutTests/fast/dom/HTMLDocument/set-focus-on-valid-element.html
+++ b/LayoutTests/fast/dom/HTMLDocument/set-focus-on-valid-element.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>
document.addEventListener("DOMFocusOut", function() {
holder.removeChild(willBeRemoved);
diff --git a/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-change-before-text-node.html b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-change-before-text-node.html
index 9206e0c..88c4389 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-change-before-text-node.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-change-before-text-node.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
.testDiv {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid red; }
</style>
@@ -34,6 +34,6 @@
el.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/dom/HTMLElement/attr-dir-auto-change-child-node.html b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-change-child-node.html
index 64bd8ca..c2b8b22 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-change-child-node.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-change-child-node.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
.testDiv {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid red; }
</style>
@@ -29,6 +29,6 @@
shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color')", "'rgb(0, 128, 0)'");
el.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/dom/HTMLElement/attr-dir-auto-change-text-form-control.html b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-change-text-form-control.html
index e5d6554..359c281 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-change-text-form-control.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-change-text-form-control.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
.testElement {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid red; }
</style>
@@ -33,6 +33,6 @@
el = document.getElementById("parentDiv");
el.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/dom/HTMLElement/attr-dir-auto-change-text.html b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-change-text.html
index fe47b24..4c0b61d 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-change-text.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-change-text.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
.testDiv {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid red; }
</style>
@@ -23,6 +23,6 @@
shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color')", "'rgb(0, 128, 0)'");
el.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/dom/HTMLElement/attr-dir-auto-children.html b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-children.html
index 5f1a64e..2a97e82 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-children.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-children.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
.testDiv {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid red; }
</style>
@@ -26,6 +26,6 @@
shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color')", "'rgb(0, 128, 0)'");
document.getElementById("parentDiv").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/dom/HTMLElement/attr-dir-auto-remove-add-children.html b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-remove-add-children.html
index 40048c6..82ddbfe 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-remove-add-children.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-remove-add-children.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
.testDiv {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid red; }
</style>
@@ -53,6 +53,6 @@
document.getElementById("parentDiv").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/dom/HTMLElement/attr-dir-auto-text-form-control-child.html b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-text-form-control-child.html
index 527829c..2729442 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-text-form-control-child.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-text-form-control-child.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
.testElement {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid red; }
</style>
@@ -36,6 +36,6 @@
shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color')", "'rgb(0, 128, 0)'");
document.getElementById("parentDiv").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/dom/HTMLElement/attr-dir-auto-text-form-control.html b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-text-form-control.html
index 0791765..ab701a0 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-text-form-control.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto-text-form-control.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
.testElement {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid red; }
</style>
@@ -36,6 +36,6 @@
document.getElementById("parentDiv").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/dom/HTMLElement/attr-dir-auto.html b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto.html
index d4184f7..9e4e452 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-dir-auto.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-dir-auto.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
.testDiv {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid red; }
</style>
@@ -31,6 +31,6 @@
shouldBe("document.defaultView.getComputedStyle(el, null).getPropertyValue('border-right-color')", "'rgb(0, 128, 0)'");
document.getElementById("parentDiv").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/dom/HTMLElement/attr-dir-value-change.html b/LayoutTests/fast/dom/HTMLElement/attr-dir-value-change.html
index 1f45bf9..7cc91cd 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-dir-value-change.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-dir-value-change.html
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
.testDiv {-webkit-border-start: 5px solid green; -webkit-border-end: 5px solid red; }
</style>
@@ -42,6 +42,6 @@
el.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/dom/HTMLElement/attr-empty-string.html b/LayoutTests/fast/dom/HTMLElement/attr-empty-string.html
index 50735315..7ef2348 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-empty-string.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-empty-string.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>
@@ -18,6 +18,6 @@
document.getElementById("div").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/dom/HTMLElement/attr-false-string.html b/LayoutTests/fast/dom/HTMLElement/attr-false-string.html
index e9889b1..0a9eda2 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-false-string.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-false-string.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>
@@ -18,6 +18,6 @@
document.getElementById("div").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/dom/HTMLElement/attr-invalid-string.html b/LayoutTests/fast/dom/HTMLElement/attr-invalid-string.html
index 2d94a86..bd0647d 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-invalid-string.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-invalid-string.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 @@
document.getElementById("d").style.display= 'none';
document.getElementById("d2").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/dom/HTMLElement/attr-missing-ancestor-false.html b/LayoutTests/fast/dom/HTMLElement/attr-missing-ancestor-false.html
index ffb5f51..ea6cdd9 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-missing-ancestor-false.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-missing-ancestor-false.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>
@@ -24,6 +24,6 @@
document.getElementById("div").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/dom/HTMLElement/attr-missing-ancestor-true.html b/LayoutTests/fast/dom/HTMLElement/attr-missing-ancestor-true.html
index 82101f9..0bc270e 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-missing-ancestor-true.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-missing-ancestor-true.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 @@
document.getElementById("div").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/dom/HTMLElement/attr-missing-parent-ancestor-missing.html b/LayoutTests/fast/dom/HTMLElement/attr-missing-parent-ancestor-missing.html
index cfba1a67..c03029f 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-missing-parent-ancestor-missing.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-missing-parent-ancestor-missing.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>
@@ -24,6 +24,6 @@
document.getElementById("div").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/dom/HTMLElement/attr-missing-parent-false.html b/LayoutTests/fast/dom/HTMLElement/attr-missing-parent-false.html
index 378265b..cdb3093 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-missing-parent-false.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-missing-parent-false.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>
@@ -20,6 +20,6 @@
document.getElementById("div").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/dom/HTMLElement/attr-missing-parent-true.html b/LayoutTests/fast/dom/HTMLElement/attr-missing-parent-true.html
index dfc7e72..5afcc8b 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-missing-parent-true.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-missing-parent-true.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>
@@ -20,6 +20,6 @@
document.getElementById("div").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/dom/HTMLElement/attr-true-string.html b/LayoutTests/fast/dom/HTMLElement/attr-true-string.html
index e50031a..2016596 100644
--- a/LayoutTests/fast/dom/HTMLElement/attr-true-string.html
+++ b/LayoutTests/fast/dom/HTMLElement/attr-true-string.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>
@@ -18,6 +18,6 @@
document.getElementById("div").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/dom/HTMLElement/class-list-gc.html b/LayoutTests/fast/dom/HTMLElement/class-list-gc.html
index 5000fb8..8881b8b 100644
--- a/LayoutTests/fast/dom/HTMLElement/class-list-gc.html
+++ b/LayoutTests/fast/dom/HTMLElement/class-list-gc.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<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/class-list-gc.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/dom/HTMLElement/class-list-quirks.html b/LayoutTests/fast/dom/HTMLElement/class-list-quirks.html
index 2b095d9..4ef45f8 100644
--- a/LayoutTests/fast/dom/HTMLElement/class-list-quirks.html
+++ b/LayoutTests/fast/dom/HTMLElement/class-list-quirks.html
@@ -1,10 +1,10 @@
<!-- Quirks Mode -->
<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/class-list.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/dom/HTMLElement/class-list.html b/LayoutTests/fast/dom/HTMLElement/class-list.html
index 64b5f7e..9e520ab 100644
--- a/LayoutTests/fast/dom/HTMLElement/class-list.html
+++ b/LayoutTests/fast/dom/HTMLElement/class-list.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<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/class-list.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/dom/HTMLElement/insertAdjacentHTML-errors.html b/LayoutTests/fast/dom/HTMLElement/insertAdjacentHTML-errors.html
index dc3bbf9..5290585 100644
--- a/LayoutTests/fast/dom/HTMLElement/insertAdjacentHTML-errors.html
+++ b/LayoutTests/fast/dom/HTMLElement/insertAdjacentHTML-errors.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/insertAdjacentHTML-errors.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/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe.html b/LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe.html
index cd4a8397..c1ce623 100644
--- a/LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe.html
+++ b/LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit-subframe.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,7 +21,7 @@
document.getElementById("subframe").style.display= 'none';
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
<iframe id="subframe" onload="runTest()" src="data:text/html,<div id='div'></div>"></iframe>
</body>
</html>
diff --git a/LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit.html b/LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit.html
index 2975e89..98a63b9 100644
--- a/LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit.html
+++ b/LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-allinherit.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>
@@ -29,6 +29,6 @@
document.getElementById("parent_of_div").style.display= 'none';
document.getElementById("parent_of_p").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/dom/HTMLElement/iscontenteditable-designmodeon-ancestor.html b/LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-ancestor.html
index 117c881..da279e5 100644
--- a/LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-ancestor.html
+++ b/LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon-ancestor.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 @@
document.getElementById("parent_of_p").style.display= 'none';
document.getElementById("parent_of_p2").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/dom/HTMLElement/iscontenteditable-designmodeon.html b/LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon.html
index 37b97c3..d001724 100644
--- a/LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon.html
+++ b/LayoutTests/fast/dom/HTMLElement/iscontenteditable-designmodeon.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>
@@ -44,6 +44,6 @@
document.getElementById("p").style.display= 'none';
document.getElementById("p2").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/dom/HTMLElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLElement/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/dom/HTMLElement/set-false.html b/LayoutTests/fast/dom/HTMLElement/set-false.html
index c616618..9745deb 100644
--- a/LayoutTests/fast/dom/HTMLElement/set-false.html
+++ b/LayoutTests/fast/dom/HTMLElement/set-false.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>
@@ -29,6 +29,6 @@
document.getElementById("div1").style.display= 'none';
document.getElementById("div2").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/dom/HTMLElement/set-inherit-parent-false.html b/LayoutTests/fast/dom/HTMLElement/set-inherit-parent-false.html
index fd1f3c9..22926e9 100644
--- a/LayoutTests/fast/dom/HTMLElement/set-inherit-parent-false.html
+++ b/LayoutTests/fast/dom/HTMLElement/set-inherit-parent-false.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>
@@ -23,6 +23,6 @@
document.getElementById("div").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/dom/HTMLElement/set-inherit-parent-true.html b/LayoutTests/fast/dom/HTMLElement/set-inherit-parent-true.html
index 723df91..d58dc2c 100644
--- a/LayoutTests/fast/dom/HTMLElement/set-inherit-parent-true.html
+++ b/LayoutTests/fast/dom/HTMLElement/set-inherit-parent-true.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>
@@ -23,6 +23,6 @@
document.getElementById("div").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/dom/HTMLElement/set-invalid-value.html b/LayoutTests/fast/dom/HTMLElement/set-invalid-value.html
index f2aad76..7129389 100644
--- a/LayoutTests/fast/dom/HTMLElement/set-invalid-value.html
+++ b/LayoutTests/fast/dom/HTMLElement/set-invalid-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>
<p id="description"></p>
@@ -25,6 +25,6 @@
document.getElementById("div").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/dom/HTMLElement/set-true.html b/LayoutTests/fast/dom/HTMLElement/set-true.html
index e6e4ad7..bbc3277 100644
--- a/LayoutTests/fast/dom/HTMLElement/set-true.html
+++ b/LayoutTests/fast/dom/HTMLElement/set-true.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>
@@ -31,6 +31,6 @@
document.getElementById("div1").style.display= 'none';
document.getElementById("div2").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/dom/HTMLElement/set-value-caseinsensitive.html b/LayoutTests/fast/dom/HTMLElement/set-value-caseinsensitive.html
index c34345c..b056a30e 100644
--- a/LayoutTests/fast/dom/HTMLElement/set-value-caseinsensitive.html
+++ b/LayoutTests/fast/dom/HTMLElement/set-value-caseinsensitive.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>
@@ -55,6 +55,6 @@
document.getElementById("div2").style.display= 'none';
document.getElementById("div3").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/dom/HTMLElement/spellcheck.html b/LayoutTests/fast/dom/HTMLElement/spellcheck.html
index 5b7de34..557bf3c 100644
--- a/LayoutTests/fast/dom/HTMLElement/spellcheck.html
+++ b/LayoutTests/fast/dom/HTMLElement/spellcheck.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/spellcheck.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/dom/HTMLElement/translate.html b/LayoutTests/fast/dom/HTMLElement/translate.html
index 3c6a0e7..387c806 100644
--- a/LayoutTests/fast/dom/HTMLElement/translate.html
+++ b/LayoutTests/fast/dom/HTMLElement/translate.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>
@@ -146,6 +146,6 @@
testFor("1", true, undefined, true, "1");
testFor("1", true, 0, false, "no");
</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/dom/HTMLFontElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLFontElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLFontElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLFontElement/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/dom/HTMLFontElement/size-attribute.html b/LayoutTests/fast/dom/HTMLFontElement/size-attribute.html
index 2d1d5e8..f9fee00 100644
--- a/LayoutTests/fast/dom/HTMLFontElement/size-attribute.html
+++ b/LayoutTests/fast/dom/HTMLFontElement/size-attribute.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/size-attribute.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/dom/HTMLFormElement/elements-not-in-document.html b/LayoutTests/fast/dom/HTMLFormElement/elements-not-in-document.html
index 4e89713..eee9aa8 100644
--- a/LayoutTests/fast/dom/HTMLFormElement/elements-not-in-document.html
+++ b/LayoutTests/fast/dom/HTMLFormElement/elements-not-in-document.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/elements-not-in-document.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/dom/HTMLFormElement/htmlformelement-indexed-getter.html b/LayoutTests/fast/dom/HTMLFormElement/htmlformelement-indexed-getter.html
index f60e091..fb401aa 100644
--- a/LayoutTests/fast/dom/HTMLFormElement/htmlformelement-indexed-getter.html
+++ b/LayoutTests/fast/dom/HTMLFormElement/htmlformelement-indexed-getter.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>
@@ -15,6 +15,6 @@
var my_input = document.getElementById('i');
shouldBe("form[0]", "my_input");
</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/dom/HTMLFormElement/invalid-form-field.html b/LayoutTests/fast/dom/HTMLFormElement/invalid-form-field.html
index 4da38c6..1686da0 100644
--- a/LayoutTests/fast/dom/HTMLFormElement/invalid-form-field.html
+++ b/LayoutTests/fast/dom/HTMLFormElement/invalid-form-field.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="test">
@@ -39,5 +39,5 @@
finishJSTest();
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/HTMLFormElement/move-option-between-documents.html b/LayoutTests/fast/dom/HTMLFormElement/move-option-between-documents.html
index 095b79e..fb1e9b7 100644
--- a/LayoutTests/fast/dom/HTMLFormElement/move-option-between-documents.html
+++ b/LayoutTests/fast/dom/HTMLFormElement/move-option-between-documents.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="test">
@@ -39,5 +39,5 @@
finishJSTest();
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/HTMLFormElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLFormElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLFormElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLFormElement/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/dom/HTMLHeadElement/head-check.html b/LayoutTests/fast/dom/HTMLHeadElement/head-check.html
index 81ba3e4..a48bca4 100644
--- a/LayoutTests/fast/dom/HTMLHeadElement/head-check.html
+++ b/LayoutTests/fast/dom/HTMLHeadElement/head-check.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 src="resources/head-check.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/dom/HTMLImageElement/image-lowsrc-getset.html b/LayoutTests/fast/dom/HTMLImageElement/image-lowsrc-getset.html
index 08e4087..63a8441 100644
--- a/LayoutTests/fast/dom/HTMLImageElement/image-lowsrc-getset.html
+++ b/LayoutTests/fast/dom/HTMLImageElement/image-lowsrc-getset.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>
<img id="image" lowsrc="http://hostname/lowsrc.png" style="visibility: hidden;">
@@ -11,6 +11,6 @@
image.lowsrc = "http://hostname/newlowsrc.png";
shouldBe("image.lowsrc", "'http://hostname/newlowsrc.png'");
</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/dom/HTMLImageElement/parse-src.html b/LayoutTests/fast/dom/HTMLImageElement/parse-src.html
index ef75c16..a95ea72 100644
--- a/LayoutTests/fast/dom/HTMLImageElement/parse-src.html
+++ b/LayoutTests/fast/dom/HTMLImageElement/parse-src.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/parse-src.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/dom/HTMLImageElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLImageElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLImageElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLImageElement/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/dom/HTMLInputElement/checked-pseudo-selector.html b/LayoutTests/fast/dom/HTMLInputElement/checked-pseudo-selector.html
index 04f81b3..cf76919 100644
--- a/LayoutTests/fast/dom/HTMLInputElement/checked-pseudo-selector.html
+++ b/LayoutTests/fast/dom/HTMLInputElement/checked-pseudo-selector.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/checked-pseudo-selector.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/dom/HTMLInputElement/duplicate-element-names.html b/LayoutTests/fast/dom/HTMLInputElement/duplicate-element-names.html
index 3c02b68..56e36f5 100644
--- a/LayoutTests/fast/dom/HTMLInputElement/duplicate-element-names.html
+++ b/LayoutTests/fast/dom/HTMLInputElement/duplicate-element-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>
</head>
<body>
<p id="description"></p>
@@ -38,6 +38,6 @@
shouldBe("document.getElementsByName('cb2').length", "2");
shouldBe("document.getElementsByName('rb2').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/dom/HTMLInputElement/input-size-attribute.html b/LayoutTests/fast/dom/HTMLInputElement/input-size-attribute.html
index bbb13e0..e8a5e2b 100644
--- a/LayoutTests/fast/dom/HTMLInputElement/input-size-attribute.html
+++ b/LayoutTests/fast/dom/HTMLInputElement/input-size-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>
@@ -28,6 +28,6 @@
</script>
</body>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/HTMLInputElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLInputElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLInputElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLInputElement/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/dom/HTMLInputElement/size-attribute.html b/LayoutTests/fast/dom/HTMLInputElement/size-attribute.html
index 2d1d5e8..f9fee00 100644
--- a/LayoutTests/fast/dom/HTMLInputElement/size-attribute.html
+++ b/LayoutTests/fast/dom/HTMLInputElement/size-attribute.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/size-attribute.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/dom/HTMLIsIndexElement/prototype-chain.html b/LayoutTests/fast/dom/HTMLIsIndexElement/prototype-chain.html
index eb897f3..ac95e29 100644
--- a/LayoutTests/fast/dom/HTMLIsIndexElement/prototype-chain.html
+++ b/LayoutTests/fast/dom/HTMLIsIndexElement/prototype-chain.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/prototype-chain.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/dom/HTMLKeygenElement/keygen.html b/LayoutTests/fast/dom/HTMLKeygenElement/keygen.html
index 26833ef..8cf48fb 100644
--- a/LayoutTests/fast/dom/HTMLKeygenElement/keygen.html
+++ b/LayoutTests/fast/dom/HTMLKeygenElement/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>
</head>
<body>
<keygen id="keys" />
@@ -19,6 +19,6 @@
shouldBe('internals.shadowRoot(shadow.firstChild)', '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/dom/HTMLLabelElement/label-control.html b/LayoutTests/fast/dom/HTMLLabelElement/label-control.html
index 08b0741..1b80279 100644
--- a/LayoutTests/fast/dom/HTMLLabelElement/label-control.html
+++ b/LayoutTests/fast/dom/HTMLLabelElement/label-control.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/label-control.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/dom/HTMLLabelElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLLabelElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLLabelElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLLabelElement/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/dom/HTMLLinkElement/disabled-attribute.html b/LayoutTests/fast/dom/HTMLLinkElement/disabled-attribute.html
index 7a9cb34..1e4e3ec7 100644
--- a/LayoutTests/fast/dom/HTMLLinkElement/disabled-attribute.html
+++ b/LayoutTests/fast/dom/HTMLLinkElement/disabled-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>
<link id="test" type="text/css" rel="stylesheet" href="resources/htmllink-disable.css"/>
<link id="test_nostyle" type="text/css" rel="stylesheet" />
@@ -37,6 +37,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/dom/HTMLLinkElement/prefetch-beforeload.html b/LayoutTests/fast/dom/HTMLLinkElement/prefetch-beforeload.html
index 5e2bfbf8..bb0da78 100644
--- a/LayoutTests/fast/dom/HTMLLinkElement/prefetch-beforeload.html
+++ b/LayoutTests/fast/dom/HTMLLinkElement/prefetch-beforeload.html
@@ -1,6 +1,6 @@
<body>
<div id="console"></div>
-<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/dom/HTMLLinkElement/prefetch-onerror.html b/LayoutTests/fast/dom/HTMLLinkElement/prefetch-onerror.html
index d26e9b1..9865e46 100644
--- a/LayoutTests/fast/dom/HTMLLinkElement/prefetch-onerror.html
+++ b/LayoutTests/fast/dom/HTMLLinkElement/prefetch-onerror.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 type="text/javascript">
function done()
{
diff --git a/LayoutTests/fast/dom/HTMLLinkElement/prefetch-too-many-clients.html b/LayoutTests/fast/dom/HTMLLinkElement/prefetch-too-many-clients.html
index 185de4f..5d543aa 100644
--- a/LayoutTests/fast/dom/HTMLLinkElement/prefetch-too-many-clients.html
+++ b/LayoutTests/fast/dom/HTMLLinkElement/prefetch-too-many-clients.html
@@ -1,7 +1,7 @@
<html>
<body onload="many_link_updates(50);setTimeout('done();',0)">
<div id="console"></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
function addLink(url, rel) {
diff --git a/LayoutTests/fast/dom/HTMLLinkElement/subresource.html b/LayoutTests/fast/dom/HTMLLinkElement/subresource.html
index b9b6f84..e426753 100644
--- a/LayoutTests/fast/dom/HTMLLinkElement/subresource.html
+++ b/LayoutTests/fast/dom/HTMLLinkElement/subresource.html
@@ -1,6 +1,6 @@
<body>
<div id="console"></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
function prefetch_onload() {
testPassed('onload called!');
diff --git a/LayoutTests/fast/dom/HTMLMeterElement/meter-clone.html b/LayoutTests/fast/dom/HTMLMeterElement/meter-clone.html
index 95a9d3e..acb705a 100644
--- a/LayoutTests/fast/dom/HTMLMeterElement/meter-clone.html
+++ b/LayoutTests/fast/dom/HTMLMeterElement/meter-clone.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>
<meter id="target" min="0" max="100" value="50" style="-webkit-appearance: none;" />
@@ -28,6 +28,6 @@
shouldBe("targetShadowRoot.firstChild.firstChild.firstChild.style.width", '"50%"');
})();
</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/dom/HTMLMeterElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLMeterElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLMeterElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLMeterElement/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/dom/HTMLMeterElement/set-meter-properties.html b/LayoutTests/fast/dom/HTMLMeterElement/set-meter-properties.html
index f7ef86b..3e8179d 100644
--- a/LayoutTests/fast/dom/HTMLMeterElement/set-meter-properties.html
+++ b/LayoutTests/fast/dom/HTMLMeterElement/set-meter-properties.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/set-meter-properties.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/dom/HTMLObjectElement/beforeload-set-text-crash.xhtml b/LayoutTests/fast/dom/HTMLObjectElement/beforeload-set-text-crash.xhtml
index 7f4d68d..1fce80c 100755
--- a/LayoutTests/fast/dom/HTMLObjectElement/beforeload-set-text-crash.xhtml
+++ b/LayoutTests/fast/dom/HTMLObjectElement/beforeload-set-text-crash.xhtml
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
Test passes if it does not crash.
<object id="object" type="image/svg+xml" />
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
window.jsTestIsAsync = true;
var count = 0;
@@ -22,6 +22,6 @@
event.initEvent("beforeload", false);
document.documentElement.dispatchEvent(event);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/HTMLObjectElement/object-as-frame.html b/LayoutTests/fast/dom/HTMLObjectElement/object-as-frame.html
index ec1eb13..3168cce 100644
--- a/LayoutTests/fast/dom/HTMLObjectElement/object-as-frame.html
+++ b/LayoutTests/fast/dom/HTMLObjectElement/object-as-frame.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) {
diff --git a/LayoutTests/fast/dom/HTMLOptionElement/collection-setter-getter.html b/LayoutTests/fast/dom/HTMLOptionElement/collection-setter-getter.html
index da37319..2987b63 100644
--- a/LayoutTests/fast/dom/HTMLOptionElement/collection-setter-getter.html
+++ b/LayoutTests/fast/dom/HTMLOptionElement/collection-setter-getter.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>
@@ -26,6 +26,6 @@
shouldBe("options[0]", "document.getElementById('one')");
shouldBe("options[1]", "document.getElementById('two')");
</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/dom/HTMLOutputElement/dom-settable-token-list.html b/LayoutTests/fast/dom/HTMLOutputElement/dom-settable-token-list.html
index 4f57205..1290d71 100644
--- a/LayoutTests/fast/dom/HTMLOutputElement/dom-settable-token-list.html
+++ b/LayoutTests/fast/dom/HTMLOutputElement/dom-settable-token-list.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<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/dom-settable-token-list.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/dom/HTMLOutputElement/htmloutputelement-children-removed.html b/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement-children-removed.html
index 88f8ca9..ae89123 100644
--- a/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement-children-removed.html
+++ b/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement-children-removed.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>
<script>
@@ -15,6 +15,6 @@
debug("The number of spans after removal is " + list.length);
shouldBeTrue('list.length == beforeLength - 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/dom/HTMLOutputElement/htmloutputelement-reset-event.html b/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement-reset-event.html
index b00aec9..1b28aad 100644
--- a/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement-reset-event.html
+++ b/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement-reset-event.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/htmloutputelement-reset-event.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/dom/HTMLOutputElement/htmloutputelement-validity.html b/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement-validity.html
index 0ef7fa6..d71d6ff 100644
--- a/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement-validity.html
+++ b/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement-validity.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/htmloutputelement-validity.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/dom/HTMLOutputElement/htmloutputelement-value.html b/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement-value.html
index 1333d27..f0be1bc 100644
--- a/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement-value.html
+++ b/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement-value.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/htmloutputelement-value.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/dom/HTMLOutputElement/htmloutputelement.html b/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement.html
index c3773b3..df83cea 100644
--- a/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement.html
+++ b/LayoutTests/fast/dom/HTMLOutputElement/htmloutputelement.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>
@@ -30,6 +30,6 @@
shouldBeEqualToString('output3.htmlFor[1]', 'for-target2');
shouldBeEqualToString('output3.htmlFor.value', ' for-target1 for-target2 ');
</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/dom/HTMLProgressElement/progress-clone.html b/LayoutTests/fast/dom/HTMLProgressElement/progress-clone.html
index f7b41ee..4a55134 100644
--- a/LayoutTests/fast/dom/HTMLProgressElement/progress-clone.html
+++ b/LayoutTests/fast/dom/HTMLProgressElement/progress-clone.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>
<progress id="target" min="0" max="100" value="50" style="-webkit-appearance: none;" ></progress>
@@ -28,6 +28,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/dom/HTMLProgressElement/progress-element-indeterminate-crash.html b/LayoutTests/fast/dom/HTMLProgressElement/progress-element-indeterminate-crash.html
index 831e43e..93c4c6e 100644
--- a/LayoutTests/fast/dom/HTMLProgressElement/progress-element-indeterminate-crash.html
+++ b/LayoutTests/fast/dom/HTMLProgressElement/progress-element-indeterminate-crash.html
@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html>
<body>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<h1>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=102459">Bug 102459</a>. OK if not crashed.</h1>
<progress indeterminate="true"></progress>
<p>PASS unless crash.</p>
<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/dom/HTMLProgressElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLProgressElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLProgressElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLProgressElement/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/dom/HTMLProgressElement/set-progress-properties.html b/LayoutTests/fast/dom/HTMLProgressElement/set-progress-properties.html
index 535c073..ac4a4aa 100644
--- a/LayoutTests/fast/dom/HTMLProgressElement/set-progress-properties.html
+++ b/LayoutTests/fast/dom/HTMLProgressElement/set-progress-properties.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/set-progress-properties.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/dom/HTMLScriptElement/async-false-inside-async-false-load.html b/LayoutTests/fast/dom/HTMLScriptElement/async-false-inside-async-false-load.html
index 9c6a4d9..ad34eb5 100644
--- a/LayoutTests/fast/dom/HTMLScriptElement/async-false-inside-async-false-load.html
+++ b/LayoutTests/fast/dom/HTMLScriptElement/async-false-inside-async-false-load.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 onload="">
Checks that adding an async=false script while executing an async=false script doesn't mess anything up.
@@ -14,6 +14,6 @@
first_script.src = "resources/async-false.js";
document.getElementsByTagName("head")[0].appendChild(first_script);
</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/dom/HTMLScriptElement/async-inline-script.html b/LayoutTests/fast/dom/HTMLScriptElement/async-inline-script.html
index ce538dc..bf8f097 100644
--- a/LayoutTests/fast/dom/HTMLScriptElement/async-inline-script.html
+++ b/LayoutTests/fast/dom/HTMLScriptElement/async-inline-script.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>
Checks that inline scripts are not async.
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/async-onbeforeload.html b/LayoutTests/fast/dom/HTMLScriptElement/async-onbeforeload.html
index 187a379..e672e19 100644
--- a/LayoutTests/fast/dom/HTMLScriptElement/async-onbeforeload.html
+++ b/LayoutTests/fast/dom/HTMLScriptElement/async-onbeforeload.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 onload="debug('load');finishJSTest();">
Checks that async scripts fire onbeforeload immediately and that it is cancellable.
@@ -10,6 +10,6 @@
<script src="resources/shouldnotexecute.js" onbeforeload="debug('cancelled onbeforeload async'); return false;" async></script>
<script src="resources/async.js" onbeforeload="debug('onbeforeload async'); return true;" async></script>
<script src="data:text/javascript," onbeforeload="debug('onbeforeload external'); return 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/dom/HTMLScriptElement/defer-inline-script.html b/LayoutTests/fast/dom/HTMLScriptElement/defer-inline-script.html
index 7393b059..847c61c 100644
--- a/LayoutTests/fast/dom/HTMLScriptElement/defer-inline-script.html
+++ b/LayoutTests/fast/dom/HTMLScriptElement/defer-inline-script.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>
Checks that inline scripts are not deferred.
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/defer-onbeforeload.html b/LayoutTests/fast/dom/HTMLScriptElement/defer-onbeforeload.html
index 9423bba..c7a355d0 100644
--- a/LayoutTests/fast/dom/HTMLScriptElement/defer-onbeforeload.html
+++ b/LayoutTests/fast/dom/HTMLScriptElement/defer-onbeforeload.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>
Checks that deferred scripts fire onbeforeload immediately and that it is cancellable.
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/defer-script-invalid-url.html b/LayoutTests/fast/dom/HTMLScriptElement/defer-script-invalid-url.html
index d251f26..c31e93f 100644
--- a/LayoutTests/fast/dom/HTMLScriptElement/defer-script-invalid-url.html
+++ b/LayoutTests/fast/dom/HTMLScriptElement/defer-script-invalid-url.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>
Checks that deferred scripts with invalid URLs are ignored and subsequent deferred scripts executed.
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/move-in-beforeload.html b/LayoutTests/fast/dom/HTMLScriptElement/move-in-beforeload.html
index 56e7f24..a85122a 100644
--- a/LayoutTests/fast/dom/HTMLScriptElement/move-in-beforeload.html
+++ b/LayoutTests/fast/dom/HTMLScriptElement/move-in-beforeload.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>
<body onload="test()">
<div id="console"></div>
<iframe src="resources/frame.html"></iframe>
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/remove-in-beforeload.html b/LayoutTests/fast/dom/HTMLScriptElement/remove-in-beforeload.html
index 5ef497c..5bcd14b 100644
--- a/LayoutTests/fast/dom/HTMLScriptElement/remove-in-beforeload.html
+++ b/LayoutTests/fast/dom/HTMLScriptElement/remove-in-beforeload.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>
<body onload="test()">
<div id="console"></div>
<script>
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/resources/frame.html b/LayoutTests/fast/dom/HTMLScriptElement/resources/frame.html
index 5889ebe..1001bbd 100644
--- a/LayoutTests/fast/dom/HTMLScriptElement/resources/frame.html
+++ b/LayoutTests/fast/dom/HTMLScriptElement/resources/frame.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>
<div id="console"></div>
diff --git a/LayoutTests/fast/dom/HTMLScriptElement/script-async-attr.html b/LayoutTests/fast/dom/HTMLScriptElement/script-async-attr.html
index fcd86fa..d9a6aa0 100644
--- a/LayoutTests/fast/dom/HTMLScriptElement/script-async-attr.html
+++ b/LayoutTests/fast/dom/HTMLScriptElement/script-async-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>
</head>
<body>
@@ -52,7 +52,7 @@
shouldBeTrue("isDynamicallyInsertedScriptAsync(\"async\")");
shouldBeTrue("isDynamicallyInsertedScriptAsync(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/dom/HTMLScriptElement/script-for-attribute-unexpected-execution.html b/LayoutTests/fast/dom/HTMLScriptElement/script-for-attribute-unexpected-execution.html
index 3b2c419..4e44c6b 100644
--- a/LayoutTests/fast/dom/HTMLScriptElement/script-for-attribute-unexpected-execution.html
+++ b/LayoutTests/fast/dom/HTMLScriptElement/script-for-attribute-unexpected-execution.html
@@ -1,11 +1,11 @@
<!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/script-for-attribute-unexpected-execution.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/dom/HTMLSelectElement/change-multiple-preserve-selection.html b/LayoutTests/fast/dom/HTMLSelectElement/change-multiple-preserve-selection.html
index 7c1d569..fcba4be 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/change-multiple-preserve-selection.html
+++ b/LayoutTests/fast/dom/HTMLSelectElement/change-multiple-preserve-selection.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>
var selectElement;
function go() {
diff --git a/LayoutTests/fast/dom/HTMLSelectElement/click-size-zero-no-crash.html b/LayoutTests/fast/dom/HTMLSelectElement/click-size-zero-no-crash.html
index fa700d3..9397f94 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/click-size-zero-no-crash.html
+++ b/LayoutTests/fast/dom/HTMLSelectElement/click-size-zero-no-crash.html
@@ -1,5 +1,5 @@
<html>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
function getCenterFor(element)
{
diff --git a/LayoutTests/fast/dom/HTMLSelectElement/named-options.html b/LayoutTests/fast/dom/HTMLSelectElement/named-options.html
index b9f5b4d..b2980a7 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/named-options.html
+++ b/LayoutTests/fast/dom/HTMLSelectElement/named-options.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/named-options.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/dom/HTMLSelectElement/option-add-crash.html b/LayoutTests/fast/dom/HTMLSelectElement/option-add-crash.html
index afd0b83..bfe46a4 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/option-add-crash.html
+++ b/LayoutTests/fast/dom/HTMLSelectElement/option-add-crash.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
function crash()
{
@@ -19,5 +19,5 @@
select1.options[0] = new Option("", "");
} catch (Exception) { }
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/HTMLSelectElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLSelectElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLSelectElement/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/dom/HTMLSelectElement/select-element-item-argument.html b/LayoutTests/fast/dom/HTMLSelectElement/select-element-item-argument.html
index bea2453..db35667 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/select-element-item-argument.html
+++ b/LayoutTests/fast/dom/HTMLSelectElement/select-element-item-argument.html
@@ -2,7 +2,7 @@
<html>
<head>
<link rel="help" href="http://www.w3.org/TR/html51/forms.html#dom-select-item">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<select id="target">
@@ -29,6 +29,6 @@
shouldThrow("select.item()", "'TypeError: Not enough arguments'");
</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/dom/HTMLSelectElement/select-selectedIndex-multiple.html b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-multiple.html
index 16953b2..92b05f4 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-multiple.html
+++ b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-multiple.html
@@ -1,7 +1,7 @@
<select multiple id="test" size="3">
</select>
<div id="console"></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
function reset(mySelect) {
mySelect.length = 0;
@@ -139,4 +139,4 @@
debug("");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-noAnchorIndex-crash.html b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-noAnchorIndex-crash.html
index 004ca42..c8f231e 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-noAnchorIndex-crash.html
+++ b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-noAnchorIndex-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>
@@ -23,6 +23,6 @@
document.write("To manually test, press left button down above the select, then move the mouse down over the select.");
}
</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/dom/HTMLSelectElement/select-selectedIndex.html b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex.html
index ab8a968..fcc65e0 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex.html
+++ b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex.html
@@ -1,7 +1,7 @@
<select id="test" size="3">
</select>
<div id="console"></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
function reset(mySelect) {
mySelect.length = 0;
@@ -139,4 +139,4 @@
debug("");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedOptions.html b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedOptions.html
index 9dc16ac..01a1b35 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/select-selectedOptions.html
+++ b/LayoutTests/fast/dom/HTMLSelectElement/select-selectedOptions.html
@@ -2,7 +2,7 @@
<select id="test" size="3" multiple="multiple">
</select>
<div id="console"></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
function reset(mySelect) {
mySelect.length = 0;
@@ -126,4 +126,4 @@
debug("");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/HTMLSelectElement/selected-false.html b/LayoutTests/fast/dom/HTMLSelectElement/selected-false.html
index a8ef4b4..beb03db 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/selected-false.html
+++ b/LayoutTests/fast/dom/HTMLSelectElement/selected-false.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>
<select size="1">
<option id="opt1" value="1">1</option>
diff --git a/LayoutTests/fast/dom/HTMLSelectElement/selected-index-preserved-when-option-text-changes.html b/LayoutTests/fast/dom/HTMLSelectElement/selected-index-preserved-when-option-text-changes.html
index c507205..460c6e1 100644
--- a/LayoutTests/fast/dom/HTMLSelectElement/selected-index-preserved-when-option-text-changes.html
+++ b/LayoutTests/fast/dom/HTMLSelectElement/selected-index-preserved-when-option-text-changes.html
@@ -16,7 +16,7 @@
</select>
<div id="console"></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description("Fix for bug 70547-- changing the text of an option in a select element with no selected option (-1) should preserve that option");
@@ -63,7 +63,7 @@
runTest();
</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/dom/HTMLTableElement/cellpadding-attribute.html b/LayoutTests/fast/dom/HTMLTableElement/cellpadding-attribute.html
index 96a1784..ffea260 100644
--- a/LayoutTests/fast/dom/HTMLTableElement/cellpadding-attribute.html
+++ b/LayoutTests/fast/dom/HTMLTableElement/cellpadding-attribute.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/cellpadding-attribute.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/dom/HTMLTableElement/early-acid3-65-excerpt.html b/LayoutTests/fast/dom/HTMLTableElement/early-acid3-65-excerpt.html
index 018558a..43f8ca5 100644
--- a/LayoutTests/fast/dom/HTMLTableElement/early-acid3-65-excerpt.html
+++ b/LayoutTests/fast/dom/HTMLTableElement/early-acid3-65-excerpt.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/early-acid3-65-excerpt.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/dom/HTMLTableElement/early-acid3-66-excerpt.html b/LayoutTests/fast/dom/HTMLTableElement/early-acid3-66-excerpt.html
index d0b3e49..131d1ca 100644
--- a/LayoutTests/fast/dom/HTMLTableElement/early-acid3-66-excerpt.html
+++ b/LayoutTests/fast/dom/HTMLTableElement/early-acid3-66-excerpt.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/early-acid3-66-excerpt.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/dom/HTMLTableElement/rows.html b/LayoutTests/fast/dom/HTMLTableElement/rows.html
index 73ae88a..245a646 100644
--- a/LayoutTests/fast/dom/HTMLTableElement/rows.html
+++ b/LayoutTests/fast/dom/HTMLTableElement/rows.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/rows.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/dom/HTMLTableElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLTableElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLTableElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLTableElement/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/dom/HTMLTableElement/tBodies.html b/LayoutTests/fast/dom/HTMLTableElement/tBodies.html
index 43395ee..f51916c 100644
--- a/LayoutTests/fast/dom/HTMLTableElement/tBodies.html
+++ b/LayoutTests/fast/dom/HTMLTableElement/tBodies.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/tBodies.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/dom/HTMLTableElement/table-with-invalid-border.html b/LayoutTests/fast/dom/HTMLTableElement/table-with-invalid-border.html
index 9f4fc52..273d8d1 100644
--- a/LayoutTests/fast/dom/HTMLTableElement/table-with-invalid-border.html
+++ b/LayoutTests/fast/dom/HTMLTableElement/table-with-invalid-border.html
@@ -4,7 +4,7 @@
if (window.testRunner)
testRunner.dumpAsText();
</script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p>https://bugs.webkit.org/show_bug.cgi?id=102112: There should be a black box below. <br>
diff --git a/LayoutTests/fast/dom/HTMLTableRowElement/cells.html b/LayoutTests/fast/dom/HTMLTableRowElement/cells.html
index 10d19d2d..f68bb32 100644
--- a/LayoutTests/fast/dom/HTMLTableRowElement/cells.html
+++ b/LayoutTests/fast/dom/HTMLTableRowElement/cells.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/cells.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/dom/HTMLTableRowElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLTableRowElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLTableRowElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLTableRowElement/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/dom/HTMLTableSectionElement/rows.html b/LayoutTests/fast/dom/HTMLTableSectionElement/rows.html
index 73ae88a..245a646 100644
--- a/LayoutTests/fast/dom/HTMLTableSectionElement/rows.html
+++ b/LayoutTests/fast/dom/HTMLTableSectionElement/rows.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/rows.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/dom/HTMLTableSectionElement/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/HTMLTableSectionElement/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/HTMLTableSectionElement/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/HTMLTableSectionElement/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/dom/HTMLTemplateElement/cloneNode.html b/LayoutTests/fast/dom/HTMLTemplateElement/cloneNode.html
index 0a874bd..9da2829 100644
--- a/LayoutTests/fast/dom/HTMLTemplateElement/cloneNode.html
+++ b/LayoutTests/fast/dom/HTMLTemplateElement/cloneNode.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<template id="template"><span>Contents</span></template>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('Test that template contents are not cloned when the template element is cloned');
diff --git a/LayoutTests/fast/dom/HTMLTemplateElement/contentWrappers.html b/LayoutTests/fast/dom/HTMLTemplateElement/contentWrappers.html
index 186a370..c7724e7 100644
--- a/LayoutTests/fast/dom/HTMLTemplateElement/contentWrappers.html
+++ b/LayoutTests/fast/dom/HTMLTemplateElement/contentWrappers.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<template id="template"><span></span></template>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('Test HTMLTemplateElement content node wrappers have the correct lifetime.');
@@ -20,4 +20,4 @@
shouldBe('span.tagName', '"SPAN"');
shouldBe('span.expando', '"present"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/HTMLTemplateElement/cycles-in-shadow.html b/LayoutTests/fast/dom/HTMLTemplateElement/cycles-in-shadow.html
index fc2e63e..2989d5c 100644
--- a/LayoutTests/fast/dom/HTMLTemplateElement/cycles-in-shadow.html
+++ b/LayoutTests/fast/dom/HTMLTemplateElement/cycles-in-shadow.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=container>
<template><div></div></template>
</div>
@@ -13,5 +13,5 @@
var shadowDiv = shadowRoot.appendChild(document.createElement('div'));
shouldThrow('shadowDiv.appendChild(outerDiv)');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/dom/HTMLTemplateElement/cycles.html b/LayoutTests/fast/dom/HTMLTemplateElement/cycles.html
index ef26b42..a49d7b5 100644
--- a/LayoutTests/fast/dom/HTMLTemplateElement/cycles.html
+++ b/LayoutTests/fast/dom/HTMLTemplateElement/cycles.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('Test that cycles are not allowed in template content');
var template = document.createElement('template');
@@ -13,4 +13,4 @@
var innerTemplate = innerDiv.appendChild(document.createElement('template'));
shouldThrow('innerTemplate.appendChild(outerDiv)');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/HTMLTemplateElement/inertContents.html b/LayoutTests/fast/dom/HTMLTemplateElement/inertContents.html
index 45bd954..5f233ca 100644
--- a/LayoutTests/fast/dom/HTMLTemplateElement/inertContents.html
+++ b/LayoutTests/fast/dom/HTMLTemplateElement/inertContents.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>
var testVal = 'script has not run';
</script>
@@ -13,5 +13,5 @@
document.body.appendChild(templateContent);
shouldBeEqualToString('testVal', 'script has run');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/dom/HTMLTemplateElement/innerHTML-inert.html b/LayoutTests/fast/dom/HTMLTemplateElement/innerHTML-inert.html
index 8b965fd..c6a9f67 100644
--- a/LayoutTests/fast/dom/HTMLTemplateElement/innerHTML-inert.html
+++ b/LayoutTests/fast/dom/HTMLTemplateElement/innerHTML-inert.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("Test that setting HTMLTemplateElement.innerHTML uses the inert document when creating elements");
jsTestIsAsync = true;
@@ -15,4 +15,4 @@
template.innerHTML = '<img src="http://inactive.com/foo.jpg" onerror="attemptedLoad = true">';
div.innerHTML = '<img src="http://active.com/bar.jpg" onerror="finish()">';
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html b/LayoutTests/fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html
index a58430b..2f5af9e 100644
--- a/LayoutTests/fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html
+++ b/LayoutTests/fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<body>
<template><div></div></template>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('Adopting a template from another document should also switch the template content document');
jsTestIsAsync = true;
@@ -23,6 +23,6 @@
finishJSTest();
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
<iframe srcdoc="<template><div></div></template>" onload="test()" style="display:none"></iframe>
</body>
diff --git a/LayoutTests/fast/dom/HTMLTemplateElement/ownerDocument.html b/LayoutTests/fast/dom/HTMLTemplateElement/ownerDocument.html
index 7b832ba..070f247 100644
--- a/LayoutTests/fast/dom/HTMLTemplateElement/ownerDocument.html
+++ b/LayoutTests/fast/dom/HTMLTemplateElement/ownerDocument.html
@@ -2,7 +2,7 @@
<template id="template"><span><template></template></span></template>
<template id="template2"><span></span></template>
<template id="template3"><svg></svg></template>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('Test HTMLTemplateElement content ownerDocument');
@@ -38,4 +38,4 @@
shouldBe('template3.content.firstChild.ownerDocument', 'templateContentOwnerDocument');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/HTMLTemplateElement/ownerDocumentXHTML.xhtml b/LayoutTests/fast/dom/HTMLTemplateElement/ownerDocumentXHTML.xhtml
index b85838a..78a584a 100644
--- a/LayoutTests/fast/dom/HTMLTemplateElement/ownerDocumentXHTML.xhtml
+++ b/LayoutTests/fast/dom/HTMLTemplateElement/ownerDocumentXHTML.xhtml
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('Test HTMLTemplateElement content ownerDocument in XHTML Document');
@@ -15,5 +15,5 @@
shouldBeFalse('templateContentOwnerDocument instanceof HTMLDocument');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/MutationObserver/added-out-of-order.html b/LayoutTests/fast/dom/MutationObserver/added-out-of-order.html
index 7bf0948..aee9cc0 100644
--- a/LayoutTests/fast/dom/MutationObserver/added-out-of-order.html
+++ b/LayoutTests/fast/dom/MutationObserver/added-out-of-order.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<div id="sandbox" style="display:none"><span></span></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description("Test MutationEvents interfering with MutationObservers: adding nodes 'out of order'");
var sandbox = document.getElementById('sandbox');
@@ -27,4 +27,4 @@
shouldBe("mutations[2].removedNodes.length", "0");
shouldBe("mutations[2].addedNodes[0].nodeValue", "'hello world'");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/callback-arguments.html b/LayoutTests/fast/dom/MutationObserver/callback-arguments.html
index c853178..4a1224a 100644
--- a/LayoutTests/fast/dom/MutationObserver/callback-arguments.html
+++ b/LayoutTests/fast/dom/MutationObserver/callback-arguments.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>
window.jsTestIsAsync = true;
description('Verifies that MutationObserver is passed to the callback as expected.');
@@ -17,5 +17,5 @@
mutationObserver.observe(div, {attributes: true});
div.setAttribute('foo', 'bar');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/dom/MutationObserver/clear-transient-without-delivery.html b/LayoutTests/fast/dom/MutationObserver/clear-transient-without-delivery.html
index 89bf856..6accee9 100644
--- a/LayoutTests/fast/dom/MutationObserver/clear-transient-without-delivery.html
+++ b/LayoutTests/fast/dom/MutationObserver/clear-transient-without-delivery.html
@@ -1,4 +1,4 @@
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
window.jsTestIsAsync = true;
description('Transient registrations should be cleared even without delivery.');
@@ -23,4 +23,4 @@
}, 0);
}, 0);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/create-during-delivery.html b/LayoutTests/fast/dom/MutationObserver/create-during-delivery.html
index 958e2dd..07ff249 100644
--- a/LayoutTests/fast/dom/MutationObserver/create-during-delivery.html
+++ b/LayoutTests/fast/dom/MutationObserver/create-during-delivery.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>
window.jsTestIsAsync = true;
@@ -36,4 +36,4 @@
div.setAttribute('foo', 'bar');
setTimeout(finish, 0);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/cross-document.html b/LayoutTests/fast/dom/MutationObserver/cross-document.html
index df66281..7549c75 100644
--- a/LayoutTests/fast/dom/MutationObserver/cross-document.html
+++ b/LayoutTests/fast/dom/MutationObserver/cross-document.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>
@@ -92,6 +92,6 @@
runNextTest();
</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/dom/MutationObserver/database-callback-delivery.html b/LayoutTests/fast/dom/MutationObserver/database-callback-delivery.html
index b719453..144a3e7 100644
--- a/LayoutTests/fast/dom/MutationObserver/database-callback-delivery.html
+++ b/LayoutTests/fast/dom/MutationObserver/database-callback-delivery.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>
window.jsTestIsAsync = true;
var mutations;
@@ -43,4 +43,4 @@
testDatabase();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/delivery-order.html b/LayoutTests/fast/dom/MutationObserver/delivery-order.html
index 85207cf..395ca28 100644
--- a/LayoutTests/fast/dom/MutationObserver/delivery-order.html
+++ b/LayoutTests/fast/dom/MutationObserver/delivery-order.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>
window.jsTestIsAsync = true;
@@ -48,4 +48,4 @@
div.firstChild.textContent = 'goodbye';
setTimeout(finish, 0);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/disconnect-cancel-pending.html b/LayoutTests/fast/dom/MutationObserver/disconnect-cancel-pending.html
index 5b6b260..97f461c 100644
--- a/LayoutTests/fast/dom/MutationObserver/disconnect-cancel-pending.html
+++ b/LayoutTests/fast/dom/MutationObserver/disconnect-cancel-pending.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('Test that WebKitMutationObserver.disconnect cancels pending delivery');
@@ -38,4 +38,4 @@
start();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/document-fragment-insertion.html b/LayoutTests/fast/dom/MutationObserver/document-fragment-insertion.html
index 5726f42..b680d03 100644
--- a/LayoutTests/fast/dom/MutationObserver/document-fragment-insertion.html
+++ b/LayoutTests/fast/dom/MutationObserver/document-fragment-insertion.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('Inserting DocumentFragments should remove all children of the fragment before inserting the children.');
@@ -74,4 +74,4 @@
testAppendChild();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/filesystem-callback-delivery.html b/LayoutTests/fast/dom/MutationObserver/filesystem-callback-delivery.html
index 85b72f9..f39e129 100644
--- a/LayoutTests/fast/dom/MutationObserver/filesystem-callback-delivery.html
+++ b/LayoutTests/fast/dom/MutationObserver/filesystem-callback-delivery.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>
window.jsTestIsAsync = true;
var mutations;
@@ -62,4 +62,4 @@
} else
testFilesystem();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/mutate-during-delivery.html b/LayoutTests/fast/dom/MutationObserver/mutate-during-delivery.html
index 509ed8d..cb7a225 100644
--- a/LayoutTests/fast/dom/MutationObserver/mutate-during-delivery.html
+++ b/LayoutTests/fast/dom/MutationObserver/mutate-during-delivery.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>
window.jsTestIsAsync = true;
@@ -32,4 +32,4 @@
div.setAttribute('foo', 'bar');
setTimeout(finish, 0);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/mutation-observer-constructor.html b/LayoutTests/fast/dom/MutationObserver/mutation-observer-constructor.html
index 6549991..743cc88 100644
--- a/LayoutTests/fast/dom/MutationObserver/mutation-observer-constructor.html
+++ b/LayoutTests/fast/dom/MutationObserver/mutation-observer-constructor.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('Test the constructor of WebKitMutationObserver');
@@ -16,5 +16,5 @@
shouldThrow('new MutationObserver(42)');
shouldThrow('new MutationObserver("foo")');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/dom/MutationObserver/mutation-observer-prefix.html b/LayoutTests/fast/dom/MutationObserver/mutation-observer-prefix.html
index 92862aa..c028c76 100644
--- a/LayoutTests/fast/dom/MutationObserver/mutation-observer-prefix.html
+++ b/LayoutTests/fast/dom/MutationObserver/mutation-observer-prefix.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('Test that new WebKitMutationObserver is the same as new MutationObserver.');
@@ -12,4 +12,4 @@
shouldBeTrue('noPrefixObserver instanceof MutationObserver');
shouldBeTrue('prefixObserver instanceof MutationObserver');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/mutation-record-constructor.html b/LayoutTests/fast/dom/MutationObserver/mutation-record-constructor.html
index bc995db..e62d642 100644
--- a/LayoutTests/fast/dom/MutationObserver/mutation-record-constructor.html
+++ b/LayoutTests/fast/dom/MutationObserver/mutation-record-constructor.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('MutationRecord should be exposed on window but not constructible');
@@ -14,4 +14,4 @@
var record = observer.takeRecords()[0];
shouldBeTrue('record instanceof MutationRecord');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/mutation-record-nullity.html b/LayoutTests/fast/dom/MutationObserver/mutation-record-nullity.html
index 1b53438..5f6ba95 100644
--- a/LayoutTests/fast/dom/MutationObserver/mutation-record-nullity.html
+++ b/LayoutTests/fast/dom/MutationObserver/mutation-record-nullity.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('Non-relevant properties on mutation records should be null, except for NodeLists, which should be empty');
var observer = new MutationObserver(function() {});
@@ -37,4 +37,4 @@
shouldBe('record.addedNodes.length', '0');
shouldBe('record.removedNodes.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/dom/MutationObserver/observe-attributes.html b/LayoutTests/fast/dom/MutationObserver/observe-attributes.html
index 6a7e476..70fdabd 100644
--- a/LayoutTests/fast/dom/MutationObserver/observe-attributes.html
+++ b/LayoutTests/fast/dom/MutationObserver/observe-attributes.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>
window.jsTestIsAsync = true;
@@ -1001,4 +1001,4 @@
runNextTest();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/observe-characterdata.html b/LayoutTests/fast/dom/MutationObserver/observe-characterdata.html
index e37bb42..4ea2c98 100644
--- a/LayoutTests/fast/dom/MutationObserver/observe-characterdata.html
+++ b/LayoutTests/fast/dom/MutationObserver/observe-characterdata.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>
@@ -320,6 +320,6 @@
runNextTest();
</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/dom/MutationObserver/observe-childList.html b/LayoutTests/fast/dom/MutationObserver/observe-childList.html
index 09a5085..ac42738 100644
--- a/LayoutTests/fast/dom/MutationObserver/observe-childList.html
+++ b/LayoutTests/fast/dom/MutationObserver/observe-childList.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>
@@ -418,6 +418,6 @@
runNextTest();
</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/dom/MutationObserver/observe-exceptions.html b/LayoutTests/fast/dom/MutationObserver/observe-exceptions.html
index 11d653d..bd829ec 100644
--- a/LayoutTests/fast/dom/MutationObserver/observe-exceptions.html
+++ b/LayoutTests/fast/dom/MutationObserver/observe-exceptions.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>
@@ -30,6 +30,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/dom/MutationObserver/observe-subtree.html b/LayoutTests/fast/dom/MutationObserver/observe-subtree.html
index e4c0074..9970fd0 100644
--- a/LayoutTests/fast/dom/MutationObserver/observe-subtree.html
+++ b/LayoutTests/fast/dom/MutationObserver/observe-subtree.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>
@@ -300,6 +300,6 @@
runNextTest();
</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/dom/MutationObserver/observer-wrapper-dropoff-transient.html b/LayoutTests/fast/dom/MutationObserver/observer-wrapper-dropoff-transient.html
index 745bb6a..bb2151e 100644
--- a/LayoutTests/fast/dom/MutationObserver/observer-wrapper-dropoff-transient.html
+++ b/LayoutTests/fast/dom/MutationObserver/observer-wrapper-dropoff-transient.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('MutationObserver wrappers should survive GC for passing into the callback even if JS has lost references and the only remaining observations are transient.');
@@ -30,4 +30,4 @@
};
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/observer-wrapper-dropoff.html b/LayoutTests/fast/dom/MutationObserver/observer-wrapper-dropoff.html
index b2547b2..7e221b6 100644
--- a/LayoutTests/fast/dom/MutationObserver/observer-wrapper-dropoff.html
+++ b/LayoutTests/fast/dom/MutationObserver/observer-wrapper-dropoff.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('MutationObserver wrappers should survive GC for passing into the callback even if JS has lost references.');
@@ -26,4 +26,4 @@
};
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/parser-mutations.html b/LayoutTests/fast/dom/MutationObserver/parser-mutations.html
index 0b371c0..edd9093 100644
--- a/LayoutTests/fast/dom/MutationObserver/parser-mutations.html
+++ b/LayoutTests/fast/dom/MutationObserver/parser-mutations.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<body>
-<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/dom/MutationObserver/removed-out-of-order.html b/LayoutTests/fast/dom/MutationObserver/removed-out-of-order.html
index 6fa5829..91850ea 100644
--- a/LayoutTests/fast/dom/MutationObserver/removed-out-of-order.html
+++ b/LayoutTests/fast/dom/MutationObserver/removed-out-of-order.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<div id="sandbox" style="display:none"></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description("Test MutationEvents interfering with MutationObservers: removing nodes 'out of order'");
var sandbox = document.getElementById('sandbox');
@@ -26,4 +26,4 @@
shouldBe("mutations[1].addedNodes[0].tagName", "'I'");
</script>
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/MutationObserver/shadow-dom.html b/LayoutTests/fast/dom/MutationObserver/shadow-dom.html
index 17f247c..371f113 100644
--- a/LayoutTests/fast/dom/MutationObserver/shadow-dom.html
+++ b/LayoutTests/fast/dom/MutationObserver/shadow-dom.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<body>
<input type="range">
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('Test that MutationObservers operate in Shadow DOM');
@@ -42,5 +42,5 @@
else
testFailed('This test only runs in DRT');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/dom/MutationObserver/takeRecords.html b/LayoutTests/fast/dom/MutationObserver/takeRecords.html
index 586b3e7..5e3af00 100644
--- a/LayoutTests/fast/dom/MutationObserver/takeRecords.html
+++ b/LayoutTests/fast/dom/MutationObserver/takeRecords.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>
@@ -77,6 +77,6 @@
runNextTest();
</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/dom/MutationObserver/transient-gc-crash.html b/LayoutTests/fast/dom/MutationObserver/transient-gc-crash.html
index d728a22..92aeba8 100644
--- a/LayoutTests/fast/dom/MutationObserver/transient-gc-crash.html
+++ b/LayoutTests/fast/dom/MutationObserver/transient-gc-crash.html
@@ -1,4 +1,4 @@
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
window.jsTestIsAsync = true;
description('Clearing transient observers after observation node is GCed should not cause a crash.');
@@ -20,4 +20,4 @@
finishJSTest();
}, 0);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Node/DOMNodeRemovedEvent.html b/LayoutTests/fast/dom/Node/DOMNodeRemovedEvent.html
index ccb5d61..ed56403 100644
--- a/LayoutTests/fast/dom/Node/DOMNodeRemovedEvent.html
+++ b/LayoutTests/fast/dom/Node/DOMNodeRemovedEvent.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/DOMNodeRemovedEvent.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/dom/Node/contains-method.html b/LayoutTests/fast/dom/Node/contains-method.html
index 3431a79..9a9ea7e 100644
--- a/LayoutTests/fast/dom/Node/contains-method.html
+++ b/LayoutTests/fast/dom/Node/contains-method.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/contains-method.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/dom/Node/initial-values.html b/LayoutTests/fast/dom/Node/initial-values.html
index 61eee2d..7c2ca48 100644
--- a/LayoutTests/fast/dom/Node/initial-values.html
+++ b/LayoutTests/fast/dom/Node/initial-values.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/initial-values.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/dom/Node/isEqualNode.html b/LayoutTests/fast/dom/Node/isEqualNode.html
index 7666d54..1c85de2 100644
--- a/LayoutTests/fast/dom/Node/isEqualNode.html
+++ b/LayoutTests/fast/dom/Node/isEqualNode.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/isEqualNode.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/dom/Node/normalize-with-cdata.html b/LayoutTests/fast/dom/Node/normalize-with-cdata.html
index afa6d42..aa3e7db 100644
--- a/LayoutTests/fast/dom/Node/normalize-with-cdata.html
+++ b/LayoutTests/fast/dom/Node/normalize-with-cdata.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/normalize-with-cdata.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/dom/Node/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/Node/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/Node/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/Node/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/dom/NodeList/childNodes-reverse-iteration.html b/LayoutTests/fast/dom/NodeList/childNodes-reverse-iteration.html
index b5e8277..e0e7149 100644
--- a/LayoutTests/fast/dom/NodeList/childNodes-reverse-iteration.html
+++ b/LayoutTests/fast/dom/NodeList/childNodes-reverse-iteration.html
@@ -4,7 +4,7 @@
<p>This is an integration test for childNodes. You should see 1 through 5 below.</p>
<pre></pre>
<div id="console"></div>
-<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/dom/NodeList/nodelist-item-assignment.html b/LayoutTests/fast/dom/NodeList/nodelist-item-assignment.html
index 159587d..397436d 100644
--- a/LayoutTests/fast/dom/NodeList/nodelist-item-assignment.html
+++ b/LayoutTests/fast/dom/NodeList/nodelist-item-assignment.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 id="description"></p>
@@ -22,6 +22,6 @@
shouldBe("nodeList[0]", "first");
}
</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/dom/NodeList/nodelist-item-call-as-function.html b/LayoutTests/fast/dom/NodeList/nodelist-item-call-as-function.html
index fd85f8b..10e6e1a 100644
--- a/LayoutTests/fast/dom/NodeList/nodelist-item-call-as-function.html
+++ b/LayoutTests/fast/dom/NodeList/nodelist-item-call-as-function.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/nodelist-item-call-as-function.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/dom/NodeList/nodelist-item-with-index.html b/LayoutTests/fast/dom/NodeList/nodelist-item-with-index.html
index dd7dd06..5a8e707 100644
--- a/LayoutTests/fast/dom/NodeList/nodelist-item-with-index.html
+++ b/LayoutTests/fast/dom/NodeList/nodelist-item-with-index.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 id="description"></p>
@@ -30,6 +30,6 @@
shouldBeFalse("div0s == div1");
shouldBeFalse("div0s_ == div1");
</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/dom/NodeList/nodelist-item-with-name.html b/LayoutTests/fast/dom/NodeList/nodelist-item-with-name.html
index a4d5651..ef79f29 100644
--- a/LayoutTests/fast/dom/NodeList/nodelist-item-with-name.html
+++ b/LayoutTests/fast/dom/NodeList/nodelist-item-with-name.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 id="description"></p>
@@ -22,6 +22,6 @@
shouldBe("div1.innerHTML", "'text1'");
shouldBe("div2.innerHTML", "'text2'");
</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/dom/NodeList/nodelist-namespace-invalidation.html b/LayoutTests/fast/dom/NodeList/nodelist-namespace-invalidation.html
index b63371d..f9b48cf 100644
--- a/LayoutTests/fast/dom/NodeList/nodelist-namespace-invalidation.html
+++ b/LayoutTests/fast/dom/NodeList/nodelist-namespace-invalidation.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>
description("This tests that node lists returned by getElementsByTagNameNS are invalidated upon child node changes.");
diff --git a/LayoutTests/fast/dom/NodeList/nodelist-reachable.html b/LayoutTests/fast/dom/NodeList/nodelist-reachable.html
index c1e8fee..f581a7b 100644
--- a/LayoutTests/fast/dom/NodeList/nodelist-reachable.html
+++ b/LayoutTests/fast/dom/NodeList/nodelist-reachable.html
@@ -4,7 +4,7 @@
<input name="radios" type="radio">
<input name="radios" type="radio">
</form>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
var nodeListKind = {
@@ -27,5 +27,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/dom/NodeList/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/NodeList/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/NodeList/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/NodeList/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/dom/Orientation/create-event-orientationchange.html b/LayoutTests/fast/dom/Orientation/create-event-orientationchange.html
index 408bbbc..0ee810cb 100644
--- a/LayoutTests/fast/dom/Orientation/create-event-orientationchange.html
+++ b/LayoutTests/fast/dom/Orientation/create-event-orientationchange.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>
<p id="description"></p>
<div id="console"></div>
<div id="result"></div>
<script src="script-tests/create-event-orientationchange.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/dom/Range/31684.html b/LayoutTests/fast/dom/Range/31684.html
index c604b24..fc9fbd6 100644
--- a/LayoutTests/fast/dom/Range/31684.html
+++ b/LayoutTests/fast/dom/Range/31684.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/31684.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/dom/Range/detach-range-during-deletecontents.html b/LayoutTests/fast/dom/Range/detach-range-during-deletecontents.html
index 40658f4..e9338ee 100644
--- a/LayoutTests/fast/dom/Range/detach-range-during-deletecontents.html
+++ b/LayoutTests/fast/dom/Range/detach-range-during-deletecontents.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>
@@ -22,5 +22,5 @@
document.body.appendChild(iframe);
</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/dom/Range/getBoundingClientRect-getClientRects-relative-to-viewport.html b/LayoutTests/fast/dom/Range/getBoundingClientRect-getClientRects-relative-to-viewport.html
index ba1e17d..34875fd 100644
--- a/LayoutTests/fast/dom/Range/getBoundingClientRect-getClientRects-relative-to-viewport.html
+++ b/LayoutTests/fast/dom/Range/getBoundingClientRect-getClientRects-relative-to-viewport.html
@@ -1,5 +1,5 @@
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
#pusher {
width: 1000px;
@@ -50,4 +50,4 @@
area.parentNode.removeChild(area);
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Range/getBoundingClientRect.html b/LayoutTests/fast/dom/Range/getBoundingClientRect.html
index a8c1ad3..a45f188 100644
--- a/LayoutTests/fast/dom/Range/getBoundingClientRect.html
+++ b/LayoutTests/fast/dom/Range/getBoundingClientRect.html
@@ -1,4 +1,4 @@
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
body {
font: 16px Ahem;
@@ -167,4 +167,4 @@
area.parentNode.removeChild(area);
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Range/getClientRects-vertical.html b/LayoutTests/fast/dom/Range/getClientRects-vertical.html
index e99a187..09a30d1 100644
--- a/LayoutTests/fast/dom/Range/getClientRects-vertical.html
+++ b/LayoutTests/fast/dom/Range/getClientRects-vertical.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>
.test { -webkit-writing-mode: vertical-lr; }
</style>
@@ -36,6 +36,6 @@
var testarea = document.getElementById("testarea");
testarea.parentNode.removeChild(testarea);
</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/dom/Range/getClientRects.html b/LayoutTests/fast/dom/Range/getClientRects.html
index 94378d2..3b705f9 100644
--- a/LayoutTests/fast/dom/Range/getClientRects.html
+++ b/LayoutTests/fast/dom/Range/getClientRects.html
@@ -1,4 +1,4 @@
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<style>
.bbox {
position:absolute;
@@ -476,4 +476,4 @@
area.parentNode.removeChild(area);
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Range/insertNode-empty-fragment-crash.html b/LayoutTests/fast/dom/Range/insertNode-empty-fragment-crash.html
index 7ec617c..ec7dfc9 100644
--- a/LayoutTests/fast/dom/Range/insertNode-empty-fragment-crash.html
+++ b/LayoutTests/fast/dom/Range/insertNode-empty-fragment-crash.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>
<script>
@@ -33,6 +33,6 @@
document.body.removeChild(p);
</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/dom/Range/mutation.html b/LayoutTests/fast/dom/Range/mutation.html
index 4a2a99a..7d17d2e 100644
--- a/LayoutTests/fast/dom/Range/mutation.html
+++ b/LayoutTests/fast/dom/Range/mutation.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/mutation.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/dom/Range/range-clone-empty.html b/LayoutTests/fast/dom/Range/range-clone-empty.html
index c173425..cb21bd4 100644
--- a/LayoutTests/fast/dom/Range/range-clone-empty.html
+++ b/LayoutTests/fast/dom/Range/range-clone-empty.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/range-clone-empty.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/dom/Range/range-exceptions.html b/LayoutTests/fast/dom/Range/range-exceptions.html
index dbe0075..600731c 100644
--- a/LayoutTests/fast/dom/Range/range-exceptions.html
+++ b/LayoutTests/fast/dom/Range/range-exceptions.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/range-exceptions.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/dom/Range/range-insertNode-assertion.html b/LayoutTests/fast/dom/Range/range-insertNode-assertion.html
index 8e5355f..88b38c5 100644
--- a/LayoutTests/fast/dom/Range/range-insertNode-assertion.html
+++ b/LayoutTests/fast/dom/Range/range-insertNode-assertion.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="parent1">text</div>
<div id="parent2">text</div>
<script>
@@ -33,5 +33,5 @@
testPassed('if this did not crash.');
parent.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/dom/Range/range-insertNode-separate-endContainer.html b/LayoutTests/fast/dom/Range/range-insertNode-separate-endContainer.html
index 32358f8..adf4734 100644
--- a/LayoutTests/fast/dom/Range/range-insertNode-separate-endContainer.html
+++ b/LayoutTests/fast/dom/Range/range-insertNode-separate-endContainer.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/range-insertNode-separate-endContainer.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/dom/Range/range-insertNode-splittext.html b/LayoutTests/fast/dom/Range/range-insertNode-splittext.html
index 3bbe817..a8cb242 100644
--- a/LayoutTests/fast/dom/Range/range-insertNode-splittext.html
+++ b/LayoutTests/fast/dom/Range/range-insertNode-splittext.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/range-insertNode-splittext.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/dom/Range/range-intersectsNode-exception.html b/LayoutTests/fast/dom/Range/range-intersectsNode-exception.html
index 9fda0de..f365d3a 100644
--- a/LayoutTests/fast/dom/Range/range-intersectsNode-exception.html
+++ b/LayoutTests/fast/dom/Range/range-intersectsNode-exception.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>
<!-- hidden area to create the ranges being tested -->
@@ -17,6 +17,6 @@
range.detach();
shouldThrow("range.intersectsNode(document.getElementById('b1'))", '"Error: InvalidStateError: DOM Exception 11"');
</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/dom/Range/range-intersectsNode.html b/LayoutTests/fast/dom/Range/range-intersectsNode.html
index 62fe299..ec0d903 100644
--- a/LayoutTests/fast/dom/Range/range-intersectsNode.html
+++ b/LayoutTests/fast/dom/Range/range-intersectsNode.html
@@ -1,7 +1,7 @@
<html>
<head>
<title>Test for Range.intersectsNode()</title>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -25,6 +25,6 @@
<iframe name="frame2" style="border: 1px solid black;"></iframe>
</div>
<script src="./resources/intersectsNode.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/dom/Range/range-modifycontents.html b/LayoutTests/fast/dom/Range/range-modifycontents.html
index a2cadb7..c111dff 100644
--- a/LayoutTests/fast/dom/Range/range-modifycontents.html
+++ b/LayoutTests/fast/dom/Range/range-modifycontents.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/range-modifycontents.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/dom/Range/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/Range/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/Range/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/Range/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/dom/Range/select-node-different-document.html b/LayoutTests/fast/dom/Range/select-node-different-document.html
index a8718f6..888f4e5 100644
--- a/LayoutTests/fast/dom/Range/select-node-different-document.html
+++ b/LayoutTests/fast/dom/Range/select-node-different-document.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>
<body>
@@ -31,6 +31,6 @@
shouldBeTrue("selectNodeContentsRange.endContainer.ownerDocument === otherDocument");
shouldBeTrue("selectNodeRange.cloneContents().ownerDocument === otherDocument");
</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/dom/Range/set-wrong-document-err.html b/LayoutTests/fast/dom/Range/set-wrong-document-err.html
index 1a50a0f..a903e92 100644
--- a/LayoutTests/fast/dom/Range/set-wrong-document-err.html
+++ b/LayoutTests/fast/dom/Range/set-wrong-document-err.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>
function newRange() {
@@ -50,5 +50,5 @@
iframe.parentNode.removeChild(iframe);
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/dom/Range/split-text-in-range.html b/LayoutTests/fast/dom/Range/split-text-in-range.html
index 2188706..02feecf 100644
--- a/LayoutTests/fast/dom/Range/split-text-in-range.html
+++ b/LayoutTests/fast/dom/Range/split-text-in-range.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="parent1">text</div>
<script>
var parent = document.getElementById('parent1');
@@ -20,5 +20,5 @@
testPassed(' if the test wasn\'t terminated by an assertion.');
parent.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/dom/Selection/collapseToX-empty-selection.html b/LayoutTests/fast/dom/Selection/collapseToX-empty-selection.html
index 18ea4fe..24903fa 100644
--- a/LayoutTests/fast/dom/Selection/collapseToX-empty-selection.html
+++ b/LayoutTests/fast/dom/Selection/collapseToX-empty-selection.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/collapseToX-empty-selection.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/dom/Selection/getRangeAt.html b/LayoutTests/fast/dom/Selection/getRangeAt.html
index aaf8f50..bbb0072 100644
--- a/LayoutTests/fast/dom/Selection/getRangeAt.html
+++ b/LayoutTests/fast/dom/Selection/getRangeAt.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/getRangeAt.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/dom/Selection/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/Selection/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/Selection/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/Selection/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/dom/SelectorAPI/attrname-case-insensitive.html b/LayoutTests/fast/dom/SelectorAPI/attrname-case-insensitive.html
index f0a2afd..234b21a 100644
--- a/LayoutTests/fast/dom/SelectorAPI/attrname-case-insensitive.html
+++ b/LayoutTests/fast/dom/SelectorAPI/attrname-case-insensitive.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>
<!-- Check that in HTML documents CSS selectors use case-insensitive attribute name matching for HTML elements, case-sensitive otherwise. -->
@@ -43,6 +43,6 @@
checkNonMatchingSelector('path[pathlength="200"]');
checkNonMatchingSelector('path[pathLengTh="200"]');
</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/dom/SelectorAPI/attrname-case-sensitive.xhtml b/LayoutTests/fast/dom/SelectorAPI/attrname-case-sensitive.xhtml
index 2f19363..8d49c27 100644
--- a/LayoutTests/fast/dom/SelectorAPI/attrname-case-sensitive.xhtml
+++ b/LayoutTests/fast/dom/SelectorAPI/attrname-case-sensitive.xhtml
@@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<!-- Check that in XHTML documents CSS selectors always use case-sensitive attribute name matching. -->
@@ -45,6 +45,6 @@
checkNonMatchingSelector('path[pathlength="200"]');
checkNonMatchingSelector('path[pathLengTh="200"]');
</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/dom/SelectorAPI/caseID-almost-strict.html b/LayoutTests/fast/dom/SelectorAPI/caseID-almost-strict.html
index 3fc4966..95a67ef 100644
--- a/LayoutTests/fast/dom/SelectorAPI/caseID-almost-strict.html
+++ b/LayoutTests/fast/dom/SelectorAPI/caseID-almost-strict.html
@@ -1,7 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div style="display: none">
@@ -21,6 +21,6 @@
shouldBeTrue("document.getElementById('UPPER1').webkitMatchesSelector('#UPPER1')");
shouldBeFalse("document.getElementById('UPPER2').webkitMatchesSelector('#upper2')");
</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/dom/SelectorAPI/caseID-strict.html b/LayoutTests/fast/dom/SelectorAPI/caseID-strict.html
index 55ac4e3..9d095c5 100644
--- a/LayoutTests/fast/dom/SelectorAPI/caseID-strict.html
+++ b/LayoutTests/fast/dom/SelectorAPI/caseID-strict.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 style="display: none">
@@ -21,6 +21,6 @@
shouldBeTrue("document.getElementById('UPPER1').webkitMatchesSelector('#UPPER1')");
shouldBeFalse("document.getElementById('UPPER2').webkitMatchesSelector('#upper2')");
</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/dom/SelectorAPI/caseID.html b/LayoutTests/fast/dom/SelectorAPI/caseID.html
index f9b52bc..700abe7 100644
--- a/LayoutTests/fast/dom/SelectorAPI/caseID.html
+++ b/LayoutTests/fast/dom/SelectorAPI/caseID.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 style="display: none">
@@ -20,6 +20,6 @@
shouldBeTrue("document.getElementById('UPPER1').webkitMatchesSelector('#UPPER1')");
shouldBeTrue("document.getElementById('UPPER2').webkitMatchesSelector('#upper2')");
</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/dom/SelectorAPI/caseTag.html b/LayoutTests/fast/dom/SelectorAPI/caseTag.html
index c4c49b3..69c7687 100644
--- a/LayoutTests/fast/dom/SelectorAPI/caseTag.html
+++ b/LayoutTests/fast/dom/SelectorAPI/caseTag.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 style="display: none">
@@ -14,6 +14,6 @@
shouldBeTrue("document.getElementById('lower1').webkitMatchesSelector('div SPAN')");
shouldBeTrue("document.getElementById('UPPER1').webkitMatchesSelector('div p')");
</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/dom/SelectorAPI/caseTagX.xhtml b/LayoutTests/fast/dom/SelectorAPI/caseTagX.xhtml
index 3b8a947..5dddea2 100644
--- a/LayoutTests/fast/dom/SelectorAPI/caseTagX.xhtml
+++ b/LayoutTests/fast/dom/SelectorAPI/caseTagX.xhtml
@@ -4,7 +4,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div style="display: none">
@@ -18,6 +18,6 @@
shouldBeFalse("document.getElementById('lower1').webkitMatchesSelector('div SPAN')");
]]>
</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/dom/SelectorAPI/detached-element.html b/LayoutTests/fast/dom/SelectorAPI/detached-element.html
index 9fdb0e4..76bc964 100644
--- a/LayoutTests/fast/dom/SelectorAPI/detached-element.html
+++ b/LayoutTests/fast/dom/SelectorAPI/detached-element.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/detached-element.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/dom/SelectorAPI/elementRoot.html b/LayoutTests/fast/dom/SelectorAPI/elementRoot.html
index cf32d3c..3624433 100644
--- a/LayoutTests/fast/dom/SelectorAPI/elementRoot.html
+++ b/LayoutTests/fast/dom/SelectorAPI/elementRoot.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/elementRoot.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/dom/SelectorAPI/id-fastpath-almost-strict.html b/LayoutTests/fast/dom/SelectorAPI/id-fastpath-almost-strict.html
index e7a15bd..6efcaa3 100644
--- a/LayoutTests/fast/dom/SelectorAPI/id-fastpath-almost-strict.html
+++ b/LayoutTests/fast/dom/SelectorAPI/id-fastpath-almost-strict.html
@@ -1,10 +1,10 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script src="resources/id-fastpath-almost-strict.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/dom/SelectorAPI/id-fastpath-strict.html b/LayoutTests/fast/dom/SelectorAPI/id-fastpath-strict.html
index d038edc..fe34dc7 100644
--- a/LayoutTests/fast/dom/SelectorAPI/id-fastpath-strict.html
+++ b/LayoutTests/fast/dom/SelectorAPI/id-fastpath-strict.html
@@ -2,10 +2,10 @@
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script src="resources/id-fastpath-strict.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/dom/SelectorAPI/id-fastpath.html b/LayoutTests/fast/dom/SelectorAPI/id-fastpath.html
index e6b6609..56268cf 100644
--- a/LayoutTests/fast/dom/SelectorAPI/id-fastpath.html
+++ b/LayoutTests/fast/dom/SelectorAPI/id-fastpath.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/id-fastpath.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/dom/SelectorAPI/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/SelectorAPI/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/SelectorAPI/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/SelectorAPI/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/dom/SelectorAPI/undefined-null-stringify.html b/LayoutTests/fast/dom/SelectorAPI/undefined-null-stringify.html
index b4f3707..a9dc0c7 100644
--- a/LayoutTests/fast/dom/SelectorAPI/undefined-null-stringify.html
+++ b/LayoutTests/fast/dom/SelectorAPI/undefined-null-stringify.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/undefined-null-stringify.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/dom/SelectorAPI/viewless-document.html b/LayoutTests/fast/dom/SelectorAPI/viewless-document.html
index c91c16b..e5aec34 100644
--- a/LayoutTests/fast/dom/SelectorAPI/viewless-document.html
+++ b/LayoutTests/fast/dom/SelectorAPI/viewless-document.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/viewless-document.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/dom/StyleSheet/css-medialist-item.html b/LayoutTests/fast/dom/StyleSheet/css-medialist-item.html
index 81a929a..072cf0a 100644
--- a/LayoutTests/fast/dom/StyleSheet/css-medialist-item.html
+++ b/LayoutTests/fast/dom/StyleSheet/css-medialist-item.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/css-medialist-item.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/dom/StyleSheet/detached-parent-rule-without-wrapper.html b/LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper.html
index 3410d12..9e28bab 100644
--- a/LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper.html
+++ b/LayoutTests/fast/dom/StyleSheet/detached-parent-rule-without-wrapper.html
@@ -3,7 +3,7 @@
<style>
@media all { #test { color: green; } }
</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="test"></div>
@@ -19,6 +19,6 @@
shouldBe("rule.parentRule", "null");
shouldBe('getMatchedCSSRules(document.getElementById("test"))', '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/dom/StyleSheet/detached-sheet-owner-node-link.html b/LayoutTests/fast/dom/StyleSheet/detached-sheet-owner-node-link.html
index 9399c98..a892db8 100644
--- a/LayoutTests/fast/dom/StyleSheet/detached-sheet-owner-node-link.html
+++ b/LayoutTests/fast/dom/StyleSheet/detached-sheet-owner-node-link.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('This tests that accessing ownerNode on a disconnected style sheet does not crash');
@@ -20,4 +20,4 @@
</script>
<iframe src="data:text/html,<link rel='stylesheet' href='data:text/css,*{}'>"></iframe>
-<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/dom/StyleSheet/detached-sheet-owner-node.html b/LayoutTests/fast/dom/StyleSheet/detached-sheet-owner-node.html
index e77a7cb..a6340dc 100644
--- a/LayoutTests/fast/dom/StyleSheet/detached-sheet-owner-node.html
+++ b/LayoutTests/fast/dom/StyleSheet/detached-sheet-owner-node.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('This tests that accessing ownerNode on a disconnected style sheet does not crash');
@@ -20,4 +20,4 @@
</script>
<iframe src="data:text/html,<style>*{}</style>"></iframe>
-<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/dom/StyleSheet/detached-style-pi.xhtml b/LayoutTests/fast/dom/StyleSheet/detached-style-pi.xhtml
index 382aa6d..9aad15a 100644
--- a/LayoutTests/fast/dom/StyleSheet/detached-style-pi.xhtml
+++ b/LayoutTests/fast/dom/StyleSheet/detached-style-pi.xhtml
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title/>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p><a href="https://bugs.webkit.org/show_bug.cgi?id=45205">Bug 45205</a>:
diff --git a/LayoutTests/fast/dom/StyleSheet/detached-style.html b/LayoutTests/fast/dom/StyleSheet/detached-style.html
index 633e193..4abb154 100644
--- a/LayoutTests/fast/dom/StyleSheet/detached-style.html
+++ b/LayoutTests/fast/dom/StyleSheet/detached-style.html
@@ -2,7 +2,7 @@
<head>
<link rel="stylesheet" href="resources/detached-style.css" type="text/css" media="screen">
<style>* { }</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<p><a href="https://bugs.webkit.org/show_bug.cgi?id=45205">Bug 45205</a>:
@@ -52,6 +52,6 @@
shouldBe('style.sheet.ownerNode', 'style')
</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/dom/StyleSheet/detached-stylesheet-without-wrapper.html b/LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper.html
index 134c852..66eee20 100644
--- a/LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper.html
+++ b/LayoutTests/fast/dom/StyleSheet/detached-stylesheet-without-wrapper.html
@@ -5,7 +5,7 @@
text-decoration: line-through;
}
</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<span id="test-element"></div>
@@ -18,6 +18,6 @@
document.documentElement.removeChild(document.head);
shouldBe("rule.parentStyleSheet", "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/dom/StyleSheet/gc-declaration-parent-rule.html b/LayoutTests/fast/dom/StyleSheet/gc-declaration-parent-rule.html
index 41958dc..62c5432 100644
--- a/LayoutTests/fast/dom/StyleSheet/gc-declaration-parent-rule.html
+++ b/LayoutTests/fast/dom/StyleSheet/gc-declaration-parent-rule.html
@@ -3,7 +3,7 @@
<style>
div { color:black }
</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body onload="test()">
<script>
@@ -27,6 +27,6 @@
}
</script>
<foo id="mystyle" style="display:none">.div { color: white; }</foo>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/StyleSheet/gc-inline-style-cssvalues.html b/LayoutTests/fast/dom/StyleSheet/gc-inline-style-cssvalues.html
index f33eb09..64f9c32 100644
--- a/LayoutTests/fast/dom/StyleSheet/gc-inline-style-cssvalues.html
+++ b/LayoutTests/fast/dom/StyleSheet/gc-inline-style-cssvalues.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 style="color:black">
<script>
@@ -13,6 +13,6 @@
shouldBe(expr + ".foo", "'bar'");
</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/dom/StyleSheet/gc-parent-rule.html b/LayoutTests/fast/dom/StyleSheet/gc-parent-rule.html
index a1a64ec..cbf52f0 100644
--- a/LayoutTests/fast/dom/StyleSheet/gc-parent-rule.html
+++ b/LayoutTests/fast/dom/StyleSheet/gc-parent-rule.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()">
<script>
@@ -24,6 +24,6 @@
}
</script>
<foo id="mystyle" style="display:none">.div { color: white; }</foo>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/StyleSheet/gc-parent-stylesheet.html b/LayoutTests/fast/dom/StyleSheet/gc-parent-stylesheet.html
index 6b48965..a50329e 100644
--- a/LayoutTests/fast/dom/StyleSheet/gc-parent-stylesheet.html
+++ b/LayoutTests/fast/dom/StyleSheet/gc-parent-stylesheet.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()">
<script>
@@ -24,6 +24,6 @@
}
</script>
<foo id="mystyle" style="display:none">.div { color: white; }</foo>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/StyleSheet/gc-rule-children-wrappers.html b/LayoutTests/fast/dom/StyleSheet/gc-rule-children-wrappers.html
index 79c076f..c2f4744 100644
--- a/LayoutTests/fast/dom/StyleSheet/gc-rule-children-wrappers.html
+++ b/LayoutTests/fast/dom/StyleSheet/gc-rule-children-wrappers.html
@@ -22,7 +22,7 @@
@page { margin: 3cm; }
</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body style="color:black">
<script>
@@ -47,6 +47,6 @@
test("document.styleSheets[0].cssRules[5]", "CSSRule.PAGE_RULE", "style");
</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/dom/StyleSheet/gc-styleheet-wrapper.xhtml b/LayoutTests/fast/dom/StyleSheet/gc-styleheet-wrapper.xhtml
index ced4ff8..0de48a5 100644
--- a/LayoutTests/fast/dom/StyleSheet/gc-styleheet-wrapper.xhtml
+++ b/LayoutTests/fast/dom/StyleSheet/gc-styleheet-wrapper.xhtml
@@ -6,7 +6,7 @@
<style title="testSheet">
* { }
</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body onload="start()">
<script>
@@ -34,6 +34,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/dom/StyleSheet/get-stylesheet-byname.html b/LayoutTests/fast/dom/StyleSheet/get-stylesheet-byname.html
index aa17b0f..d5b05ff 100644
--- a/LayoutTests/fast/dom/StyleSheet/get-stylesheet-byname.html
+++ b/LayoutTests/fast/dom/StyleSheet/get-stylesheet-byname.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/get-stylesheet-byname.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/dom/StyleSheet/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/StyleSheet/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/StyleSheet/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/StyleSheet/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/dom/Text/remove.html b/LayoutTests/fast/dom/Text/remove.html
index 876e71a..f4fdba3 100644
--- a/LayoutTests/fast/dom/Text/remove.html
+++ b/LayoutTests/fast/dom/Text/remove.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="test"></div>
<script>
@@ -15,4 +15,4 @@
shouldBe('testDiv.childNodes.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/dom/Text/replaceWholeText.html b/LayoutTests/fast/dom/Text/replaceWholeText.html
index 4ceab18..365c44f 100644
--- a/LayoutTests/fast/dom/Text/replaceWholeText.html
+++ b/LayoutTests/fast/dom/Text/replaceWholeText.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/replaceWholeText.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/dom/Text/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/Text/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/Text/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/Text/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/dom/Text/text-should-not-have-attributes.html b/LayoutTests/fast/dom/Text/text-should-not-have-attributes.html
index fa4751d..b71533e 100644
--- a/LayoutTests/fast/dom/Text/text-should-not-have-attributes.html
+++ b/LayoutTests/fast/dom/Text/text-should-not-have-attributes.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="test"></div>
<script>
@@ -12,4 +12,4 @@
shouldBeFalse('"attributes" in text');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/TreeWalker/TreeWalker-currentNode.html b/LayoutTests/fast/dom/TreeWalker/TreeWalker-currentNode.html
index 3fbf147..5120f85 100644
--- a/LayoutTests/fast/dom/TreeWalker/TreeWalker-currentNode.html
+++ b/LayoutTests/fast/dom/TreeWalker/TreeWalker-currentNode.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="resources/TreeWalker-currentNode.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/dom/TreeWalker/acceptNode-filter.html b/LayoutTests/fast/dom/TreeWalker/acceptNode-filter.html
index e0a8ac8..d09f6fd 100644
--- a/LayoutTests/fast/dom/TreeWalker/acceptNode-filter.html
+++ b/LayoutTests/fast/dom/TreeWalker/acceptNode-filter.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<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/acceptNode-filter.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/dom/TreeWalker/filter-throw.html b/LayoutTests/fast/dom/TreeWalker/filter-throw.html
index d338bac..8c18981 100644
--- a/LayoutTests/fast/dom/TreeWalker/filter-throw.html
+++ b/LayoutTests/fast/dom/TreeWalker/filter-throw.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<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/filter-throw.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/dom/TreeWalker/previousNodeLastChildReject.html b/LayoutTests/fast/dom/TreeWalker/previousNodeLastChildReject.html
index b379388..020b063 100644
--- a/LayoutTests/fast/dom/TreeWalker/previousNodeLastChildReject.html
+++ b/LayoutTests/fast/dom/TreeWalker/previousNodeLastChildReject.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/previousNodeLastChildReject.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/dom/TreeWalker/previousSiblingLastChildSkip.html b/LayoutTests/fast/dom/TreeWalker/previousSiblingLastChildSkip.html
index 04c9af1..06b3dbb 100644
--- a/LayoutTests/fast/dom/TreeWalker/previousSiblingLastChildSkip.html
+++ b/LayoutTests/fast/dom/TreeWalker/previousSiblingLastChildSkip.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/previousSiblingLastChildSkip.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/dom/TreeWalker/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/TreeWalker/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/TreeWalker/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/TreeWalker/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/dom/TreeWalker/traversal-reject.html b/LayoutTests/fast/dom/TreeWalker/traversal-reject.html
index ef24c92..3340387 100644
--- a/LayoutTests/fast/dom/TreeWalker/traversal-reject.html
+++ b/LayoutTests/fast/dom/TreeWalker/traversal-reject.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<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/traversal-reject.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/dom/TreeWalker/traversal-skip-most.html b/LayoutTests/fast/dom/TreeWalker/traversal-skip-most.html
index f12d2b5..1fb46da 100644
--- a/LayoutTests/fast/dom/TreeWalker/traversal-skip-most.html
+++ b/LayoutTests/fast/dom/TreeWalker/traversal-skip-most.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<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/traversal-skip-most.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/dom/TreeWalker/traversal-skip.html b/LayoutTests/fast/dom/TreeWalker/traversal-skip.html
index cf94df3..e345de4 100644
--- a/LayoutTests/fast/dom/TreeWalker/traversal-skip.html
+++ b/LayoutTests/fast/dom/TreeWalker/traversal-skip.html
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<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/traversal-skip.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/dom/URL-attribute-reflection.html b/LayoutTests/fast/dom/URL-attribute-reflection.html
index ed10496..83db766 100644
--- a/LayoutTests/fast/dom/URL-attribute-reflection.html
+++ b/LayoutTests/fast/dom/URL-attribute-reflection.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/URL-attribute-reflection.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/dom/Window/HTMLBodyElement-window-eventListener-attributes.html b/LayoutTests/fast/dom/Window/HTMLBodyElement-window-eventListener-attributes.html
index 41804d3..53d5c84 100644
--- a/LayoutTests/fast/dom/Window/HTMLBodyElement-window-eventListener-attributes.html
+++ b/LayoutTests/fast/dom/Window/HTMLBodyElement-window-eventListener-attributes.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/HTMLBodyElement-window-eventListener-attributes.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/dom/Window/HTMLFrameSetElement-window-eventListener-attributes.html b/LayoutTests/fast/dom/Window/HTMLFrameSetElement-window-eventListener-attributes.html
index f6e83e3..d1b8d29 100644
--- a/LayoutTests/fast/dom/Window/HTMLFrameSetElement-window-eventListener-attributes.html
+++ b/LayoutTests/fast/dom/Window/HTMLFrameSetElement-window-eventListener-attributes.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/HTMLFrameSetElement-window-eventListener-attributes.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/dom/Window/Location/location-override-toString-on-proto-using-defineGetter.html b/LayoutTests/fast/dom/Window/Location/location-override-toString-on-proto-using-defineGetter.html
index f33ae4a..149a96d 100644
--- a/LayoutTests/fast/dom/Window/Location/location-override-toString-on-proto-using-defineGetter.html
+++ b/LayoutTests/fast/dom/Window/Location/location-override-toString-on-proto-using-defineGetter.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/location-tests-functions.js"></script>
</head>
<body>
@@ -13,6 +13,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/location-override-toString-on-proto-using-with.html b/LayoutTests/fast/dom/Window/Location/location-override-toString-on-proto-using-with.html
index 2ef9b628..b974fe3 100644
--- a/LayoutTests/fast/dom/Window/Location/location-override-toString-on-proto-using-with.html
+++ b/LayoutTests/fast/dom/Window/Location/location-override-toString-on-proto-using-with.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/location-tests-functions.js"></script>
</head>
<body>
@@ -13,6 +13,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/location-override-toString-on-proto.html b/LayoutTests/fast/dom/Window/Location/location-override-toString-on-proto.html
index 97dc83f..6e170d7 100644
--- a/LayoutTests/fast/dom/Window/Location/location-override-toString-on-proto.html
+++ b/LayoutTests/fast/dom/Window/Location/location-override-toString-on-proto.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/location-tests-functions.js"></script>
</head>
<body>
@@ -11,6 +11,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/location-override-toString-using-defineGetter.html b/LayoutTests/fast/dom/Window/Location/location-override-toString-using-defineGetter.html
index 059a0e3..13a097a 100644
--- a/LayoutTests/fast/dom/Window/Location/location-override-toString-using-defineGetter.html
+++ b/LayoutTests/fast/dom/Window/Location/location-override-toString-using-defineGetter.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/location-tests-functions.js"></script>
</head>
<body>
@@ -13,6 +13,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/location-override-toString-using-with.html b/LayoutTests/fast/dom/Window/Location/location-override-toString-using-with.html
index feef488..695027f 100644
--- a/LayoutTests/fast/dom/Window/Location/location-override-toString-using-with.html
+++ b/LayoutTests/fast/dom/Window/Location/location-override-toString-using-with.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/location-tests-functions.js"></script>
</head>
<body>
@@ -13,6 +13,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/location-override-toString.html b/LayoutTests/fast/dom/Window/Location/location-override-toString.html
index af1b716..7cf85af 100644
--- a/LayoutTests/fast/dom/Window/Location/location-override-toString.html
+++ b/LayoutTests/fast/dom/Window/Location/location-override-toString.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/location-tests-functions.js"></script>
</head>
<body>
@@ -11,6 +11,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/location-override-valueOf-on-proto-using-defineGetter.html b/LayoutTests/fast/dom/Window/Location/location-override-valueOf-on-proto-using-defineGetter.html
index 5fa8391..b83b38f 100644
--- a/LayoutTests/fast/dom/Window/Location/location-override-valueOf-on-proto-using-defineGetter.html
+++ b/LayoutTests/fast/dom/Window/Location/location-override-valueOf-on-proto-using-defineGetter.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/location-tests-functions.js"></script>
</head>
<body>
@@ -13,6 +13,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/location-override-valueOf-on-proto-using-with.html b/LayoutTests/fast/dom/Window/Location/location-override-valueOf-on-proto-using-with.html
index 6db5154..cb104c2 100644
--- a/LayoutTests/fast/dom/Window/Location/location-override-valueOf-on-proto-using-with.html
+++ b/LayoutTests/fast/dom/Window/Location/location-override-valueOf-on-proto-using-with.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/location-tests-functions.js"></script>
</head>
<body>
@@ -13,6 +13,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/location-override-valueOf-on-proto.html b/LayoutTests/fast/dom/Window/Location/location-override-valueOf-on-proto.html
index a210905..5c18e0b 100644
--- a/LayoutTests/fast/dom/Window/Location/location-override-valueOf-on-proto.html
+++ b/LayoutTests/fast/dom/Window/Location/location-override-valueOf-on-proto.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/location-tests-functions.js"></script>
</head>
<body>
@@ -11,6 +11,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/location-override-valueOf-using-defineGetter.html b/LayoutTests/fast/dom/Window/Location/location-override-valueOf-using-defineGetter.html
index c7f77f2..5d0b019 100644
--- a/LayoutTests/fast/dom/Window/Location/location-override-valueOf-using-defineGetter.html
+++ b/LayoutTests/fast/dom/Window/Location/location-override-valueOf-using-defineGetter.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/location-tests-functions.js"></script>
</head>
<body>
@@ -13,6 +13,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/location-override-valueOf-using-with.html b/LayoutTests/fast/dom/Window/Location/location-override-valueOf-using-with.html
index 25dc74c..d3ffbf0 100644
--- a/LayoutTests/fast/dom/Window/Location/location-override-valueOf-using-with.html
+++ b/LayoutTests/fast/dom/Window/Location/location-override-valueOf-using-with.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/location-tests-functions.js"></script>
</head>
<body>
@@ -13,6 +13,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/location-override-valueOf.html b/LayoutTests/fast/dom/Window/Location/location-override-valueOf.html
index 01bc7ef..13eb4cc 100644
--- a/LayoutTests/fast/dom/Window/Location/location-override-valueOf.html
+++ b/LayoutTests/fast/dom/Window/Location/location-override-valueOf.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/location-tests-functions.js"></script>
</head>
<body>
@@ -11,6 +11,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/window-override-location-using-defineGetter.html b/LayoutTests/fast/dom/Window/Location/window-override-location-using-defineGetter.html
index 4993198..3a225e0 100644
--- a/LayoutTests/fast/dom/Window/Location/window-override-location-using-defineGetter.html
+++ b/LayoutTests/fast/dom/Window/Location/window-override-location-using-defineGetter.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/location-tests-functions.js"></script>
</head>
<body>
@@ -11,6 +11,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/window-override-window-using-defineGetter.html b/LayoutTests/fast/dom/Window/Location/window-override-window-using-defineGetter.html
index 2928cbb..d22ef2a 100644
--- a/LayoutTests/fast/dom/Window/Location/window-override-window-using-defineGetter.html
+++ b/LayoutTests/fast/dom/Window/Location/window-override-window-using-defineGetter.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/location-tests-functions.js"></script>
</head>
<body>
@@ -13,6 +13,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/Location/window-shadow-location-using-js-object-with-toString.html b/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-js-object-with-toString.html
index 0b4b1ed..e0ff480 100644
--- a/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-js-object-with-toString.html
+++ b/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-js-object-with-toString.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/location-tests-functions.js"></script>
</head>
<body>
@@ -18,6 +18,6 @@
}
</script>
<iframe onload="frameLoaded()" src="resources/window-shadow-location-using-js-object-with-toString-iframe.html"></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/dom/Window/Location/window-shadow-location-using-string.html b/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.html
index 38dca75..3bc2977 100644
--- a/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.html
+++ b/LayoutTests/fast/dom/Window/Location/window-shadow-location-using-string.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/location-tests-functions.js"></script>
</head>
<body>
@@ -18,6 +18,6 @@
}
</script>
<iframe onload="frameLoaded()" src="resources/window-shadow-location-using-string-iframe.html"></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/dom/Window/Location/window-shadow-window-using-js-object-with-location-field.html b/LayoutTests/fast/dom/Window/Location/window-shadow-window-using-js-object-with-location-field.html
index 831e3be..2de1f17 100644
--- a/LayoutTests/fast/dom/Window/Location/window-shadow-window-using-js-object-with-location-field.html
+++ b/LayoutTests/fast/dom/Window/Location/window-shadow-window-using-js-object-with-location-field.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/location-tests-functions.js"></script>
</head>
<body>
@@ -11,6 +11,6 @@
var correctValue = normalizeURL(document.URL);
shouldBe("result", "correctValue");
</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/dom/Window/atob-btoa.html b/LayoutTests/fast/dom/Window/atob-btoa.html
index e23c802..4144e1d 100644
--- a/LayoutTests/fast/dom/Window/atob-btoa.html
+++ b/LayoutTests/fast/dom/Window/atob-btoa.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>
<script>
@@ -63,6 +63,6 @@
shouldBe('typeof window.atob', '"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/dom/Window/custom-constructors.html b/LayoutTests/fast/dom/Window/custom-constructors.html
index 8624d2a..d78418a 100644
--- a/LayoutTests/fast/dom/Window/custom-constructors.html
+++ b/LayoutTests/fast/dom/Window/custom-constructors.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="description"></div>
@@ -22,6 +22,6 @@
shouldBe("XMLHttpRequest.prototype.toString.call(new XMLHttpRequest)", "'[object XMLHttpRequest]'");
shouldBe("XSLTProcessor.prototype.toString.call(new XSLTProcessor)", "'[object XSLTProcessor]'");
</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/dom/Window/customized-property-survives-gc.html b/LayoutTests/fast/dom/Window/customized-property-survives-gc.html
index ca62caa..f81abad 100644
--- a/LayoutTests/fast/dom/Window/customized-property-survives-gc.html
+++ b/LayoutTests/fast/dom/Window/customized-property-survives-gc.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>
@@ -28,6 +28,6 @@
check("location", true);
check("navigator", 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/dom/Window/dispatchEvent.html b/LayoutTests/fast/dom/Window/dispatchEvent.html
index 6bcff21..da5bcf3 100644
--- a/LayoutTests/fast/dom/Window/dispatchEvent.html
+++ b/LayoutTests/fast/dom/Window/dispatchEvent.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/dispatchEvent.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/dom/Window/es52-globals.html b/LayoutTests/fast/dom/Window/es52-globals.html
index 9cca404..582dac9 100644
--- a/LayoutTests/fast/dom/Window/es52-globals.html
+++ b/LayoutTests/fast/dom/Window/es52-globals.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="div"></div>
<iframe name="f"></iframe>
<a href="http://webkit.org" name="a"></a>
@@ -40,4 +40,4 @@
shouldBeUndefined('a');
</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/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements.html b/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements.html
index 4b4388e..9a71b92 100644
--- a/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements.html
+++ b/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-invalid-pseudo-elements.html
@@ -3,7 +3,7 @@
p { color: green; }
div:first-letter { color: red; }
</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=83298">https://bugs.webkit.org/show_bug.cgi?id=83298</a></p>
<div>First letter of this sentence should be red.</div>
<script>
@@ -25,5 +25,5 @@
successfullyParsed = true;
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements.html b/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements.html
index 894851f..f5db8c5 100644
--- a/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements.html
+++ b/LayoutTests/fast/dom/Window/getMatchedCSSRules-with-pseudo-elements.html
@@ -10,7 +10,7 @@
border: 1px;
}
</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="div1"></div>
@@ -25,6 +25,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/dom/Window/invalid-protocol.html b/LayoutTests/fast/dom/Window/invalid-protocol.html
index e2b9f59..e41949c 100644
--- a/LayoutTests/fast/dom/Window/invalid-protocol.html
+++ b/LayoutTests/fast/dom/Window/invalid-protocol.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/invalid-protocol.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/dom/Window/new-window-opener.html b/LayoutTests/fast/dom/Window/new-window-opener.html
index 3148fd6..82f3bfb7 100644
--- a/LayoutTests/fast/dom/Window/new-window-opener.html
+++ b/LayoutTests/fast/dom/Window/new-window-opener.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>New Window Opener Test</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/dom/Window/open-window-min-size.html b/LayoutTests/fast/dom/Window/open-window-min-size.html
index 45a75dc..6557790 100644
--- a/LayoutTests/fast/dom/Window/open-window-min-size.html
+++ b/LayoutTests/fast/dom/Window/open-window-min-size.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 validate(msg) {
shouldBeGreaterThanOrEqual(msg["width"].toString(), "100");
@@ -27,7 +27,7 @@
}
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</head>
<body onload="test()">
</body>
diff --git a/LayoutTests/fast/dom/Window/querySelectorAll-with-pseudo-elements.html b/LayoutTests/fast/dom/Window/querySelectorAll-with-pseudo-elements.html
index f521ac9..fd2a2b5 100644
--- a/LayoutTests/fast/dom/Window/querySelectorAll-with-pseudo-elements.html
+++ b/LayoutTests/fast/dom/Window/querySelectorAll-with-pseudo-elements.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>Test for Bugzilla Bug 83446 - Broken handling for pseudo-elements in Selectors API </title>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
function test() {
description("The test verifies that the querySelectorAll() API does not return any matched elements when querying for pseudo-element selectors.");
diff --git a/LayoutTests/fast/dom/Window/replaceable.html b/LayoutTests/fast/dom/Window/replaceable.html
index bedac4a..388ccaf 100644
--- a/LayoutTests/fast/dom/Window/replaceable.html
+++ b/LayoutTests/fast/dom/Window/replaceable.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('Tests that Replaceable attributes are writable');
@@ -10,4 +10,4 @@
shouldBe('window.innerHeight', '42');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/Window/resources/window-appendages-cleared-results.html b/LayoutTests/fast/dom/Window/resources/window-appendages-cleared-results.html
index 154968b..4731fac 100644
--- a/LayoutTests/fast/dom/Window/resources/window-appendages-cleared-results.html
+++ b/LayoutTests/fast/dom/Window/resources/window-appendages-cleared-results.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>
<script>
@@ -31,7 +31,7 @@
shouldBeUndefined('window.event');
</script>
-<script src="../../../js/resources/js-test-post.js"></script>
+<script src="../../../../resources/js-test-post.js"></script>
<script>
if (window.testRunner)
testRunner.notifyDone();
diff --git a/LayoutTests/fast/dom/Window/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/Window/script-tests/TEMPLATE.html
index 43f30e8..4beed93 100644
--- a/LayoutTests/fast/dom/Window/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/Window/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/dom/Window/setTimeout-setInterval-unique.html b/LayoutTests/fast/dom/Window/setTimeout-setInterval-unique.html
index cd2a40d..404c099 100644
--- a/LayoutTests/fast/dom/Window/setTimeout-setInterval-unique.html
+++ b/LayoutTests/fast/dom/Window/setTimeout-setInterval-unique.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>
<script>
@@ -49,6 +49,6 @@
checkIntervalIDs(iID1, iID2, iID3);
</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/dom/Window/web-timing-minimal-performance-now.html b/LayoutTests/fast/dom/Window/web-timing-minimal-performance-now.html
index 9c861ac..c04f43d 100644
--- a/LayoutTests/fast/dom/Window/web-timing-minimal-performance-now.html
+++ b/LayoutTests/fast/dom/Window/web-timing-minimal-performance-now.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>
jsTestIsAsync = true;
@@ -35,5 +35,5 @@
<body>
<div id="test"> </div>
</body>
-<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/dom/Window/webkitConvertPoint.html b/LayoutTests/fast/dom/Window/webkitConvertPoint.html
index 78fdd46..c3b5e2b3 100644
--- a/LayoutTests/fast/dom/Window/webkitConvertPoint.html
+++ b/LayoutTests/fast/dom/Window/webkitConvertPoint.html
@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Test of webkitConvertPointFromNodeToPage function</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<style type="text/css" media="screen">
body {
height: 1000px;
diff --git a/LayoutTests/fast/dom/Window/webkitConvertPointUpdateLayout.html b/LayoutTests/fast/dom/Window/webkitConvertPointUpdateLayout.html
index 193a2a3..a8d640b 100644
--- a/LayoutTests/fast/dom/Window/webkitConvertPointUpdateLayout.html
+++ b/LayoutTests/fast/dom/Window/webkitConvertPointUpdateLayout.html
@@ -1,7 +1,7 @@
<html>
<head>
<title>webkitConvertPointFromNodeToPage Test</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<style type="text/css" media="screen">
#test {
diff --git a/LayoutTests/fast/dom/Window/window-constructor-presence.html b/LayoutTests/fast/dom/Window/window-constructor-presence.html
index 8f18f40..8a7a43e 100644
--- a/LayoutTests/fast/dom/Window/window-constructor-presence.html
+++ b/LayoutTests/fast/dom/Window/window-constructor-presence.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 that the Window constructor is present and that window is an instanceof of it.');
@@ -9,5 +9,5 @@
shouldBeTrue('window instanceof Window');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/dom/Window/window-custom-prototype.html b/LayoutTests/fast/dom/Window/window-custom-prototype.html
index 59841a1..82142863 100644
--- a/LayoutTests/fast/dom/Window/window-custom-prototype.html
+++ b/LayoutTests/fast/dom/Window/window-custom-prototype.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/window-custom-prototype.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/dom/Window/window-frames-self-referential.html b/LayoutTests/fast/dom/Window/window-frames-self-referential.html
index 7226bda..0c044f3 100644
--- a/LayoutTests/fast/dom/Window/window-frames-self-referential.html
+++ b/LayoutTests/fast/dom/Window/window-frames-self-referential.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>
@@ -9,6 +9,6 @@
shouldBe("window.frames", "window");
</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/dom/Window/window-legacy-event-listener.html b/LayoutTests/fast/dom/Window/window-legacy-event-listener.html
index 43ab426..d440abd 100644
--- a/LayoutTests/fast/dom/Window/window-legacy-event-listener.html
+++ b/LayoutTests/fast/dom/Window/window-legacy-event-listener.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>
<script>
@@ -13,6 +13,6 @@
shouldBe('window.addEventListener()', 'undefined');
shouldBe('window.removeEventListener()', 'undefined');
</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/dom/Window/window-lookup-precedence.html b/LayoutTests/fast/dom/Window/window-lookup-precedence.html
index 2f90d17..47f4f41 100644
--- a/LayoutTests/fast/dom/Window/window-lookup-precedence.html
+++ b/LayoutTests/fast/dom/Window/window-lookup-precedence.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 type="text/javascript" src="resources/window-properties.js"></script>
</head>
<body>
@@ -65,6 +65,6 @@
window.onerror = originalWindowOnError ;
</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/dom/Window/window-property-shadowing-onclick.html b/LayoutTests/fast/dom/Window/window-property-shadowing-onclick.html
index 339adc4..7a4cd64 100644
--- a/LayoutTests/fast/dom/Window/window-property-shadowing-onclick.html
+++ b/LayoutTests/fast/dom/Window/window-property-shadowing-onclick.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('This tests the ES5.2 behavior where global variables should not trigger setters on the Window object');
@@ -21,4 +21,4 @@
shouldBeFalse('onClickCalled');
</script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
diff --git a/LayoutTests/fast/dom/Window/window-resize-and-move-arguments.html b/LayoutTests/fast/dom/Window/window-resize-and-move-arguments.html
index 8242da8..74807d0 100644
--- a/LayoutTests/fast/dom/Window/window-resize-and-move-arguments.html
+++ b/LayoutTests/fast/dom/Window/window-resize-and-move-arguments.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>
<script language="JavaScript" type="text/javascript">
@@ -127,6 +127,6 @@
shouldBe('window.screenX', 'resetX + x');
shouldBe('window.screenY', 'resetY + y');
</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/dom/Window/window-resize-and-move-sub-frame.html b/LayoutTests/fast/dom/Window/window-resize-and-move-sub-frame.html
index 9bfcb7d..3356160 100644
--- a/LayoutTests/fast/dom/Window/window-resize-and-move-sub-frame.html
+++ b/LayoutTests/fast/dom/Window/window-resize-and-move-sub-frame.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>
<iframe src="blank.html"></iframe>
@@ -68,6 +68,6 @@
shouldBe('window.screenY', 'resetY');
reset();
</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/dom/Window/window-resize-nan.html-disabled b/LayoutTests/fast/dom/Window/window-resize-nan.html-disabled
index 5930483..133d113 100644
--- a/LayoutTests/fast/dom/Window/window-resize-nan.html-disabled
+++ b/LayoutTests/fast/dom/Window/window-resize-nan.html-disabled
@@ -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>
<script language="JavaScript" type="text/javascript">
@@ -146,6 +146,6 @@
shouldBe('window.screenY', 'screen.availTop * 4'); // FIXME this should just be screen.availTop
shouldBe('window.screenX', 'screen.availLeft');
</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/dom/Window/window-resize.html b/LayoutTests/fast/dom/Window/window-resize.html
index 815b45c..540f3f1 100644
--- a/LayoutTests/fast/dom/Window/window-resize.html
+++ b/LayoutTests/fast/dom/Window/window-resize.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>
<script language="JavaScript" type="text/javascript">
@@ -292,6 +292,6 @@
window.moveTo(0,0);
window.resizeTo(800,600);
</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/dom/Window/window-scroll-arguments.html b/LayoutTests/fast/dom/Window/window-scroll-arguments.html
index 22d0ef6..ff558eb 100644
--- a/LayoutTests/fast/dom/Window/window-scroll-arguments.html
+++ b/LayoutTests/fast/dom/Window/window-scroll-arguments.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>
<div style="height: 1000px; width: 1000px; border: 1px solid black;">This box should force the window to have a scrollable area to test.</div>
@@ -96,6 +96,6 @@
shouldBe('window.scrollY', 'resetY + y');
reset();
</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/dom/Window/window-xy-properties.html b/LayoutTests/fast/dom/Window/window-xy-properties.html
index 8d441b7..0cbce7c 100644
--- a/LayoutTests/fast/dom/Window/window-xy-properties.html
+++ b/LayoutTests/fast/dom/Window/window-xy-properties.html
@@ -1,5 +1,5 @@
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
var nrmouseclicks = 0; // small hack to distinguish between clicks
var ev;
diff --git a/LayoutTests/fast/dom/XMLHttpRequest-constants.html b/LayoutTests/fast/dom/XMLHttpRequest-constants.html
index 8c9e3d1..2f06f81 100644
--- a/LayoutTests/fast/dom/XMLHttpRequest-constants.html
+++ b/LayoutTests/fast/dom/XMLHttpRequest-constants.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/XMLHttpRequest-constants.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/dom/XMLHttpRequest-legacy-event-listener.html b/LayoutTests/fast/dom/XMLHttpRequest-legacy-event-listener.html
index 1ad3320..b2c6782 100644
--- a/LayoutTests/fast/dom/XMLHttpRequest-legacy-event-listener.html
+++ b/LayoutTests/fast/dom/XMLHttpRequest-legacy-event-listener.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>
<script>
@@ -13,6 +13,6 @@
shouldBe('new XMLHttpRequest().addEventListener()', 'undefined');
shouldBe('new XMLHttpRequest().removeEventListener()', 'undefined');
</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/dom/XMLSerializer-doctype2.html b/LayoutTests/fast/dom/XMLSerializer-doctype2.html
index 6afc809..0f8de5d 100644
--- a/LayoutTests/fast/dom/XMLSerializer-doctype2.html
+++ b/LayoutTests/fast/dom/XMLSerializer-doctype2.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>
<script>
@@ -14,6 +14,6 @@
shouldNotThrow("text = serializer.serializeToString(docType)");
shouldBeEqualToString("text", "<!DOCTYPE aDocTypeName PUBLIC \"aPublicID\" \"aSystemID\">");
</script>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/access-key-iframe.html b/LayoutTests/fast/dom/access-key-iframe.html
index c4e3147..a9145df 100644
--- a/LayoutTests/fast/dom/access-key-iframe.html
+++ b/LayoutTests/fast/dom/access-key-iframe.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="sandbox"></div>
<pre id="console"></pre>
@@ -84,6 +84,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/dom/adopt-node-prevented.html b/LayoutTests/fast/dom/adopt-node-prevented.html
index 2e669df3..5cb86f5 100644
--- a/LayoutTests/fast/dom/adopt-node-prevented.html
+++ b/LayoutTests/fast/dom/adopt-node-prevented.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="newParent"></div>
@@ -22,6 +22,6 @@
document.addEventListener("DOMContentLoaded", run, 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/dom/allowed-children.html b/LayoutTests/fast/dom/allowed-children.html
index 201475d..cb18fcf 100644
--- a/LayoutTests/fast/dom/allowed-children.html
+++ b/LayoutTests/fast/dom/allowed-children.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>
<script>
@@ -35,6 +35,6 @@
shouldBe("(new XMLSerializer()).serializeToString(doc)", cases[i].serialization);
}
</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/dom/attr-style-too-lazy.html b/LayoutTests/fast/dom/attr-style-too-lazy.html
index a014658..866e277 100644
--- a/LayoutTests/fast/dom/attr-style-too-lazy.html
+++ b/LayoutTests/fast/dom/attr-style-too-lazy.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>
@@ -21,6 +21,6 @@
shouldBe("oldStyleAttr.value", "'background-color: red;'");
</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/dom/attribute-legacy-colors.html b/LayoutTests/fast/dom/attribute-legacy-colors.html
index 00caf19..644fba7 100644
--- a/LayoutTests/fast/dom/attribute-legacy-colors.html
+++ b/LayoutTests/fast/dom/attribute-legacy-colors.html
@@ -1,6 +1,6 @@
<!DOCTYPE HTML>
<meta charset=utf8>
<body>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script src="script-tests/attribute-legacy-colors.js"></script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/body-clone-link-decl-parent-crash.html b/LayoutTests/fast/dom/body-clone-link-decl-parent-crash.html
index f1c74a2..b21e2b9 100644
--- a/LayoutTests/fast/dom/body-clone-link-decl-parent-crash.html
+++ b/LayoutTests/fast/dom/body-clone-link-decl-parent-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>
Test passes if it does not crash.
@@ -22,6 +22,6 @@
body2.vLink = 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/dom/boolean-attribute-reflection.html b/LayoutTests/fast/dom/boolean-attribute-reflection.html
index 41cfde5..202f346 100644
--- a/LayoutTests/fast/dom/boolean-attribute-reflection.html
+++ b/LayoutTests/fast/dom/boolean-attribute-reflection.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/boolean-attribute-reflection.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/dom/call-a-constructor-as-a-function.html b/LayoutTests/fast/dom/call-a-constructor-as-a-function.html
index 3f6a641..c084ca5 100644
--- a/LayoutTests/fast/dom/call-a-constructor-as-a-function.html
+++ b/LayoutTests/fast/dom/call-a-constructor-as-a-function.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>
description("This tests if TypeError is thrown or not when we call a constructor as a normal function.");
@@ -15,6 +15,6 @@
debug("SKIP " + constructor + " is not implemented.");
});
</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/dom/child-insertion-notify-crash.html b/LayoutTests/fast/dom/child-insertion-notify-crash.html
index 1239684..6e73141 100644
--- a/LayoutTests/fast/dom/child-insertion-notify-crash.html
+++ b/LayoutTests/fast/dom/child-insertion-notify-crash.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
function crash()
{
@@ -9,6 +9,6 @@
}
</script>
<div dir="auto" id="test">A<iframe onload="crash()"></iframe></div>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/click-method-on-html-element.html b/LayoutTests/fast/dom/click-method-on-html-element.html
index 047817a..380e70d 100644
--- a/LayoutTests/fast/dom/click-method-on-html-element.html
+++ b/LayoutTests/fast/dom/click-method-on-html-element.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>The support of click() method on HTMLElement.</p>
@@ -35,6 +35,6 @@
runTests(tagNames[i]);
</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/dom/cloneNode-below-body-attribute-merging.html b/LayoutTests/fast/dom/cloneNode-below-body-attribute-merging.html
index 23eec75..0718a11 100644
--- a/LayoutTests/fast/dom/cloneNode-below-body-attribute-merging.html
+++ b/LayoutTests/fast/dom/cloneNode-below-body-attribute-merging.html
@@ -8,7 +8,7 @@
}, false);
</script>
<meta charset="utf-8">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body id="some_random_id_so_body_creates_attribute_data" class="another_random_attribute_to_increase_crash_surface_area">
<script>
@@ -16,6 +16,6 @@
description("Tests that cloning the body node in response to a DOMSubtreeModified event doesn't 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/dom/collection-idempotence.html b/LayoutTests/fast/dom/collection-idempotence.html
index 3345000..b807ff9 100644
--- a/LayoutTests/fast/dom/collection-idempotence.html
+++ b/LayoutTests/fast/dom/collection-idempotence.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>
<table><tr><td></td></tr></table>
@@ -35,6 +35,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/dom/collection-item.html b/LayoutTests/fast/dom/collection-item.html
index 6feb41e..24ddd07 100644
--- a/LayoutTests/fast/dom/collection-item.html
+++ b/LayoutTests/fast/dom/collection-item.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 style="display: none">
@@ -54,6 +54,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/dom/collection-length-should-not-be-overridden.html b/LayoutTests/fast/dom/collection-length-should-not-be-overridden.html
index bd209fd..ba1ee5a 100644
--- a/LayoutTests/fast/dom/collection-length-should-not-be-overridden.html
+++ b/LayoutTests/fast/dom/collection-length-should-not-be-overridden.html
@@ -28,7 +28,7 @@
documentAll6 = document.all[6];
</script>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description("This test ensures the builtin length property of HTMLCollection's subclasses is not overridden by a named getter of the same name.");
@@ -58,6 +58,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/dom/collection-nameditem-move-between-documents.html b/LayoutTests/fast/dom/collection-nameditem-move-between-documents.html
index 22f84a5..98689b6 100644
--- a/LayoutTests/fast/dom/collection-nameditem-move-between-documents.html
+++ b/LayoutTests/fast/dom/collection-nameditem-move-between-documents.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="test">
@@ -37,5 +37,5 @@
finishJSTest();
}
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/compare-document-position-disconnected-nodes.html b/LayoutTests/fast/dom/compare-document-position-disconnected-nodes.html
index 96aa209..34a8d5c 100644
--- a/LayoutTests/fast/dom/compare-document-position-disconnected-nodes.html
+++ b/LayoutTests/fast/dom/compare-document-position-disconnected-nodes.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 a;
var b;
@@ -34,7 +34,7 @@
debug("* Test with disconnected attribute and element");
testElements(document.createAttribute("a"), document.createElement("b"));
</script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</head>
<body>
<p>Comparing the positions of two disconnected nodes should result in DOCUMENT_POSITION_DISCONNECTED.</p>
diff --git a/LayoutTests/fast/dom/console-log-stack-overflow.html b/LayoutTests/fast/dom/console-log-stack-overflow.html
index 606301c..892e160 100644
--- a/LayoutTests/fast/dom/console-log-stack-overflow.html
+++ b/LayoutTests/fast/dom/console-log-stack-overflow.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='load(1)'>
@@ -19,6 +19,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/dom/constructed-objects-prototypes.html b/LayoutTests/fast/dom/constructed-objects-prototypes.html
index a5b4e5d..d4a9972 100644
--- a/LayoutTests/fast/dom/constructed-objects-prototypes.html
+++ b/LayoutTests/fast/dom/constructed-objects-prototypes.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/constructed-objects-prototypes.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/dom/constructor-proto.html b/LayoutTests/fast/dom/constructor-proto.html
index b81199d..74c98d9 100644
--- a/LayoutTests/fast/dom/constructor-proto.html
+++ b/LayoutTests/fast/dom/constructor-proto.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('This tests that setting the proto of a built in constructor is not reset');
@@ -12,4 +12,4 @@
shouldBe('Object.getPrototypeOf(HTMLElement)', 'proto');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/constructors-cached-navigate.html b/LayoutTests/fast/dom/constructors-cached-navigate.html
index 9740354..1ebc4e1 100644
--- a/LayoutTests/fast/dom/constructors-cached-navigate.html
+++ b/LayoutTests/fast/dom/constructors-cached-navigate.html
@@ -1,11 +1,11 @@
<!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>
<iframe id="testFrame"></iframe>
<script src="resources/constructors-cached-navigate.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/dom/constructors-cached.html b/LayoutTests/fast/dom/constructors-cached.html
index e3fcd9d..90bfe36 100644
--- a/LayoutTests/fast/dom/constructors-cached.html
+++ b/LayoutTests/fast/dom/constructors-cached.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/constructors-cached.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/dom/createDocumentType-ownerDocument.html b/LayoutTests/fast/dom/createDocumentType-ownerDocument.html
index ace9cce..7ec8318 100644
--- a/LayoutTests/fast/dom/createDocumentType-ownerDocument.html
+++ b/LayoutTests/fast/dom/createDocumentType-ownerDocument.html
@@ -2,7 +2,7 @@
<html>
<head>
<link rel="help" href="http://www.w3.org/TR/2012/WD-dom-20121206/#dom-domimplementation-createdocumenttype">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -15,6 +15,6 @@
shouldBe("newDocument.doctype.ownerDocument", "newDocument");
</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/dom/css-RGBValue.html b/LayoutTests/fast/dom/css-RGBValue.html
index c04a828..7aa571e 100644
--- a/LayoutTests/fast/dom/css-RGBValue.html
+++ b/LayoutTests/fast/dom/css-RGBValue.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/css-RGBValue.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/dom/css-delete-doc.html b/LayoutTests/fast/dom/css-delete-doc.html
index e06e79d..65764c6 100644
--- a/LayoutTests/fast/dom/css-delete-doc.html
+++ b/LayoutTests/fast/dom/css-delete-doc.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.jsTestIsAsync = true;
@@ -70,7 +70,7 @@
}
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</head>
<body onload="step1()">
Running...
diff --git a/LayoutTests/fast/dom/css-inline-style-declaration-crash.html b/LayoutTests/fast/dom/css-inline-style-declaration-crash.html
index 0bf6c0c9..5cb4678 100644
--- a/LayoutTests/fast/dom/css-inline-style-declaration-crash.html
+++ b/LayoutTests/fast/dom/css-inline-style-declaration-crash.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('Setting a CSSStyleDeclaration after its element has been GCed should not crash.');
@@ -11,4 +11,4 @@
testPassed('Did not crash');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/css-inline-style-important.html b/LayoutTests/fast/dom/css-inline-style-important.html
index fb81b8e..317656a 100644
--- a/LayoutTests/fast/dom/css-inline-style-important.html
+++ b/LayoutTests/fast/dom/css-inline-style-important.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>
<style type="text/css">
#e { color:red; visibility: hidden;}
</style>
@@ -19,6 +19,6 @@
shouldBe('window.getComputedStyle(e).color', '"rgb(255, 0, 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/dom/css-mediarule-parentRule.html b/LayoutTests/fast/dom/css-mediarule-parentRule.html
index cdc70c8..fa4d947 100644
--- a/LayoutTests/fast/dom/css-mediarule-parentRule.html
+++ b/LayoutTests/fast/dom/css-mediarule-parentRule.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/css-mediarule-parentRule.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/dom/custom/document-register-basic.html b/LayoutTests/fast/dom/custom/document-register-basic.html
index b588cfe..6c92421 100644
--- a/LayoutTests/fast/dom/custom/document-register-basic.html
+++ b/LayoutTests/fast/dom/custom/document-register-basic.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="container"></div>
@@ -112,6 +112,6 @@
shouldBe("(new bazConstructor).tagName", "'X-BAZ'");
</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/dom/custom/document-register-namespace.html b/LayoutTests/fast/dom/custom/document-register-namespace.html
index cf8b481..e791307 100644
--- a/LayoutTests/fast/dom/custom/document-register-namespace.html
+++ b/LayoutTests/fast/dom/custom/document-register-namespace.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>
@@ -77,6 +77,6 @@
shouldBeTrue("notXML2 instanceof HTMLUnknownElement");
</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/dom/custom/document-register-reentrant-null-constructor.html b/LayoutTests/fast/dom/custom/document-register-reentrant-null-constructor.html
index 808a00b..dade73b 100644
--- a/LayoutTests/fast/dom/custom/document-register-reentrant-null-constructor.html
+++ b/LayoutTests/fast/dom/custom/document-register-reentrant-null-constructor.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/document-register-fuzz.js"></script>
</head>
<body>
@@ -18,6 +18,6 @@
exerciseDocumentRegister();
</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/dom/custom/document-register-reentrant-returning-fake.html b/LayoutTests/fast/dom/custom/document-register-reentrant-returning-fake.html
index e7e90fb..618f8c2 100644
--- a/LayoutTests/fast/dom/custom/document-register-reentrant-returning-fake.html
+++ b/LayoutTests/fast/dom/custom/document-register-reentrant-returning-fake.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/document-register-fuzz.js"></script>
</head>
<body>
@@ -21,6 +21,6 @@
exerciseDocumentRegister();
</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/dom/custom/document-register-reentrant-throwing-constructor.html b/LayoutTests/fast/dom/custom/document-register-reentrant-throwing-constructor.html
index 3bc290e..3763195 100644
--- a/LayoutTests/fast/dom/custom/document-register-reentrant-throwing-constructor.html
+++ b/LayoutTests/fast/dom/custom/document-register-reentrant-throwing-constructor.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/document-register-fuzz.js"></script>
</head>
<body>
@@ -18,6 +18,6 @@
exerciseDocumentRegister();
</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/dom/custom/document-register-type-extensions.html b/LayoutTests/fast/dom/custom/document-register-type-extensions.html
index 4437066..377fd21 100644
--- a/LayoutTests/fast/dom/custom/document-register-type-extensions.html
+++ b/LayoutTests/fast/dom/custom/document-register-type-extensions.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="container"></div>
@@ -165,6 +165,6 @@
shouldBeTrue("divBarParsed instanceof HTMLDivElement");
</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/dom/custom/lifecycle-ready-createElement-recursion.html b/LayoutTests/fast/dom/custom/lifecycle-ready-createElement-recursion.html
index 41d39e7..4ae9611 100644
--- a/LayoutTests/fast/dom/custom/lifecycle-ready-createElement-recursion.html
+++ b/LayoutTests/fast/dom/custom/lifecycle-ready-createElement-recursion.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>
@@ -12,6 +12,6 @@
document.createElement("x-foo");
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/dom/custom/lifecycle-ready-createElement-reentrancy.html b/LayoutTests/fast/dom/custom/lifecycle-ready-createElement-reentrancy.html
index 19d8487..0f7283e 100644
--- a/LayoutTests/fast/dom/custom/lifecycle-ready-createElement-reentrancy.html
+++ b/LayoutTests/fast/dom/custom/lifecycle-ready-createElement-reentrancy.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>
description("This test ensures that the lifecycle callback of a parser-made element is visible in following script block.")
document.register = document.register || document.webkitRegister;
@@ -29,6 +29,6 @@
document.createElement("x-foo");
shouldBe("window.callbacksCalled", "['X-FOO', 'X-BAR']");
</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/dom/custom/lifecycle-ready-creation-api.html b/LayoutTests/fast/dom/custom/lifecycle-ready-creation-api.html
index 04a088b..402656e 100644
--- a/LayoutTests/fast/dom/custom/lifecycle-ready-creation-api.html
+++ b/LayoutTests/fast/dom/custom/lifecycle-ready-creation-api.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>
description("This test ensures that the lifecycle callbacks of API-originated elements are visible in following script block.")
window.callbacksCalled = [];
@@ -69,6 +69,6 @@
shouldBe("window.callbacksCalled", "['X-FOO']");
</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/dom/custom/lifecycle-ready-innerHTML.html b/LayoutTests/fast/dom/custom/lifecycle-ready-innerHTML.html
index af028ed..ef8ddb1 100644
--- a/LayoutTests/fast/dom/custom/lifecycle-ready-innerHTML.html
+++ b/LayoutTests/fast/dom/custom/lifecycle-ready-innerHTML.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>
description("This test ensures that the lifecycle callback of a parser-made element is visible in following script block.")
document.register = document.register || document.webkitRegister;
@@ -31,6 +31,6 @@
container.innerHTML = "<x-foo id='a'><div id='b' is='x-bar'><x-baz id='c'></x-baz></div></x-foo>";
shouldBe("window.callbacksCalled", "['a', 'b', 'c']");
</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/dom/custom/lifecycle-ready-parser-script.html b/LayoutTests/fast/dom/custom/lifecycle-ready-parser-script.html
index 9b5beb6..f215da9 100644
--- a/LayoutTests/fast/dom/custom/lifecycle-ready-parser-script.html
+++ b/LayoutTests/fast/dom/custom/lifecycle-ready-parser-script.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>
description("This test ensures that the lifecycle callback of a parser-made element is visible in following script block.")
document.register = document.register || document.webkitRegister;
@@ -14,6 +14,6 @@
<script>
shouldBeTrue("window.callbacksCalled");
</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/dom/custom/lifecycle-ready-paste.html b/LayoutTests/fast/dom/custom/lifecycle-ready-paste.html
index 8fa4b7c..1d9ed07 100644
--- a/LayoutTests/fast/dom/custom/lifecycle-ready-paste.html
+++ b/LayoutTests/fast/dom/custom/lifecycle-ready-paste.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>
description("This test ensures that the lifecycle callbacks of editing-originated elements are visible in following script block.")
document.register = document.register || document.webkitRegister;
@@ -25,6 +25,6 @@
container.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/dom/dataset-gc.html b/LayoutTests/fast/dom/dataset-gc.html
index b375ef5..907d056 100644
--- a/LayoutTests/fast/dom/dataset-gc.html
+++ b/LayoutTests/fast/dom/dataset-gc.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/dataset-gc.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/dom/dataset-xhtml.xhtml b/LayoutTests/fast/dom/dataset-xhtml.xhtml
index bdab98f..27c48f8 100644
--- a/LayoutTests/fast/dom/dataset-xhtml.xhtml
+++ b/LayoutTests/fast/dom/dataset-xhtml.xhtml
@@ -2,10 +2,10 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script src="script-tests/dataset-xhtml.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/dom/dataset.html b/LayoutTests/fast/dom/dataset.html
index dd36ad6..853e469 100644
--- a/LayoutTests/fast/dom/dataset.html
+++ b/LayoutTests/fast/dom/dataset.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/dataset.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/dom/document-all-select.html b/LayoutTests/fast/dom/document-all-select.html
index bbe53b5..0e47f32 100644
--- a/LayoutTests/fast/dom/document-all-select.html
+++ b/LayoutTests/fast/dom/document-all-select.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();
@@ -15,6 +15,6 @@
description("This tests that <select> elements are available by name through document.all.");
shouldBe("document.all.myselect.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/dom/document-all-tags.html b/LayoutTests/fast/dom/document-all-tags.html
index 86c6aa2..75ee124 100644
--- a/LayoutTests/fast/dom/document-all-tags.html
+++ b/LayoutTests/fast/dom/document-all-tags.html
@@ -1,13 +1,13 @@
<!DOCTYPE HTML>
<html>
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description('Test that HTMLAllCollection.tags() matches IE behavior with too few arguments.');
shouldThrow("document.all.tags()");
</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/dom/document-dir-property.html b/LayoutTests/fast/dom/document-dir-property.html
index dbc759b..fa70a13 100644
--- a/LayoutTests/fast/dom/document-dir-property.html
+++ b/LayoutTests/fast/dom/document-dir-property.html
@@ -9,7 +9,7 @@
<body>
<div id="description"></div>
<div id="console"></div>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description("This tests:<br>"
+ "Bug 9954 REGRESSION: document.dir should return empty string in <head><br>"
@@ -40,6 +40,6 @@
shouldBe("document.body.dir", "'ltr'");
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/dom/document-head.html b/LayoutTests/fast/dom/document-head.html
index 9d8407b..9b7055e 100644
--- a/LayoutTests/fast/dom/document-head.html
+++ b/LayoutTests/fast/dom/document-head.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/document-head.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/dom/document-importNode-arguments.html b/LayoutTests/fast/dom/document-importNode-arguments.html
index c18a73d..6d3f392 100644
--- a/LayoutTests/fast/dom/document-importNode-arguments.html
+++ b/LayoutTests/fast/dom/document-importNode-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>
</head>
<body>
<p>This page tests calling document.importNode.</p>
diff --git a/LayoutTests/fast/dom/document-set-body.html b/LayoutTests/fast/dom/document-set-body.html
index e7008bb..5151ab6 100644
--- a/LayoutTests/fast/dom/document-set-body.html
+++ b/LayoutTests/fast/dom/document-set-body.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>
<script>
@@ -23,6 +23,6 @@
document1.body = body1;
shouldBe("document1.body", "body1")
</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/dom/dom-constructors.html b/LayoutTests/fast/dom/dom-constructors.html
index 4a89f98..0f3883f 100644
--- a/LayoutTests/fast/dom/dom-constructors.html
+++ b/LayoutTests/fast/dom/dom-constructors.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="element" name="element_name"></div>
@@ -125,6 +125,6 @@
element.name = "element_name";
}
</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/dom/dom-parse-serialize-xmldecl.html b/LayoutTests/fast/dom/dom-parse-serialize-xmldecl.html
index 166b67f..34e7f21 100644
--- a/LayoutTests/fast/dom/dom-parse-serialize-xmldecl.html
+++ b/LayoutTests/fast/dom/dom-parse-serialize-xmldecl.html
@@ -1,5 +1,5 @@
<html>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script type="text/javascript">
description("This test verifies that the xml declaration gets serialized if present.");
@@ -34,5 +34,5 @@
shouldBeEqualToString("new XMLSerializer().serializeToString(xmldoc).replace(/\"/g,\"'\")", "<?xml version='1.0'?><root><test/></root>");
</script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/dom-serialize-namespace.html b/LayoutTests/fast/dom/dom-serialize-namespace.html
index cc8c85a..3b8404d 100644
--- a/LayoutTests/fast/dom/dom-serialize-namespace.html
+++ b/LayoutTests/fast/dom/dom-serialize-namespace.html
@@ -1,5 +1,5 @@
<html>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script type="text/javascript">
description("This test verifies that the namespace on a node gets serialized if present even if the node is not in the DOM tree.");
@@ -12,5 +12,5 @@
shouldBeEqualToString("s.serializeToString(doc).replace(/\"/g,\"'\")", "<test xmlns='http://example.com/'/>");
</script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/domListEnumeration.html b/LayoutTests/fast/dom/domListEnumeration.html
index 064a0ec..9729106 100644
--- a/LayoutTests/fast/dom/domListEnumeration.html
+++ b/LayoutTests/fast/dom/domListEnumeration.html
@@ -2,10 +2,10 @@
<html>
<head>
<link rel="stylesheet" href="data:text/css,#test-element{text-decoration:line-through}">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script src="script-tests/domListEnumeration.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/dom/domstring-attribute-reflection.html b/LayoutTests/fast/dom/domstring-attribute-reflection.html
index cbf9241..c9eef7d 100644
--- a/LayoutTests/fast/dom/domstring-attribute-reflection.html
+++ b/LayoutTests/fast/dom/domstring-attribute-reflection.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>
var element;
@@ -62,6 +62,6 @@
// Add more DOMString attributes!
</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/dom/domtimestamp-is-number.html b/LayoutTests/fast/dom/domtimestamp-is-number.html
index 904e564..7519222 100644
--- a/LayoutTests/fast/dom/domtimestamp-is-number.html
+++ b/LayoutTests/fast/dom/domtimestamp-is-number.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 onload="do_check(event)">
<script src="script-tests/domtimestamp-is-number.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/dom/elementFromPoint-relative-to-viewport.html b/LayoutTests/fast/dom/elementFromPoint-relative-to-viewport.html
index 0214308..9598a2b 100644
--- a/LayoutTests/fast/dom/elementFromPoint-relative-to-viewport.html
+++ b/LayoutTests/fast/dom/elementFromPoint-relative-to-viewport.html
@@ -1,5 +1,5 @@
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<style>
.test {
width: 100px;
@@ -102,4 +102,4 @@
area.parentNode.removeChild(area);
}
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/elementFromPoint-scaled-scrolled.html b/LayoutTests/fast/dom/elementFromPoint-scaled-scrolled.html
index 1d67d0e..aa809ed 100644
--- a/LayoutTests/fast/dom/elementFromPoint-scaled-scrolled.html
+++ b/LayoutTests/fast/dom/elementFromPoint-scaled-scrolled.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();" style="width:2000px;height:2000px;margin:0px;padding:100px">
<button style="width:50px;height:50px;">B1</button><button style="width:50px;height:50px;">B2</button><button style="width:50px;height:50px;">B3</button>
diff --git a/LayoutTests/fast/dom/error-to-string-stack-overflow.html b/LayoutTests/fast/dom/error-to-string-stack-overflow.html
index cf76ffe..0299b81 100644
--- a/LayoutTests/fast/dom/error-to-string-stack-overflow.html
+++ b/LayoutTests/fast/dom/error-to-string-stack-overflow.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='load()'>
@@ -13,6 +13,6 @@
// Force a stack-overflow in the onload handler.
function load() { load(); }
</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/dom/event-attribute-availability.html b/LayoutTests/fast/dom/event-attribute-availability.html
index b6df49bf..f449545 100644
--- a/LayoutTests/fast/dom/event-attribute-availability.html
+++ b/LayoutTests/fast/dom/event-attribute-availability.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/event-attribute-availability.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/dom/exception-in-binding.html b/LayoutTests/fast/dom/exception-in-binding.html
index 4be8bc8..d641d9e 100644
--- a/LayoutTests/fast/dom/exception-in-binding.html
+++ b/LayoutTests/fast/dom/exception-in-binding.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>
description("Tests to ensure that attributes are not set when an exceptions is raised while converting argument to JSValue.");
function setName(select) {
@@ -47,6 +47,6 @@
<option value="value3">Value 3</option>
</select>
<p id="description"></p>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/fragment-activation-focuses-target.html b/LayoutTests/fast/dom/fragment-activation-focuses-target.html
index cd608c8..b4c2a1e 100644
--- a/LayoutTests/fast/dom/fragment-activation-focuses-target.html
+++ b/LayoutTests/fast/dom/fragment-activation-focuses-target.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>
@@ -53,6 +53,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/dom/gc-attribute-node.html b/LayoutTests/fast/dom/gc-attribute-node.html
index add482e..c615d25 100644
--- a/LayoutTests/fast/dom/gc-attribute-node.html
+++ b/LayoutTests/fast/dom/gc-attribute-node.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<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>
<body>
<script>
description('Tests that attribute node wrappers are not prematurely garbage collected');
@@ -23,4 +23,4 @@
successfullyParsed = true;
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/gc-dom-tree-lifetime.html b/LayoutTests/fast/dom/gc-dom-tree-lifetime.html
index 88003d5..b7ea302 100644
--- a/LayoutTests/fast/dom/gc-dom-tree-lifetime.html
+++ b/LayoutTests/fast/dom/gc-dom-tree-lifetime.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>
@@ -93,6 +93,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/dom/gc-image-element-2.html b/LayoutTests/fast/dom/gc-image-element-2.html
index b845e83..ac8e083 100644
--- a/LayoutTests/fast/dom/gc-image-element-2.html
+++ b/LayoutTests/fast/dom/gc-image-element-2.html
@@ -1,7 +1,7 @@
<p>Tests for image elements firing their load events even when they're not in the document. Should say "onload fired" ten times, and then "PASS".</p>
<pre id="console"></pre>
-<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/dom/gc-image-element.html b/LayoutTests/fast/dom/gc-image-element.html
index afbb4da..a3d4b62 100644
--- a/LayoutTests/fast/dom/gc-image-element.html
+++ b/LayoutTests/fast/dom/gc-image-element.html
@@ -1,7 +1,7 @@
<p>Tests for image elements firing their load events even when they're not in the document.</p>
<pre id="console"></pre>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
function $(id)
{
diff --git a/LayoutTests/fast/dom/getElementById-consistency.html b/LayoutTests/fast/dom/getElementById-consistency.html
index 42c17b6..dc1cf3a 100644
--- a/LayoutTests/fast/dom/getElementById-consistency.html
+++ b/LayoutTests/fast/dom/getElementById-consistency.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=container>
</div>
<span id=el>
@@ -26,4 +26,4 @@
gc();
shouldBeNull("document.getElementById('el')");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/getElementById-consistency2.html b/LayoutTests/fast/dom/getElementById-consistency2.html
index 076c3eb..dea7b2c 100644
--- a/LayoutTests/fast/dom/getElementById-consistency2.html
+++ b/LayoutTests/fast/dom/getElementById-consistency2.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=container>
</div>
<span id=el>
@@ -26,4 +26,4 @@
gc();
shouldBeNull("document.getElementById('el')");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/getElementById-consistency3.html b/LayoutTests/fast/dom/getElementById-consistency3.html
index 9d79212..8c1c406 100644
--- a/LayoutTests/fast/dom/getElementById-consistency3.html
+++ b/LayoutTests/fast/dom/getElementById-consistency3.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=container>
<span id=el>
</span>
@@ -28,4 +28,4 @@
gc();
shouldBeNull("document.getElementById('el')");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/getElementById-consistency4.html b/LayoutTests/fast/dom/getElementById-consistency4.html
index 1d748f2..024135b 100644
--- a/LayoutTests/fast/dom/getElementById-consistency4.html
+++ b/LayoutTests/fast/dom/getElementById-consistency4.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=container>
<span id=el>
</span>
@@ -28,4 +28,4 @@
gc();
shouldBeNull("document.getElementById('el')");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/getElementById-consistency5.html b/LayoutTests/fast/dom/getElementById-consistency5.html
index b05d2c6..bb528e3 100644
--- a/LayoutTests/fast/dom/getElementById-consistency5.html
+++ b/LayoutTests/fast/dom/getElementById-consistency5.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=container>
<span id=el>
</span>
@@ -28,4 +28,4 @@
gc();
shouldBeNull("document.getElementById('el')");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/getElementsByTagName-localName-matching.html b/LayoutTests/fast/dom/getElementsByTagName-localName-matching.html
index f317934..ad06e31 100644
--- a/LayoutTests/fast/dom/getElementsByTagName-localName-matching.html
+++ b/LayoutTests/fast/dom/getElementsByTagName-localName-matching.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>
<div id="container"><FOO><foo><linearGradient/></foo></FOO><img/></div>
diff --git a/LayoutTests/fast/dom/getElementsByTagName-localName-matching2.xhtml b/LayoutTests/fast/dom/getElementsByTagName-localName-matching2.xhtml
index 84c25f0..5fd48a6 100644
--- a/LayoutTests/fast/dom/getElementsByTagName-localName-matching2.xhtml
+++ b/LayoutTests/fast/dom/getElementsByTagName-localName-matching2.xhtml
@@ -1,6 +1,6 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="container"><FOO><foo><linearGradient/></foo></FOO><img/></div>
diff --git a/LayoutTests/fast/dom/getelementsbyname-invalidation-cache.html b/LayoutTests/fast/dom/getelementsbyname-invalidation-cache.html
index e687537..0eac922 100644
--- a/LayoutTests/fast/dom/getelementsbyname-invalidation-cache.html
+++ b/LayoutTests/fast/dom/getelementsbyname-invalidation-cache.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>This test case ensures that nameNodeListCache should be invalidate when name attribute changes.</p>
@@ -52,6 +52,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/dom/getter-on-window-object2.html b/LayoutTests/fast/dom/getter-on-window-object2.html
index f7f2d96..a8af3fa 100644
--- a/LayoutTests/fast/dom/getter-on-window-object2.html
+++ b/LayoutTests/fast/dom/getter-on-window-object2.html
@@ -1,4 +1,4 @@
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description("This page tests what happens when a getter / setter on the window object conflicts with another property or declared variable");
diff --git a/LayoutTests/fast/dom/html-attribute-types.html b/LayoutTests/fast/dom/html-attribute-types.html
index b11429a..d039d56 100644
--- a/LayoutTests/fast/dom/html-attribute-types.html
+++ b/LayoutTests/fast/dom/html-attribute-types.html
@@ -1,5 +1,5 @@
<head>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
var img;
var pre;
diff --git a/LayoutTests/fast/dom/html-collections-named-getter.html b/LayoutTests/fast/dom/html-collections-named-getter.html
index befd18e..151c2ca 100644
--- a/LayoutTests/fast/dom/html-collections-named-getter.html
+++ b/LayoutTests/fast/dom/html-collections-named-getter.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>
<div id="container"></div>
<form></form>
<script>
@@ -96,6 +96,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/dom/htmlallcollection-call-with-index-caching-bug.html b/LayoutTests/fast/dom/htmlallcollection-call-with-index-caching-bug.html
index 377aa60..6d14657 100644
--- a/LayoutTests/fast/dom/htmlallcollection-call-with-index-caching-bug.html
+++ b/LayoutTests/fast/dom/htmlallcollection-call-with-index-caching-bug.html
@@ -2,7 +2,7 @@
<html>
<head id="foo">
<meta charset="utf-8">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -15,6 +15,6 @@
shouldBe("document.all.item(0)", "document.documentElement");
</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/dom/htmlallcollection-detached-node-children.html b/LayoutTests/fast/dom/htmlallcollection-detached-node-children.html
index ce815c4..30a2df2 100644
--- a/LayoutTests/fast/dom/htmlallcollection-detached-node-children.html
+++ b/LayoutTests/fast/dom/htmlallcollection-detached-node-children.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>
@@ -22,6 +22,6 @@
shouldBe("document.body.appendChild(span); document.all['foo']", "span");
</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/dom/htmlallcollection-reachable.html b/LayoutTests/fast/dom/htmlallcollection-reachable.html
index 1e54fd2..508ef2c 100644
--- a/LayoutTests/fast/dom/htmlallcollection-reachable.html
+++ b/LayoutTests/fast/dom/htmlallcollection-reachable.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>
document.all.customProperty = 42;
@@ -7,4 +7,4 @@
shouldBe('document.all.customProperty', '42');
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/htmlcollection-length-after-item.html b/LayoutTests/fast/dom/htmlcollection-length-after-item.html
index 2f2beb4..3921068 100644
--- a/LayoutTests/fast/dom/htmlcollection-length-after-item.html
+++ b/LayoutTests/fast/dom/htmlcollection-length-after-item.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>
description("This tests accessing the length after accessing (length + 1)-th item in HTMLCollection doesn't cache a wrong length.");
diff --git a/LayoutTests/fast/dom/htmlcollection-namedItem.html b/LayoutTests/fast/dom/htmlcollection-namedItem.html
index 53257ed..9f20cff 100644
--- a/LayoutTests/fast/dom/htmlcollection-namedItem.html
+++ b/LayoutTests/fast/dom/htmlcollection-namedItem.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>HTMLCollection namedItem Method</p>
@@ -12,7 +12,7 @@
shouldBeNull('form.elements.namedItem("any")');
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/dom/htmlcollection-non-html.html b/LayoutTests/fast/dom/htmlcollection-non-html.html
index 7ae179ae..73411c7 100644
--- a/LayoutTests/fast/dom/htmlcollection-non-html.html
+++ b/LayoutTests/fast/dom/htmlcollection-non-html.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>
var elem;
var ns = "http://not-html.test";
@@ -97,6 +97,6 @@
</head>
<body>
<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/dom/htmlcollection-protects-base.html b/LayoutTests/fast/dom/htmlcollection-protects-base.html
index d6b9b44..c525b51 100644
--- a/LayoutTests/fast/dom/htmlcollection-protects-base.html
+++ b/LayoutTests/fast/dom/htmlcollection-protects-base.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>
<select foo="bar">
@@ -22,6 +22,6 @@
shouldBe("options[0].parentNode.getAttribute('foo')", "'bar'");
</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/dom/htmlcollection-reachable.html b/LayoutTests/fast/dom/htmlcollection-reachable.html
index dfd2e30..63f4dcc 100644
--- a/LayoutTests/fast/dom/htmlcollection-reachable.html
+++ b/LayoutTests/fast/dom/htmlcollection-reachable.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></form>
<table><tbody><tr></tr></tbody></table>
<fieldset></fieldset>
@@ -48,4 +48,4 @@
}
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/icon-size-property.html b/LayoutTests/fast/dom/icon-size-property.html
index 26a86e0..b318e4f 100644
--- a/LayoutTests/fast/dom/icon-size-property.html
+++ b/LayoutTests/fast/dom/icon-size-property.html
@@ -4,7 +4,7 @@
<link id="no-sizes" rel="icon" type="image/x-icon" href="http://test.com/oldfavicon.ico"/>
<link id="empty-sizes" rel="icon" sizes="" type="image/x-icon" href="http://test.com/oldfavicon.ico"/>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -28,6 +28,6 @@
shouldEvaluateTo('icon.sizes.length',0);
shouldBeEqualToString('icon.sizes.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/dom/icon-url-change.html b/LayoutTests/fast/dom/icon-url-change.html
index 993272e..27659fd 100644
--- a/LayoutTests/fast/dom/icon-url-change.html
+++ b/LayoutTests/fast/dom/icon-url-change.html
@@ -2,7 +2,7 @@
<head>
<title>Original Title</title>
<link rel="shortcut icon" type="image/x-icon" href="http://test.com/oldfavicon.ico"/>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
function setFavIcon(iconURL) {
diff --git a/LayoutTests/fast/dom/icon-url-list-apple-touch.html b/LayoutTests/fast/dom/icon-url-list-apple-touch.html
index 941230d..e59c584 100644
--- a/LayoutTests/fast/dom/icon-url-list-apple-touch.html
+++ b/LayoutTests/fast/dom/icon-url-list-apple-touch.html
@@ -4,7 +4,7 @@
<link rel="shortcut icon" type="image/x-icon" href="http://test.com/oldfavicon.ico"/>
<link rel="apple-touch-icon" type="image/png" href="http://test.com/i/touch.png"/>
<link rel="apple-touch-icon-precomposed" type="image/png" href="http://test.com/i/touch-precomposed.png"/>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
function runTests() {
if (window.testRunner)
diff --git a/LayoutTests/fast/dom/icon-url-list.html b/LayoutTests/fast/dom/icon-url-list.html
index 6d3dfda6..5406021 100644
--- a/LayoutTests/fast/dom/icon-url-list.html
+++ b/LayoutTests/fast/dom/icon-url-list.html
@@ -4,7 +4,7 @@
<link rel="shortcut icon" type="image/x-icon" href="http://test.com/oldfavicon.ico"/>
<link rel="shortcut icon" type="image/x-icon" href="http://test.com/foofavicon.ico"/>
<link rel="shortcut icon" type="image/x-icon" href="http://test.com/barfavicon.ico"/>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
function setFavIcon(iconURL) {
diff --git a/LayoutTests/fast/dom/iframe-inner-size-scaling.html b/LayoutTests/fast/dom/iframe-inner-size-scaling.html
index 36d78c9..c418969 100644
--- a/LayoutTests/fast/dom/iframe-inner-size-scaling.html
+++ b/LayoutTests/fast/dom/iframe-inner-size-scaling.html
@@ -1,5 +1,5 @@
<html>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
description("This tests that innerWidth/innerHeight on an frame window returns the size of the frame itself in CSS pixels, regardless of page scale.");
window.jsTestIsAsync = true;
@@ -25,5 +25,5 @@
}
</script>
<iframe id="iframe" style="width: 100%; height: 100%;"></iframe>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/importNode-confusing-localName.html b/LayoutTests/fast/dom/importNode-confusing-localName.html
index 0f2eb05..ff12d6d 100644
--- a/LayoutTests/fast/dom/importNode-confusing-localName.html
+++ b/LayoutTests/fast/dom/importNode-confusing-localName.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>
<xht:input id="test"></xht:input>
@@ -10,6 +10,6 @@
var imported = document.importNode(source, true);
shouldBe('imported.constructor', 'source.constructor');
</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/dom/incompatible-operations.html b/LayoutTests/fast/dom/incompatible-operations.html
index 7b99652..5cdf08e 100644
--- a/LayoutTests/fast/dom/incompatible-operations.html
+++ b/LayoutTests/fast/dom/incompatible-operations.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>
@@ -47,7 +47,7 @@
shouldBeUndefined("aSelect.add(void 0, anOption)");
shouldBeUndefined("aSelect.add(anOption, void 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/dom/inline-event-attributes-crash.html b/LayoutTests/fast/dom/inline-event-attributes-crash.html
index 1dfbdb0..20a48cd 100644
--- a/LayoutTests/fast/dom/inline-event-attributes-crash.html
+++ b/LayoutTests/fast/dom/inline-event-attributes-crash.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('Tests that malformed code in event handler attributes does not cause a crash');
@@ -23,4 +23,4 @@
testPassed('Did not crash');
</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/dom/inline-event-attributes-event-param-name.html b/LayoutTests/fast/dom/inline-event-attributes-event-param-name.html
index 318f6e5..fddf9e5 100644
--- a/LayoutTests/fast/dom/inline-event-attributes-event-param-name.html
+++ b/LayoutTests/fast/dom/inline-event-attributes-event-param-name.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('Tests the name of the event parameter for inline event attributes');
@@ -36,4 +36,4 @@
shouldBeEqualToString('type', 'object')
</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/dom/inline-event-attributes-lookup-removed-form.html b/LayoutTests/fast/dom/inline-event-attributes-lookup-removed-form.html
index db9bf54..2e39fdb 100644
--- a/LayoutTests/fast/dom/inline-event-attributes-lookup-removed-form.html
+++ b/LayoutTests/fast/dom/inline-event-attributes-lookup-removed-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>
<form id="test-form">
<input id="test-input">
</form>
@@ -26,4 +26,4 @@
shouldBeEqualToString('result', 'PASS');
</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/dom/inline-event-attributes-lookup-removed.html b/LayoutTests/fast/dom/inline-event-attributes-lookup-removed.html
index 55cc99a..7f623d4 100644
--- a/LayoutTests/fast/dom/inline-event-attributes-lookup-removed.html
+++ b/LayoutTests/fast/dom/inline-event-attributes-lookup-removed.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('Tests that lookup in inline event handlers keeps references alive');
@@ -28,4 +28,4 @@
shouldBeEqualToString('result', 'PASS');
</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/dom/inline-event-attributes-lookup.html b/LayoutTests/fast/dom/inline-event-attributes-lookup.html
index c24995f..5d3d884 100644
--- a/LayoutTests/fast/dom/inline-event-attributes-lookup.html
+++ b/LayoutTests/fast/dom/inline-event-attributes-lookup.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 id="test-form">
<input id="test-input">
</form>
@@ -67,4 +67,4 @@
shouldNotBe('result', '"FAIL"');
</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/dom/inline-event-attributes-moved.html b/LayoutTests/fast/dom/inline-event-attributes-moved.html
index bbfcdef..29b8593 100644
--- a/LayoutTests/fast/dom/inline-event-attributes-moved.html
+++ b/LayoutTests/fast/dom/inline-event-attributes-moved.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('Tests that we have the expected form in scope');
@@ -22,4 +22,4 @@
shouldBeEqualToString('expected', 'undefined');
</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/dom/inline-event-attributes-release.html b/LayoutTests/fast/dom/inline-event-attributes-release.html
index bf118bb..1768649 100644
--- a/LayoutTests/fast/dom/inline-event-attributes-release.html
+++ b/LayoutTests/fast/dom/inline-event-attributes-release.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('Tests that we do not hold on to any nodes');
@@ -25,4 +25,4 @@
shouldBe('afterCount - beforeCount', '0');
</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/dom/inner-text-first-letter.html b/LayoutTests/fast/dom/inner-text-first-letter.html
index b3807e6..52df0d0 100644
--- a/LayoutTests/fast/dom/inner-text-first-letter.html
+++ b/LayoutTests/fast/dom/inner-text-first-letter.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>
.first:first-letter {
font-weight: bold;
@@ -92,6 +92,6 @@
shouldBe("document.getElementById('floatDt').innerText", "'Ab Cd E'");
document.getElementById('tests').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/dom/isEqualNode-after-removeAttribute.html b/LayoutTests/fast/dom/isEqualNode-after-removeAttribute.html
index 10a9169..ea365dc 100644
--- a/LayoutTests/fast/dom/isEqualNode-after-removeAttribute.html
+++ b/LayoutTests/fast/dom/isEqualNode-after-removeAttribute.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>
@@ -28,6 +28,6 @@
shouldBe("e1.isEqualNode(e2)", "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/dom/javascript-url-exception-isolation.html b/LayoutTests/fast/dom/javascript-url-exception-isolation.html
index 02b944f..5e1fdf8 100644
--- a/LayoutTests/fast/dom/javascript-url-exception-isolation.html
+++ b/LayoutTests/fast/dom/javascript-url-exception-isolation.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/javascript-url-exception-isolation.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/dom/location-new-window-no-crash.html b/LayoutTests/fast/dom/location-new-window-no-crash.html
index 7b2816f..ca4cc52 100644
--- a/LayoutTests/fast/dom/location-new-window-no-crash.html
+++ b/LayoutTests/fast/dom/location-new-window-no-crash.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/location-new-window-no-crash.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/dom/mutation-event-listener-with-dirty-inline-style-crash.html b/LayoutTests/fast/dom/mutation-event-listener-with-dirty-inline-style-crash.html
index 2d9c256..f09047b 100644
--- a/LayoutTests/fast/dom/mutation-event-listener-with-dirty-inline-style-crash.html
+++ b/LayoutTests/fast/dom/mutation-event-listener-with-dirty-inline-style-crash.html
@@ -4,7 +4,7 @@
<style>
*[foo^=""] { border: inherit; }
</style>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
window.jsTestIsAsync = true;
if (window.testRunner) {
@@ -34,6 +34,6 @@
document.addEventListener("DOMContentLoaded", load, false);
</script>
<body>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/node-childNodes-idempotence.html b/LayoutTests/fast/dom/node-childNodes-idempotence.html
index fdb90d3..5064f81 100644
--- a/LayoutTests/fast/dom/node-childNodes-idempotence.html
+++ b/LayoutTests/fast/dom/node-childNodes-idempotence.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>
@@ -13,6 +13,6 @@
shouldBeTrue("document.documentElement.childNodes === document.documentElement.childNodes");
</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/dom/node-filter-detached-iframe-crash.html b/LayoutTests/fast/dom/node-filter-detached-iframe-crash.html
index 59f0ed0..dabc315 100644
--- a/LayoutTests/fast/dom/node-filter-detached-iframe-crash.html
+++ b/LayoutTests/fast/dom/node-filter-detached-iframe-crash.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.waitUntilDone();
diff --git a/LayoutTests/fast/dom/node-iterator-reference-node-removed.html b/LayoutTests/fast/dom/node-iterator-reference-node-removed.html
index 71342f2..77b90bf 100644
--- a/LayoutTests/fast/dom/node-iterator-reference-node-removed.html
+++ b/LayoutTests/fast/dom/node-iterator-reference-node-removed.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="testDiv" style="display:none;">
<div id="div1">aaa</div>
<div id="div2">bbb</div>
@@ -21,4 +21,4 @@
testDiv.removeChild(div1);
shouldBe("iter.nextNode()", "div2");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/node-iterator-with-doctype-root.html b/LayoutTests/fast/dom/node-iterator-with-doctype-root.html
index acb8b1e..a0016d1 100644
--- a/LayoutTests/fast/dom/node-iterator-with-doctype-root.html
+++ b/LayoutTests/fast/dom/node-iterator-with-doctype-root.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>
<script>
@@ -25,6 +25,6 @@
shouldBe('iter.previousNode()', 'dt');
iter.detach();
</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/dom/node-legacy-event-listener.html b/LayoutTests/fast/dom/node-legacy-event-listener.html
index d775642..7df60ff 100644
--- a/LayoutTests/fast/dom/node-legacy-event-listener.html
+++ b/LayoutTests/fast/dom/node-legacy-event-listener.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>
<script>
@@ -13,6 +13,6 @@
shouldBe('document.addEventListener()', 'undefined');
shouldBe('document.removeEventListener()', 'undefined');
</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/dom/node-move-to-new-document-crash-main.html b/LayoutTests/fast/dom/node-move-to-new-document-crash-main.html
index 42cc97c..9ee862a 100644
--- a/LayoutTests/fast/dom/node-move-to-new-document-crash-main.html
+++ b/LayoutTests/fast/dom/node-move-to-new-document-crash-main.html
@@ -1,6 +1,6 @@
<html>
<body>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
description("Tests that moving nodes across documents does not crash.");
@@ -31,6 +31,6 @@
}
</script>
<object data="resources/node-move-to-new-document-crash.svg" id="root" onload="runTest()"/></object>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/node-prefix-setter-namespace-exception.html b/LayoutTests/fast/dom/node-prefix-setter-namespace-exception.html
index 6d4166f..4e16e36 100644
--- a/LayoutTests/fast/dom/node-prefix-setter-namespace-exception.html
+++ b/LayoutTests/fast/dom/node-prefix-setter-namespace-exception.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/node-prefix-setter-namespace-exception.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/dom/nodelist-item-parameter.html b/LayoutTests/fast/dom/nodelist-item-parameter.html
index 1a3b19f..3b920fe 100644
--- a/LayoutTests/fast/dom/nodelist-item-parameter.html
+++ b/LayoutTests/fast/dom/nodelist-item-parameter.html
@@ -2,7 +2,7 @@
<html>
<head>
<link rel="help" href="http://www.w3.org/TR/2012/WD-dom-20121206/#dom-nodelist-item">
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<span id="target">
@@ -22,6 +22,6 @@
shouldBeEqualToString("nodeList.item(-4294967295).id", "b"); // Wraps to 1.
shouldThrow("nodeList.item()", "'TypeError: Not enough arguments'");
</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/dom/nodesFromRect/nodesFromRect-basic.html b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-basic.html
index 4c89218..d31512d 100644
--- a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-basic.html
+++ b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-basic.html
@@ -3,7 +3,7 @@
<head>
<title>Document::nodesFromRect test - bug 40197</title>
<style type="text/css"> @import "resources/nodesFromRect.css"; </style>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script src="resources/nodesFromRect.js"></script>
<script type="application/javascript">
function runTest()
@@ -98,7 +98,7 @@
<p id="p5" style="position:relative; top: -100px; left: 30px; margin-bottom: -70px; background-color: green"></p>
<span id="console"></span>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-child-frame-content.html b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-child-frame-content.html
index adb4167..903818d 100644
--- a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-child-frame-content.html
+++ b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-child-frame-content.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>Document::nodesFromRect : Allow child-frame content - bug 95204</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script src="resources/nodesFromRect.js"></script>
<style>
body { margin: 0px; }
@@ -72,6 +72,6 @@
jsTestIsAsync = true;
window.onload = 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/dom/nodesFromRect/nodesFromRect-culled-inline-with-linebreak.html b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-culled-inline-with-linebreak.html
index 487860b..71be711 100644
--- a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-culled-inline-with-linebreak.html
+++ b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-culled-inline-with-linebreak.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>Document::nodesFromRect : culled inline with line-break - bug 88376</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script src="resources/nodesFromRect.js"></script>
<style>
#sandbox {
@@ -39,7 +39,7 @@
}
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/dom/nodesFromRect/nodesFromRect-culled-inlines.html b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-culled-inlines.html
index b2e0652..143081f 100644
--- a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-culled-inlines.html
+++ b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-culled-inlines.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>Document::nodesFromRect : culled inlines - bug 88376</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script src="resources/nodesFromRect.js"></script>
<style>
#sandbox {
@@ -46,7 +46,7 @@
}
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/dom/nodesFromRect/nodesFromRect-embedded-frame-content.html b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-embedded-frame-content.html
index aced9e4..b22a389 100644
--- a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-embedded-frame-content.html
+++ b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-embedded-frame-content.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>REGRESSION(r143727): Clicking / selecting inside an embed is broken - bug 111217</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script src="resources/nodesFromRect.js"></script>
<style>
body { margin: 0px; }
@@ -64,6 +64,6 @@
jsTestIsAsync = true;
window.onload = 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/dom/nodesFromRect/nodesFromRect-inline-image.html b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-inline-image.html
index aacdc9c..f64a0ae 100644
--- a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-inline-image.html
+++ b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-inline-image.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>Document::nodesFromRect : inline image - bug 85849</title>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script src="resources/nodesFromRect.js"></script>
<style>
#sandbox {
@@ -61,7 +61,7 @@
}
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/dom/nodesFromRect/nodesFromRect-inner-documents.html b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-inner-documents.html
index 5dfa565..8ca2fbe 100644
--- a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-inner-documents.html
+++ b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-inner-documents.html
@@ -3,7 +3,7 @@
<head>
<title>Document::nodesFromRect : basic text nodes and links test - bug 47795</title>
<style type="text/css"> @import "resources/nodesFromRect.css"; </style>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script src="resources/nodesFromRect.js"></script>
<script type="application/javascript">
function runTest()
@@ -48,6 +48,6 @@
<iframe id="iframe1" src="data:text/html,<div>div</div><p>p</p>"></iframe>
<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/dom/nodesFromRect/nodesFromRect-links-and-text.html b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-links-and-text.html
index 71596dc..bbaeaf5 100644
--- a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-links-and-text.html
+++ b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-links-and-text.html
@@ -3,7 +3,7 @@
<head>
<title>Document::nodesFromRect : basic text nodes and links test - bug 47795</title>
<style type="text/css"> @import "resources/nodesFromRect.css"; </style>
- <script src="../../js/resources/js-test-pre.js"></script>
+ <script src="../../../resources/js-test-pre.js"></script>
<script src="resources/nodesFromRect.js"></script>
<script type="application/javascript">
function runTest()
@@ -44,6 +44,6 @@
</p>
<span id="console"></span>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-rotate.html b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-rotate.html
index 9ed5aa2..0b0ec4b 100644
--- a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-rotate.html
+++ b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-rotate.html
@@ -24,7 +24,7 @@
#layer > #fright { float: right; width: 50px; height: 300px; }
#layer > .hbox { height: 100px; margin-right: 50px; margin-left: 50px }
</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="resources/nodesFromRect.js"></script>
</head>
@@ -106,7 +106,7 @@
<p id='description'></p>
<span id="console"></span>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-scale.html b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-scale.html
index 65d53b8..5d88d186 100644
--- a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-scale.html
+++ b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-scale.html
@@ -23,7 +23,7 @@
#layer > #fright { float: right; width: 50px; height: 200px; }
#layer > .hbox { height: 100px; margin-right: 50px; margin-left: 50px }
</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="resources/nodesFromRect.js"></script>
</head>
@@ -90,7 +90,7 @@
<p id='description'></p>
<span id="console"></span>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-svg.html b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-svg.html
index 3f421cf..62e9391 100644
--- a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-svg.html
+++ b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-svg.html
@@ -18,7 +18,7 @@
box-sizing: border-box;
}
</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="resources/nodesFromRect.js"></script>
</head>
@@ -81,7 +81,7 @@
<p id='description'></p>
<span id="console"></span>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-table.html b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-table.html
index 157c222..bf70812 100644
--- a/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-table.html
+++ b/LayoutTests/fast/dom/nodesFromRect/nodesFromRect-table.html
@@ -22,7 +22,7 @@
-webkit-writing-mode: vertical-lr;
}
</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="resources/nodesFromRect.js"></script>
</head>
@@ -115,7 +115,7 @@
<p id='description'></p>
<span id="console"></span>
- <script src="../../js/resources/js-test-post.js"></script>
+ <script src="../../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/non-numeric-values-numeric-parameters.html b/LayoutTests/fast/dom/non-numeric-values-numeric-parameters.html
index 1e02911..71c8d9e 100644
--- a/LayoutTests/fast/dom/non-numeric-values-numeric-parameters.html
+++ b/LayoutTests/fast/dom/non-numeric-values-numeric-parameters.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/non-numeric-values-numeric-parameters.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/dom/normalize-attributes-mutation-event-crash.html b/LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.html
index 009fa98..dfdeffa 100644
--- a/LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.html
+++ b/LayoutTests/fast/dom/normalize-attributes-mutation-event-crash.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>
@@ -17,6 +17,6 @@
el.normalize()
</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/dom/offset-position-writing-modes.html b/LayoutTests/fast/dom/offset-position-writing-modes.html
index f8a471d..edea1d5 100644
--- a/LayoutTests/fast/dom/offset-position-writing-modes.html
+++ b/LayoutTests/fast/dom/offset-position-writing-modes.html
@@ -1,4 +1,4 @@
-<script src="../../fast/js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<div style="position:relative">
<div style="-webkit-writing-mode: vertical-rl; background-color: green; width: 100px; height: 100px;">
<div style="width: 5px"></div>
@@ -19,4 +19,4 @@
shouldBe('document.getElementById("vertical").offsetLeft', '65');
shouldBe('document.getElementById("horizontal").offsetTop', '65');
</script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/ping-attribute-dom-binding.html b/LayoutTests/fast/dom/ping-attribute-dom-binding.html
index e137106..dc962dd 100644
--- a/LayoutTests/fast/dom/ping-attribute-dom-binding.html
+++ b/LayoutTests/fast/dom/ping-attribute-dom-binding.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>
@@ -29,6 +29,6 @@
shouldBeEqualToString('area.ping', '');
</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/dom/processing-instruction-appendChild-exceptions.xhtml b/LayoutTests/fast/dom/processing-instruction-appendChild-exceptions.xhtml
index 5beaeae..b002899 100644
--- a/LayoutTests/fast/dom/processing-instruction-appendChild-exceptions.xhtml
+++ b/LayoutTests/fast/dom/processing-instruction-appendChild-exceptions.xhtml
@@ -1,6 +1,6 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
-<script src="../js/resources/js-test-pre.js"></script>
+<script src="../../resources/js-test-pre.js"></script>
<script>
<![CDATA[
description("Test that appropriate exceptions are thrown when adding children to a ProcessingInstruction.");
@@ -12,6 +12,6 @@
shouldThrow("pi.appendChild(textNode)", "'Error: HierarchyRequestError: DOM Exception 3'");
]]>
</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/dom/prototype-property.html b/LayoutTests/fast/dom/prototype-property.html
index 34ae3da..c37b779 100644
--- a/LayoutTests/fast/dom/prototype-property.html
+++ b/LayoutTests/fast/dom/prototype-property.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/prototype-property.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/dom/resources/navigation-type-matches-querystring.html b/LayoutTests/fast/dom/resources/navigation-type-matches-querystring.html
index c6c1593..9f0d16e 100644
--- a/LayoutTests/fast/dom/resources/navigation-type-matches-querystring.html
+++ b/LayoutTests/fast/dom/resources/navigation-type-matches-querystring.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>
<div id="description"></div>
@@ -15,7 +15,7 @@
var navigation = performance.navigation || {};
shouldBe("navigation.type", stringify(expectedType));
</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/dom/script-tests/TEMPLATE.html b/LayoutTests/fast/dom/script-tests/TEMPLATE.html
index 056ea5d..d0cb77d 100644
--- a/LayoutTests/fast/dom/script-tests/TEMPLATE.html
+++ b/LayoutTests/fast/dom/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/dom/script-tests/webtiming-document-open.js b/LayoutTests/fast/dom/script-tests/webtiming-document-open.js
index 13b1908..25f6f9a 100644
--- a/LayoutTests/fast/dom/script-tests/webtiming-document-open.js
+++ b/LayoutTests/fast/dom/script-tests/webtiming-document-open.js
@@ -14,10 +14,10 @@
document.open();
document.write("<html>");
document.write("<head>");
- document.write("<script src=\"../js/resources/js-test-pre.js\"></script>");
+ document.write("<script src=\"../../resources/js-test-pre.js\"></script>");
document.write("</head>");
document.write("<body>");
- document.write("<script src=\"../js/resources/js-test-post.js\"></script>");
+ document.write("<script src=\"../../resources/js-test-post.js\"></script>");
document.write("</body>");
document.write("</html>");
document.close();
diff --git a/LayoutTests/fast/dom/scroll-element-to-rect-centered.html b/LayoutTests/fast/dom/scroll-element-to-rect-centered.html
index 877b5bf..ba82f8b 100644
--- a/LayoutTests/fast/dom/scroll-element-to-rect-centered.html
+++ b/LayoutTests/fast/dom/scroll-element-to-rect-centered.html
@@ -7,7 +7,7 @@
<div style="position:absolute; left: 600px; top: 800px;"> <input id="textbox" type="text"></div>
</div>
</body>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
var box = document.getElementById('textbox');
if (window.internals)
@@ -23,7 +23,7 @@
testRunner.dumpAsText();
}
</script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</script>
</head>
</html>
diff --git a/LayoutTests/fast/dom/scroll-element-to-rect.html b/LayoutTests/fast/dom/scroll-element-to-rect.html
index a85e693..505d89a 100644
--- a/LayoutTests/fast/dom/scroll-element-to-rect.html
+++ b/LayoutTests/fast/dom/scroll-element-to-rect.html
@@ -6,7 +6,7 @@
<div style="position:absolute; left: 600px; top: 800px;"> <input id="textbox" type="text"></div>
</div>
</body>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
var box = document.getElementById('textbox');
if (window.internals) {
@@ -24,6 +24,6 @@
testRunner.dumpAsText();
}
</script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</head>
</html>
diff --git a/LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments.html b/LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments.html
index 1839600..93d368b 100644
--- a/LayoutTests/fast/dom/set-custom-validity-with-too-few-arguments.html
+++ b/LayoutTests/fast/dom/set-custom-validity-with-too-few-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>
@@ -19,6 +19,6 @@
var k = document.createElement('keygen');
shouldThrow("k.setCustomValidity()");
</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/dom/setAttribute-using-initial-input-value.html b/LayoutTests/fast/dom/setAttribute-using-initial-input-value.html
index 5f0f11e..99a7118 100644
--- a/LayoutTests/fast/dom/setAttribute-using-initial-input-value.html
+++ b/LayoutTests/fast/dom/setAttribute-using-initial-input-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>
<script>
if (window.testRunner)
testRunner.waitUntilDone();
@@ -39,7 +39,7 @@
shouldBe("elem.getAttribute('style')", "''");
debug("");
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
<script>
elem.style.display = "none";
if (window.testRunner)
diff --git a/LayoutTests/fast/dom/setAttributeNS-prefix-and-null-namespace.html b/LayoutTests/fast/dom/setAttributeNS-prefix-and-null-namespace.html
index a7a1d25..e7c9e94 100644
--- a/LayoutTests/fast/dom/setAttributeNS-prefix-and-null-namespace.html
+++ b/LayoutTests/fast/dom/setAttributeNS-prefix-and-null-namespace.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/setAttributeNS-prefix-and-null-namespace.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/dom/setPrimitiveValue-exceptions.html b/LayoutTests/fast/dom/setPrimitiveValue-exceptions.html
index c867131..67177da 100644
--- a/LayoutTests/fast/dom/setPrimitiveValue-exceptions.html
+++ b/LayoutTests/fast/dom/setPrimitiveValue-exceptions.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/setPrimitiveValue-exceptions.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/dom/setter-type-enforcement.html b/LayoutTests/fast/dom/setter-type-enforcement.html
index fff0a91..ccda066 100644
--- a/LayoutTests/fast/dom/setter-type-enforcement.html
+++ b/LayoutTests/fast/dom/setter-type-enforcement.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>
@@ -15,6 +15,6 @@
var table = document.createElement('table');
shouldThrow("table.tHead = nodelist;");
</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/dom/shadow/access-key.html b/LayoutTests/fast/dom/shadow/access-key.html
index 7c3da26..86e8e8a 100644
--- a/LayoutTests/fast/dom/shadow/access-key.html
+++ b/LayoutTests/fast/dom/shadow/access-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/shadow-dom.js"></script>
</head>
<body>
@@ -95,6 +95,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/dom/shadow/adopt-node-with-shadow-root.html b/LayoutTests/fast/dom/shadow/adopt-node-with-shadow-root.html
index 811cad9..076677f 100644
--- a/LayoutTests/fast/dom/shadow/adopt-node-with-shadow-root.html
+++ b/LayoutTests/fast/dom/shadow/adopt-node-with-shadow-root.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="console"></div>
@@ -14,6 +14,6 @@
location.reload();
}
</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/dom/shadow/athost-atrules.html b/LayoutTests/fast/dom/shadow/athost-atrules.html
index acc5fdd..ee375ce 100644
--- a/LayoutTests/fast/dom/shadow/athost-atrules.html
+++ b/LayoutTests/fast/dom/shadow/athost-atrules.html
@@ -6,7 +6,7 @@
color: gray;
}
</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="resources/polyfill.js"></script>
<script>
function dumpComputedStyle(node)
diff --git a/LayoutTests/fast/dom/shadow/base-in-shadow-tree.html b/LayoutTests/fast/dom/shadow/base-in-shadow-tree.html
index cecf9cc..a3f000e 100644
--- a/LayoutTests/fast/dom/shadow/base-in-shadow-tree.html
+++ b/LayoutTests/fast/dom/shadow/base-in-shadow-tree.html
@@ -7,7 +7,7 @@
<div id="container"><a id="anchor-in-host-children" href="/">tehepero</a></div>
<div><a id="anchor-outside-of-shadow" href="/">tehepero</a></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
var container = document.getElementById('container');
@@ -28,6 +28,6 @@
shouldBe('anchorInHostChildren.href.indexOf("http://www.example.com")', '-1');
shouldBe('anchorOutsideOfShadow.href.indexOf("http://www.example.com")', '-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/dom/shadow/caret-range-from-point-in-nested-shadow.html b/LayoutTests/fast/dom/shadow/caret-range-from-point-in-nested-shadow.html
index 80b145d..245eddc 100644
--- a/LayoutTests/fast/dom/shadow/caret-range-from-point-in-nested-shadow.html
+++ b/LayoutTests/fast/dom/shadow/caret-range-from-point-in-nested-shadow.html
@@ -3,7 +3,7 @@
<head>
<script src="resources/polyfill.js"></script>
<script src="../resources/event-sender-util.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -42,6 +42,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/dom/shadow/compare-document-position.html b/LayoutTests/fast/dom/shadow/compare-document-position.html
index dbfbde7..6c51ffb 100644
--- a/LayoutTests/fast/dom/shadow/compare-document-position.html
+++ b/LayoutTests/fast/dom/shadow/compare-document-position.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/shadow-dom.js"></script>
</head>
<body>
@@ -58,6 +58,6 @@
testCompareDocumentPosition();
</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/dom/shadow/composed-shadow-tree-walker-shadow-reprojection.html b/LayoutTests/fast/dom/shadow/composed-shadow-tree-walker-shadow-reprojection.html
index 4540d64..e93ed36 100644
--- a/LayoutTests/fast/dom/shadow/composed-shadow-tree-walker-shadow-reprojection.html
+++ b/LayoutTests/fast/dom/shadow/composed-shadow-tree-walker-shadow-reprojection.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/shadow-dom.js"></script>
</head>
<body>
@@ -185,6 +185,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/dom/shadow/composed-shadow-tree-walker.html b/LayoutTests/fast/dom/shadow/composed-shadow-tree-walker.html
index c88e068..7883f09 100644
--- a/LayoutTests/fast/dom/shadow/composed-shadow-tree-walker.html
+++ b/LayoutTests/fast/dom/shadow/composed-shadow-tree-walker.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/shadow-dom.js"></script>
</head>
<body>
@@ -288,6 +288,6 @@
createDOM('div', {'id': 'not-selected', 'class': 'foo'}),
createDOM('div', {'id': 'child-2', 'class': 'foo'})));
</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/dom/shadow/content-element-api.html b/LayoutTests/fast/dom/shadow/content-element-api.html
index b78e8cc..c368a29 100644
--- a/LayoutTests/fast/dom/shadow/content-element-api.html
+++ b/LayoutTests/fast/dom/shadow/content-element-api.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>
@@ -18,6 +18,6 @@
shouldBeTrue("0 <= contentSimplest.constructor.toString().indexOf('HTMLContentElement')");
shouldBe("window.HTMLContentElement", "contentSimplest.constructor");
</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/dom/shadow/content-element-distributed-nodes.html b/LayoutTests/fast/dom/shadow/content-element-distributed-nodes.html
index 067f8e8..df3b1e5 100644
--- a/LayoutTests/fast/dom/shadow/content-element-distributed-nodes.html
+++ b/LayoutTests/fast/dom/shadow/content-element-distributed-nodes.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/shadow-dom.js"></script>
</head>
<body>
@@ -56,6 +56,6 @@
assertNodeList(content1.getDistributedNodes(), []);
</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/dom/shadow/content-element-includer.html b/LayoutTests/fast/dom/shadow/content-element-includer.html
index e4f50e6..d4719e1 100644
--- a/LayoutTests/fast/dom/shadow/content-element-includer.html
+++ b/LayoutTests/fast/dom/shadow/content-element-includer.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>
<pre id="console">
@@ -65,6 +65,6 @@
container.offsetLeft;
shouldBe("internals.includerFor(movingChild)", "anotherShadowContentOfElementWithShadowContent");
</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/dom/shadow/content-element-outside-shadow.html b/LayoutTests/fast/dom/shadow/content-element-outside-shadow.html
index 4486aa0..93992e8 100644
--- a/LayoutTests/fast/dom/shadow/content-element-outside-shadow.html
+++ b/LayoutTests/fast/dom/shadow/content-element-outside-shadow.html
@@ -5,7 +5,7 @@
<div id="targetContainer" style="position: relative;"></div>
<div id="comparisonContainer" style="position: relative;"></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script><!--
description("HTMLContentElement should be able to survive even outside shadow.");
@@ -50,6 +50,6 @@
targetContainer.innerHTML = comparisonContainer.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/dom/shadow/content-element-user-agent-shadow.html b/LayoutTests/fast/dom/shadow/content-element-user-agent-shadow.html
index 7881684..d56870e 100644
--- a/LayoutTests/fast/dom/shadow/content-element-user-agent-shadow.html
+++ b/LayoutTests/fast/dom/shadow/content-element-user-agent-shadow.html
@@ -2,7 +2,7 @@
<html>
<body>
<div id="container"></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script><!--
(function()
{
@@ -28,6 +28,6 @@
shouldBeTrue("0 < contentInuserAgentShadow.constructor.toString().indexOf('HTMLElement')");
})();
--></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/dom/shadow/content-reprojection-fallback-crash.html b/LayoutTests/fast/dom/shadow/content-reprojection-fallback-crash.html
index 4b398a4..ab246d2 100644
--- a/LayoutTests/fast/dom/shadow/content-reprojection-fallback-crash.html
+++ b/LayoutTests/fast/dom/shadow/content-reprojection-fallback-crash.html
@@ -2,7 +2,7 @@
<html>
<script src="resources/polyfill.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<p>A crash should not happen when fallback elements are reprojected.</p>
@@ -27,5 +27,5 @@
finishJSTest();
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/shadow/content-selector-query.html b/LayoutTests/fast/dom/shadow/content-selector-query.html
index 562b38d..1ea5ff84 100644
--- a/LayoutTests/fast/dom/shadow/content-selector-query.html
+++ b/LayoutTests/fast/dom/shadow/content-selector-query.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>This test checks select attribute of content element is valid.</p>
@@ -71,6 +71,6 @@
doTest();
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/dom/shadow/content-shadow-unknown.html b/LayoutTests/fast/dom/shadow/content-shadow-unknown.html
index 8af82e1..2444299 100644
--- a/LayoutTests/fast/dom/shadow/content-shadow-unknown.html
+++ b/LayoutTests/fast/dom/shadow/content-shadow-unknown.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>
@@ -16,6 +16,6 @@
var shadow = document.createElement("shadow");
shouldBeTrue("0 <= shadow.constructor.toString().indexOf('HTMLUnknownElement')");
</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/dom/shadow/cppevent-in-shadow.html b/LayoutTests/fast/dom/shadow/cppevent-in-shadow.html
index ff43f0a..14fc150 100644
--- a/LayoutTests/fast/dom/shadow/cppevent-in-shadow.html
+++ b/LayoutTests/fast/dom/shadow/cppevent-in-shadow.html
@@ -3,7 +3,7 @@
<body>
<script src="resources/polyfill.js"></script>
<script src="../resources/event-sender-util.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div id="host"></div>
<pre id="console"></pre>
@@ -56,6 +56,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/dom/shadow/cppevent-input-in-shadow.html b/LayoutTests/fast/dom/shadow/cppevent-input-in-shadow.html
index 326f9b9..1596e07 100644
--- a/LayoutTests/fast/dom/shadow/cppevent-input-in-shadow.html
+++ b/LayoutTests/fast/dom/shadow/cppevent-input-in-shadow.html
@@ -3,7 +3,7 @@
<body>
<script src="resources/polyfill.js"></script>
<script src="../resources/event-sender-util.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div id="host"></div>
<pre id="console"></pre>
@@ -54,6 +54,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/dom/shadow/css-hostrule-api.html b/LayoutTests/fast/dom/shadow/css-hostrule-api.html
index 7815c67..682d7c2 100644
--- a/LayoutTests/fast/dom/shadow/css-hostrule-api.html
+++ b/LayoutTests/fast/dom/shadow/css-hostrule-api.html
@@ -2,7 +2,7 @@
<html>
<head>
<script src="resources/polyfill.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div id="host">This div is a shadow host.</div>
@@ -44,5 +44,5 @@
shouldBe("hostRule.cssRules[0].cssText", '"div { border-color: blue; }"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/shadow/distributed-pseudo-element-css-text.html b/LayoutTests/fast/dom/shadow/distributed-pseudo-element-css-text.html
index 0ddef67..9493914 100644
--- a/LayoutTests/fast/dom/shadow/distributed-pseudo-element-css-text.html
+++ b/LayoutTests/fast/dom/shadow/distributed-pseudo-element-css-text.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 id="style1">
.foo::-webkit-distributed(div .bar::before) { display: block; }
</style>
@@ -10,5 +10,5 @@
description("Test for cssText of '::distributed()' rule.");
shouldBeEqualToString("document.getElementById('style1').sheet.cssRules.item(0).cssText", ".foo::-webkit-distributed(div .bar::before) { display: block; }");
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/shadow/distribution-crash.html b/LayoutTests/fast/dom/shadow/distribution-crash.html
index 42b4ad61..5db8869 100644
--- a/LayoutTests/fast/dom/shadow/distribution-crash.html
+++ b/LayoutTests/fast/dom/shadow/distribution-crash.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>
<p>When modifying InsertionPoint's child, distribution should not cause crash.</p>
<p>PASS unless crash.</p>
@@ -40,5 +40,5 @@
}, 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/dom/shadow/drop-event-for-input-in-shadow.html b/LayoutTests/fast/dom/shadow/drop-event-for-input-in-shadow.html
index 8a9bec0..8f96e0e 100644
--- a/LayoutTests/fast/dom/shadow/drop-event-for-input-in-shadow.html
+++ b/LayoutTests/fast/dom/shadow/drop-event-for-input-in-shadow.html
@@ -3,7 +3,7 @@
<head>
<script src="resources/polyfill.js"></script>
<script src="../resources/event-sender-util.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
function createInput(name) {
var div = document.createElement('input');
diff --git a/LayoutTests/fast/dom/shadow/drop-event-in-shadow.html b/LayoutTests/fast/dom/shadow/drop-event-in-shadow.html
index 8060d7c..8cd0702 100644
--- a/LayoutTests/fast/dom/shadow/drop-event-in-shadow.html
+++ b/LayoutTests/fast/dom/shadow/drop-event-in-shadow.html
@@ -3,7 +3,7 @@
<head>
<script src="resources/polyfill.js"></script>
<script src="../resources/event-sender-util.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
function createBox(name) {
var div = document.createElement('div');
diff --git a/LayoutTests/fast/dom/shadow/element-from-point-in-nested-shadow.html b/LayoutTests/fast/dom/shadow/element-from-point-in-nested-shadow.html
index 73b40e0..7e839f5 100644
--- a/LayoutTests/fast/dom/shadow/element-from-point-in-nested-shadow.html
+++ b/LayoutTests/fast/dom/shadow/element-from-point-in-nested-shadow.html
@@ -3,7 +3,7 @@
<head>
<script src="resources/polyfill.js"></script>
<script src="../resources/event-sender-util.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -41,6 +41,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/dom/shadow/element-name-in-shadow.html b/LayoutTests/fast/dom/shadow/element-name-in-shadow.html
index 88986ed..8bc1068 100644
--- a/LayoutTests/fast/dom/shadow/element-name-in-shadow.html
+++ b/LayoutTests/fast/dom/shadow/element-name-in-shadow.html
@@ -2,7 +2,7 @@
<html>
<head>
<script src="resources/polyfill.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<div></div>
diff --git a/LayoutTests/fast/dom/shadow/elementfrompoint.html b/LayoutTests/fast/dom/shadow/elementfrompoint.html
index c61c8ba..d4ff27c 100644
--- a/LayoutTests/fast/dom/shadow/elementfrompoint.html
+++ b/LayoutTests/fast/dom/shadow/elementfrompoint.html
@@ -3,7 +3,7 @@
<head>
<script src="resources/polyfill.js"></script>
<script src="../resources/event-sender-util.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -49,6 +49,6 @@
shouldBe('document.elementFromPoint(x22, y22)', 'host');
</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/dom/shadow/elements-in-frameless-document.html b/LayoutTests/fast/dom/shadow/elements-in-frameless-document.html
index 70b6be8..b551477 100644
--- a/LayoutTests/fast/dom/shadow/elements-in-frameless-document.html
+++ b/LayoutTests/fast/dom/shadow/elements-in-frameless-document.html
@@ -1,7 +1,7 @@
x+<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -25,6 +25,6 @@
shouldBe("window.HTMLShadowElement", "shadow.constructor");
</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/dom/shadow/events-stopped-at-shadow-boundary.html b/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html
index 02ee8e0..a90a8af 100644
--- a/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html
+++ b/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.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/shadow-dom.js"></script>
</head>
<body>
@@ -123,6 +123,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/dom/shadow/focus-navigation-with-distributed-nodes.html b/LayoutTests/fast/dom/shadow/focus-navigation-with-distributed-nodes.html
index 3f4af9b..85e06bf 100644
--- a/LayoutTests/fast/dom/shadow/focus-navigation-with-distributed-nodes.html
+++ b/LayoutTests/fast/dom/shadow/focus-navigation-with-distributed-nodes.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/shadow-dom.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/dom/shadow/focus-navigation.html b/LayoutTests/fast/dom/shadow/focus-navigation.html
index 85d14fb..ad6d29d 100644
--- a/LayoutTests/fast/dom/shadow/focus-navigation.html
+++ b/LayoutTests/fast/dom/shadow/focus-navigation.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/shadow-dom.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/dom/shadow/form-in-shadow.html b/LayoutTests/fast/dom/shadow/form-in-shadow.html
index 5c099fb..bf46895 100644
--- a/LayoutTests/fast/dom/shadow/form-in-shadow.html
+++ b/LayoutTests/fast/dom/shadow/form-in-shadow.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/polyfill.js"></script>
</head>
<body>
@@ -70,6 +70,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/dom/shadow/gc-shadow.html b/LayoutTests/fast/dom/shadow/gc-shadow.html
index 838ab3bf..1d0e78a 100644
--- a/LayoutTests/fast/dom/shadow/gc-shadow.html
+++ b/LayoutTests/fast/dom/shadow/gc-shadow.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>
<pre id="console">
@@ -29,6 +29,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/dom/shadow/gesture-tap.html b/LayoutTests/fast/dom/shadow/gesture-tap.html
index 644ea4a..9d274af 100644
--- a/LayoutTests/fast/dom/shadow/gesture-tap.html
+++ b/LayoutTests/fast/dom/shadow/gesture-tap.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
diff --git a/LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan.html b/LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan.html
index 46a2c9e..c77dd08 100644
--- a/LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan.html
+++ b/LayoutTests/fast/dom/shadow/get-distributed-nodes-orphan.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/shadow-dom.js"></script>
</head>
<body>
@@ -59,6 +59,6 @@
assertNodeList(content2.getDistributedNodes(), [content, rootChildChild]);
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/dom/shadow/get-element-by-id-in-shadow-mutation.html b/LayoutTests/fast/dom/shadow/get-element-by-id-in-shadow-mutation.html
index 0eaa2e3..283f8c9 100644
--- a/LayoutTests/fast/dom/shadow/get-element-by-id-in-shadow-mutation.html
+++ b/LayoutTests/fast/dom/shadow/get-element-by-id-in-shadow-mutation.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="host"></div>
@@ -37,6 +37,6 @@
shadow.removeChild(e0a);
shouldBe("null", "shadow.getElementById('foo')");
</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/dom/shadow/get-element-by-id-in-shadow-root.html b/LayoutTests/fast/dom/shadow/get-element-by-id-in-shadow-root.html
index d276241..95a956a 100644
--- a/LayoutTests/fast/dom/shadow/get-element-by-id-in-shadow-root.html
+++ b/LayoutTests/fast/dom/shadow/get-element-by-id-in-shadow-root.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/shadow-dom.js"></script>
</head>
<body>
@@ -38,6 +38,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/dom/shadow/getelementbyid-in-orphan.html b/LayoutTests/fast/dom/shadow/getelementbyid-in-orphan.html
index 7204cd1..0f9527c 100644
--- a/LayoutTests/fast/dom/shadow/getelementbyid-in-orphan.html
+++ b/LayoutTests/fast/dom/shadow/getelementbyid-in-orphan.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/polyfill.js"></script>
<div id="wrapper"></div>
@@ -79,6 +79,6 @@
debug('');
wrapper.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/dom/shadow/getelementbyid-shadow.html b/LayoutTests/fast/dom/shadow/getelementbyid-shadow.html
index 7c7f915..3bd3a8d 100644
--- a/LayoutTests/fast/dom/shadow/getelementbyid-shadow.html
+++ b/LayoutTests/fast/dom/shadow/getelementbyid-shadow.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/polyfill.js"></script>
<div id="container"></div>
@@ -73,6 +73,6 @@
shouldBe('shadowRootC.getElementById("D")', '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/dom/shadow/has-content-elements.html b/LayoutTests/fast/dom/shadow/has-content-elements.html
index 256dae9..c973813 100644
--- a/LayoutTests/fast/dom/shadow/has-content-elements.html
+++ b/LayoutTests/fast/dom/shadow/has-content-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>
<script src="resources/polyfill.js"></script>
<script>
if (!window.internals)
@@ -105,7 +105,7 @@
wrapper.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/dom/shadow/has-elementshadow.html b/LayoutTests/fast/dom/shadow/has-elementshadow.html
index 2b11abf..568b54d 100644
--- a/LayoutTests/fast/dom/shadow/has-elementshadow.html
+++ b/LayoutTests/fast/dom/shadow/has-elementshadow.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/polyfill.js"></script>
<script src="resources/shadow-dom.js"></script>
</head>
@@ -145,6 +145,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/dom/shadow/has-shadow-insertion-point.html b/LayoutTests/fast/dom/shadow/has-shadow-insertion-point.html
index 7b66aa5..fd123ee 100644
--- a/LayoutTests/fast/dom/shadow/has-shadow-insertion-point.html
+++ b/LayoutTests/fast/dom/shadow/has-shadow-insertion-point.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/polyfill.js"></script>
<script>
if (!window.internals)
@@ -87,7 +87,7 @@
div1.removeChild(shadow);
</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/dom/shadow/host-wrapper-reclaimed.html b/LayoutTests/fast/dom/shadow/host-wrapper-reclaimed.html
index 2518c94..c6e2700 100644
--- a/LayoutTests/fast/dom/shadow/host-wrapper-reclaimed.html
+++ b/LayoutTests/fast/dom/shadow/host-wrapper-reclaimed.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>
@@ -21,6 +21,6 @@
document.body.innerHTML = "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/dom/shadow/iframe-shadow.html b/LayoutTests/fast/dom/shadow/iframe-shadow.html
index 8a3cc79..8277dfa 100644
--- a/LayoutTests/fast/dom/shadow/iframe-shadow.html
+++ b/LayoutTests/fast/dom/shadow/iframe-shadow.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/polyfill.js"></script>
</head>
<body>
@@ -67,6 +67,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/dom/shadow/input-shadow-nochange.html b/LayoutTests/fast/dom/shadow/input-shadow-nochange.html
index 44a8f88..9feb1a9 100644
--- a/LayoutTests/fast/dom/shadow/input-shadow-nochange.html
+++ b/LayoutTests/fast/dom/shadow/input-shadow-nochange.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>This test checks input's shadow root is not changed if input type is changed.</p>
@@ -38,6 +38,6 @@
doTest();
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/dom/shadow/insertion-parent-shadow.html b/LayoutTests/fast/dom/shadow/insertion-parent-shadow.html
index 9827588..7cfc94f 100644
--- a/LayoutTests/fast/dom/shadow/insertion-parent-shadow.html
+++ b/LayoutTests/fast/dom/shadow/insertion-parent-shadow.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/shadow-dom.js"></script>
</head>
<body>
@@ -21,6 +21,6 @@
shouldBeEqualToString("getNodeInShadowTreeStack('host/older-shadow-root-child').webkitInsertionParent.id", "shadow");
shouldBeNull("getNodeInShadowTreeStack('host//shadow').webkitInsertionParent");
</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/dom/shadow/insertion-parent.html b/LayoutTests/fast/dom/shadow/insertion-parent.html
index b0dadea..8b89586 100644
--- a/LayoutTests/fast/dom/shadow/insertion-parent.html
+++ b/LayoutTests/fast/dom/shadow/insertion-parent.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/shadow-dom.js"></script>
</head>
<body>
@@ -34,6 +34,6 @@
shouldBeEqualToString("document.getElementById('reprojected-child').webkitInsertionParent.id", "content-2");
shouldBeEqualToString("textNode.webkitInsertionParent.id", "content-3");
</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/dom/shadow/insertion-point-list-menu-crash.html b/LayoutTests/fast/dom/shadow/insertion-point-list-menu-crash.html
index eae4570..72585aa 100644
--- a/LayoutTests/fast/dom/shadow/insertion-point-list-menu-crash.html
+++ b/LayoutTests/fast/dom/shadow/insertion-point-list-menu-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>
<script>
diff --git a/LayoutTests/fast/dom/shadow/insertion-point-resetStyleInheritance.html b/LayoutTests/fast/dom/shadow/insertion-point-resetStyleInheritance.html
index 164d6c5..9ec8896 100644
--- a/LayoutTests/fast/dom/shadow/insertion-point-resetStyleInheritance.html
+++ b/LayoutTests/fast/dom/shadow/insertion-point-resetStyleInheritance.html
@@ -7,7 +7,7 @@
color: #fee;
}
</style>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="resources/polyfill.js"></script>
<script>
function testNoResetStyleInheritance() {
diff --git a/LayoutTests/fast/dom/shadow/insertion-point-video-crash.html b/LayoutTests/fast/dom/shadow/insertion-point-video-crash.html
index 7988fb1..b6a9672 100644
--- a/LayoutTests/fast/dom/shadow/insertion-point-video-crash.html
+++ b/LayoutTests/fast/dom/shadow/insertion-point-video-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>
<script>
diff --git a/LayoutTests/fast/dom/shadow/layout-tests-can-access-shadow.html b/LayoutTests/fast/dom/shadow/layout-tests-can-access-shadow.html
index 02af228..cff61c1 100644
--- a/LayoutTests/fast/dom/shadow/layout-tests-can-access-shadow.html
+++ b/LayoutTests/fast/dom/shadow/layout-tests-can-access-shadow.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>
<keygen id="keys" />
@@ -37,6 +37,6 @@
shouldBe('shadow === internals.shadowRoot(p)', '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/dom/shadow/link-in-shadow-tree.html b/LayoutTests/fast/dom/shadow/link-in-shadow-tree.html
index d463f05..e5b5e56 100644
--- a/LayoutTests/fast/dom/shadow/link-in-shadow-tree.html
+++ b/LayoutTests/fast/dom/shadow/link-in-shadow-tree.html
@@ -7,7 +7,7 @@
<div id="container"><span id="in-host-children" class="kotori" href="/">tehepero</span></div>
<div><span id="outside-of-shadow" class="kotori" href="/">tehepero</span></div>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
function computedBackgroundColor(elem) {
var style = document.defaultView.getComputedStyle(elem, '');
@@ -39,6 +39,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/dom/shadow/multiple-shadowroot-adopt.html b/LayoutTests/fast/dom/shadow/multiple-shadowroot-adopt.html
index 6494ae9..bfc395d 100644
--- a/LayoutTests/fast/dom/shadow/multiple-shadowroot-adopt.html
+++ b/LayoutTests/fast/dom/shadow/multiple-shadowroot-adopt.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>This test checks multiple shadow trees can be moved into another document.</p>
@@ -29,6 +29,6 @@
doTest();
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/dom/shadow/multiple-shadowroot.html b/LayoutTests/fast/dom/shadow/multiple-shadowroot.html
index 211edb4..09f66c8 100644
--- a/LayoutTests/fast/dom/shadow/multiple-shadowroot.html
+++ b/LayoutTests/fast/dom/shadow/multiple-shadowroot.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>
@@ -23,6 +23,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/dom/shadow/nested-reprojection-inconsistent.html b/LayoutTests/fast/dom/shadow/nested-reprojection-inconsistent.html
index 271184e..2b783a6 100644
--- a/LayoutTests/fast/dom/shadow/nested-reprojection-inconsistent.html
+++ b/LayoutTests/fast/dom/shadow/nested-reprojection-inconsistent.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>
<p>When we modify host children and get distributed nodes in nested ShadowDOM, distribution should occur from the host.</p>
@@ -69,5 +69,5 @@
finishJSTest();
}, 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/dom/shadow/nodetype.html b/LayoutTests/fast/dom/shadow/nodetype.html
index 73a479e..49d11e3 100644
--- a/LayoutTests/fast/dom/shadow/nodetype.html
+++ b/LayoutTests/fast/dom/shadow/nodetype.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>
<keygen id="keys" />
@@ -21,6 +21,6 @@
shouldBeTrue('shadowChild.nodeType != Node.DOCUMENT_FRAGMENT_NODE');
}
</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/dom/shadow/offset-parent-does-not-leak-ua-shadow.html b/LayoutTests/fast/dom/shadow/offset-parent-does-not-leak-ua-shadow.html
index 75f2ffc..aa2d4f1 100644
--- a/LayoutTests/fast/dom/shadow/offset-parent-does-not-leak-ua-shadow.html
+++ b/LayoutTests/fast/dom/shadow/offset-parent-does-not-leak-ua-shadow.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<body>
<div id="container" style="position: relative;"></div>
<script>
@@ -49,4 +49,4 @@
successfullyParsed = true;
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/shadow/olderShadowRoot-in-shadowelement.html b/LayoutTests/fast/dom/shadow/olderShadowRoot-in-shadowelement.html
index 478cff3..4c81321 100644
--- a/LayoutTests/fast/dom/shadow/olderShadowRoot-in-shadowelement.html
+++ b/LayoutTests/fast/dom/shadow/olderShadowRoot-in-shadowelement.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/polyfill.js"></script>
<div id="container"></div>
@@ -107,6 +107,6 @@
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/dom/shadow/parent-tree-scope-in-shadow.html b/LayoutTests/fast/dom/shadow/parent-tree-scope-in-shadow.html
index 1da6afa..30b1a2b 100644
--- a/LayoutTests/fast/dom/shadow/parent-tree-scope-in-shadow.html
+++ b/LayoutTests/fast/dom/shadow/parent-tree-scope-in-shadow.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="../../dom/shadow/resources/polyfill.js"></script>
</head>
<body>
@@ -61,6 +61,6 @@
document.body.removeChild(div);
</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/dom/shadow/pseudo-attribute.html b/LayoutTests/fast/dom/shadow/pseudo-attribute.html
index 3df021c..14e7516 100644
--- a/LayoutTests/fast/dom/shadow/pseudo-attribute.html
+++ b/LayoutTests/fast/dom/shadow/pseudo-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>This test checks pseudo attribute is exposed correctly.</p>
@@ -31,6 +31,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/dom/shadow/pseudoclass-update-checked-option.html b/LayoutTests/fast/dom/shadow/pseudoclass-update-checked-option.html
index 5974b9d..750ad57 100644
--- a/LayoutTests/fast/dom/shadow/pseudoclass-update-checked-option.html
+++ b/LayoutTests/fast/dom/shadow/pseudoclass-update-checked-option.html
@@ -2,7 +2,7 @@
<html>
<head>
<script src="resources/polyfill.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -50,6 +50,6 @@
}, 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/dom/shadow/pseudoclass-update-disabled-optgroup.html b/LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-optgroup.html
index b722ed1..67966a3 100644
--- a/LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-optgroup.html
+++ b/LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-optgroup.html
@@ -2,7 +2,7 @@
<html>
<head>
<script src="resources/polyfill.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -53,6 +53,6 @@
}, 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/dom/shadow/pseudoclass-update-disabled-option.html b/LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-option.html
index 42ad340..f1cbde7 100644
--- a/LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-option.html
+++ b/LayoutTests/fast/dom/shadow/pseudoclass-update-disabled-option.html
@@ -2,7 +2,7 @@
<html>
<head>
<script src="resources/polyfill.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -53,6 +53,6 @@
}, 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/dom/shadow/pseudoclass-update-enabled-optgroup.html b/LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-optgroup.html
index 8d32255..fb9188d 100644
--- a/LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-optgroup.html
+++ b/LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-optgroup.html
@@ -2,7 +2,7 @@
<html>
<head>
<script src="resources/polyfill.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -53,6 +53,6 @@
}, 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/dom/shadow/pseudoclass-update-enabled-option.html b/LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-option.html
index c2526d5..d5ffab5 100644
--- a/LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-option.html
+++ b/LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-option.html
@@ -2,7 +2,7 @@
<html>
<head>
<script src="resources/polyfill.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -53,6 +53,6 @@
}, 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/dom/shadow/resize-in-shadow-dom.html b/LayoutTests/fast/dom/shadow/resize-in-shadow-dom.html
index fdb7956..9d6e68b4 100644
--- a/LayoutTests/fast/dom/shadow/resize-in-shadow-dom.html
+++ b/LayoutTests/fast/dom/shadow/resize-in-shadow-dom.html
@@ -3,7 +3,7 @@
<body>
<script src="resources/polyfill.js"></script>
<script src="../resources/event-sender-util.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div id="host"></div>
<pre id="console"></pre>
@@ -38,6 +38,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/dom/shadow/select-in-shadowdom.html b/LayoutTests/fast/dom/shadow/select-in-shadowdom.html
index 7c47d37..50ec949 100644
--- a/LayoutTests/fast/dom/shadow/select-in-shadowdom.html
+++ b/LayoutTests/fast/dom/shadow/select-in-shadowdom.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>
<p>When selecting from non-anchor Node to anchor node in ShadowDOM, client should not cause page jump.</p>
@@ -43,5 +43,5 @@
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body></body>
diff --git a/LayoutTests/fast/dom/shadow/selection-in-nested-shadow.html b/LayoutTests/fast/dom/shadow/selection-in-nested-shadow.html
index d91e33e..8a48c8b 100644
--- a/LayoutTests/fast/dom/shadow/selection-in-nested-shadow.html
+++ b/LayoutTests/fast/dom/shadow/selection-in-nested-shadow.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="polyfill.js"></script>
</head>
<body>
@@ -48,7 +48,7 @@
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/dom/shadow/selection-shouldnt-expose-shadow-dom.html b/LayoutTests/fast/dom/shadow/selection-shouldnt-expose-shadow-dom.html
index 52159ee..2230bdf 100644
--- a/LayoutTests/fast/dom/shadow/selection-shouldnt-expose-shadow-dom.html
+++ b/LayoutTests/fast/dom/shadow/selection-shouldnt-expose-shadow-dom.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>
@@ -52,6 +52,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/dom/shadow/selections-in-shadow.html b/LayoutTests/fast/dom/shadow/selections-in-shadow.html
index 528b5e5..fd62c70 100644
--- a/LayoutTests/fast/dom/shadow/selections-in-shadow.html
+++ b/LayoutTests/fast/dom/shadow/selections-in-shadow.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/event-sender-util.js"></script>
<script src="../resources/shadow-test-driver.js"></script>
<script src="polyfill.js"></script>
@@ -96,7 +96,7 @@
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/dom/shadow/shadow-aware-create-shadow-root.html b/LayoutTests/fast/dom/shadow/shadow-aware-create-shadow-root.html
index da620a3..a666c99 100644
--- a/LayoutTests/fast/dom/shadow/shadow-aware-create-shadow-root.html
+++ b/LayoutTests/fast/dom/shadow/shadow-aware-create-shadow-root.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>
@@ -17,6 +17,6 @@
shouldBe("root2", "window.internals.youngestShadowRoot(host)");
</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/dom/shadow/shadow-aware-shadow-root.html b/LayoutTests/fast/dom/shadow/shadow-aware-shadow-root.html
index d5bd3ae..54285d7 100644
--- a/LayoutTests/fast/dom/shadow/shadow-aware-shadow-root.html
+++ b/LayoutTests/fast/dom/shadow/shadow-aware-shadow-root.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>
@@ -18,6 +18,6 @@
shouldBeNull("hostWithUAShadow.webkitShadowRoot");
</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/dom/shadow/shadow-boundary-events.html b/LayoutTests/fast/dom/shadow/shadow-boundary-events.html
index 556ab22..a83e44c 100644
--- a/LayoutTests/fast/dom/shadow/shadow-boundary-events.html
+++ b/LayoutTests/fast/dom/shadow/shadow-boundary-events.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/shadow-dom.js"></script>
</head>
<body>
@@ -205,6 +205,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/dom/shadow/shadow-contents-event.html b/LayoutTests/fast/dom/shadow/shadow-contents-event.html
index d258299..a8407b7 100644
--- a/LayoutTests/fast/dom/shadow/shadow-contents-event.html
+++ b/LayoutTests/fast/dom/shadow/shadow-contents-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>
<p id="description"></p>
@@ -90,6 +90,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/dom/shadow/shadow-disable.html b/LayoutTests/fast/dom/shadow/shadow-disable.html
index fe7ba6e..16e1fa8 100644
--- a/LayoutTests/fast/dom/shadow/shadow-disable.html
+++ b/LayoutTests/fast/dom/shadow/shadow-disable.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 @@
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/dom/shadow/shadow-dom-enabled-flag-whitelist.html b/LayoutTests/fast/dom/shadow/shadow-dom-enabled-flag-whitelist.html
index 6caf751..c768e82 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-enabled-flag-whitelist.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-enabled-flag-whitelist.html
@@ -1,13 +1,13 @@
<!DOCTYPE html>
<html>
<head>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
description("Ensure that setShadowDOMEnabled() is only allowed for a set of tests.")
shouldThrow("window.internals.settings.setShadowDOMEnabled(false)", "'Error: InvalidAccessError: DOM Exception 15'");
</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/dom/shadow/shadow-dom-event-dispatching-child-of-inactive-content.html b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-child-of-inactive-content.html
index 42ce534..87d4b25 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-child-of-inactive-content.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-child-of-inactive-content.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
@@ -28,7 +28,7 @@
showSandboxTree();
moveMouse('A', 'child-of-inactive-content');
</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/dom/shadow/shadow-dom-event-dispatching-details-summary.html b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-details-summary.html
index 2c9e464..d71211e 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-details-summary.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-details-summary.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
@@ -24,7 +24,7 @@
moveMouse('details', 'summary');
moveMouse('summary', 'details');
</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/dom/shadow/shadow-dom-event-dispatching-distributed-child.html b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-child.html
index 36d665c..45821e8 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-child.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-child.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
@@ -35,7 +35,7 @@
moveMouse('shadow-host/shadow-root-child', 'distributed-light-child');
moveMouse('distributed-light-child', 'shadow-host/shadow-root-child');
</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/dom/shadow/shadow-dom-event-dispatching-distributed-text-node.html b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node.html
index e22121d..d975287 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
@@ -43,6 +43,6 @@
touchLocation(host);
debugDispatchedEvent('touchstart');
</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/dom/shadow/shadow-dom-event-dispatching-fallback-nodes.html b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-fallback-nodes.html
index 3474e95..0630c7b 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-fallback-nodes.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-fallback-nodes.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
@@ -34,7 +34,7 @@
getNodeInShadowTreeStack('A/non-used-fallback').click();
debugDispatchedEvent('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/dom/shadow/shadow-dom-event-dispatching-manually-fired-with-same-related-target.html b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-manually-fired-with-same-related-target.html
index b259769..a909fc5 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-manually-fired-with-same-related-target.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-manually-fired-with-same-related-target.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
@@ -33,7 +33,7 @@
debugDispatchedEvent('mouseout');
debugDispatchedEvent('mouseover');
</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/dom/shadow/shadow-dom-event-dispatching-manually-fired.html b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-manually-fired.html
index e900231..b1f6323 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-manually-fired.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-manually-fired.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
@@ -35,7 +35,7 @@
debugDispatchedEvent('mouseout');
debugDispatchedEvent('mouseover');
</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/dom/shadow/shadow-dom-event-dispatching-multiple-shadow-roots.html b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-multiple-shadow-roots.html
index 1e70a4a..1a53262 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-multiple-shadow-roots.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-multiple-shadow-roots.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
@@ -32,7 +32,7 @@
moveMouse('A/D', 'A//F');
moveMouse('B', 'A//F');
</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/dom/shadow/shadow-dom-event-dispatching-nested-shadow-roots.html b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-nested-shadow-roots.html
index 00ea52c..73022b1 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-nested-shadow-roots.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-nested-shadow-roots.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
@@ -48,7 +48,7 @@
moveMouse('A', 'D');
moveMouse('D', 'A');
</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/dom/shadow/shadow-dom-event-dispatching-non-distributed-nodes.html b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-non-distributed-nodes.html
index f74d88d..854a0cc 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-non-distributed-nodes.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-non-distributed-nodes.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
@@ -38,7 +38,7 @@
document.getElementById('non-distributed-node').click();
debugDispatchedEvent('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/dom/shadow/shadow-dom-event-dispatching-svg-in-shadow-subtree.html b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-svg-in-shadow-subtree.html
index b9dc3a4..5516de0 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-svg-in-shadow-subtree.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-svg-in-shadow-subtree.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
@@ -27,7 +27,7 @@
moveMouse('shadow-host/svg-in-shadow-tree', 'top');
</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/dom/shadow/shadow-dom-event-dispatching-text-node-in-shadow-root.html b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-text-node-in-shadow-root.html
index 005ed5c..493cfb2 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-text-node-in-shadow-root.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-event-dispatching-text-node-in-shadow-root.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
@@ -40,7 +40,7 @@
scrollMouseWheel(host);
debugDispatchedEvent('mousewheel');
</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/dom/shadow/shadow-dom-mouse-event-adjust-offset.html b/LayoutTests/fast/dom/shadow/shadow-dom-mouse-event-adjust-offset.html
index 95b7093..7e14dc4 100644
--- a/LayoutTests/fast/dom/shadow/shadow-dom-mouse-event-adjust-offset.html
+++ b/LayoutTests/fast/dom/shadow/shadow-dom-mouse-event-adjust-offset.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/shadow-dom.js"></script>
</head>
<body>
@@ -75,6 +75,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/dom/shadow/shadow-element.html b/LayoutTests/fast/dom/shadow/shadow-element.html
index ff095da..623aa42 100644
--- a/LayoutTests/fast/dom/shadow/shadow-element.html
+++ b/LayoutTests/fast/dom/shadow/shadow-element.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>
@@ -15,6 +15,6 @@
shouldBe("window.HTMLShadowElement", "shadow.constructor");
</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/dom/shadow/shadow-hierarchy-exception.html b/LayoutTests/fast/dom/shadow/shadow-hierarchy-exception.html
index b9c877a..d22200b 100644
--- a/LayoutTests/fast/dom/shadow/shadow-hierarchy-exception.html
+++ b/LayoutTests/fast/dom/shadow/shadow-hierarchy-exception.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=container>
<div>
<span></span>
@@ -13,4 +13,4 @@
var shadowDiv = shadow.appendChild(document.createElement('div'));
shouldThrow('shadowDiv.appendChild(container)');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
diff --git a/LayoutTests/fast/dom/shadow/shadow-nested-pseudo-id.html b/LayoutTests/fast/dom/shadow/shadow-nested-pseudo-id.html
index 4a4baa8..f0eefeb 100644
--- a/LayoutTests/fast/dom/shadow/shadow-nested-pseudo-id.html
+++ b/LayoutTests/fast/dom/shadow/shadow-nested-pseudo-id.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>
p::x-shadow-child {
@@ -47,6 +47,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/dom/shadow/shadow-removechild-and-blur-event.html b/LayoutTests/fast/dom/shadow/shadow-removechild-and-blur-event.html
index a1569c3..3697ff1 100644
--- a/LayoutTests/fast/dom/shadow/shadow-removechild-and-blur-event.html
+++ b/LayoutTests/fast/dom/shadow/shadow-removechild-and-blur-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>
<span id=test></span>
@@ -20,6 +20,6 @@
logs.push('end-removeChild');
shouldBeEqualToString('logs.toString()', 'start-removeChild,blur,end-removeChild');
</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/dom/shadow/shadow-root-activeElement.html b/LayoutTests/fast/dom/shadow/shadow-root-activeElement.html
index 504bb39..7a30f13 100644
--- a/LayoutTests/fast/dom/shadow/shadow-root-activeElement.html
+++ b/LayoutTests/fast/dom/shadow/shadow-root-activeElement.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/shadow-dom.js"></script>
</head>
<body>
@@ -65,6 +65,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/dom/shadow/shadow-root-append.html b/LayoutTests/fast/dom/shadow/shadow-root-append.html
index 62949b2..9919a00 100644
--- a/LayoutTests/fast/dom/shadow/shadow-root-append.html
+++ b/LayoutTests/fast/dom/shadow/shadow-root-append.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>This test checks that appending shadow root as a child does not crash.</p>
@@ -39,6 +39,6 @@
doTest();
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/dom/shadow/shadow-root-attached.html b/LayoutTests/fast/dom/shadow/shadow-root-attached.html
index f5125fb..87b927d 100644
--- a/LayoutTests/fast/dom/shadow/shadow-root-attached.html
+++ b/LayoutTests/fast/dom/shadow/shadow-root-attached.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/shadow-test-driver.js"></script>
</head>
<body>
@@ -39,6 +39,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/dom/shadow/shadow-root-blur.html b/LayoutTests/fast/dom/shadow/shadow-root-blur.html
index 0fb14f6..557c7fe 100644
--- a/LayoutTests/fast/dom/shadow/shadow-root-blur.html
+++ b/LayoutTests/fast/dom/shadow/shadow-root-blur.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/shadow-dom.js"></script>
</head>
<body>
@@ -71,6 +71,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/dom/shadow/shadow-root-innerHTML.html b/LayoutTests/fast/dom/shadow/shadow-root-innerHTML.html
index 80fef91..2027812 100644
--- a/LayoutTests/fast/dom/shadow/shadow-root-innerHTML.html
+++ b/LayoutTests/fast/dom/shadow/shadow-root-innerHTML.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="console">
@@ -44,6 +44,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/dom/shadow/shadow-root-js-api.html b/LayoutTests/fast/dom/shadow/shadow-root-js-api.html
index 5068cf7..9b98c7f 100644
--- a/LayoutTests/fast/dom/shadow/shadow-root-js-api.html
+++ b/LayoutTests/fast/dom/shadow/shadow-root-js-api.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="console"></div>
@@ -62,6 +62,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/dom/shadow/shadow-root-new.html b/LayoutTests/fast/dom/shadow/shadow-root-new.html
index 4a5d37f..76eea94 100644
--- a/LayoutTests/fast/dom/shadow/shadow-root-new.html
+++ b/LayoutTests/fast/dom/shadow/shadow-root-new.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>This test checks the object 'host.webkitCreateShadowRoot()' and internals.shadowRoot(div) are the same.</p>
@@ -25,6 +25,6 @@
doTest();
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/dom/shadow/shadow-root-touch-listener-crash.html b/LayoutTests/fast/dom/shadow/shadow-root-touch-listener-crash.html
index b7713a9..d09b09c 100644
--- a/LayoutTests/fast/dom/shadow/shadow-root-touch-listener-crash.html
+++ b/LayoutTests/fast/dom/shadow/shadow-root-touch-listener-crash.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
<div id=target></div>
@@ -26,6 +26,6 @@
finishJSTest();
}, 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/dom/shadow/shadow-select-attribute-featureset.html b/LayoutTests/fast/dom/shadow/shadow-select-attribute-featureset.html
index 42ba767..cdb876a 100644
--- a/LayoutTests/fast/dom/shadow/shadow-select-attribute-featureset.html
+++ b/LayoutTests/fast/dom/shadow/shadow-select-attribute-featureset.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/polyfill.js"></script>
<script src="resources/shadow-dom.js"></script>
</head>
@@ -268,6 +268,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/dom/shadow/shadow-tree-listener-clearance.html b/LayoutTests/fast/dom/shadow/shadow-tree-listener-clearance.html
index 159dd1e..ec334dd 100644
--- a/LayoutTests/fast/dom/shadow/shadow-tree-listener-clearance.html
+++ b/LayoutTests/fast/dom/shadow/shadow-tree-listener-clearance.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>
<iframe id="childFrame" src="./resources/shadow-tree-listener-clearance-frame.html"></iframe>
<script>
@@ -32,6 +32,6 @@
child.addEventListener("load", 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/dom/shadow/shadowdom-dynamic-styling.html b/LayoutTests/fast/dom/shadow/shadowdom-dynamic-styling.html
index 5b4abed..9915eac 100644
--- a/LayoutTests/fast/dom/shadow/shadowdom-dynamic-styling.html
+++ b/LayoutTests/fast/dom/shadow/shadowdom-dynamic-styling.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>
description("Test for https://bugs.webkit.org/show_bug.cgi?id=92899. Dynamically styling ShadowDom content on a node distributed to another shadow insertion point fails.");
@@ -31,6 +31,6 @@
target.classList.add("selected");
shouldBe('window.getComputedStyle(target).backgroundColor', '"rgb(255, 0, 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/dom/shadow/shadowdom-for-form-associated-element-useragent.html b/LayoutTests/fast/dom/shadow/shadowdom-for-form-associated-element-useragent.html
index 7c285f0..bf8968a 100644
--- a/LayoutTests/fast/dom/shadow/shadowdom-for-form-associated-element-useragent.html
+++ b/LayoutTests/fast/dom/shadow/shadowdom-for-form-associated-element-useragent.html
@@ -2,7 +2,7 @@
<html>
<body>
<script src="resources/polyfill.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<p>When a AuthorShadowRoot is added, UserAgentShadowRoot should exists as the oldest Shadow Root.</p>
<div id='container'>
@@ -50,6 +50,6 @@
test();
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/dom/shadow/shadowdom-for-image-event.html b/LayoutTests/fast/dom/shadow/shadowdom-for-image-event.html
index a00d485..5cbbf7d 100644
--- a/LayoutTests/fast/dom/shadow/shadowdom-for-image-event.html
+++ b/LayoutTests/fast/dom/shadow/shadowdom-for-image-event.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/polyfill.js"></script>
<div id="container">
<img id="host">
diff --git a/LayoutTests/fast/dom/shadow/shadowdom-for-media.html b/LayoutTests/fast/dom/shadow/shadowdom-for-media.html
index fe9e7ad..d27db78 100644
--- a/LayoutTests/fast/dom/shadow/shadowdom-for-media.html
+++ b/LayoutTests/fast/dom/shadow/shadowdom-for-media.html
@@ -2,7 +2,7 @@
<html>
<body>
<script src="resources/polyfill.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<div id="container">
<video id='videoWithControls' controls width="320" height="240"></video>
@@ -36,7 +36,7 @@
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/dom/shadow/shadowroot-clonenode.html b/LayoutTests/fast/dom/shadow/shadowroot-clonenode.html
index ebd3eec..8deab6f 100644
--- a/LayoutTests/fast/dom/shadow/shadowroot-clonenode.html
+++ b/LayoutTests/fast/dom/shadow/shadowroot-clonenode.html
@@ -1,6 +1,6 @@
<!DOCTYPE>
<html>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script src="resources/polyfill.js"></script>
<pre id="console"></pre>
@@ -12,5 +12,5 @@
var shadowRoot = host.webkitCreateShadowRoot();
shouldThrow('shadowRoot.cloneNode()', '"Error: DataCloneError: DOM Exception 25"');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/shadow/shadowroot-type.html b/LayoutTests/fast/dom/shadow/shadowroot-type.html
index 8c20295..9ce576d 100644
--- a/LayoutTests/fast/dom/shadow/shadowroot-type.html
+++ b/LayoutTests/fast/dom/shadow/shadowroot-type.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>
<div id="container">
<div id="host"></div>
@@ -22,6 +22,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/dom/shadow/style-of-distributed-node.html b/LayoutTests/fast/dom/shadow/style-of-distributed-node.html
index b776c7f..8104eaf 100644
--- a/LayoutTests/fast/dom/shadow/style-of-distributed-node.html
+++ b/LayoutTests/fast/dom/shadow/style-of-distributed-node.html
@@ -2,7 +2,7 @@
<html>
<head>
<script src="resources/polyfill.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
function getColorProperty(id) {
return window.getComputedStyle(document.getElementById(id)).color;
@@ -36,6 +36,6 @@
document.getElementById("test").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/dom/shadow/style-scoped-not-enabled.html b/LayoutTests/fast/dom/shadow/style-scoped-not-enabled.html
index 756be90..80d6f93 100644
--- a/LayoutTests/fast/dom/shadow/style-scoped-not-enabled.html
+++ b/LayoutTests/fast/dom/shadow/style-scoped-not-enabled.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>
if (window.internals)
window.internals.settings.setStyleScopedEnabled(false);
@@ -30,6 +30,6 @@
shouldBe("window.getComputedStyle(shouldNotBeScoped).color", "'rgb(255, 0, 0)'");
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/dom/shadow/suppress-mutation-events-in-shadow-characterdata.html b/LayoutTests/fast/dom/shadow/suppress-mutation-events-in-shadow-characterdata.html
index dcc2173..7bec004 100644
--- a/LayoutTests/fast/dom/shadow/suppress-mutation-events-in-shadow-characterdata.html
+++ b/LayoutTests/fast/dom/shadow/suppress-mutation-events-in-shadow-characterdata.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="host"></div>
@@ -20,6 +20,6 @@
shouldBeFalse("fired");
shouldBe("div.innerHTML", "'Hello, World!'");
</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/dom/shadow/suppress-mutation-events-in-shadow.html b/LayoutTests/fast/dom/shadow/suppress-mutation-events-in-shadow.html
index 7536cd3..724a222 100644
--- a/LayoutTests/fast/dom/shadow/suppress-mutation-events-in-shadow.html
+++ b/LayoutTests/fast/dom/shadow/suppress-mutation-events-in-shadow.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<body>
<input>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
<script>
description('Test that mutation events are not triggered in shadow DOM');
var mutationEventTriggered = false;
@@ -21,5 +21,5 @@
else
testFailed('This test only runs in DRT');
</script>
-<script src="../../js/resources/js-test-post.js"></script>
+<script src="../../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/dom/shadow/tab-order-iframe-and-shadow.html b/LayoutTests/fast/dom/shadow/tab-order-iframe-and-shadow.html
index 50ac7d9..ea11f55 100644
--- a/LayoutTests/fast/dom/shadow/tab-order-iframe-and-shadow.html
+++ b/LayoutTests/fast/dom/shadow/tab-order-iframe-and-shadow.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/shadow-dom.js"></script>
</head>
<body>
diff --git a/LayoutTests/fast/dom/shadow/title-element-in-shadow.html b/LayoutTests/fast/dom/shadow/title-element-in-shadow.html
index 8dc5f35..768fa0f 100644
--- a/LayoutTests/fast/dom/shadow/title-element-in-shadow.html
+++ b/LayoutTests/fast/dom/shadow/title-element-in-shadow.html
@@ -2,7 +2,7 @@
<html>
<head>
<script src="resources/polyfill.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<script>
@@ -41,6 +41,6 @@
shouldBe('document.title', '""');
</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/dom/shadow/touch-event-retargeting.html b/LayoutTests/fast/dom/shadow/touch-event-retargeting.html
index 84912be..e5793ad 100644
--- a/LayoutTests/fast/dom/shadow/touch-event-retargeting.html
+++ b/LayoutTests/fast/dom/shadow/touch-event-retargeting.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/shadow-dom.js"></script>
<script src="resources/event-dispatching.js"></script>
</head>
@@ -55,6 +55,6 @@
sortDispatchedEvent('touchstart');
debugDispatchedEvent('touchstart');
</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/dom/shadow/touch-event.html b/LayoutTests/fast/dom/shadow/touch-event.html
index d8637b3..0f5030e 100644
--- a/LayoutTests/fast/dom/shadow/touch-event.html
+++ b/LayoutTests/fast/dom/shadow/touch-event.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>
<p>Touch event should be fired in Shadow DOM.</p>
<p>Elements in ShadowDOM should not be revealed in touchTarget if it's examined in non shadow tree.</p>
@@ -49,5 +49,5 @@
container.remove();
</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/dom/shadow/user-modify-inheritance.html b/LayoutTests/fast/dom/shadow/user-modify-inheritance.html
index e072d1f..0b1f98f 100644
--- a/LayoutTests/fast/dom/shadow/user-modify-inheritance.html
+++ b/LayoutTests/fast/dom/shadow/user-modify-inheritance.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/shadow-dom.js"></script>
</head>
<body>
@@ -77,6 +77,6 @@
shouldBeEqualToString('getUserModifyProperty("child-d")', 'read-only');
</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/dom/shadow/wheel-event-in-shadow-dom.html b/LayoutTests/fast/dom/shadow/wheel-event-in-shadow-dom.html
index 87a8e5d..facaad4 100644
--- a/LayoutTests/fast/dom/shadow/wheel-event-in-shadow-dom.html
+++ b/LayoutTests/fast/dom/shadow/wheel-event-in-shadow-dom.html
@@ -3,7 +3,7 @@
<head>
<script src="resources/polyfill.js"></script>
<script src="../resources/event-sender-util.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -33,6 +33,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/dom/shadow/wheel-event-on-input-in-shadow-dom.html b/LayoutTests/fast/dom/shadow/wheel-event-on-input-in-shadow-dom.html
index 7883e5f..872ab93 100644
--- a/LayoutTests/fast/dom/shadow/wheel-event-on-input-in-shadow-dom.html
+++ b/LayoutTests/fast/dom/shadow/wheel-event-on-input-in-shadow-dom.html
@@ -3,7 +3,7 @@
<head>
<script src="resources/polyfill.js"></script>
<script src="../resources/event-sender-util.js"></script>
-<script src="../../js/resources/js-test-pre.js"></script>
+<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
@@ -33,6 +33,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/dom/shared-inline-style-after-node-removal.html b/LayoutTests/fast/dom/shared-inline-style-after-node-removal.html
index 962eacf..b1ad84b 100644
--- a/LayoutTests/fast/dom/shared-inline-style-after-node-removal.html
+++ b/LayoutTests/fast/dom/shared-inline-style-after-node-removal.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="test" style="color: red">
@@ -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/dom/styled-clone-inline-style-decl-parent-crash.html b/LayoutTests/fast/dom/styled-clone-inline-style-decl-parent-crash.html
index 4dc06cd..80093d9 100644
--- a/LayoutTests/fast/dom/styled-clone-inline-style-decl-parent-crash.html
+++ b/LayoutTests/fast/dom/styled-clone-inline-style-decl-parent-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>
Test passes if it does not crash.
@@ -23,6 +23,6 @@
div2.style.color = "red";
</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/dom/styled-not-in-document-clone-inline-style-decl-parent-crash.html b/LayoutTests/fast/dom/styled-not-in-document-clone-inline-style-decl-parent-crash.html
index 7169b7f..8ce14a8 100644
--- a/LayoutTests/fast/dom/styled-not-in-document-clone-inline-style-decl-parent-crash.html
+++ b/LayoutTests/fast/dom/styled-not-in-document-clone-inline-style-decl-parent-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>
Test passes if it does not crash.
@@ -21,6 +21,6 @@
div2.style.color = "red";
</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/dom/subtree-modified-attributes.html b/LayoutTests/fast/dom/subtree-modified-attributes.html
index d143473..cb9f9ef 100644
--- a/LayoutTests/fast/dom/subtree-modified-attributes.html
+++ b/LayoutTests/fast/dom/subtree-modified-attributes.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('DOMSubtreeModified should fire when attributes are added or removed, but not modified (see bug 81141)');
@@ -26,5 +26,5 @@
expected = true;
div.removeAttributeNode(attr);
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
diff --git a/LayoutTests/fast/dom/tabindex-defaults.html b/LayoutTests/fast/dom/tabindex-defaults.html
index 74b2e6a..6533d08 100644
--- a/LayoutTests/fast/dom/tabindex-defaults.html
+++ b/LayoutTests/fast/dom/tabindex-defaults.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="container">
@@ -54,6 +54,6 @@
document.getElementById('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/dom/timer-throttling-hidden-page.html b/LayoutTests/fast/dom/timer-throttling-hidden-page.html
index 9f71b9f..9743287 100644
--- a/LayoutTests/fast/dom/timer-throttling-hidden-page.html
+++ b/LayoutTests/fast/dom/timer-throttling-hidden-page.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>
description('<a href="https://bugs.webkit.org/show_bug.cgi?id=98474">Bug 98474</a>: Throttle DOM timers on hidden pages.');
@@ -73,6 +73,6 @@
<p>
This test measures the time taken to fire a <span class="timeoutInterval"></span>ms DOM Timer when the page visibility is set to "visible", "hidden" and then back to "visible". Due to hidden page timer throttling, the timer should fire close to <span id="alignmentInterval"></span>s when page is hidden. And it should fire close to <span class="timeoutInterval"></span>ms, when the page is visible.
</p>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</body>
</html>
diff --git a/LayoutTests/fast/dom/title-content-set-innerText-get.xhtml b/LayoutTests/fast/dom/title-content-set-innerText-get.xhtml
index 0b811ec..f07008d 100644
--- a/LayoutTests/fast/dom/title-content-set-innerText-get.xhtml
+++ b/LayoutTests/fast/dom/title-content-set-innerText-get.xhtml
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title id='t'>Original 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>
@@ -13,6 +13,6 @@
document.title = 'This is the new title';
shouldBe("document.getElementById('t').innerText", "'This is the new title'");
</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/dom/webtiming-document-open.html b/LayoutTests/fast/dom/webtiming-document-open.html
index cc2a643..6502863 100644
--- a/LayoutTests/fast/dom/webtiming-document-open.html
+++ b/LayoutTests/fast/dom/webtiming-document-open.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/webtiming-document-open.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/dom/webtiming-navigate-within-document.html b/LayoutTests/fast/dom/webtiming-navigate-within-document.html
index 41ecb30..fe6f641 100644
--- a/LayoutTests/fast/dom/webtiming-navigate-within-document.html
+++ b/LayoutTests/fast/dom/webtiming-navigate-within-document.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/webtiming-navigate-within-document.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/dom/webtiming.html b/LayoutTests/fast/dom/webtiming.html
index 1bab44e..4131963 100644
--- a/LayoutTests/fast/dom/webtiming.html
+++ b/LayoutTests/fast/dom/webtiming.html
@@ -1,11 +1,11 @@
<!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/webtiming.js"></script>
<script src="script-tests/webtiming-defer.js" defer></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/dom/window-inner-size-scaling.html b/LayoutTests/fast/dom/window-inner-size-scaling.html
index 4597b23..d8a98b3 100644
--- a/LayoutTests/fast/dom/window-inner-size-scaling.html
+++ b/LayoutTests/fast/dom/window-inner-size-scaling.html
@@ -1,5 +1,5 @@
<html>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
description("This test ensures window.innerWidth/innerHeight return the size of the visual viewport in CSS pixels.");
@@ -13,5 +13,5 @@
shouldBe("window.innerWidth", "Math.floor(originalWidth / scale)");
shouldBe("window.innerHeight", "Math.floor(originalHeight / scale)");
</script>
- <script src="../js/resources/js-test-post.js"></script>
+ <script src="../../resources/js-test-post.js"></script>
</html>
diff --git a/LayoutTests/fast/dom/window-scroll-scaling.html b/LayoutTests/fast/dom/window-scroll-scaling.html
index f3ea593..b28c9e5 100644
--- a/LayoutTests/fast/dom/window-scroll-scaling.html
+++ b/LayoutTests/fast/dom/window-scroll-scaling.html
@@ -1,6 +1,6 @@
<html>
<body>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
description("This test ensures that document content width (height) as reported by scrollWidth (scrollHeight) is invariant to changes in page scale factor.");
@@ -34,6 +34,6 @@
shouldBe("body.scrollWidth", "originalScrollWidth");
shouldBe("body.scrollHeight", "originalScrollHeight");
</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/dom/wrapper-classes.html b/LayoutTests/fast/dom/wrapper-classes.html
index a4c7ef6..0bf8b41 100644
--- a/LayoutTests/fast/dom/wrapper-classes.html
+++ b/LayoutTests/fast/dom/wrapper-classes.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 id="style" media="screen">
.non-existent-class {
color: rgb(0, 0, 0);
diff --git a/LayoutTests/fast/dom/wrapper-identity.html b/LayoutTests/fast/dom/wrapper-identity.html
index 92a15a9..e680abd 100644
--- a/LayoutTests/fast/dom/wrapper-identity.html
+++ b/LayoutTests/fast/dom/wrapper-identity.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/wrapper-identity-base.js"></script>
<style id="style" media="screen">
diff --git a/LayoutTests/fast/dom/wrapper-scope.html b/LayoutTests/fast/dom/wrapper-scope.html
index 3fabaae..2049c54 100644
--- a/LayoutTests/fast/dom/wrapper-scope.html
+++ b/LayoutTests/fast/dom/wrapper-scope.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('Make sure wrappers are setup using the window the property came from, instead of the lexical global object.');
@@ -35,5 +35,5 @@
pathsToTest.forEach(testPath);
</script>
-<script src="../js/resources/js-test-post.js"></script>
+<script src="../../resources/js-test-post.js"></script>
</body>
\ No newline at end of file
diff --git a/LayoutTests/fast/dom/zoom-scroll-page-test.html b/LayoutTests/fast/dom/zoom-scroll-page-test.html
index 4329842..49de2f8 100644
--- a/LayoutTests/fast/dom/zoom-scroll-page-test.html
+++ b/LayoutTests/fast/dom/zoom-scroll-page-test.html
@@ -4,7 +4,7 @@
<style>
body { position: relative; height: 2000px; }
</style>
- <script src="../js/resources/js-test-pre.js"></script>
+ <script src="../../resources/js-test-pre.js"></script>
<script>
description('This tests that window.scrollBy respects the page\'s zoom and scale factor when scrolling.');