diff --git a/browser/base/content/test/general/file_trackingUI_6.html b/browser/base/content/test/general/file_trackingUI_6.html index a0fd3054b4f1..52e1ae63ffd7 100644 --- a/browser/base/content/test/general/file_trackingUI_6.html +++ b/browser/base/content/test/general/file_trackingUI_6.html @@ -6,7 +6,7 @@

Hello there!

- - + diff --git a/devtools/client/storage/test/storage-cookies-samesite.html b/devtools/client/storage/test/storage-cookies-samesite.html index c14e2c67a839..ca91e1fb59c3 100644 --- a/devtools/client/storage/test/storage-cookies-samesite.html +++ b/devtools/client/storage/test/storage-cookies-samesite.html @@ -5,7 +5,7 @@ Storage inspector cookie samesite test - + diff --git a/dom/browser-element/mochitest/test_browserElement_inproc_LoadEvents.html b/dom/browser-element/mochitest/test_browserElement_inproc_LoadEvents.html index 7f4a296c632f..3370ff87419f 100644 --- a/dom/browser-element/mochitest/test_browserElement_inproc_LoadEvents.html +++ b/dom/browser-element/mochitest/test_browserElement_inproc_LoadEvents.html @@ -12,7 +12,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=710231 Mozilla Bug 710231 - + diff --git a/dom/browser-element/mochitest/test_browserElement_oop_ExposableURI.html b/dom/browser-element/mochitest/test_browserElement_oop_ExposableURI.html index 8e0bc2894ba8..089e5db4427d 100644 --- a/dom/browser-element/mochitest/test_browserElement_oop_ExposableURI.html +++ b/dom/browser-element/mochitest/test_browserElement_oop_ExposableURI.html @@ -12,7 +12,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=795317 Mozilla Bug 795317 - + diff --git a/dom/browser-element/mochitest/test_browserElement_oop_LoadEvents.html b/dom/browser-element/mochitest/test_browserElement_oop_LoadEvents.html index 2cb3c30bdedc..c6daf805e1b7 100644 --- a/dom/browser-element/mochitest/test_browserElement_oop_LoadEvents.html +++ b/dom/browser-element/mochitest/test_browserElement_oop_LoadEvents.html @@ -12,7 +12,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=710231 Mozilla Bug 710231 - + diff --git a/dom/html/HTMLScriptElement.cpp b/dom/html/HTMLScriptElement.cpp index aa2fb9765260..28fd21572dac 100644 --- a/dom/html/HTMLScriptElement.cpp +++ b/dom/html/HTMLScriptElement.cpp @@ -171,20 +171,9 @@ HTMLScriptElement::SetText(const nsAString& aValue, ErrorResult& aRv) // need to be transfered when modifying bool -HTMLScriptElement::GetScriptType(nsAString& aType) +HTMLScriptElement::GetScriptType(nsAString& type) { - nsAutoString type; - if (!GetAttr(kNameSpaceID_None, nsGkAtoms::type, type)) { - return false; - } - - // ASCII whitespace https://infra.spec.whatwg.org/#ascii-whitespace: - // U+0009 TAB, U+000A LF, U+000C FF, U+000D CR, or U+0020 SPACE. - static const char kASCIIWhitespace[] = "\t\n\f\r "; - type.Trim(kASCIIWhitespace); - - aType.Assign(type); - return true; + return GetAttr(kNameSpaceID_None, nsGkAtoms::type, type); } void diff --git a/dom/html/test/test_checked.html b/dom/html/test/test_checked.html index eb021ea3df08..a445106234f7 100644 --- a/dom/html/test/test_checked.html +++ b/dom/html/test/test_checked.html @@ -26,7 +26,7 @@ and
-
   
   
-  
   
   
-  
   
diff --git a/dom/tests/mochitest/script/test_whitespace.html b/dom/tests/mochitest/script/test_whitespace.html
deleted file mode 100644
index b59a929f1598..000000000000
--- a/dom/tests/mochitest/script/test_whitespace.html
+++ /dev/null
@@ -1,31 +0,0 @@
-
-
-
-  Test for ScriptLoader and type with whitespaces
-  
-  
-
-
-
-
-
-
-
diff --git a/dom/xbl/test/test_bug389322.xhtml b/dom/xbl/test/test_bug389322.xhtml
index c81e11143a5d..4b80346bd275 100644
--- a/dom/xbl/test/test_bug389322.xhtml
+++ b/dom/xbl/test/test_bug389322.xhtml
@@ -105,13 +105,21 @@ function report(testName, success) {
 }
 ]]>
 
+
 
 
diff --git a/layout/style/test/bug453896_iframe.html b/layout/style/test/bug453896_iframe.html index 5a1f9e5b378c..bca68c7e7ac1 100644 --- a/layout/style/test/bug453896_iframe.html +++ b/layout/style/test/bug453896_iframe.html @@ -5,7 +5,7 @@ Bug 453896 Test middle frame - + + + + + + + + + + + diff --git a/toolkit/components/telemetry/Histograms.json b/toolkit/components/telemetry/Histograms.json index 8d0255ae4161..7bbd0ebc6992 100644 --- a/toolkit/components/telemetry/Histograms.json +++ b/toolkit/components/telemetry/Histograms.json @@ -13862,6 +13862,14 @@ "description": "Amount of time in milliseconds the main thread spends waiting for the paint thread to complete, if the time was greater than 200us.", "bug_numbers": [1386968] }, + "SCRIPT_LOADED_WITH_VERSION": { + "record_in_processes": ["main", "content"], + "alert_emails": ["amarchesini@mozilla.com"], + "bug_numbers": [1418860], + "expires_in_version": "60", + "kind": "boolean", + "description": "Tracking how often scripts are loaded with a 'valid' version parameter. This telemetry ID helps us to decide if and when remove the support of script versioning." + }, "STYLO_PARALLEL_RESTYLE_FRACTION": { "record_in_processes": ["content"], "alert_emails": ["manish@mozilla.com"], diff --git a/uriloader/exthandler/tests/mochitest/download_page.html b/uriloader/exthandler/tests/mochitest/download_page.html index 5837eeabda99..f02380f854c5 100644 --- a/uriloader/exthandler/tests/mochitest/download_page.html +++ b/uriloader/exthandler/tests/mochitest/download_page.html @@ -5,7 +5,7 @@ Test page for link clicking -