Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / fileapi / blob-url-in-subframe.html
blobc1c1c57b2f1b73c9245fc3d89ed69d9ce78aac86
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <script src="/js-test-resources/js-test.js"></script>
6 </head>
7 <body>
8 <script>
9 window.jsTestIsAsync = true;
11 description("Verify that a blob URL can be used as subframe source.");
13 req = new XMLHttpRequest;
14 req.open("GET", "resources/blob-url-in-subframe-frame.html", true);
15 req.responseType = "blob";
16 req.onload = didLoad;
17 req.send();
19 function didLoad()
21 var ifr = document.createElement("iframe");
22 ifr.setAttribute("src", URL.createObjectURL(req.response));
23 document.body.appendChild(ifr);
26 </script>
27 </body>
28 </html>