Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / permissionclient / image-permissions.html
blob19930eb1378559b028fd5bb1e6d9f81f5ff988c4
1 <!DOCTYPE html>
2 <script src="/js-test-resources/js-test.js"></script>
3 <body>
4 <script>
5 description("This test checks that all URLs in a redirect chain are passed to the PermissionClient.");
6 window.jsTestIsAsync = true;
8 if (window.testRunner)
9 testRunner.dumpPermissionClientCallbacks();
11 var img = new Image();
12 img.src = "http://127.0.0.1:8000/permissionclient/resources/redir.php?url=http://127.0.0.1:8000/permissionclient/resources/boston.gif";
13 img.onerror = function() { testFailed('error event for image'); finishJSTest(); };
14 img.onload = function() { finishJSTest(); };
15 document.body.appendChild(img);
16 </script>