aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/service-workers/cache-storage/script-tests/cache-match.js
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-09-17 17:35:48 +0200
committerMs2ger <Ms2ger@gmail.com>2015-09-17 18:32:13 +0200
commit163009575ad2562e9bae56a1201be6577d9fea8d (patch)
tree424b61368ef6c4f82c6c96b114754bba0b247e59 /tests/wpt/web-platform-tests/service-workers/cache-storage/script-tests/cache-match.js
parentd504015496f4c4ae6c1b2061c1c6f92d3ac47115 (diff)
downloadservo-163009575ad2562e9bae56a1201be6577d9fea8d.tar.gz
servo-163009575ad2562e9bae56a1201be6577d9fea8d.zip
Update web-platform-tests to revision 71a0d51d14d8b0f1b53cda3a7d39ef8765164485
Diffstat (limited to 'tests/wpt/web-platform-tests/service-workers/cache-storage/script-tests/cache-match.js')
-rw-r--r--tests/wpt/web-platform-tests/service-workers/cache-storage/script-tests/cache-match.js30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/wpt/web-platform-tests/service-workers/cache-storage/script-tests/cache-match.js b/tests/wpt/web-platform-tests/service-workers/cache-storage/script-tests/cache-match.js
index c32f3aabbdd..02cf6cf5fb6 100644
--- a/tests/wpt/web-platform-tests/service-workers/cache-storage/script-tests/cache-match.js
+++ b/tests/wpt/web-platform-tests/service-workers/cache-storage/script-tests/cache-match.js
@@ -64,18 +64,6 @@ var simple_entries = [
name: 'cat_in_the_hat',
request: new Request('http://example.com/cat/in/the/hat'),
response: new Response('')
- },
-
- {
- name: 'secret_cat',
- request: new Request('http://tom:jerry@example.com/cat'),
- response: new Response('')
- },
-
- {
- name: 'top_secret_cat',
- request: new Request('http://tom:j3rry@example.com/cat'),
- response: new Response('')
}
];
@@ -279,24 +267,6 @@ prepopulated_cache_test(simple_entries, function(cache, entries) {
});
}, 'Cache.match with string fragment "http" as query');
-prepopulated_cache_test(simple_entries, function(cache, entries) {
- return cache.matchAll(entries.secret_cat.request.url)
- .then(function(result) {
- assert_response_array_equivalent(
- result, [entries.secret_cat.response],
- 'Cache.matchAll should not ignore embedded credentials');
- });
- }, 'Cache.matchAll with URL containing credentials');
-
-prepopulated_cache_test(simple_entries, function(cache, entries) {
- return cache.match(entries.secret_cat.request.url)
- .then(function(result) {
- assert_response_equals(
- result, entries.secret_cat.response,
- 'Cache.match should not ignore embedded credentials');
- });
- }, 'Cache.match with URL containing credentials');
-
prepopulated_cache_test(vary_entries, function(cache, entries) {
return cache.matchAll('http://example.com/c')
.then(function(result) {