| Index: third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-storage-match.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-storage-match.js b/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-storage-match.js
|
| index b7140823a473acfbf11e68f82cd97851209a7837..2102d78f079a03052f17d639a7bd1262c005eab0 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-storage-match.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-storage-match.js
|
| @@ -110,11 +110,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) {
|
|
|