| Index: LayoutTests/http/tests/serviceworker/resources/cache-put-worker.js
|
| diff --git a/LayoutTests/http/tests/serviceworker/resources/cache-put-worker.js b/LayoutTests/http/tests/serviceworker/resources/cache-put-worker.js
|
| index b877c9976960580c566cdaa3706a743b460f8f57..c8af0230afdbfccacff3f24df3197f926b15dae6 100644
|
| --- a/LayoutTests/http/tests/serviceworker/resources/cache-put-worker.js
|
| +++ b/LayoutTests/http/tests/serviceworker/resources/cache-put-worker.js
|
| @@ -102,9 +102,9 @@ cache_test(function(cache) {
|
| return cache.match(test_url);
|
| })
|
| .then(function(result) {
|
| - assert_object_equals(result, response,
|
| - 'Cache.put should update the cache with ' +
|
| - 'new request and response.');
|
| + assert_equals(result.status, 200, 'Cache.put should store status.');
|
| + assert_equals(result.headers.get('Content-Type'), 'text/plain',
|
| + 'Cache.put should store headers.');
|
| return result.text();
|
| })
|
| .then(function(body) {
|
|
|