Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / loading / resources / preload-img-test-iframe.html
blob496f02069e5ffed16bfdab8eb6931b50b68adfac
1 <!--
2 Running slow external script forces preloader to run for tokens below.
3 FIXME: remove this after https://crbug.com/421300 is closed.
4 -->
5 <script type="text/javascript" src="/resources/slow-script.pl?delay=500"></script>
7 <script>
8 function onimgload() {
9 if (window.internals) {
10 var preloaded = internals.isPreloaded('/resources/network-simulator.php?command=increase-resource-count&path=/loading/resources/preload-test.jpg') ? "TRUE" : "FALSE";
11 window.parent.postMessage('Image was preloaded: '+preloaded, '*');
13 window.parent.postMessage('imgload', '*');
15 </script>
16 <img src="/resources/network-simulator.php?command=increase-resource-count&path=/loading/resources/preload-test.jpg" onerror="window.parent.postMessage('imgerror', '*')" onload="onimgload()">