3 <script src=
"../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../http/tests/inspector/network-test.js"></script>
8 var reader
= new FileReader();
9 reader
.onloadend = function () {
12 reader
.readAsArrayBuffer(new Blob([ '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();
31 <body onload=
"runTest()">
32 <p>Tests that FileReader's Blob request isn't shown in network panel.
</p>