Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1164)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/dont-load-unknown-type.html

Issue 2479703003: Stop preloading scripts that have invalid type/language attributes (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/dont-load-unknown-type.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/dont-load-unknown-type.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/dont-load-unknown-type.html
index f30c82ec9a189006fe718faa6578bbbd6197b9e8..027ac31a1a7ab9033efda664f2a6be5bd0c8b12f 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/dont-load-unknown-type.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLScriptElement/dont-load-unknown-type.html
@@ -2,12 +2,7 @@
<script>
if (window.testRunner) {
testRunner.dumpAsText();
-
- // FIXME: Fetch test is disabled for now.
- // In the current Blink implementation, HTMLPreloadScanner may fetch srcs even though they are invalid.
- // The current HTMLPreloadScanner does not check if the script tag has valid type/language attribute.
- // See crbug.com/329531 for the current status.
- // testRunner.dumpResourceResponseMIMETypes();
+ testRunner.dumpResourceResponseMIMETypes();
}
function fail(str) {

Powered by Google App Engine
This is Rietveld 408576698