Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/network-memory-cached-resource.html

Issue 2748463002: Split header modification out of willSendRequest
Patch Set: bug fix Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/network/network-memory-cached-resource.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-memory-cached-resource.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-memory-cached-resource.html
index ad7200f0ef2d72d0bf831af2bd0f5378c997da62..10ad8e847c9bc84cf1a070135be77cc2f915bc96 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-memory-cached-resource.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-memory-cached-resource.html
@@ -34,6 +34,11 @@ function test()
function step2()
{
+ InspectorTest.NetworkAgent.setCacheDisabled(false, step3);
+ }
+
+ function step3()
+ {
InspectorTest.evaluateInPage("attachIframe()");
}
@@ -42,19 +47,9 @@ function test()
if (!finished && findResource(/abe\.png/, 200, false) && findResource(/abe\.png/, 200, true)) {
finished = true;
InspectorTest.addResult("Memory-cached resource found.");
- step3();
+ InspectorTest.completeTest();
}
}
-
- function step3()
- {
- InspectorTest.NetworkAgent.setCacheDisabled(false, step4);
- }
-
- function step4(msg)
- {
- InspectorTest.completeTest();
- }
}
</script>
</head>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorInstrumentation.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698