mirror of
https://github.com/servo/servo.git
synced 2025-08-17 11:25:35 +01:00
Update web-platform-tests to revision bda2059150dca8ab47f088b4cc619fcdc1f262fa
This commit is contained in:
parent
3535f3f6c2
commit
7c4281f3da
182 changed files with 7692 additions and 1042 deletions
|
@ -111,11 +111,9 @@ promise_test(function(test) {
|
|||
return self.caches.match(transaction.request, {cacheName: 'foo'});
|
||||
})
|
||||
.then(function(response) {
|
||||
assert_unreached('The match with bad cache name should reject.');
|
||||
})
|
||||
.catch(function(err) {
|
||||
assert_equals(err.name, 'NotFoundError',
|
||||
'The match should reject with NotFoundError.');
|
||||
assert_equals(response, undefined,
|
||||
'The match with bad cache name should resolve to ' +
|
||||
'undefined.');
|
||||
return self.caches.has('foo');
|
||||
})
|
||||
.then(function(has_foo) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue