Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / file-reader-with-network-panel.html
blob2977932a16afca5bab7045e905137e3776130229
1 <html>
2 <head>
3 <script src="../http/tests/inspector/inspector-test.js"></script>
4 <script src="../http/tests/inspector/network-test.js"></script>
5 <script>
6 function readBlob()
8 var reader = new FileReader();
9 reader.onloadend = function () {
10 console.log('done');
12 reader.readAsArrayBuffer(new Blob([ 'test' ]));
15 function test()
17 InspectorTest.addConsoleSniffer(messageAdded);
18 InspectorTest.evaluateInPage("readBlob();");
20 function messageAdded(payload)
22 var requests = InspectorTest.networkRequests();
23 InspectorTest.addResult("requests in the network panel: " + requests.length);
24 InspectorTest.assertTrue(requests.length == 0, "Blob load request to the browser is shown in the network panel.");
25 InspectorTest.completeTest();
29 </script>
30 </head>
31 <body onload="runTest()">
32 <p>Tests that FileReader's Blob request isn't shown in network panel.</p>
33 </body>
34 </html>