Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / preloader / noscript.html
blob5f19443b20216b7b1663dcab37e16f718cc510d5
1 <body>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
6 window.addEventListener('DOMContentLoaded', function() {
7 if (window.internals) {
8 var success = !internals.isPreloaded("resources/noscript-image1.png") && internals.isPreloaded("resources/noscript-image2.png");
9 console.log(success ? "PASS" : "FAIL");
11 }, false);
12 </script>
13 This test requires DumpRenderTree to see the log of what resources are loaded.
14 It checks that images inside a noscript block are not loaded.
15 <script src=resources/non-existant.js></script>
16 <script>document.write("<plaintext>");</script>
17 <noscript>
18 <img src="resources/noscript-image1.png">
19 </noscript>
20 <img src="resources/noscript-image2.png">