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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/network/network-filters.html

Issue 2505653002: [Devtools] Added "is:from-cache" filter to network (Closed)
Patch Set: Merge remote-tracking branch 'origin/master' into IS_FROM_CACHE Created 4 years, 1 month 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/LayoutTests/http/tests/inspector/network/network-filters-expected.txt » ('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-filters.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-filters.html b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-filters.html
index dcc93600ae67dc26a391a0d8fff03885e46b8ec8..71805962693c3dc39bdfe93fc56f105008160c23 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-filters.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/network/network-filters.html
@@ -9,8 +9,11 @@ function test()
var totalResourceCount = 4;
InspectorTest.makeFetch("resources/style.css", {}, ensureAllResources);
- InspectorTest.makeFetch("resources/abe.png", {}, ensureAllResources);
- InspectorTest.makeFetch("resources/abe.png", {}, ensureAllResources);
+ InspectorTest.makeFetch("resources/abe.png", {}, () => {
+ // Ensures result is cached.
+ InspectorTest.makeFetch("resources/abe.png", {}, ensureAllResources);
+ ensureAllResources();
+ });
InspectorTest.makeFetch("missing/foo.bar", {}, ensureAllResources);
var filterChecks = [{
filterText: "-.css",
@@ -45,6 +48,12 @@ function test()
}, {
filterText: "-missing",
isRegex: false
+ }, {
+ filterText: "is:from-cache",
+ isRegex: false
+ }, {
+ filterText: "-is:from-cache",
+ isRegex: false
}];
var resourceCount = 0;
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/network/network-filters-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698