| Index: third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-add.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-add.js b/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-add.js
|
| index c3fa2d0d1e4446a9cdf1e8e0af265aceca095cb7..c3039b13deab2dc01b8b7b831fd4f9440cc9c25d 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-add.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/cachestorage/script-tests/cache-add.js
|
| @@ -103,6 +103,23 @@ cache_test(function(cache, test) {
|
| return promise_rejects(
|
| test,
|
| new TypeError(),
|
| + cache.add('../resources/fetch-status.php?status=206'),
|
| + 'Cache.add should reject on partial response');
|
| + }, 'Cache.add with request that results in a status of 206');
|
| +
|
| +cache_test(function(cache, test) {
|
| + return promise_rejects(
|
| + test,
|
| + new TypeError(),
|
| + cache.addAll(['../resources/simple.txt',
|
| + '../resources/fetch-status.php?status=206']),
|
| + 'Cache.addAll should reject on partial response');
|
| + }, 'Cache.addAll with request that results in a status of 206');
|
| +
|
| +cache_test(function(cache, test) {
|
| + return promise_rejects(
|
| + test,
|
| + new TypeError(),
|
| cache.addAll(),
|
| 'Cache.addAll with no arguments should throw TypeError.');
|
| }, 'Cache.addAll with no arguments');
|
|
|