Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
authorBrian Grinstead <bgrinstead@mozilla.com>
Mon, 15 Apr 2019 20:56:58 +0000
changeset 469639 0dc10a2d3d79
parent 469638 297c31b96b6e
child 469640 c9c0c6f2eed5
push id35878
push userapavel@mozilla.com
push dateTue, 16 Apr 2019 15:43:40 +0000
treeherdermozilla-central@258af4e91151 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbzbarsky
bugs1544322, 9058170
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky This is an autogenerated commit to handle scripts loading mochitest harness files, in the simple case where the script src is on the same line as the tag. This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170 using the `--part 1` argument. Differential Revision: https://phabricator.services.mozilla.com/D26812
accessible/tests/mochitest/test_nsIAccessibleDocument.html
browser/components/shell/test/test_headless_screenshot.html
caps/tests/mochitest/test_addonMayLoad.html
caps/tests/mochitest/test_bug995943.xul
caps/tests/mochitest/test_disableScript.xul
devtools/client/accessibility/test/mochitest/test_accessible_contrast.html
devtools/client/accessibility/test/mochitest/test_accessible_learnMoreLink.html
devtools/client/accessibility/test/mochitest/test_accessible_openLink.html
devtools/client/accessibility/test/mochitest/test_accessible_relations.html
devtools/client/accessibility/test/mochitest/test_accessible_row_context_menu.html
devtools/client/memory/test/chrome/test_CensusTreeItem_01.html
devtools/client/memory/test/chrome/test_DominatorTreeItem_01.html
devtools/client/memory/test/chrome/test_DominatorTree_01.html
devtools/client/memory/test/chrome/test_DominatorTree_02.html
devtools/client/memory/test/chrome/test_DominatorTree_03.html
devtools/client/memory/test/chrome/test_Heap_01.html
devtools/client/memory/test/chrome/test_Heap_02.html
devtools/client/memory/test/chrome/test_Heap_03.html
devtools/client/memory/test/chrome/test_Heap_04.html
devtools/client/memory/test/chrome/test_Heap_05.html
devtools/client/memory/test/chrome/test_List_01.html
devtools/client/memory/test/chrome/test_ShortestPaths_01.html
devtools/client/memory/test/chrome/test_ShortestPaths_02.html
devtools/client/memory/test/chrome/test_SnapshotListItem_01.html
devtools/client/memory/test/chrome/test_Toolbar_01.html
devtools/client/memory/test/chrome/test_TreeMap_01.html
devtools/client/performance-new/test/chrome/test_perf-settings-entries.html
devtools/client/performance-new/test/chrome/test_perf-settings-features.html
devtools/client/performance-new/test/chrome/test_perf-settings-interval.html
devtools/client/performance-new/test/chrome/test_perf-settings-threads.html
devtools/client/performance-new/test/chrome/test_perf-state-01.html
devtools/client/performance-new/test/chrome/test_perf-state-02.html
devtools/client/performance-new/test/chrome/test_perf-state-03.html
devtools/client/performance-new/test/chrome/test_perf-state-04.html
devtools/client/performance/components/test/test_jit_optimizations_01.html
devtools/client/shared/components/test/mochitest/test_HSplitBox_01.html
devtools/client/shared/components/test/mochitest/test_accordion.html
devtools/client/shared/components/test/mochitest/test_frame_01.html
devtools/client/shared/components/test/mochitest/test_frame_02.html
devtools/client/shared/components/test/mochitest/test_list.html
devtools/client/shared/components/test/mochitest/test_list_keyboard.html
devtools/client/shared/components/test/mochitest/test_notification_box_01.html
devtools/client/shared/components/test/mochitest/test_notification_box_02.html
devtools/client/shared/components/test/mochitest/test_notification_box_03.html
devtools/client/shared/components/test/mochitest/test_sidebar_toggle.html
devtools/client/shared/components/test/mochitest/test_tabs_accessibility.html
devtools/client/shared/components/test/mochitest/test_tabs_menu.html
devtools/client/shared/components/test/mochitest/test_tree-view_01.html
devtools/client/shared/components/test/mochitest/test_tree-view_02.html
devtools/client/shared/components/test/mochitest/test_tree_01.html
devtools/client/shared/components/test/mochitest/test_tree_02.html
devtools/client/shared/components/test/mochitest/test_tree_03.html
devtools/client/shared/components/test/mochitest/test_tree_04.html
devtools/client/shared/components/test/mochitest/test_tree_05.html
devtools/client/shared/components/test/mochitest/test_tree_06.html
devtools/client/shared/components/test/mochitest/test_tree_07.html
devtools/client/shared/components/test/mochitest/test_tree_08.html
devtools/client/shared/components/test/mochitest/test_tree_09.html
devtools/client/shared/components/test/mochitest/test_tree_10.html
devtools/client/shared/components/test/mochitest/test_tree_11.html
devtools/client/shared/components/test/mochitest/test_tree_12.html
devtools/client/shared/components/test/mochitest/test_tree_13.html
devtools/client/shared/components/test/mochitest/test_tree_14.html
devtools/client/shared/components/test/mochitest/test_tree_15.html
devtools/client/shared/components/test/mochitest/test_tree_16.html
devtools/client/webconsole/test/chrome/test_render_perf.html
devtools/client/webide/test/test_addons.html
devtools/client/webide/test/test_app_validator.html
devtools/client/webide/test/test_autoconnect_runtime.html
devtools/client/webide/test/test_autoselect_project.html
devtools/client/webide/test/test_basic.html
devtools/client/webide/test/test_deprecation_message.html
devtools/client/webide/test/test_device_preferences.html
devtools/client/webide/test/test_device_runtime.html
devtools/client/webide/test/test_duplicate_import.html
devtools/client/webide/test/test_fullscreenToolbox.html
devtools/client/webide/test/test_import.html
devtools/client/webide/test/test_manifestUpdate.html
devtools/client/webide/test/test_newapp.html
devtools/client/webide/test/test_performance_panel.html
devtools/client/webide/test/test_runtime.html
devtools/client/webide/test/test_toolbox.html
devtools/client/webide/test/test_zoom.html
devtools/server/tests/mochitest/test_Debugger.Script.prototype.global.html
devtools/server/tests/mochitest/test_Debugger.Source.prototype.element.html
devtools/server/tests/mochitest/test_Debugger.Source.prototype.introductionScript.html
devtools/server/tests/mochitest/test_Debugger.Source.prototype.introductionType.html
devtools/server/tests/mochitest/test_connectToFrame.html
devtools/server/tests/mochitest/test_connection-manager.html
devtools/server/tests/mochitest/test_css-logic-media-queries.html
devtools/server/tests/mochitest/test_css-logic-specificity.html
devtools/server/tests/mochitest/test_css-logic.html
devtools/server/tests/mochitest/test_css-properties.html
devtools/server/tests/mochitest/test_device.html
devtools/server/tests/mochitest/test_executeInGlobal-outerized_this.html
devtools/server/tests/mochitest/test_framerate_01.html
devtools/server/tests/mochitest/test_framerate_02.html
devtools/server/tests/mochitest/test_framerate_03.html
devtools/server/tests/mochitest/test_framerate_04.html
devtools/server/tests/mochitest/test_framerate_05.html
devtools/server/tests/mochitest/test_framerate_06.html
devtools/server/tests/mochitest/test_getProcess.html
devtools/server/tests/mochitest/test_highlighter_paused_debugger.html
devtools/server/tests/mochitest/test_inspector-changeattrs.html
devtools/server/tests/mochitest/test_inspector-changevalue.html
devtools/server/tests/mochitest/test_inspector-dead-nodes.html
devtools/server/tests/mochitest/test_inspector-display-type.html
devtools/server/tests/mochitest/test_inspector-duplicate-node.html
devtools/server/tests/mochitest/test_inspector-hide.html
devtools/server/tests/mochitest/test_inspector-mutations-attr.html
devtools/server/tests/mochitest/test_inspector-mutations-events.html
devtools/server/tests/mochitest/test_inspector-mutations-value.html
devtools/server/tests/mochitest/test_inspector-pick-color.html
devtools/server/tests/mochitest/test_inspector-pseudoclass-lock.html
devtools/server/tests/mochitest/test_inspector-reload.html
devtools/server/tests/mochitest/test_inspector-resize.html
devtools/server/tests/mochitest/test_inspector-resolve-url.html
devtools/server/tests/mochitest/test_inspector-scroll-into-view.html
devtools/server/tests/mochitest/test_inspector-search-front.html
devtools/server/tests/mochitest/test_inspector-template.html
devtools/server/tests/mochitest/test_inspector_getImageData-wait-for-load.html
devtools/server/tests/mochitest/test_inspector_getImageData.html
devtools/server/tests/mochitest/test_inspector_getImageDataFromURL.html
devtools/server/tests/mochitest/test_inspector_getNodeFromActor.html
devtools/server/tests/mochitest/test_inspector_getOffsetParent.html
devtools/server/tests/mochitest/test_makeGlobalObjectReference.html
devtools/server/tests/mochitest/test_memory.html
devtools/server/tests/mochitest/test_memory_allocations_02.html
devtools/server/tests/mochitest/test_memory_allocations_03.html
devtools/server/tests/mochitest/test_memory_allocations_04.html
devtools/server/tests/mochitest/test_memory_allocations_05.html
devtools/server/tests/mochitest/test_memory_allocations_06.html
devtools/server/tests/mochitest/test_memory_allocations_07.html
devtools/server/tests/mochitest/test_memory_attach_01.html
devtools/server/tests/mochitest/test_memory_attach_02.html
devtools/server/tests/mochitest/test_memory_census.html
devtools/server/tests/mochitest/test_memory_gc_01.html
devtools/server/tests/mochitest/test_memory_gc_events.html
devtools/server/tests/mochitest/test_preference.html
devtools/server/tests/mochitest/test_setupInParentChild.html
devtools/server/tests/mochitest/test_styles-applied.html
devtools/server/tests/mochitest/test_styles-computed.html
devtools/server/tests/mochitest/test_styles-layout.html
devtools/server/tests/mochitest/test_styles-matched.html
devtools/server/tests/mochitest/test_styles-modify.html
devtools/server/tests/mochitest/test_styles-svg.html
devtools/server/tests/mochitest/test_suspendTimeouts.html
devtools/server/tests/mochitest/test_unsafeDereference.html
devtools/server/tests/mochitest/test_webconsole-node-grip.html
devtools/shared/heapsnapshot/tests/mochitest/test_DominatorTree_01.html
devtools/shared/heapsnapshot/tests/mochitest/test_SaveHeapSnapshot.html
devtools/shared/qrcode/tests/mochitest/test_decode.html
devtools/shared/tests/mochitest/test_css-logic-getCssPath.html
devtools/shared/tests/mochitest/test_css-logic-getXPath.html
devtools/shared/webconsole/test/test_basics.html
devtools/shared/webconsole/test/test_bug819670_getter_throws.html
devtools/shared/webconsole/test/test_cached_messages.html
devtools/shared/webconsole/test/test_commands_other.html
devtools/shared/webconsole/test/test_console_assert.html
devtools/shared/webconsole/test/test_console_group_styling.html
devtools/shared/webconsole/test/test_console_serviceworker.html
devtools/shared/webconsole/test/test_console_serviceworker_cached.html
devtools/shared/webconsole/test/test_console_styling.html
devtools/shared/webconsole/test/test_console_timestamp.html
devtools/shared/webconsole/test/test_console_worker.html
devtools/shared/webconsole/test/test_consoleapi.html
devtools/shared/webconsole/test/test_consoleapi_innerID.html
devtools/shared/webconsole/test/test_file_uri.html
devtools/shared/webconsole/test/test_jsterm.html
devtools/shared/webconsole/test/test_jsterm_autocomplete.html
devtools/shared/webconsole/test/test_jsterm_cd_iframe.html
devtools/shared/webconsole/test/test_jsterm_last_result.html
devtools/shared/webconsole/test/test_jsterm_queryselector.html
devtools/shared/webconsole/test/test_network_get.html
devtools/shared/webconsole/test/test_network_post.html
devtools/shared/webconsole/test/test_network_security-hpkp.html
devtools/shared/webconsole/test/test_network_security-hsts.html
devtools/shared/webconsole/test/test_nsiconsolemessage.html
devtools/shared/webconsole/test/test_object_actor.html
devtools/shared/webconsole/test/test_object_actor_native_getters.html
devtools/shared/webconsole/test/test_object_actor_native_getters_lenient_this.html
devtools/shared/webconsole/test/test_page_errors.html
devtools/shared/webconsole/test/test_throw.html
docshell/test/chrome/bug293235_window.xul
docshell/test/chrome/bug89419_window.xul
docshell/test/chrome/test_allowContentRetargeting.html
docshell/test/chrome/test_bug428288.html
docshell/test/chrome/test_bug690056.xul
docshell/test/chrome/test_bug789773.xul
docshell/test/chrome/test_bug909218.html
docshell/test/chrome/test_private_hidden_window.html
docshell/test/chrome/test_viewsource_forbidden_in_iframe.xul
dom/base/test/chrome/test_bug120684.xul
dom/base/test/chrome/test_bug1209621.xul
dom/base/test/chrome/test_bug1339722.html
dom/base/test/chrome/test_bug1346936.html
dom/base/test/chrome/test_bug289714.xul
dom/base/test/chrome/test_bug339494.xul
dom/base/test/chrome/test_bug380418.html
dom/base/test/chrome/test_bug383430.html
dom/base/test/chrome/test_bug429785.xul
dom/base/test/chrome/test_bug571390.xul
dom/base/test/chrome/test_bug682305.html
dom/base/test/chrome/test_bug683852.xul
dom/base/test/chrome/test_bug752226-3.xul
dom/base/test/chrome/test_bug752226-4.xul
dom/base/test/chrome/test_bug765993.html
dom/base/test/chrome/test_bug780199.xul
dom/base/test/chrome/test_bug780529.xul
dom/base/test/chrome/test_bug800386.xul
dom/base/test/chrome/test_bug814638.xul
dom/base/test/chrome/test_bug884693.xul
dom/base/test/chrome/test_bug914381.html
dom/base/test/chrome/test_chromeOuterWindowID.xul
dom/base/test/chrome/test_domparsing.xul
dom/base/test/chrome/test_getElementsWithGrid.html
dom/base/test/chrome/test_permission_isHandlingUserInput.xul
dom/base/test/chrome/test_range_getClientRectsAndTexts.html
dom/base/test/chrome/test_swapFrameLoaders.xul
dom/base/test/chrome/window_swapFrameLoaders.xul
dom/base/test/jsmodules/iframe_extractIntroType.html
dom/base/test/jsmodules/test_asyncInlineModules.html
dom/base/test/jsmodules/test_cyclicImport.html
dom/base/test/jsmodules/test_importIntroType.html
dom/base/test/jsmodules/test_importNotFound.html
dom/base/test/jsmodules/test_importResolveFailed.html
dom/base/test/jsmodules/test_importedModuleMemoization.html
dom/base/test/jsmodules/test_linkErrorInCommon1.html
dom/base/test/jsmodules/test_linkErrorInCommon2.html
dom/base/test/jsmodules/test_moduleNotFound.html
dom/base/test/jsmodules/test_moduleParsedAsModule.html
dom/base/test/jsmodules/test_moduleScriptsRun.html
dom/base/test/jsmodules/test_multiAsyncImports.html
dom/base/test/jsmodules/test_multiModuleImports.html
dom/base/test/jsmodules/test_multiModuleLargeImports.html
dom/base/test/jsmodules/test_multiTopLevelImports.html
dom/base/test/jsmodules/test_multiTopLevelLargeImports.html
dom/base/test/jsmodules/test_scriptInsertedModule.html
dom/base/test/jsmodules/test_scriptModuleOrder.html
dom/base/test/jsmodules/test_scriptNotParsedAsModule.html
dom/base/test/jsmodules/test_simpleImport.html
dom/base/test/jsmodules/test_syntaxError.html
dom/base/test/jsmodules/test_syntaxErrorAsync.html
dom/base/test/jsmodules/test_syntaxErrorInline.html
dom/base/test/jsmodules/test_syntaxErrorInlineAsync.html
dom/base/test/jsmodules/test_topLevelIntroType.html
dom/base/test/jsmodules/test_toplevelModuleMemoization.html
dom/base/test/jsmodules/test_typeAttrCaseInsensitive.html
dom/base/test/test_anchor_target_blank_referrer.html
dom/base/test/test_anonymousContent_xul_window.xul
dom/base/test/test_blocking_image.html
dom/base/test/test_bug1008126.html
dom/base/test/test_bug1016960.html
dom/base/test/test_bug419527.xhtml
dom/base/test/test_bug945152.html
dom/base/test/test_copypaste.xul
dom/base/test/test_fragment_sanitization.xul
dom/base/test/test_messagemanager_principal.html
dom/base/test/test_messagemanager_send_principal.html
dom/base/test/test_mozbrowser_apis_allowed.html
dom/base/test/test_sandboxed_blob_uri.html
dom/base/test/test_sendQueryContentAndSelectionSetEvent.html
dom/battery/test/test_battery_basics.html
dom/battery/test/test_battery_charging.html
dom/battery/test/test_battery_discharging.html
dom/bindings/test/test_bug1123516_maplikesetlikechrome.xul
dom/bindings/test/test_bug1287912.html
dom/bindings/test/test_bug1457051.html
dom/bindings/test/test_bug775543.html
dom/bindings/test/test_document_location_set_via_xray.html
dom/bindings/test/test_document_location_via_xray_cached.html
dom/bindings/test/test_dom_xrays.html
dom/bindings/test/test_proxies_via_xray.html
dom/browser-element/mochitest/test_browserElement_inproc_BackForward.html
dom/browser-element/mochitest/test_browserElement_inproc_DocumentFirstPaint.html
dom/browser-element/mochitest/test_browserElement_inproc_SendEvent.html
dom/browser-element/mochitest/test_browserElement_inproc_Stop.html
dom/canvas/test/chrome/test_drawWindow_widget_layers.html
dom/canvas/test/chrome/test_webgl_debug_renderer_info.html
dom/console/tests/test_console.xul
dom/encoding/test/test_stringencoding.xul
dom/events/test/test_DataTransferItemList.html
dom/events/test/test_bug1128787-1.html
dom/events/test/test_bug1128787-2.html
dom/events/test/test_bug1128787-3.html
dom/events/test/test_bug336682_2.xul
dom/events/test/test_bug391568.xhtml
dom/events/test/test_bug418986-3.xul
dom/events/test/test_bug524674.xul
dom/events/test/test_bug586961.xul
dom/events/test/test_bug591249.xul
dom/events/test/test_bug602962.xul
dom/events/test/test_bug679494.xul
dom/events/test/test_bug930374-chrome.html
dom/events/test/test_eventctors.xul
dom/flex/test/chrome/test_flex_axis_directions.html
dom/flex/test/chrome/test_flex_item_clamp.html
dom/flex/test/chrome/test_flex_item_rect.html
dom/flex/test/chrome/test_flex_items.html
dom/flex/test/chrome/test_flex_lines.html
dom/flex/test/chrome/test_flex_parent.html
dom/grid/test/chrome/test_grid_areas.html
dom/grid/test/chrome/test_grid_fragmentation.html
dom/grid/test/chrome/test_grid_implicit.html
dom/grid/test/chrome/test_grid_line_numbers.html
dom/grid/test/chrome/test_grid_lines.html
dom/grid/test/chrome/test_grid_object.html
dom/grid/test/chrome/test_grid_repeat_auto_fill.html
dom/grid/test/chrome/test_grid_repeat_auto_fit.html
dom/grid/test/chrome/test_grid_tracks.html
dom/html/test/forms/test_autocompleteinfo.html
dom/html/test/forms/test_submit_invalid_file.html
dom/html/test/test_anchor_ping.html
dom/html/test/test_bug1414077.html
dom/html/test/test_external_protocol_iframe.html
dom/messagechannel/tests/test_messageChannel.xul
dom/network/tests/test_tcpsocket_client_and_server_basics.html
dom/network/tests/test_tcpsocket_jsm.html
dom/network/tests/test_tcpsocket_legacy.html
dom/network/tests/test_udpsocket.html
dom/notification/test/chrome/test_notification_system_principal.xul
dom/plugins/test/mochitest/test_bug751809.html
dom/plugins/test/mochitest/test_clear_site_data.html
dom/plugins/test/mochitest/test_plugin_tag_clicktoplay.html
dom/presentation/tests/mochitest/test_presentation_datachannel_sessiontransport.html
dom/presentation/tests/mochitest/test_presentation_sender_startWithDevice.html
dom/presentation/tests/mochitest/test_presentation_tcp_sender.html
dom/presentation/tests/mochitest/test_presentation_tcp_sender_default_request.html
dom/promise/tests/test_on_new_promise.html
dom/promise/tests/test_on_promise_settled.html
dom/promise/tests/test_on_promise_settled_duplicates.html
dom/promise/tests/test_promise_argument_xrays.html
dom/promise/tests/test_promise_retval_xrays.html
dom/promise/tests/test_promise_xrays.html
dom/serviceworkers/test/test_devtools_track_serviceworker_time.html
dom/serviceworkers/test/test_privateBrowsing.html
dom/tests/mochitest/beacon/test_beaconCookies.html
dom/tests/mochitest/chrome/489127.html
dom/tests/mochitest/chrome/MozDomFullscreen_chrome.xul
dom/tests/mochitest/chrome/file_bug1224790-1_modal.xul
dom/tests/mochitest/chrome/file_bug1224790-1_nonmodal.xul
dom/tests/mochitest/chrome/file_bug1224790-2_modal.xul
dom/tests/mochitest/chrome/file_bug1224790-2_nonmodal.xul
dom/tests/mochitest/chrome/file_bug799299.xul
dom/tests/mochitest/chrome/file_bug800817.xul
dom/tests/mochitest/chrome/file_bug830858.xul
dom/tests/mochitest/chrome/queryCaretRectUnix.html
dom/tests/mochitest/chrome/queryCaretRectWin.html
dom/tests/mochitest/chrome/selectAtPoint.html
dom/tests/mochitest/chrome/test_DOM_element_instanceof.xul
dom/tests/mochitest/chrome/test_MozDomFullscreen_event.xul
dom/tests/mochitest/chrome/test_bug1224790-1.xul
dom/tests/mochitest/chrome/test_bug1224790-2.xul
dom/tests/mochitest/chrome/test_bug799299.xul
dom/tests/mochitest/chrome/test_bug800817.xul
dom/tests/mochitest/chrome/test_bug830858.xul
dom/tests/mochitest/chrome/test_callback_wrapping.xul
dom/tests/mochitest/chrome/test_clonewrapper.xul
dom/tests/mochitest/chrome/test_cyclecollector.xul
dom/tests/mochitest/chrome/test_docshell_swap.xul
dom/tests/mochitest/chrome/test_getTransformTo.html
dom/tests/mochitest/chrome/test_indexedSetter.html
dom/tests/mochitest/chrome/test_intlUtils_getDisplayNames.html
dom/tests/mochitest/chrome/test_intlUtils_getLocaleInfo.html
dom/tests/mochitest/chrome/test_nodesFromRect.html
dom/tests/mochitest/chrome/test_parsingMode.html
dom/tests/mochitest/chrome/test_popup_blocker_chrome.xul
dom/tests/mochitest/chrome/test_queryCaretRect.html
dom/tests/mochitest/chrome/test_resize_move_windows.xul
dom/tests/mochitest/chrome/test_sandbox_bindings.xul
dom/tests/mochitest/chrome/test_sandbox_eventhandler.xul
dom/tests/mochitest/chrome/test_sandbox_image.xul
dom/tests/mochitest/chrome/test_sandbox_postMessage.html
dom/tests/mochitest/chrome/test_selectAtPoint.html
dom/tests/mochitest/chrome/test_subscript_bindings.xul
dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
dom/tests/mochitest/chrome/test_xray_event_constructor.xul
dom/tests/mochitest/general/test_innerScreen.xul
dom/tests/mochitest/general/test_offsets.xul
dom/tests/mochitest/general/test_spacetopagedown.html
dom/tests/mochitest/geolocation/test_handlerSpinsEventLoop.html
dom/tests/mochitest/localstorage/test_localStorageBasePrivateBrowsing_perwindowpb.html
dom/tests/mochitest/localstorage/test_localStorageFromChrome.xhtml
dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html
dom/tests/mochitest/sessionstorage/test_sessionStorageFromChrome.xhtml
dom/tests/mochitest/webcomponents/test_custom_element_htmlconstructor_chrome.html
dom/tests/mochitest/webcomponents/test_custom_element_namespace.html
dom/tests/mochitest/webcomponents/test_custom_element_namespace.xhtml
dom/tests/mochitest/webcomponents/test_custom_element_upgrade_chrome.html
dom/tests/mochitest/whatwg/test_postMessage_chrome.html
dom/url/tests/test_url.xul
dom/websocket/tests/test_websocket_frame.html
dom/workers/test/test_readableStream_when_closing.html
dom/workers/test/test_sharedWorker_privateBrowsing.html
dom/xbl/test/test_bug1086996.xhtml
dom/xbl/test/test_bug398135.xul
dom/xbl/test/test_bug398492.xul
dom/xbl/test/test_bug721452.xul
dom/xbl/test/test_bug723676.xul
dom/xbl/test/test_bug772966.xul
dom/xbl/test/test_bug950909.xul
dom/xbl/test/test_fieldScopeChain.html
dom/xul/test/test_bug199692.xul
dom/xul/test/test_bug233643.xul
dom/xul/test/test_bug311681.xul
dom/xul/test/test_bug391002.xul
dom/xul/test/test_bug398289.html
dom/xul/test/test_bug403868.xul
dom/xul/test/test_bug414907.xul
dom/xul/test/test_bug418216.xul
dom/xul/test/test_bug445177.xul
dom/xul/test/test_bug449457.xul
dom/xul/test/test_bug468176.xul
dom/xul/test/test_bug583948.xul
dom/xul/test/test_bug757137.xul
dom/xul/test/test_bug775972.xul
dom/xul/test/test_import_xul_to_content.xul
editor/composer/test/test_bug1266815.html
editor/libeditor/tests/test_pasteImgTextarea.xul
gfx/tests/chrome/test_device_reset.html
image/test/mochitest/test_bug415761.html
intl/l10n/test/dom/test_docl10n.html
intl/l10n/test/dom/test_docl10n.xhtml
intl/l10n/test/dom/test_docl10n_initialize_after_parse.xhtml
intl/l10n/test/dom/test_docl10n_ready_rejected.html
intl/l10n/test/dom/test_docl10n_removeResourceIds.html
intl/l10n/test/dom/test_domloc_attr_sanitized.html
intl/l10n/test/dom/test_domloc_connectRoot.html
intl/l10n/test/dom/test_domloc_disconnectRoot.html
intl/l10n/test/dom/test_domloc_getAttributes.html
intl/l10n/test/dom/test_domloc_mutations.html
intl/l10n/test/dom/test_domloc_overlay.html
intl/l10n/test/dom/test_domloc_overlay_missing_all.html
intl/l10n/test/dom/test_domloc_overlay_missing_children.html
intl/l10n/test/dom/test_domloc_overlay_repeated.html
intl/l10n/test/dom/test_domloc_overlay_sanitized.html
intl/l10n/test/dom/test_domloc_repeated_l10nid.html
intl/l10n/test/dom/test_domloc_setAttributes.html
intl/l10n/test/dom/test_domloc_translateElements.html
intl/l10n/test/dom/test_domloc_translateFragment.html
intl/l10n/test/dom/test_domloc_translateRoots.html
intl/l10n/test/dom/test_mozdom_translateElements.html
intl/l10n/test/dom/test_mozdom_translateFragment.html
intl/l10n/test/dom/test_mozdom_translateRoots.html
js/xpconnect/tests/chrome/test_bug1041626.xul
js/xpconnect/tests/chrome/test_bug1042436.xul
js/xpconnect/tests/chrome/test_bug1050049.html
js/xpconnect/tests/chrome/test_bug1065185.html
js/xpconnect/tests/chrome/test_bug1074863.html
js/xpconnect/tests/chrome/test_bug1124898.html
js/xpconnect/tests/chrome/test_bug1126911.html
js/xpconnect/tests/chrome/test_bug1430164.html
js/xpconnect/tests/chrome/test_bug1516237.html
js/xpconnect/tests/chrome/test_bug1530146.html
js/xpconnect/tests/chrome/test_bug361111.xul
js/xpconnect/tests/chrome/test_bug658909.xul
js/xpconnect/tests/chrome/test_bug706301.xul
js/xpconnect/tests/chrome/test_bug726949.xul
js/xpconnect/tests/chrome/test_bug732665.xul
js/xpconnect/tests/chrome/test_bug743843.xul
js/xpconnect/tests/chrome/test_bug760076.xul
js/xpconnect/tests/chrome/test_bug760131.html
js/xpconnect/tests/chrome/test_bug763343.xul
js/xpconnect/tests/chrome/test_bug771429.xul
js/xpconnect/tests/chrome/test_bug773962.xul
js/xpconnect/tests/chrome/test_bug792280.xul
js/xpconnect/tests/chrome/test_bug793433.xul
js/xpconnect/tests/chrome/test_bug795275.xul
js/xpconnect/tests/chrome/test_bug799348.xul
js/xpconnect/tests/chrome/test_bug801241.xul
js/xpconnect/tests/chrome/test_bug812415.xul
js/xpconnect/tests/chrome/test_bug853283.xul
js/xpconnect/tests/chrome/test_bug853571.xul
js/xpconnect/tests/chrome/test_bug858101.xul
js/xpconnect/tests/chrome/test_bug860494.xul
js/xpconnect/tests/chrome/test_bug865948.xul
js/xpconnect/tests/chrome/test_bug866823.xul
js/xpconnect/tests/chrome/test_bug932906.xul
js/xpconnect/tests/chrome/test_bug996069.xul
js/xpconnect/tests/chrome/test_discardSystemSource.xul
js/xpconnect/tests/chrome/test_documentdomain.xul
js/xpconnect/tests/chrome/test_exnstack.xul
js/xpconnect/tests/chrome/test_expandosharing.xul
js/xpconnect/tests/chrome/test_exposeInDerived.xul
js/xpconnect/tests/chrome/test_localstorage_with_nsEp.xul
js/xpconnect/tests/chrome/test_scriptSettings.xul
js/xpconnect/tests/chrome/test_sharedChromeCompartment.html
js/xpconnect/tests/chrome/test_weakmap_keys_preserved.xul
js/xpconnect/tests/chrome/test_weakmap_keys_preserved2.xul
js/xpconnect/tests/chrome/test_windowProxyDeadWrapper.html
js/xpconnect/tests/chrome/test_xrayToJS.xul
js/xpconnect/tests/chrome/test_xrayic.xul
layout/base/tests/chrome/bug1041200_window.html
layout/base/tests/chrome/chrome_content_integration_window.xul
layout/base/tests/chrome/test_bug396367-1.html
layout/base/tests/chrome/test_bug396367-2.html
layout/base/tests/chrome/test_bug420499.xul
layout/base/tests/chrome/test_bug458898.html
layout/base/tests/chrome/test_bug708062.html
layout/base/tests/chrome/test_bug847890_paintFlashing.html
layout/base/tests/chrome/test_dialog_with_positioning.html
layout/base/tests/chrome/test_fixed_bg_scrolling_repaints.html
layout/base/tests/chrome/test_getClientRectsAndTexts.html
layout/base/tests/chrome/test_prerendered_transforms.html
layout/base/tests/chrome/test_scrolling_repaints.html
layout/base/tests/chrome/test_will_change.html
layout/forms/test/test_bug536567_perwindowpb.html
layout/forms/test/test_bug665540.html
layout/generic/test/test_backspace_delete.xul
layout/generic/test/test_bug469613.xul
layout/generic/test/test_bug469774.xul
layout/generic/test/test_bug508115.xul
layout/generic/test/test_bug632379.xul
layout/generic/test/test_selection_underline.html
layout/inspector/tests/chrome/test_bug467669.xul
layout/inspector/tests/chrome/test_bug695639.xul
layout/inspector/tests/chrome/test_bug708874.xul
layout/inspector/tests/chrome/test_bug727834.xul
layout/inspector/tests/chrome/test_fontFaceGeneric.xul
layout/inspector/tests/chrome/test_fontFaceRanges.xul
layout/inspector/tests/chrome/test_fontFeaturesAPI.xul
layout/inspector/tests/chrome/test_fontVariationsAPI.xul
layout/inspector/tests/chrome/test_parseStyleSheetObservers.html
layout/inspector/tests/chrome/test_ua_sheet_disable.html
layout/mathml/tests/test_disabled_chrome.html
layout/style/test/chrome/hover_helper.html
layout/style/test/chrome/test_bug1346623.html
layout/style/test/chrome/test_bug1371453.html
layout/style/test/chrome/test_bug418986-2.xul
layout/style/test/chrome/test_bug535806.xul
layout/style/test/chrome/test_display_mode.html
layout/style/test/chrome/test_display_mode_reflow.html
layout/style/test/chrome/test_hover.html
layout/style/test/chrome/test_moz_document_rules.html
layout/style/test/chrome/test_stylesheet_clone_import_rule.html
layout/svg/tests/test_disabled_chrome.html
layout/xul/test/test_bug1197913.xul
layout/xul/test/test_bug159346.xul
layout/xul/test/test_bug372685.xul
layout/xul/test/test_bug381167.xhtml
layout/xul/test/test_bug393970.xul
layout/xul/test/test_bug398982-1.xul
layout/xul/test/test_bug398982-2.xul
layout/xul/test/test_bug467442.xul
layout/xul/test/test_bug477754.xul
layout/xul/test/test_bug703150.xul
layout/xul/test/test_bug987230.xul
layout/xul/test/test_popupReflowPos.xul
layout/xul/test/test_popupSizeTo.xul
layout/xul/test/test_popupZoom.xul
layout/xul/test/test_resizer.xul
layout/xul/test/test_stack.xul
layout/xul/test/test_submenuClose.xul
layout/xul/test/window_resizer.xul
layout/xul/test/window_resizer_element.xul
security/manager/ssl/tests/mochitest/stricttransportsecurity/test_sts_privatebrowsing_perwindowpb.html
services/fxaccounts/tests/mochitest/test_invalidEmailCase.html
testing/mochitest/browser-harness.xul
testing/mochitest/chrome/test_chromeGetTestFile.xul
testing/mochitest/chrome/test_sanityException.xul
testing/mochitest/chrome/test_sanityException2.xul
testing/mochitest/chrome/test_sanityManifest.xul
testing/mochitest/chrome/test_sanityManifest_pf.xul
testing/mochitest/chrome/test_sanityPluginUtils.html
toolkit/components/aboutmemory/tests/test_aboutmemory.xul
toolkit/components/aboutmemory/tests/test_aboutmemory2.xul
toolkit/components/aboutmemory/tests/test_aboutmemory3.xul
toolkit/components/aboutmemory/tests/test_aboutmemory4.xul
toolkit/components/aboutmemory/tests/test_aboutmemory5.xul
toolkit/components/aboutmemory/tests/test_aboutmemory6.xul
toolkit/components/aboutmemory/tests/test_aboutmemory7.xul
toolkit/components/aboutmemory/tests/test_sqliteMultiReporter.xul
toolkit/components/extensions/test/mochitest/test_chrome_ext_trackingprotection.html
toolkit/components/extensions/test/mochitest/test_chrome_ext_webrequest_background_events.html
toolkit/components/extensions/test/mochitest/test_chrome_ext_webrequest_mozextension.html
toolkit/components/resistfingerprinting/tests/test_spoof_english.html
toolkit/components/url-classifier/tests/mochitest/test_advisory_link.html
toolkit/components/url-classifier/tests/mochitest/test_allowlisted_annotations.html
toolkit/components/url-classifier/tests/mochitest/test_classified_annotations.html
toolkit/components/url-classifier/tests/mochitest/test_classifier_changetablepref.html
toolkit/components/url-classifier/tests/mochitest/test_classifier_changetablepref_bug1395411.html
toolkit/components/url-classifier/tests/mochitest/test_donottrack.html
toolkit/components/url-classifier/tests/mochitest/test_lookup_system_principal.html
toolkit/components/url-classifier/tests/mochitest/test_privatebrowsing_trackingprotection.html
toolkit/components/url-classifier/tests/mochitest/test_reporturl.html
toolkit/components/url-classifier/tests/mochitest/test_safebrowsing_bug1272239.html
toolkit/components/url-classifier/tests/mochitest/test_threathit_report.html
toolkit/components/url-classifier/tests/mochitest/test_trackingprotection_bug1157081.html
toolkit/components/url-classifier/tests/mochitest/test_trackingprotection_bug1312515.html
toolkit/components/url-classifier/tests/mochitest/test_trackingprotection_whitelist.html
toolkit/components/viewsource/test/test_bug428653.html
toolkit/components/windowcreator/test/test_bug1170334_wbp_xmlstyle.html
toolkit/components/windowcreator/test/test_bug1192654.html
toolkit/components/windowcreator/test/test_bug449141.html
toolkit/components/windowwatcher/test/test_alwaysOnTop_windows.html
toolkit/components/windowwatcher/test/test_dialog_arguments.html
toolkit/components/windowwatcher/test/test_modal_windows.html
toolkit/content/tests/chrome/test_about_networking.html
toolkit/content/tests/chrome/test_autocomplete_with_composition_on_input.html
toolkit/content/tests/chrome/test_bug1048178.xul
toolkit/content/tests/chrome/test_bug360220.xul
toolkit/content/tests/chrome/test_bug365773.xul
toolkit/content/tests/chrome/test_bug382990.xul
toolkit/content/tests/chrome/test_bug418874.xul
toolkit/content/tests/chrome/test_bug457632.xul
toolkit/content/tests/chrome/test_bug460942.xul
toolkit/content/tests/chrome/test_bug471776.xul
toolkit/content/tests/chrome/test_bug509732.xul
toolkit/content/tests/chrome/test_bug557987.xul
toolkit/content/tests/chrome/test_bug562554.xul
toolkit/content/tests/chrome/test_bug624329.xul
toolkit/content/tests/chrome/test_bug792324.xul
toolkit/content/tests/chrome/test_closemenu_attribute.xul
toolkit/content/tests/chrome/test_contextmenu_list.xul
toolkit/content/tests/chrome/test_custom_element_base.xul
toolkit/content/tests/chrome/test_custom_element_delay_connection.xul
toolkit/content/tests/chrome/test_edit_contextmenu.html
toolkit/content/tests/chrome/test_editor_for_input_with_autocomplete.html
toolkit/content/tests/chrome/test_focus_anons.xul
toolkit/content/tests/chrome/test_hiddenitems.xul
toolkit/content/tests/chrome/test_hiddenpaging.xul
toolkit/content/tests/chrome/test_labelcontrol.xul
toolkit/content/tests/chrome/test_menu.xul
toolkit/content/tests/chrome/test_menu_anchored.xul
toolkit/content/tests/chrome/test_menu_hide.xul
toolkit/content/tests/chrome/test_menu_withcapture.xul
toolkit/content/tests/chrome/test_menuchecks.xul
toolkit/content/tests/chrome/test_menuitem_blink.xul
toolkit/content/tests/chrome/test_menulist.xul
toolkit/content/tests/chrome/test_menulist_keynav.xul
toolkit/content/tests/chrome/test_menulist_null_value.xul
toolkit/content/tests/chrome/test_menulist_paging.xul
toolkit/content/tests/chrome/test_menulist_position.xul
toolkit/content/tests/chrome/test_mousescroll.xul
toolkit/content/tests/chrome/test_navigate_persist.html
toolkit/content/tests/chrome/test_notificationbox.xul
toolkit/content/tests/chrome/test_panelfrommenu.xul
toolkit/content/tests/chrome/test_popup_anchoratrect.xul
toolkit/content/tests/chrome/test_popup_attribute.xul
toolkit/content/tests/chrome/test_popup_button.xul
toolkit/content/tests/chrome/test_popup_coords.xul
toolkit/content/tests/chrome/test_popup_keys.xul
toolkit/content/tests/chrome/test_popup_moveToAnchor.xul
toolkit/content/tests/chrome/test_popup_preventdefault.xul
toolkit/content/tests/chrome/test_popup_recreate.xul
toolkit/content/tests/chrome/test_popup_scaled.xul
toolkit/content/tests/chrome/test_popup_tree.xul
toolkit/content/tests/chrome/test_popuphidden.xul
toolkit/content/tests/chrome/test_popupincontent.xul
toolkit/content/tests/chrome/test_popupremoving.xul
toolkit/content/tests/chrome/test_popupremoving_frame.xul
toolkit/content/tests/chrome/test_position.xul
toolkit/content/tests/chrome/test_radio.xul
toolkit/content/tests/chrome/test_scrollbar.xul
toolkit/content/tests/chrome/test_tabbox.xul
toolkit/content/tests/chrome/test_tabindex.xul
toolkit/content/tests/chrome/test_textbox_dictionary.xul
toolkit/content/tests/chrome/test_textbox_emptytext.xul
toolkit/content/tests/chrome/test_textbox_search.xul
toolkit/content/tests/chrome/test_tooltip.xul
toolkit/content/tests/chrome/test_tooltip_noautohide.xul
toolkit/content/tests/chrome/test_tree.xul
toolkit/content/tests/chrome/test_tree_hier.xul
toolkit/content/tests/chrome/test_tree_single.xul
toolkit/content/tests/chrome/test_tree_view.xul
toolkit/content/tests/chrome/window_popup_anchoratrect.xul
toolkit/content/tests/chrome/window_popup_attribute.xul
toolkit/content/tests/chrome/window_popup_button.xul
toolkit/content/tests/chrome/window_tooltip.xul
toolkit/content/tests/widgets/test_contextmenu_menugroup.xul
toolkit/content/tests/widgets/test_contextmenu_nested.xul
toolkit/content/tests/widgets/test_label_checkbox.xul
toolkit/content/tests/widgets/test_menubar.xul
toolkit/content/tests/widgets/test_popupanchor.xul
toolkit/content/tests/widgets/test_popupreflows.xul
toolkit/content/tests/widgets/test_tree_column_reorder.xul
toolkit/content/tests/widgets/test_videocontrols_onclickplay.html
toolkit/content/tests/widgets/window_label_checkbox.xul
toolkit/content/tests/widgets/window_menubar.xul
toolkit/modules/tests/chrome/test_findCssSelector.html
tools/profiler/tests/chrome/test_profile_worker.html
tools/profiler/tests/chrome/test_profile_worker_bug_1428076.html
widget/tests/test_bug1151186.html
widget/tests/test_bug428405.xul
widget/tests/test_bug565392.html
widget/tests/test_bug673301.xul
widget/tests/test_bug760802.xul
widget/tests/test_key_event_counts.xul
--- a/accessible/tests/mochitest/test_nsIAccessibleDocument.html
+++ b/accessible/tests/mochitest/test_nsIAccessibleDocument.html
@@ -1,17 +1,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=441737
 -->
 <head>
   <title>nsIAccessibleDocument chrome tests</title>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css" />
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
   <script type="application/javascript"
           src="common.js"></script>
   <script type="application/javascript"
           src="role.js"></script>
   <script type="application/javascript"
           src="states.js"></script>
 
--- a/browser/components/shell/test/test_headless_screenshot.html
+++ b/browser/components/shell/test/test_headless_screenshot.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1378010
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1378010</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
   <script type="application/javascript">
   const {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
   const {Subprocess} = ChromeUtils.import("resource://gre/modules/Subprocess.jsm");
   const {OS} = ChromeUtils.import("resource://gre/modules/osfile.jsm");
 
   SimpleTest.requestLongerTimeout(2);
 
--- a/caps/tests/mochitest/test_addonMayLoad.html
+++ b/caps/tests/mochitest/test_addonMayLoad.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1180921
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1180921</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://global/skin"/>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
   <script type="application/javascript">
 
   /** Test for Bug 1180921 **/
   let module = Cu.getGlobalForObject(ChromeUtils.import("resource://gre/modules/Services.jsm", window));
   let ssm = Services.scriptSecurityManager;
 
--- a/caps/tests/mochitest/test_bug995943.xul
+++ b/caps/tests/mochitest/test_bug995943.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=995943
 -->
 <window title="Mozilla Bug 995943"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=995943"
      target="_blank">Mozilla Bug 995943</a>
   </body>
 
   <!-- test code goes here -->
--- a/caps/tests/mochitest/test_disableScript.xul
+++ b/caps/tests/mochitest/test_disableScript.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=840488
 -->
 <window title="Mozilla Bug 840488"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=840488"
      target="_blank">Mozilla Bug 840488</a>
   </body>
 
   <iframe id="root" name="root" type="content"/>
--- a/devtools/client/accessibility/test/mochitest/test_accessible_contrast.html
+++ b/devtools/client/accessibility/test/mochitest/test_accessible_contrast.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that Color Contrast component renders correctly.
 -->
 <head>
   <meta charset="utf-8">
   <title>Color Contrast accessibility component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script src="chrome://mochitests/content/chrome/devtools/client/shared/components/test/mochitest/head.js" type="application/javascript"/>
 <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" type="application/javascript"></script>
--- a/devtools/client/accessibility/test/mochitest/test_accessible_learnMoreLink.html
+++ b/devtools/client/accessibility/test/mochitest/test_accessible_learnMoreLink.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that LearnMoreLink parses and renders correctly text with learn more links.
 -->
 <head>
   <meta charset="utf-8">
   <title>LearnMoreLink component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 
--- a/devtools/client/accessibility/test/mochitest/test_accessible_openLink.html
+++ b/devtools/client/accessibility/test/mochitest/test_accessible_openLink.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that openLink function is called if accessible object property is rendered as a link.
 -->
 <head>
   <meta charset="utf-8">
   <title>Accessible component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 
--- a/devtools/client/accessibility/test/mochitest/test_accessible_relations.html
+++ b/devtools/client/accessibility/test/mochitest/test_accessible_relations.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that openLink function is called if accessible object property is rendered as a link.
 -->
 <head>
   <meta charset="utf-8">
   <title>Accessible component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 
--- a/devtools/client/accessibility/test/mochitest/test_accessible_row_context_menu.html
+++ b/devtools/client/accessibility/test/mochitest/test_accessible_row_context_menu.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that openLink function is called if accessible object property is rendered as a link.
 -->
 <head>
   <meta charset="utf-8">
   <title>AccessibilityRow context menu test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 
--- a/devtools/client/memory/test/chrome/test_CensusTreeItem_01.html
+++ b/devtools/client/memory/test/chrome/test_CensusTreeItem_01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that children pointers show up at the correct times.
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
     <!-- Give the container height so that the whole tree is rendered. -->
     <div id="container" style="height: 900px;"></div>
 
     <pre id="test">
         <script src="head.js" type="application/javascript"></script>
--- a/devtools/client/memory/test/chrome/test_DominatorTreeItem_01.html
+++ b/devtools/client/memory/test/chrome/test_DominatorTreeItem_01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that we don't display `JS::ubi::RootList` for the root, and instead show "GC Roots".
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
     <!-- Give the container height so that the whole tree is rendered. -->
     <div id="container" style="height: 900px;"></div>
 
     <pre id="test">
         <script src="head.js" type="application/javascript"></script>
--- a/devtools/client/memory/test/chrome/test_DominatorTree_01.html
+++ b/devtools/client/memory/test/chrome/test_DominatorTree_01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that we show a place holder for a subtree we are lazily fetching.
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
     <!-- Give the container height so that the whole tree is rendered. -->
     <div id="container" style="height: 900px;"></div>
 
     <pre id="test">
         <script src="head.js" type="application/javascript"></script>
--- a/devtools/client/memory/test/chrome/test_DominatorTree_02.html
+++ b/devtools/client/memory/test/chrome/test_DominatorTree_02.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that we show a link to load more children when some (but not all) are loaded.
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
     <!-- Give the container height so that the whole tree is rendered. -->
     <div id="container" style="height: 900px;"></div>
 
     <pre id="test">
         <script src="head.js" type="application/javascript"></script>
--- a/devtools/client/memory/test/chrome/test_DominatorTree_03.html
+++ b/devtools/client/memory/test/chrome/test_DominatorTree_03.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that expanded DominatorTreeItems are correctly rendered and updated
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
     <!-- Give the container height so that the whole tree is rendered. -->
     <div id="container" style="height: 900px;"></div>
 
     <pre id="test">
         <script src="head.js" type="application/javascript"></script>
--- a/devtools/client/memory/test/chrome/test_Heap_01.html
+++ b/devtools/client/memory/test/chrome/test_Heap_01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that rendering a dominator tree error is handled correctly.
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
     <div id="container"></div>
     <pre id="test">
         <script src="head.js" type="application/javascript"></script>
 
         <script type="application/javascript">
--- a/devtools/client/memory/test/chrome/test_Heap_02.html
+++ b/devtools/client/memory/test/chrome/test_Heap_02.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that the currently selected view is rendered.
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
     <div id="container"></div>
     <pre id="test">
         <script src="head.js" type="application/javascript"></script>
         <script type="application/javascript">
          "use strict";
--- a/devtools/client/memory/test/chrome/test_Heap_03.html
+++ b/devtools/client/memory/test/chrome/test_Heap_03.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 Test that we show a throbber while computing and fetching dominator trees,
 but not in other dominator tree states.
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
     <div id="container"></div>
     <pre id="test">
         <script src="head.js" type="application/javascript"></script>
         <script type="application/javascript">
          "use strict";
--- a/devtools/client/memory/test/chrome/test_Heap_04.html
+++ b/devtools/client/memory/test/chrome/test_Heap_04.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that we show the "hey you're not recording allocation stacks" message at the appropriate times.
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
     <div id="container"></div>
     <pre id="test">
         <script src="head.js" type="application/javascript"></script>
         <script type="application/javascript">
          "use strict";
--- a/devtools/client/memory/test/chrome/test_Heap_05.html
+++ b/devtools/client/memory/test/chrome/test_Heap_05.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that we show a message when the census results are empty.
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
     <div id="container"></div>
     <pre id="test">
         <script src="head.js" type="application/javascript"></script>
         <script type="application/javascript">
          "use strict";
--- a/devtools/client/memory/test/chrome/test_List_01.html
+++ b/devtools/client/memory/test/chrome/test_List_01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test to verify the delete button calls the onDelete handler for an item
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
     <div id="container"></div>
 
     <pre id="test">
         <script src="head.js" type="application/javascript"></script>
         <script type="application/javascript">
--- a/devtools/client/memory/test/chrome/test_ShortestPaths_01.html
+++ b/devtools/client/memory/test/chrome/test_ShortestPaths_01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that the ShortestPaths component properly renders a graph of the merged shortest paths.
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 
     <script type="application/javascript"
             src="chrome://devtools/content/shared/vendor/d3.js">
     </script>
     <script type="application/javascript"
             src="chrome://devtools/content/shared/vendor/dagre-d3.js">
     </script>
--- a/devtools/client/memory/test/chrome/test_ShortestPaths_02.html
+++ b/devtools/client/memory/test/chrome/test_ShortestPaths_02.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that the ShortestPaths component renders a suggestion to select a node when there is no graph.
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 
     <script type="application/javascript"
             src="chrome://devtools/content/shared/vendor/d3.js">
     </script>
     <script type="application/javascript"
             src="chrome://devtools/content/shared/vendor/dagre-d3.js">
     </script>
--- a/devtools/client/memory/test/chrome/test_SnapshotListItem_01.html
+++ b/devtools/client/memory/test/chrome/test_SnapshotListItem_01.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 Test to verify that the delete button only shows up for a snapshot when it has a
 path.
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
     <div id="container"></div>
 
     <pre id="test">
         <script src="head.js" type="application/javascript"></script>
         <script type="application/javascript">
--- a/devtools/client/memory/test/chrome/test_Toolbar_01.html
+++ b/devtools/client/memory/test/chrome/test_Toolbar_01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that the Toolbar component shows the view switcher only at the appropriate times.
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
     <div id="container"></div>
     <pre id="test">
         <script src="head.js" type="application/javascript"></script>
         <script type="application/javascript">
          "use strict";
--- a/devtools/client/memory/test/chrome/test_TreeMap_01.html
+++ b/devtools/client/memory/test/chrome/test_TreeMap_01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that the Tree Map correctly renders onto 2 managed canvases.
 -->
 <head>
     <meta charset="utf-8">
     <title>Tree component test</title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 
     <script type="application/javascript"
             src="chrome://devtools/content/shared/vendor/d3.js">
     </script>
 </head>
 <body>
   <!-- Give the container height so that the whole tree is rendered. -->
--- a/devtools/client/performance-new/test/chrome/test_perf-settings-entries.html
+++ b/devtools/client/performance-new/test/chrome/test_perf-settings-entries.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <head>
   <meta charset="utf-8">
   <title>Perf component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
   <div id="container"></div>
 
   <pre id="test">
     <script src="head.js" type="application/javascript"></script>
     <script type="application/javascript">
--- a/devtools/client/performance-new/test/chrome/test_perf-settings-features.html
+++ b/devtools/client/performance-new/test/chrome/test_perf-settings-features.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <head>
   <meta charset="utf-8">
   <title>Perf component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
   <div id="container"></div>
 
   <pre id="test">
     <script src="head.js" type="application/javascript"></script>
     <script type="application/javascript">
--- a/devtools/client/performance-new/test/chrome/test_perf-settings-interval.html
+++ b/devtools/client/performance-new/test/chrome/test_perf-settings-interval.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <head>
   <meta charset="utf-8">
   <title>Perf component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
   <div id="container"></div>
 
   <pre id="test">
     <script src="head.js" type="application/javascript"></script>
     <script type="application/javascript">
--- a/devtools/client/performance-new/test/chrome/test_perf-settings-threads.html
+++ b/devtools/client/performance-new/test/chrome/test_perf-settings-threads.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <head>
   <meta charset="utf-8">
   <title>Perf component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
   <div id="container"></div>
 
   <pre id="test">
     <script src="head.js" type="application/javascript"></script>
     <script type="application/javascript">
--- a/devtools/client/performance-new/test/chrome/test_perf-state-01.html
+++ b/devtools/client/performance-new/test/chrome/test_perf-state-01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <head>
   <meta charset="utf-8">
   <title>Perf component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
   <div id="container"></div>
 
   <pre id="test">
     <script src="head.js" type="application/javascript"></script>
     <script type="application/javascript">
--- a/devtools/client/performance-new/test/chrome/test_perf-state-02.html
+++ b/devtools/client/performance-new/test/chrome/test_perf-state-02.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <head>
   <meta charset="utf-8">
   <title>Perf component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
   <div id="container"></div>
 
   <pre id="test">
     <script src="head.js" type="application/javascript"></script>
     <script type="application/javascript">
--- a/devtools/client/performance-new/test/chrome/test_perf-state-03.html
+++ b/devtools/client/performance-new/test/chrome/test_perf-state-03.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <head>
   <meta charset="utf-8">
   <title>Perf component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
   <div id="container"></div>
 
   <pre id="test">
     <script src="head.js" type="application/javascript"></script>
     <script type="application/javascript">
--- a/devtools/client/performance-new/test/chrome/test_perf-state-04.html
+++ b/devtools/client/performance-new/test/chrome/test_perf-state-04.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
 <head>
   <meta charset="utf-8">
   <title>Perf component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
   <div id="container"></div>
 
   <pre id="test">
     <script src="head.js" type="application/javascript"></script>
     <script type="application/javascript">
--- a/devtools/client/performance/components/test/test_jit_optimizations_01.html
+++ b/devtools/client/performance/components/test/test_jit_optimizations_01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test the rendering of the JIT Optimizations tree. Tests when jit data has observed types, multiple observed types, multiple sites, a site with a successful strategy, site with no successful strategy.
 -->
 <head>
   <meta charset="utf-8">
   <title>JITOptimizations component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body style="height: 10000px;">
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
   try {
--- a/devtools/client/shared/components/test/mochitest/test_HSplitBox_01.html
+++ b/devtools/client/shared/components/test/mochitest/test_HSplitBox_01.html
@@ -4,18 +4,18 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Basic tests for the HSplitBox component.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
   <link rel="stylesheet" href="resource://devtools/client/themes/splitters.css" type="text/css"/>
   <link rel="stylesheet" href="chrome://devtools/skin/components-h-split-box.css" type="text/css"/>
   <style>
     html {
       --theme-splitter-color: black;
     }
   </style>
--- a/devtools/client/shared/components/test/mochitest/test_accordion.html
+++ b/devtools/client/shared/components/test/mochitest/test_accordion.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that Accordion renders correctly.
 -->
 <head>
   <meta charset="utf-8">
   <title>Accordion component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" src="resource://testing-common/sinon-7.2.7.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script src="accordion.snapshots.js" type="application/javascript"></script>
--- a/devtools/client/shared/components/test/mochitest/test_frame_01.html
+++ b/devtools/client/shared/components/test/mochitest/test_frame_01.html
@@ -5,17 +5,17 @@
 <html>
 <!--
 Test the formatting of the file name, line and columns are correct in frame components,
 with optional columns, unknown and non-URL sources.
 -->
 <head>
   <meta charset="utf-8">
   <title>Frame component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
   try {
--- a/devtools/client/shared/components/test/mochitest/test_frame_02.html
+++ b/devtools/client/shared/components/test/mochitest/test_frame_02.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that the frame component reacts to source-map pref changse.
 -->
 <head>
   <meta charset="utf-8">
   <title>Frame component source-map test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
   try {
--- a/devtools/client/shared/components/test/mochitest/test_list.html
+++ b/devtools/client/shared/components/test/mochitest/test_list.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that List renders correctly.
 -->
 <head>
   <meta charset="utf-8">
   <title>List component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script src="list.snapshots.js" type="application/javascript"></script>
 <script type="application/javascript">
--- a/devtools/client/shared/components/test/mochitest/test_list_keyboard.html
+++ b/devtools/client/shared/components/test/mochitest/test_list_keyboard.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that List component has working keyboard interactions.
 -->
 <head>
   <meta charset="utf-8">
   <title>List component keyboard test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
--- a/devtools/client/shared/components/test/mochitest/test_notification_box_01.html
+++ b/devtools/client/shared/components/test/mochitest/test_notification_box_01.html
@@ -9,17 +9,17 @@ Test for Notification Box. The test is c
 * Appending correct classname on wrapping
 * Appending a notification
 * Notification priority
 * Closing notification
 -->
 <head>
   <meta charset="utf-8">
   <title>Notification Box</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
   try {
--- a/devtools/client/shared/components/test/mochitest/test_notification_box_02.html
+++ b/devtools/client/shared/components/test/mochitest/test_notification_box_02.html
@@ -5,17 +5,17 @@
 <html>
 <!--
 Test for Notification Box. The test is checking:
 * Using custom callback in a notification
 -->
 <head>
   <meta charset="utf-8">
   <title>Notification Box</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
   try {
--- a/devtools/client/shared/components/test/mochitest/test_notification_box_03.html
+++ b/devtools/client/shared/components/test/mochitest/test_notification_box_03.html
@@ -5,17 +5,17 @@
 <html>
 <!--
 Test for Notification Box. The test is checking:
 * Using custom buttons in a notification
 -->
 <head>
   <meta charset="utf-8">
   <title>Notification Box</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
   try {
--- a/devtools/client/shared/components/test/mochitest/test_sidebar_toggle.html
+++ b/devtools/client/shared/components/test/mochitest/test_sidebar_toggle.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test sidebar toggle button
 -->
 <head>
   <meta charset="utf-8">
   <title>Sidebar toggle button test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
   let SidebarToggle = browserRequire("devtools/client/shared/components/SidebarToggle.js");
--- a/devtools/client/shared/components/test/mochitest/test_tabs_accessibility.html
+++ b/devtools/client/shared/components/test/mochitest/test_tabs_accessibility.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test tabs accessibility.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tabs component accessibility test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
   try {
--- a/devtools/client/shared/components/test/mochitest/test_tabs_menu.html
+++ b/devtools/client/shared/components/test/mochitest/test_tabs_menu.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html class="theme-light">
 <!--
 Test all-tabs menu.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tabs component All-tabs menu test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" type="text/css" href="resource://devtools/client/themes/variables.css">
   <link rel="stylesheet" type="text/css" href="resource://devtools/client/themes/common.css">
   <link rel="stylesheet" type="text/css" href="resource://devtools/client/shared/components/tabs/Tabs.css">
   <link rel="stylesheet" type="text/css" href="resource://devtools/client/inspector/components/side-panel.css">
   <link rel="stylesheet" type="text/css" href="resource://devtools/client/inspector/components/InspectorTabPanel.css">
 </head>
 <body>
--- a/devtools/client/shared/components/test/mochitest/test_tree-view_01.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree-view_01.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that TreeView component has working keyboard interactions.
 -->
 <head>
   <meta charset="utf-8">
   <title>TreeView component keyboard test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
--- a/devtools/client/shared/components/test/mochitest/test_tree-view_02.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree-view_02.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that TreeView component filtering works with keyboard.
 -->
 <head>
   <meta charset="utf-8">
   <title>TreeView component filtering keyboard test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
   <link rel="stylesheet" href="resource://devtools/client/shared/components/tree/TreeView.css" type="text/css">
   <style>
     .treeRow.hide {
       display: none;
     }
--- a/devtools/client/shared/components/test/mochitest/test_tree_01.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_01.html
@@ -5,17 +5,17 @@
 <html>
 <!--
 Test trees get displayed with the items in correct order and at the correct
 depth.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
   try {
--- a/devtools/client/shared/components/test/mochitest/test_tree_02.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_02.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that collapsed subtrees aren't rendered.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
   try {
--- a/devtools/client/shared/components/test/mochitest/test_tree_03.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_03.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test Tree's autoExpandDepth.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
   try {
--- a/devtools/client/shared/components/test/mochitest/test_tree_04.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_04.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that we only render visible tree items.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
   try {
--- a/devtools/client/shared/components/test/mochitest/test_tree_05.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_05.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test focusing with the Tree component.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 
 "use strict";
--- a/devtools/client/shared/components/test/mochitest/test_tree_06.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_06.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test keyboard navigation with the Tree component.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 
 "use strict";
--- a/devtools/client/shared/components/test/mochitest/test_tree_07.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_07.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that arrows get the open attribute when their item's children are expanded.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
--- a/devtools/client/shared/components/test/mochitest/test_tree_08.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_08.html
@@ -5,17 +5,17 @@
 <html>
 <!--
 Test that when an item in the Tree component is clicked, it steals focus from
 other inputs.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
--- a/devtools/client/shared/components/test/mochitest/test_tree_09.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_09.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that when an item in the Tree component is expanded or collapsed the appropriate event handler fires.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
--- a/devtools/client/shared/components/test/mochitest/test_tree_10.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_10.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that when an item in the Tree component is expanded or collapsed the appropriate event handler fires.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 window.onload = async function () {
--- a/devtools/client/shared/components/test/mochitest/test_tree_11.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_11.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that when an item in the Tree component is focused by arrow key, the view is scrolled.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
   <style>
    .tree {
      height: 30px;
      overflow: auto;
      display: block;
    }
--- a/devtools/client/shared/components/test/mochitest/test_tree_12.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_12.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test keyboard navigation/activation with the VirtualizedTree component.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 
 "use strict";
--- a/devtools/client/shared/components/test/mochitest/test_tree_13.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_13.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test trees have the correct scroll position when they are resized.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <style>
    .tree {
      height: 50px;
      overflow: auto;
      display: block;
    }
 
--- a/devtools/client/shared/components/test/mochitest/test_tree_14.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_14.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that Tree component has working keyboard interactions.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component keyboard test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="head.js" type="application/javascript"></script>
 <script type="application/javascript">
 
--- a/devtools/client/shared/components/test/mochitest/test_tree_15.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_15.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test scroll position when focusing items in traversal but not rendered.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
   <style>
     .tree {
       height: 30px;
       overflow: auto;
       display: block;
     }
--- a/devtools/client/shared/components/test/mochitest/test_tree_16.html
+++ b/devtools/client/shared/components/test/mochitest/test_tree_16.html
@@ -4,17 +4,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test scroll position when showing items both in traversal and/or rendered.
 -->
 <head>
   <meta charset="utf-8">
   <title>Tree component test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <link rel="stylesheet" href="chrome://devtools/skin/light-theme.css" type="text/css">
   <style>
     .tree {
       height: 30px;
       overflow: auto;
       display: block;
     }
--- a/devtools/client/webconsole/test/chrome/test_render_perf.html
+++ b/devtools/client/webconsole/test/chrome/test_render_perf.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for getRepeatId()</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" src="head.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for render perf</p>
 <div id="output"></div>
 
--- a/devtools/client/webide/test/test_addons.html
+++ b/devtools/client/webide/test/test_addons.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
       // XXX Bug 1072167 - When updating after migration, fix the no-undef issues.
--- a/devtools/client/webide/test/test_app_validator.html
+++ b/devtools/client/webide/test/test_app_validator.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
     const {HttpServer} = ChromeUtils.import("resource://testing-common/httpd.js");
     const {require} = ChromeUtils.import("resource://devtools/shared/Loader.jsm");
--- a/devtools/client/webide/test/test_autoconnect_runtime.html
+++ b/devtools/client/webide/test/test_autoconnect_runtime.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
       window.onload = function() {
--- a/devtools/client/webide/test/test_autoselect_project.html
+++ b/devtools/client/webide/test/test_autoselect_project.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
       window.onload = function() {
--- a/devtools/client/webide/test/test_basic.html
+++ b/devtools/client/webide/test/test_basic.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
       window.onload = function() {
--- a/devtools/client/webide/test/test_deprecation_message.html
+++ b/devtools/client/webide/test/test_deprecation_message.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
       window.onload = function() {
--- a/devtools/client/webide/test/test_device_preferences.html
+++ b/devtools/client/webide/test/test_device_preferences.html
@@ -1,17 +1,17 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <script type="application/javascript" src="device_front_shared.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
--- a/devtools/client/webide/test/test_device_runtime.html
+++ b/devtools/client/webide/test/test_device_runtime.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
       window.onload = function() {
--- a/devtools/client/webide/test/test_duplicate_import.html
+++ b/devtools/client/webide/test/test_duplicate_import.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
     <script type="application/javascript">
       window.onload = function() {
         SimpleTest.waitForExplicitFinish();
--- a/devtools/client/webide/test/test_fullscreenToolbox.html
+++ b/devtools/client/webide/test/test_fullscreenToolbox.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
       function connectToLocal(win, docRuntime) {
--- a/devtools/client/webide/test/test_import.html
+++ b/devtools/client/webide/test/test_import.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
     <script type="application/javascript">
       window.onload = function() {
         SimpleTest.waitForExplicitFinish();
--- a/devtools/client/webide/test/test_manifestUpdate.html
+++ b/devtools/client/webide/test/test_manifestUpdate.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
       window.onload = function() {
--- a/devtools/client/webide/test/test_newapp.html
+++ b/devtools/client/webide/test/test_newapp.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
       window.onload = function() {
--- a/devtools/client/webide/test/test_performance_panel.html
+++ b/devtools/client/webide/test/test_performance_panel.html
@@ -1,15 +1,15 @@
 <!DOCTYPE html>
 <html>
   <head>
     <meta charset="utf8">
     <title></title>
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
   <body>
     <script type="application/javascript">
       window.onload = async function() {
         SimpleTest.waitForExplicitFinish();
 
--- a/devtools/client/webide/test/test_runtime.html
+++ b/devtools/client/webide/test/test_runtime.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
       window.onload = function() {
--- a/devtools/client/webide/test/test_toolbox.html
+++ b/devtools/client/webide/test/test_toolbox.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
       window.onload = function() {
--- a/devtools/client/webide/test/test_zoom.html
+++ b/devtools/client/webide/test/test_zoom.html
@@ -1,18 +1,18 @@
 <!DOCTYPE html>
 
 <html>
 
   <head>
     <meta charset="utf8">
     <title></title>
 
-    <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-    <script type="application/javascript" src="chrome://mochikit/content/chrome-harness.js"></script>
+    <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+    <script src="chrome://mochikit/content/chrome-harness.js"></script>
     <script type="application/javascript" src="head.js"></script>
     <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   </head>
 
   <body>
 
     <script type="application/javascript">
       window.onload = function() {
--- a/devtools/server/tests/mochitest/test_Debugger.Script.prototype.global.html
+++ b/devtools/server/tests/mochitest/test_Debugger.Script.prototype.global.html
@@ -3,17 +3,17 @@
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=958646
 
 Debugger.Script.prototype.global should return innerize globals, not WindowProxies.
 -->
 <head>
   <meta charset="utf-8">
   <title>Debugger.Script.prototype.global should return inner windows</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
 const {addDebuggerToGlobal} = ChromeUtils.import("resource://gre/modules/jsdebugger.jsm");
--- a/devtools/server/tests/mochitest/test_Debugger.Source.prototype.element.html
+++ b/devtools/server/tests/mochitest/test_Debugger.Source.prototype.element.html
@@ -4,17 +4,17 @@
 https://bugzilla.mozilla.org/show_bug.cgi?id=941876
 
 Debugger.Source.prototype.element and .elementAttributeName should report the DOM
 element to which code is attached (if any), and how.
 -->
 <head>
   <meta charset="utf-8">
   <title>Debugger.Source.prototype.element should return owning element</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
 const {addSandboxedDebuggerToGlobal} = ChromeUtils.import("resource://gre/modules/jsdebugger.jsm");
--- a/devtools/server/tests/mochitest/test_Debugger.Source.prototype.introductionScript.html
+++ b/devtools/server/tests/mochitest/test_Debugger.Source.prototype.introductionScript.html
@@ -4,17 +4,17 @@
 https://bugzilla.mozilla.org/show_bug.cgi?id=969786
 
 Debugger.Source.prototype.introductionScript and .introductionOffset should
 behave when 'eval' is called with no scripted frames active at all.
 -->
 <head>
   <meta charset="utf-8">
   <title>Debugger.Source.prototype.introductionScript with no caller</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
 const {addDebuggerToGlobal} = ChromeUtils.import("resource://gre/modules/jsdebugger.jsm");
--- a/devtools/server/tests/mochitest/test_Debugger.Source.prototype.introductionType.html
+++ b/devtools/server/tests/mochitest/test_Debugger.Source.prototype.introductionType.html
@@ -4,17 +4,17 @@
 https://bugzilla.mozilla.org/show_bug.cgi?id=935203
 
 Debugger.Source.prototype.introductionType should return 'eventHandler' for
 JavaScrip appearing in an inline event handler attribute.
 -->
 <head>
   <meta charset="utf-8">
   <title>Debugger.Source.prototype.introductionType should identify event handlers</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_connectToFrame.html
+++ b/devtools/server/tests/mochitest/test_connectToFrame.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 966991 - Test DebuggerServer.connectToFrame
 -->
 <head>
   <meta charset="utf-8">
   <title>Mozilla Bug</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script type="application/javascript">
 "use strict";
 
 // Part of this is a frame script.
--- a/devtools/server/tests/mochitest/test_connection-manager.html
+++ b/devtools/server/tests/mochitest/test_connection-manager.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 898485 - [app manager] Implement an abstract connection manager
 -->
 <head>
   <meta charset="utf-8">
   <title>Mozilla Bug</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
 window.onload = function() {
--- a/devtools/server/tests/mochitest/test_css-logic-media-queries.html
+++ b/devtools/server/tests/mochitest/test_css-logic-media-queries.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that css-logic handles media-queries correctly
 -->
 <head>
   <meta charset="utf-8">
   <title>Test css-logic media-queries</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <style>
     div {
       width: 1000px;
       height: 100px;
       background-color: #f00;
     }
 
--- a/devtools/server/tests/mochitest/test_css-logic-specificity.html
+++ b/devtools/server/tests/mochitest/test_css-logic-specificity.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test that css-logic calculates CSS specificity properly
 -->
 <head>
   <meta charset="utf-8">
   <title>Test css-logic specificity</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 </head>
 <body style="background:blue;">
   <script type="application/javascript">
   "use strict";
 
   window.onload = function() {
     const {require} = ChromeUtils.import("resource://devtools/shared/Loader.jsm");
     const {CssLogic, CssSelector} = require("devtools/server/actors/inspector/css-logic");
--- a/devtools/server/tests/mochitest/test_css-logic.html
+++ b/devtools/server/tests/mochitest/test_css-logic.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 const {CssLogic} = require("devtools/server/actors/inspector/css-logic");
 
 window.onload = function() {
--- a/devtools/server/tests/mochitest/test_css-properties.html
+++ b/devtools/server/tests/mochitest/test_css-properties.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1265798 - Replace inIDOMUtils.cssPropertyIsShorthand
 -->
 <head>
   <meta charset="utf-8">
   <title>Test CSS Properties Actor</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   const { initCssProperties, getCssProperties } =
     require("devtools/shared/fronts/css-properties");
--- a/devtools/server/tests/mochitest/test_device.html
+++ b/devtools/server/tests/mochitest/test_device.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 895360 - [app manager] Device meta data actor
 -->
 <head>
   <meta charset="utf-8">
   <title>Mozilla Bug</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
 window.onload = function() {
--- a/devtools/server/tests/mochitest/test_executeInGlobal-outerized_this.html
+++ b/devtools/server/tests/mochitest/test_executeInGlobal-outerized_this.html
@@ -5,17 +5,17 @@ https://bugzilla.mozilla.org/show_bug.cg
 
 When we use Debugger.Object.prototype.executeInGlobal, the 'this' value seen
 by the evaluated code should be the WindowProxy, not the inner window
 object.
 -->
 <head>
   <meta charset="utf-8">
   <title>Mozilla Bug 837060</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
 const {addDebuggerToGlobal} = ChromeUtils.import("resource://gre/modules/jsdebugger.jsm");
--- a/devtools/server/tests/mochitest/test_framerate_01.html
+++ b/devtools/server/tests/mochitest/test_framerate_01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1007200 - Create a framerate actor
 -->
 <head>
   <meta charset="utf-8">
   <title>Framerate actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" src="framerate-helpers.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_framerate_02.html
+++ b/devtools/server/tests/mochitest/test_framerate_02.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1007200 - Create a framerate actor
 -->
 <head>
   <meta charset="utf-8">
   <title>Framerate actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" src="framerate-helpers.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_framerate_03.html
+++ b/devtools/server/tests/mochitest/test_framerate_03.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1023018 - Tests whether or not the framerate actor can handle time ranges.
 -->
 <head>
   <meta charset="utf-8">
   <title>Framerate actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" src="framerate-helpers.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_framerate_04.html
+++ b/devtools/server/tests/mochitest/test_framerate_04.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1023018 - Tests if the framerate actor keeps recording after navigations.
 -->
 <head>
   <meta charset="utf-8">
   <title>Framerate actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_framerate_05.html
+++ b/devtools/server/tests/mochitest/test_framerate_05.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1034648 - Tests whether a framerate recording can be cancelled.
 -->
 <head>
   <meta charset="utf-8">
   <title>Framerate actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" src="framerate-helpers.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_framerate_06.html
+++ b/devtools/server/tests/mochitest/test_framerate_06.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1171489 - Tests if the framerate actor does not record timestamps from multiple frames.
 -->
 <head>
   <meta charset="utf-8">
   <title>Framerate actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_getProcess.html
+++ b/devtools/server/tests/mochitest/test_getProcess.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1060093 - Test DebuggerServer.getProcess
 -->
 <head>
   <meta charset="utf-8">
   <title>Mozilla Bug</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script type="application/javascript">
 "use strict";
 
 // Part of this is a frame script.
--- a/devtools/server/tests/mochitest/test_highlighter_paused_debugger.html
+++ b/devtools/server/tests/mochitest/test_highlighter_paused_debugger.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Test the PausedDebuggerOverlay highlighter.
 -->
 <head>
   <meta charset="utf-8">
   <title>PausedDebuggerOverlay test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
 window.onload = function() {
--- a/devtools/server/tests/mochitest/test_inspector-changeattrs.html
+++ b/devtools/server/tests/mochitest/test_inspector-changeattrs.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_inspector-changevalue.html
+++ b/devtools/server/tests/mochitest/test_inspector-changevalue.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_inspector-dead-nodes.html
+++ b/devtools/server/tests/mochitest/test_inspector-dead-nodes.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1121528
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1121528</title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_inspector-display-type.html
+++ b/devtools/server/tests/mochitest/test_inspector-display-type.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1431900
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1431900</title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_inspector-duplicate-node.html
+++ b/devtools/server/tests/mochitest/test_inspector-duplicate-node.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1208864
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1208864</title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_inspector-hide.html
+++ b/devtools/server/tests/mochitest/test_inspector-hide.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_inspector-mutations-attr.html
+++ b/devtools/server/tests/mochitest/test_inspector-mutations-attr.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_inspector-mutations-events.html
+++ b/devtools/server/tests/mochitest/test_inspector-mutations-events.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1157469
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1157469</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
 
--- a/devtools/server/tests/mochitest/test_inspector-mutations-value.html
+++ b/devtools/server/tests/mochitest/test_inspector-mutations-value.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 const WalkerActor = require("devtools/server/actors/inspector/walker");
 
 window.onload = function() {
--- a/devtools/server/tests/mochitest/test_inspector-pick-color.html
+++ b/devtools/server/tests/mochitest/test_inspector-pick-color.html
@@ -4,17 +4,17 @@
 Test that the inspector actor has the pickColorFromPage and cancelPickColorFromPage
 methods and that when a color is picked the color-picked event is emitted and that when
 the eyedropper is dimissed, the color-pick-canceled event is emitted.
 https://bugzilla.mozilla.org/show_bug.cgi?id=1262439
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1262439</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
 
--- a/devtools/server/tests/mochitest/test_inspector-pseudoclass-lock.html
+++ b/devtools/server/tests/mochitest/test_inspector-pseudoclass-lock.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 const KNOWN_PSEUDOCLASSES = [":hover", ":active", ":focus", ":focus-within"];
 
 window.onload = function() {
--- a/devtools/server/tests/mochitest/test_inspector-reload.html
+++ b/devtools/server/tests/mochitest/test_inspector-reload.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_inspector-resize.html
+++ b/devtools/server/tests/mochitest/test_inspector-resize.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 Test that the inspector actor emits "resize" events when the page is resized.
 https://bugzilla.mozilla.org/show_bug.cgi?id=1222409
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1222409</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
 
--- a/devtools/server/tests/mochitest/test_inspector-resolve-url.html
+++ b/devtools/server/tests/mochitest/test_inspector-resolve-url.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=921102
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 921102</title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_inspector-scroll-into-view.html
+++ b/devtools/server/tests/mochitest/test_inspector-scroll-into-view.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=901250
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 901250</title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_inspector-search-front.html
+++ b/devtools/server/tests/mochitest/test_inspector-search-front.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=835896
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 835896</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
 
--- a/devtools/server/tests/mochitest/test_inspector-template.html
+++ b/devtools/server/tests/mochitest/test_inspector-template.html
@@ -3,17 +3,17 @@
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1078374
 Display template tag content in inspector.
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
 
--- a/devtools/server/tests/mochitest/test_inspector_getImageData-wait-for-load.html
+++ b/devtools/server/tests/mochitest/test_inspector_getImageData-wait-for-load.html
@@ -8,17 +8,17 @@ Tests for InspectorActor.getImageData() 
  * Image fails to load.
 
 https://bugzilla.mozilla.org/show_bug.cgi?id=1192536
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1192536</title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 const PATH = "http://mochi.test:8888/chrome/devtools/server/tests/mochitest/";
 const BASE_IMAGE = PATH + "inspector-delay-image-response.sjs";
 const DELAYED_IMAGE = BASE_IMAGE + "?delay=300";
--- a/devtools/server/tests/mochitest/test_inspector_getImageData.html
+++ b/devtools/server/tests/mochitest/test_inspector_getImageData.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=932937
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 932937</title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_inspector_getImageDataFromURL.html
+++ b/devtools/server/tests/mochitest/test_inspector_getImageDataFromURL.html
@@ -7,17 +7,17 @@ Tests for InspectorActor.getImageDataFro
  * Image fails to load.
 
 https://bugzilla.mozilla.org/show_bug.cgi?id=1192536
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1192536</title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 const PATH = "http://mochi.test:8888/chrome/devtools/server/tests/mochitest/";
 const BASE_IMAGE = PATH + "inspector-delay-image-response.sjs";
 const DELAYED_IMAGE = BASE_IMAGE + "?delay=300";
--- a/devtools/server/tests/mochitest/test_inspector_getNodeFromActor.html
+++ b/devtools/server/tests/mochitest/test_inspector_getNodeFromActor.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1155653
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1155653</title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_inspector_getOffsetParent.html
+++ b/devtools/server/tests/mochitest/test_inspector_getOffsetParent.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1345119
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1345119</title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_makeGlobalObjectReference.html
+++ b/devtools/server/tests/mochitest/test_makeGlobalObjectReference.html
@@ -4,17 +4,17 @@
 https://bugzilla.mozilla.org/show_bug.cgi?id=914405
 
 Debugger.prototype.makeGlobalObjectReference should dereference WindowProxy
 (outer window) objects.
 -->
 <head>
   <meta charset="utf-8">
   <title>Mozilla Bug 914405</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
 const {addSandboxedDebuggerToGlobal} = ChromeUtils.import("resource://gre/modules/jsdebugger.jsm");
--- a/devtools/server/tests/mochitest/test_memory.html
+++ b/devtools/server/tests/mochitest/test_memory.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 923275 - Add a memory monitor widget to the developer toolbar
 -->
 <head>
   <meta charset="utf-8">
   <title>Memory monitoring actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="memory-helpers.js" type="application/javascript"></script>
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_memory_allocations_02.html
+++ b/devtools/server/tests/mochitest/test_memory_allocations_02.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1132764 - Test controlling the maximum allocations log length over the RDP.
 -->
 <head>
   <meta charset="utf-8">
   <title>Memory monitoring actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="memory-helpers.js" type="application/javascript"></script>
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_memory_allocations_03.html
+++ b/devtools/server/tests/mochitest/test_memory_allocations_03.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1067491 - Test that frames keep the same index while we are recording.
 -->
 <head>
   <meta charset="utf-8">
   <title>Memory monitoring actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="memory-helpers.js" type="application/javascript"></script>
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_memory_allocations_04.html
+++ b/devtools/server/tests/mochitest/test_memory_allocations_04.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1068171 - Test controlling the memory actor's allocation sampling probability.
 -->
 <head>
   <meta charset="utf-8">
   <title>Memory monitoring actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="memory-helpers.js" type="application/javascript"></script>
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_memory_allocations_05.html
+++ b/devtools/server/tests/mochitest/test_memory_allocations_05.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1068144 - Test getting the timestamps for allocations.
 -->
 <head>
   <meta charset="utf-8">
   <title>Memory monitoring actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="memory-helpers.js" type="application/javascript"></script>
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_memory_allocations_06.html
+++ b/devtools/server/tests/mochitest/test_memory_allocations_06.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1132764 - Test controlling the maximum allocations log length over the RDP.
 -->
 <head>
   <meta charset="utf-8">
   <title>Memory monitoring actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="memory-helpers.js" type="application/javascript"></script>
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_memory_allocations_07.html
+++ b/devtools/server/tests/mochitest/test_memory_allocations_07.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1192335 - Test getting the byte sizes for allocations.
 -->
 <head>
   <meta charset="utf-8">
   <title>Memory monitoring actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="memory-helpers.js" type="application/javascript"></script>
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_memory_attach_01.html
+++ b/devtools/server/tests/mochitest/test_memory_attach_01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 960671 - Test attaching and detaching from a memory actor.
 -->
 <head>
   <meta charset="utf-8">
   <title>Memory monitoring actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="memory-helpers.js" type="application/javascript"></script>
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_memory_attach_02.html
+++ b/devtools/server/tests/mochitest/test_memory_attach_02.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 960671 - Test attaching and detaching while in the wrong state.
 -->
 <head>
   <meta charset="utf-8">
   <title>Memory monitoring actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="memory-helpers.js" type="application/javascript"></script>
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_memory_census.html
+++ b/devtools/server/tests/mochitest/test_memory_census.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1067491 - Test taking a census over the RDP.
 -->
 <head>
   <meta charset="utf-8">
   <title>Memory monitoring actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="memory-helpers.js" type="application/javascript"></script>
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_memory_gc_01.html
+++ b/devtools/server/tests/mochitest/test_memory_gc_01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1067491 - Test forcing a gc.
 -->
 <head>
   <meta charset="utf-8">
   <title>Memory monitoring actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="memory-helpers.js" type="application/javascript"></script>
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_memory_gc_events.html
+++ b/devtools/server/tests/mochitest/test_memory_gc_events.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1137527 - Test receiving GC events from the memory actor.
 -->
 <head>
   <meta charset="utf-8">
   <title>Memory monitoring actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src="memory-helpers.js" type="application/javascript"></script>
 <script>
 "use strict";
 
--- a/devtools/server/tests/mochitest/test_preference.html
+++ b/devtools/server/tests/mochitest/test_preference.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 943251 - Allow accessing about:config from WebIDE
 -->
 <head>
   <meta charset="utf-8">
   <title>Test Preference Actor</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
 function runTests() {
--- a/devtools/server/tests/mochitest/test_setupInParentChild.html
+++ b/devtools/server/tests/mochitest/test_setupInParentChild.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1181100 - Test DebuggerServerConnection.setupInParent and DebuggerServer.setupInChild
 -->
 <head>
   <meta charset="utf-8">
   <title>Mozilla Bug</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script type="application/javascript">
 "use strict";
 
 const {require} = ChromeUtils.import("resource://devtools/shared/Loader.jsm");
--- a/devtools/server/tests/mochitest/test_styles-applied.html
+++ b/devtools/server/tests/mochitest/test_styles-applied.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_styles-computed.html
+++ b/devtools/server/tests/mochitest/test_styles-computed.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_styles-layout.html
+++ b/devtools/server/tests/mochitest/test_styles-layout.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html>
 <head>
 <meta charset="utf-8">
 <title>Test for Bug 1175040 - PageStyleActor.getLayout</title>
-<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 <script type="application/javascript" src="inspector-helpers.js"></script>
 <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_styles-matched.html
+++ b/devtools/server/tests/mochitest/test_styles-matched.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 const CssLogic = require("devtools/shared/inspector/css-logic");
 
 window.onload = function() {
--- a/devtools/server/tests/mochitest/test_styles-modify.html
+++ b/devtools/server/tests/mochitest/test_styles-modify.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 const {isCssPropertyKnown} = require("devtools/server/actors/css-properties");
 
 window.onload = function() {
--- a/devtools/server/tests/mochitest/test_styles-svg.html
+++ b/devtools/server/tests/mochitest/test_styles-svg.html
@@ -3,17 +3,17 @@
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=921191
 Bug 921191 - allow inspection/editing of SVG elements' CSS properties
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug </title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="inspector-helpers.js"></script>
   <script type="application/javascript">
 "use strict";
 
 window.onload = function() {
   SimpleTest.waitForExplicitFinish();
   runNextTest();
--- a/devtools/server/tests/mochitest/test_suspendTimeouts.html
+++ b/devtools/server/tests/mochitest/test_suspendTimeouts.html
@@ -4,17 +4,17 @@
 https://bugzilla.mozilla.org/show_bug.cgi?id=1426467
 
 When we use windowUtils.resumeTimeouts to resume timeouts in a window, that call
 should not immediately dispatch `onmessage` handlers for messages from workers.
 -->
 <head>
   <meta charset="utf-8">
   <title>Mozilla Bug 1426467</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script src='test_suspendTimeouts.js'></script>
 </pre>
 </body>
 </html>
--- a/devtools/server/tests/mochitest/test_unsafeDereference.html
+++ b/devtools/server/tests/mochitest/test_unsafeDereference.html
@@ -5,17 +5,17 @@ https://bugzilla.mozilla.org/show_bug.cg
 
 When we use Debugger.Object.prototype.unsafeDereference to get a non-D.O
 reference to a content object in chrome, that reference should be via an
 xray wrapper.
 -->
 <head>
   <meta charset="utf-8">
   <title>Mozilla Bug 837723</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
 const {addDebuggerToGlobal} = ChromeUtils.import("resource://gre/modules/jsdebugger.jsm");
--- a/devtools/server/tests/mochitest/test_webconsole-node-grip.html
+++ b/devtools/server/tests/mochitest/test_webconsole-node-grip.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html>
 <head>
   <meta charset="utf-8">
   <title>DOMNode Object actor test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript" src="webconsole-helpers.js"></script>
   <script>
 "use strict";
 
 const TEST_URL = "data:text/html,<html><body>Hello</body></html>";
 
 window.onload = async function() {
--- a/devtools/shared/heapsnapshot/tests/mochitest/test_DominatorTree_01.html
+++ b/devtools/shared/heapsnapshot/tests/mochitest/test_DominatorTree_01.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Sanity test that we can compute dominator trees from a heap snapshot in a web window.
 -->
 <head>
   <meta charset="utf-8">
   <title>ChromeUtils.saveHeapSnapshot test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 /* global window, ChromeUtils, DominatorTree */
 
--- a/devtools/shared/heapsnapshot/tests/mochitest/test_SaveHeapSnapshot.html
+++ b/devtools/shared/heapsnapshot/tests/mochitest/test_SaveHeapSnapshot.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 Bug 1024774 - Sanity test that we can take a heap snapshot in a web window.
 -->
 <head>
   <meta charset="utf-8">
   <title>ChromeUtils.saveHeapSnapshot test</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
 </head>
 <body>
 <pre id="test">
 <script>
 "use strict";
 
 SimpleTest.waitForExplicitFinish();
--- a/devtools/shared/qrcode/tests/mochitest/test_decode.html
+++ b/devtools/shared/qrcode/tests/mochitest/test_decode.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 Test decoding a simple message
 -->
 <head>
   <meta charset="utf-8">
   <title>Test decoding a simple message</title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript">
 window.onload = function() {
   const { require } = ChromeUtils.import("resource://devtools/shared/Loader.jsm");
 
   const QR = require("devtools/shared/qrcode/index");
 
   SimpleTest.waitForExplicitFinish();
--- a/devtools/shared/tests/mochitest/test_css-logic-getCssPath.html
+++ b/devtools/shared/tests/mochitest/test_css-logic-getCssPath.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1323700
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1323700</title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript">
 
 let { require } = ChromeUtils.import("resource://devtools/shared/Loader.jsm");
 const CssLogic = require("devtools/shared/inspector/css-logic");
 
 var _tests = [];
 function addTest(test) {
--- a/devtools/shared/tests/mochitest/test_css-logic-getXPath.html
+++ b/devtools/shared/tests/mochitest/test_css-logic-getXPath.html
@@ -2,17 +2,17 @@
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=987877
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 987877</title>
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css">
   <script type="application/javascript">
 "use strict";
 
 const { require } = ChromeUtils.import("resource://devtools/shared/Loader.jsm");
 const CssLogic = require("devtools/shared/inspector/css-logic");
 
 const _tests = [];
--- a/devtools/shared/webconsole/test/test_basics.html
+++ b/devtools/shared/webconsole/test/test_basics.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Basic Web Console Actor tests</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Basic Web Console Actor tests</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_bug819670_getter_throws.html
+++ b/devtools/shared/webconsole/test/test_bug819670_getter_throws.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for Bug 819670 - Web console object inspection does not handle native getters throwing very well</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for Bug 819670 - Web console object inspection does not handle native getters throwing very well</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_cached_messages.html
+++ b/devtools/shared/webconsole/test/test_cached_messages.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for cached messages</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for cached messages</p>
 
 <script class="testbody" type="application/javascript">
--- a/devtools/shared/webconsole/test/test_commands_other.html
+++ b/devtools/shared/webconsole/test/test_commands_other.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the other command helpers</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the querySelector / querySelectorAll helpers</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_console_assert.html
+++ b/devtools/shared/webconsole/test/test_console_assert.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html>
 <head>
   <meta charset="utf-8">
   <title>Test for console.group styling with %c</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
   <script>
 "use strict";
 
 window.onload = async function () {
   SimpleTest.waitForExplicitFinish();
--- a/devtools/shared/webconsole/test/test_console_group_styling.html
+++ b/devtools/shared/webconsole/test/test_console_group_styling.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html>
 <head>
   <meta charset="utf-8">
   <title>Test for console.group styling with %c</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
   <script>
 "use strict";
 
 const TEST_URL = "data:text/html,<html><body>Hello</body></html>";
 
--- a/devtools/shared/webconsole/test/test_console_serviceworker.html
+++ b/devtools/shared/webconsole/test/test_console_serviceworker.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the Console API and Service Workers</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the Console API and Service Workers</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_console_serviceworker_cached.html
+++ b/devtools/shared/webconsole/test/test_console_serviceworker_cached.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for getCachedMessages and Service Workers</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for getCachedMessages and Service Workers</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_console_styling.html
+++ b/devtools/shared/webconsole/test/test_console_styling.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for console.log styling with %c</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for console.log styling with %c</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_console_timestamp.html
+++ b/devtools/shared/webconsole/test/test_console_timestamp.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html>
 <head>
   <meta charset="utf-8">
   <title>Test for console.group styling with %c</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
   <script>
 "use strict";
 
 const TEST_URL = "data:text/html,<html>Test ConsoleAPI timestamp correctness";
 
--- a/devtools/shared/webconsole/test/test_console_worker.html
+++ b/devtools/shared/webconsole/test/test_console_worker.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the Console API and Workers</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the Console API and Workers</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_consoleapi.html
+++ b/devtools/shared/webconsole/test/test_consoleapi.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the Console API</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the Console API</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_consoleapi_innerID.html
+++ b/devtools/shared/webconsole/test/test_consoleapi_innerID.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the innerID property of the Console API</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the Console API</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_file_uri.html
+++ b/devtools/shared/webconsole/test/test_file_uri.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for file activity tracking</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for file activity tracking</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_jsterm.html
+++ b/devtools/shared/webconsole/test/test_jsterm.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for JavaScript terminal functionality</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for JavaScript terminal functionality</p>
 
 <iframe id="content-iframe" src="http://example.com/chrome/devtools/shared/webconsole/test/sandboxed_iframe.html"></iframe>
--- a/devtools/shared/webconsole/test/test_jsterm_autocomplete.html
+++ b/devtools/shared/webconsole/test/test_jsterm_autocomplete.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for JavaScript terminal functionality</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for JavaScript terminal autocomplete functionality</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_jsterm_cd_iframe.html
+++ b/devtools/shared/webconsole/test/test_jsterm_cd_iframe.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the cd() function</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the cd() function</p>
 
 <iframe id="content-iframe" src="http://example.com/chrome/devtools/shared/webconsole/test/sandboxed_iframe.html"></iframe>
--- a/devtools/shared/webconsole/test/test_jsterm_last_result.html
+++ b/devtools/shared/webconsole/test/test_jsterm_last_result.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the $_ getter</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the $_ getter</p>
 
 <iframe id="content-iframe" src="http://example.com/chrome/devtools/shared/webconsole/test/sandboxed_iframe.html"></iframe>
--- a/devtools/shared/webconsole/test/test_jsterm_queryselector.html
+++ b/devtools/shared/webconsole/test/test_jsterm_queryselector.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the querySelector / querySelectorAll helpers</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the querySelector / querySelectorAll helpers</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_network_get.html
+++ b/devtools/shared/webconsole/test/test_network_get.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the network actor (GET request)</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the network actor (GET request)</p>
 
 <iframe src="http://example.com/chrome/devtools/shared/webconsole/test/network_requests_iframe.html"></iframe>
--- a/devtools/shared/webconsole/test/test_network_post.html
+++ b/devtools/shared/webconsole/test/test_network_post.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the network actor (POST request)</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the network actor (POST request)</p>
 
 <iframe src="http://example.com/chrome/devtools/shared/webconsole/test/network_requests_iframe.html"></iframe>
--- a/devtools/shared/webconsole/test/test_network_security-hpkp.html
+++ b/devtools/shared/webconsole/test/test_network_security-hpkp.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the network actor (HPKP detection)</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the network actor (HPKP detection)</p>
 
 <iframe src="https://example.com/chrome/devtools/shared/webconsole/test/network_requests_iframe.html"></iframe>
--- a/devtools/shared/webconsole/test/test_network_security-hsts.html
+++ b/devtools/shared/webconsole/test/test_network_security-hsts.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the network actor (HSTS detection)</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the network actor (HSTS detection)</p>
 
 <iframe src="https://example.com/chrome/devtools/shared/webconsole/test/network_requests_iframe.html"></iframe>
--- a/devtools/shared/webconsole/test/test_nsiconsolemessage.html
+++ b/devtools/shared/webconsole/test/test_nsiconsolemessage.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for nsIConsoleMessages</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Make sure that nsIConsoleMessages are logged. See bug 859756.</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_object_actor.html
+++ b/devtools/shared/webconsole/test/test_object_actor.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the object actor</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the object actor</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_object_actor_native_getters.html
+++ b/devtools/shared/webconsole/test/test_object_actor_native_getters.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for the native getters in object actors</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the native getters in object actors</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_object_actor_native_getters_lenient_this.html
+++ b/devtools/shared/webconsole/test/test_object_actor_native_getters_lenient_this.html
@@ -1,15 +1,15 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test that WebIDL attributes with the LenientThis extended attribute
          do not appear in the wrong objects</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for the native getters in object actors</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_page_errors.html
+++ b/devtools/shared/webconsole/test/test_page_errors.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Test for page errors</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Test for page errors</p>
 
 <script class="testbody" type="text/javascript">
--- a/devtools/shared/webconsole/test/test_throw.html
+++ b/devtools/shared/webconsole/test/test_throw.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html lang="en">
 <head>
   <meta charset="utf8">
   <title>Web Console throw tests</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="text/javascript" src="common.js"></script>
   <!-- Any copyright is dedicated to the Public Domain.
      - http://creativecommons.org/publicdomain/zero/1.0/ -->
 </head>
 <body>
 <p>Web Console throw tests</p>
 
 <script class="testbody" type="text/javascript">
--- a/docshell/test/chrome/bug293235_window.xul
+++ b/docshell/test/chrome/bug293235_window.xul
@@ -11,17 +11,17 @@
   <script type="text/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js"/>
   <script type="text/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SpecialPowersObserverAPI.js"/>
   <script type="text/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/ChromePowers.js"/>
   <script type="application/javascript" src= "chrome://mochikit/content/chrome-harness.js" />
   <script type="application/javascript" src="docshell_helpers.js" />
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/WindowSnapshot.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/WindowSnapshot.js"></script>
 
   <script type="application/javascript"><![CDATA[
     const {NetUtil} = ChromeUtils.import("resource://gre/modules/NetUtil.jsm");
 
     // Define the generator-iterator for the tests.
     var tests = testIterator();
 
     ////
--- a/docshell/test/chrome/bug89419_window.xul
+++ b/docshell/test/chrome/bug89419_window.xul
@@ -9,17 +9,17 @@
         title="bug 89419 test">
 
   <script type="application/javascript" src= "chrome://mochikit/content/chrome-harness.js" />
   <script type="text/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/SpecialPowersObserverAPI.js"/>
   <script type="text/javascript"
           src="chrome://mochikit/content/tests/SimpleTest/specialpowers.js"/>
   <script type="application/javascript" src="docshell_helpers.js" />
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/WindowSnapshot.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/WindowSnapshot.js"></script>
 
   <script type="application/javascript"><![CDATA[
     // Define the generator-iterator for the tests.
     var tests = testIterator();
 
     ////
     // Execute the next test in the generator function.
     //
--- a/docshell/test/chrome/test_allowContentRetargeting.html
+++ b/docshell/test/chrome/test_allowContentRetargeting.html
@@ -1,13 +1,13 @@
 <!DOCTYPE HTML>
 <html>
 <head>
   <meta charset="utf-8">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
   <script type="application/javascript">
 
 SimpleTest.waitForExplicitFinish();
 addLoadEvent(runNextTest);
 
 var TEST_URL = "http://mochi.test:8888/tests/docshell/test/chrome/allowContentRetargeting.sjs";
 
--- a/docshell/test/chrome/test_bug428288.html
+++ b/docshell/test/chrome/test_bug428288.html
@@ -1,16 +1,16 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=428288
 -->
 <head>
   <title>Test for Bug 428288</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css" />
 </head>
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=428288">Mozilla Bug 428288</a>
 <p id="display"></p>
 <div id="content" style="display: none">
   <iframe name="target"></iframe>
   <a id="crashy" target="target" href="about:blank">crash me</a>
--- a/docshell/test/chrome/test_bug690056.xul
+++ b/docshell/test/chrome/test_bug690056.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=690056
 -->
 <window title="Mozilla Bug 690056"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=690056"
      target="_blank">Mozilla Bug 690056</a>
   </body>
 
   <!-- test code goes here -->
--- a/docshell/test/chrome/test_bug789773.xul
+++ b/docshell/test/chrome/test_bug789773.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=789773
 -->
 <window title="Mozilla Bug 789773"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=789773"
      target="_blank">Mozilla Bug 789773</a>
   </body>
 
   <!-- test code goes here -->
--- a/docshell/test/chrome/test_bug909218.html
+++ b/docshell/test/chrome/test_bug909218.html
@@ -1,13 +1,13 @@
 <!DOCTYPE HTML>
 <html>
 <head>
   <meta charset="utf-8">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
   <script type="application/javascript">
 
 SimpleTest.waitForExplicitFinish();
 addLoadEvent(test);
 
 // The default flags we will stick on the docShell - every request made by the
 // docShell should include those flags.
--- a/docshell/test/chrome/test_private_hidden_window.html
+++ b/docshell/test/chrome/test_private_hidden_window.html
@@ -1,16 +1,16 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=829383
 -->
 <head>
   <title>Test for Bug 829383</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css" />
 </head>
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=829383">Mozilla Bug 829383</a>
 <p id="display"></p>
 <div id="content" style="display: none">
   <iframe name="target"></iframe>
 </div>
--- a/docshell/test/chrome/test_viewsource_forbidden_in_iframe.xul
+++ b/docshell/test/chrome/test_viewsource_forbidden_in_iframe.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/css" href="chrome://global/skin/"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=624883
 -->
 <window title="Mozilla Bug 624883"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js" />
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=624883"
      target="_blank">Mozilla Bug 624883</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug120684.xul
+++ b/dom/base/test/chrome/test_bug120684.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=120684
 -->
 <window title="Mozilla Bug 120684"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=120684"
      target="_blank">Mozilla Bug 120684</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug1209621.xul
+++ b/dom/base/test/chrome/test_bug1209621.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1209621
 -->
 <window title="Mozilla Bug 1209621"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1209621"
      target="_blank">Mozilla Bug 1209621</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug1339722.html
+++ b/dom/base/test/chrome/test_bug1339722.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1339722
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 1339722</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://global/skin"/>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
   <script type="application/javascript">
 
   /**
    * Test for Bug 1339722
    * 1. Wait for "http-on-useragent-request" for the iframe load.
    * 2. In the observer, access it's window proxy to trigger DOMWindowCreated.
--- a/dom/base/test/chrome/test_bug1346936.html
+++ b/dom/base/test/chrome/test_bug1346936.html
@@ -1,16 +1,16 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1346936
 -->
 <head>
   <title>Test for Bug 1346936</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript"  src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
 </head>
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1346936">Mozilla Bug 1346936</a>
 <style type="text/css">
 #link1 a { -moz-user-select:none; }
 </style>
--- a/dom/base/test/chrome/test_bug289714.xul
+++ b/dom/base/test/chrome/test_bug289714.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=289714
 -->
 <window title="Mozilla Bug 289714"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=289714"
      target="_blank">Mozilla Bug 289714</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug339494.xul
+++ b/dom/base/test/chrome/test_bug339494.xul
@@ -3,17 +3,17 @@
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=339494
 -->
 <window title="Mozilla Bug 339494"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
   xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 
 <body  xmlns="http://www.w3.org/1999/xhtml">
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=339494">Mozilla Bug 339494</a>
 <p id="display"></p>
 <div id="content" style="display: none">
   <xul:hbox id="d"/>
   <xul:hbox id="s"/>
 </div>
--- a/dom/base/test/chrome/test_bug380418.html
+++ b/dom/base/test/chrome/test_bug380418.html
@@ -1,14 +1,14 @@
 <!DOCTYPE HTML>
 <html>
 <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=380418 -->
 <head>
   <title>Test for Bug 380418</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css" />
 </head>
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=380418">Mozilla Bug 380418</a>
 <p id="display"></p>
 <div id="content" style="display: none">
 
 </div>
--- a/dom/base/test/chrome/test_bug383430.html
+++ b/dom/base/test/chrome/test_bug383430.html
@@ -1,16 +1,16 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=383430
 -->
 <head>
   <title>Test for Bug 383430</title>
-  <script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css" />
 </head>
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=383430">Mozilla Bug 383430</a>
 <p id="display"></p>
 <div id="content" style="display: none">
   
 </div>
--- a/dom/base/test/chrome/test_bug429785.xul
+++ b/dom/base/test/chrome/test_bug429785.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=429785
 -->
 <window title="Mozilla Bug 429785"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=429785"
      target="_blank">Mozilla Bug 429785</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug571390.xul
+++ b/dom/base/test/chrome/test_bug571390.xul
@@ -2,17 +2,17 @@
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=571390
 -->
 <window title="Mozilla Bug 571390"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         class="foo bar">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=571390"
      target="_blank">Mozilla Bug 571390</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug682305.html
+++ b/dom/base/test/chrome/test_bug682305.html
@@ -1,16 +1,16 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=682305
 -->
 <head>
   <title>XMLHttpRequest send and channel implemented in JS</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript"  src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
 </head>
 <body>
 <a target="_blank"
    href="https://bugzilla.mozilla.org/show_bug.cgi?id=682305">Mozilla Bug 682305</a>
 <p id="display"></p>
 <div id="content" style="display: none">
--- a/dom/base/test/chrome/test_bug683852.xul
+++ b/dom/base/test/chrome/test_bug683852.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=683852
 -->
 <window title="Mozilla Bug 683852"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
   <button value="testbutton" id="testbutton"/>
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=683852"
      target="_blank" id="link">Mozilla Bug 683852</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug752226-3.xul
+++ b/dom/base/test/chrome/test_bug752226-3.xul
@@ -2,17 +2,17 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=752226
 -->
 <window title="Mozilla Bug 752226"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=752226"
      target="_blank">Mozilla Bug 752226</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug752226-4.xul
+++ b/dom/base/test/chrome/test_bug752226-4.xul
@@ -2,17 +2,17 @@
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css"
                  type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=752226
 -->
 <window title="Mozilla Bug 752226"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=752226"
      target="_blank">Mozilla Bug 752226</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug765993.html
+++ b/dom/base/test/chrome/test_bug765993.html
@@ -1,16 +1,16 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=765993
 -->
 <head>
   <title>Test for Bug 765993</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <script type="application/javascript"  src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
 </head>
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=765993">Mozilla Bug 765993</a>
 <style type="text/css">
 #link1 a { -moz-user-select:none; }
 </style>
--- a/dom/base/test/chrome/test_bug780199.xul
+++ b/dom/base/test/chrome/test_bug780199.xul
@@ -2,17 +2,17 @@
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=780199
 -->
 <window title="Mozilla Bug 780199"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         onload="test()">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=780199"
      target="_blank">Mozilla Bug 780199</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug780529.xul
+++ b/dom/base/test/chrome/test_bug780529.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=780529
 -->
 <window title="Mozilla Bug 780529"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=780529"
      target="_blank">Mozilla Bug 780529</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug800386.xul
+++ b/dom/base/test/chrome/test_bug800386.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=800386
 -->
 <window title="Mozilla Bug 800386"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=800386"
      target="_blank">Mozilla Bug 800386</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug814638.xul
+++ b/dom/base/test/chrome/test_bug814638.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=814638
 -->
 <window title="Mozilla Bug 814638"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=814638"
      target="_blank" id="link">Mozilla Bug 814638</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug884693.xul
+++ b/dom/base/test/chrome/test_bug884693.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=884693
 -->
 <window title="Mozilla Bug 884693"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=884693"
      target="_blank">Mozilla Bug 884693</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_bug914381.html
+++ b/dom/base/test/chrome/test_bug914381.html
@@ -1,17 +1,17 @@
 <!DOCTYPE HTML>
 <html>
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=650776
 -->
 <head>
   <meta charset="utf-8">
   <title>Test for Bug 914381</title>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
   <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/>
 </head>
 <body>
 <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=914381">Mozilla Bug 914381</a>
 <p id="display"></p>
 <div id="content" style="display: none">
 </div>
 <pre id="test">
--- a/dom/base/test/chrome/test_chromeOuterWindowID.xul
+++ b/dom/base/test/chrome/test_chromeOuterWindowID.xul
@@ -4,18 +4,18 @@
 <!--
 https://bugzilla.mozilla.org/show_bug.cgi?id=1474662
 Test that the chromeOuterWindowID on the MessageManager interface
 works, and that it properly updates when swapping frameloaders between
 windows.
 -->
 <window title="Mozilla Bug 1474662"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/AddTask.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/AddTask.js"></script>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1474662"
      target="_blank">Mozilla Bug 1474662</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_domparsing.xul
+++ b/dom/base/test/chrome/test_domparsing.xul
@@ -1,14 +1,14 @@
 <?xml version="1.0"?>
 <?xml-stylesheet href="chrome://global/skin" type="text/css"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <window title="Test for the Mozilla extesion of the DOM Parsing and Serialization API"
   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"/>
 
   <!-- test results are displayed in the html:body -->
   <body xmlns="http://www.w3.org/1999/xhtml">
   <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=816410"
      target="_blank">Mozilla Bug 816410</a>
   </body>
 
   <!-- test code goes here -->
--- a/dom/base/test/chrome/test_getElementsWithGrid.html
+++ b/dom/base/test/chrome/test_getElementsWithGrid.html
@@ -1,13 +1,13 @@
 <!doctype html>
 <html id="root" class="g">
 <head>
 <meta charset="utf-8">
-<script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css" />
 <style>
 .no-match {
   display: block;
 }
 .g {
   display: grid;
 }
--- a/dom/base/test/chrome/test_permission_isHandlingUserInput.xul
+++ b/dom/base/test/chrome/test_permission_isHandlingUserInput.xul
@@ -1,17 +1,17 @@
 <?xml version="1.0"?>
 <?xml-stylesheet type="text/css" href="chrome://global/skin"?>
 <?xml-stylesheet href="chrome://mochikit/content/tests/SimpleTest/test.css" type="text/css"?>
 <!--
   Tests that the isHandlingUserInput attribute on permission requests is set correctly.
 -->
 <window title="isHandlingUserInput test" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
-  <script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+  <script src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script>
 
   <body xmlns="http://www.w3.org/1999/xhtml">
     <iframe id="frame" src="https://example.com/chrome/dom/base/test/chrome/dummy.html" />
   </body>
 
   <script type="application/javascript">
   <![CDATA[
   const {Integration} = ChromeUtils.import("resource://gre/modules/Integration.jsm");
--- a/dom/base/test/chrome/test_range_getClientRectsAndTexts.html
+++ b/dom/base/test/chrome/test_range_getClientRectsAndTexts.html
@@ -1,12 +1,12 @@
 <html>
 <head>
 <meta charset="utf-8">
-<script type="text/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
+<script src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
 <link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css" />
 <script>
 "use strict";
 
 SimpleTest.waitForExplicitFinish();