Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / file-reader-with-network-panel.html
index 04241b6..b727b84 100644 (file)
@@ -24,8 +24,9 @@ function test()
 
     function messageAdded(payload)
     {
-        InspectorTest.addResult("requests in the network panel: " + WebInspector.inspectorView.panel("network").requests.length);
-        InspectorTest.assertTrue(WebInspector.inspectorView.panel("network").requests.length == 0, "Blob load request to the browser is shown in the network panel.");
+        var requests = InspectorTest.networkRequests();
+        InspectorTest.addResult("requests in the network panel: " + requests.length);
+        InspectorTest.assertTrue(requests.length == 0, "Blob load request to the browser is shown in the network panel.");
         InspectorTest.completeTest();
     }
 }