| Index: third_party/WebKit/LayoutTests/http/tests/inspector/network/har-content.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/har-content.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/har-content.html
|
| index 97bd77464f49d4d1890a6335d478621399715bd4..671548596c61270a26a75c00ade6e07a6f971742 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/har-content.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/har-content.html
|
| @@ -7,12 +7,19 @@
|
| <script>
|
| var test = function()
|
| {
|
| - function step1()
|
| + InspectorTest.NetworkAgent.setCacheDisabled(true, sendCSSRequest);
|
| +
|
| + function sendCSSRequest()
|
| {
|
| - InspectorTest.makeSimpleXHR("GET", "resources/binary.data", false, step2);
|
| + InspectorTest.makeSimpleXHR("GET", "resources/initiator.css", false, sendBinaryRequest);
|
| }
|
|
|
| - function step2()
|
| + function sendBinaryRequest()
|
| + {
|
| + InspectorTest.makeSimpleXHR("GET", "resources/binary.data", false, makeHAR);
|
| + }
|
| +
|
| + function makeHAR()
|
| {
|
| var writer = new Network.HARWriter();
|
| var stream = new InspectorTest.StringOutputStream(onSaved);
|
| @@ -59,8 +66,6 @@ var test = function()
|
| InspectorTest.addResult("FAIL: can't find resource for " + regexp);
|
| return null;
|
| }
|
| -
|
| - InspectorTest.makeSimpleXHR("GET", "resources/initiator.css", false, step1);
|
| }
|
| </script>
|
|
|
|
|