| Index: third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js
|
| index 92ccdd6fa936ce7de68cf1bd036eb4796230e336..64078f95386d1b2089a18bb2514949f26f23e6e9 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network-test.js
|
| @@ -124,6 +124,14 @@ InspectorTest.makeFetch = function(url, requestInitializer, callback)
|
| InspectorTest.callFunctionInPageAsync("makeFetch", [url, requestInitializer]).then(callback);
|
| }
|
|
|
| +InspectorTest.clearNetworkCache = function(finishedCallback)
|
| +{
|
| + // This turns cache off and then on, effectively clearning the cache.
|
| + var networkAgent = InspectorTest.NetworkAgent;
|
| + networkAgent.setCacheDisabled(true, networkAgent.setCacheDisabled.bind(
|
| + networkAgent, false, finishedCallback));
|
| +}
|
| +
|
| InspectorTest.HARPropertyFormatters = {
|
| bodySize: "formatAsTypeName",
|
| compression: "formatAsTypeName",
|
|
|