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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/cachestorage/serviceworker/ignore-search-with-credentials.html

Issue 2790143003: Cache Storage API tests: Fix WPT test bugs, remove redundant local copies (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>Cache Storage: ignore search with credentials</title> 2 <title>Cache Storage: ignore search with credentials</title>
3 <script src="/resources/testharness.js"></script> 3 <script src="/resources/testharness.js"></script>
4 <script src="/resources/testharnessreport.js"></script> 4 <script src="/resources/testharnessreport.js"></script>
5 <script src="../resources/test-helpers.js"></script>
6 <script src="../../serviceworker/resources/test-helpers.js"></script> 5 <script src="../../serviceworker/resources/test-helpers.js"></script>
7 <script> 6 <script>
8 7
9 function remove_query(url_string) { 8 function remove_query(url_string) {
10 return url_string.split('?')[0]; 9 return url_string.split('?')[0];
11 } 10 }
12 11
13 function find_request_object(cache, str) { 12 function find_request_object(cache, str) {
14 return cache.keys() 13 return cache.keys()
15 .then(function(requests) { 14 .then(function(requests) {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 .then(function(result) { 84 .then(function(result) {
86 assert_true(result); 85 assert_true(result);
87 return cache.matchAll(request, { ignoreSearch : true }); 86 return cache.matchAll(request, { ignoreSearch : true });
88 }) 87 })
89 .then(function(results) { 88 .then(function(results) {
90 assert_equals(results.length, 0); 89 assert_equals(results.length, 0);
91 }); 90 });
92 }); 91 });
93 92
94 </script> 93 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698