Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / cache / stopped-revalidation.html
blobb8d90fa984696bedfc6baa2fc3ea694ce2ae438a
1 <body>
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.waitUntilDone();
8 function setNetworkEnabled(state)
10 var req = new XMLHttpRequest;
11 req.open("GET", "/resources/network-simulator.php?command=" + (state ? "connect" : "disconnect"), false);
12 req.send("");
15 setNetworkEnabled(true);
17 function test()
19 location='resources/stopped-revalidation-result.html';
21 setTimeout(function() {
22 var img = document.getElementsByTagName("img")[0];
23 document.body.removeChild(img);
24 img = document.createElement("img");
25 img.style.display = "none";
26 img.src = "resources/compass-no-cache.jpg";
27 document.body.appendChild(img);
28 img.style.display = "inline";
29 }, 0);
31 </script>
32 <img src="resources/compass-no-cache.jpg" onload="test()">
33 </body>