Index: LayoutTests/http/tests/cachestorage/script-tests/cache-match.js |
diff --git a/LayoutTests/http/tests/cachestorage/script-tests/cache-match.js b/LayoutTests/http/tests/cachestorage/script-tests/cache-match.js |
index 69f219c49216dea100c52fa86edbd2af64ed9e48..b5e5a8c04630e0085d7ea06829a3567b4e5159bb 100644 |
--- a/LayoutTests/http/tests/cachestorage/script-tests/cache-match.js |
+++ b/LayoutTests/http/tests/cachestorage/script-tests/cache-match.js |
@@ -145,8 +145,8 @@ prepopulated_cache_test(simple_entries, function(cache, entries) { |
prepopulated_cache_test(simple_entries, function(cache, entries) { |
return cache.matchAll(entries.a.request.url) |
.then(function(result) { |
- assert_array_objects_equals(result, [entries.a.response], |
- 'Cache.matchAll should match by URL.'); |
+ assert_array_equivalent(result, [entries.a.response], |
+ 'Cache.matchAll should match by URL.'); |
}); |
}, 'Cache.matchAll with URL'); |
@@ -161,9 +161,8 @@ prepopulated_cache_test(simple_entries, function(cache, entries) { |
prepopulated_cache_test(simple_entries, function(cache, entries) { |
return cache.matchAll(entries.a.request) |
.then(function(result) { |
- assert_array_objects_equals( |
- result, [entries.a.response], |
- 'Cache.matchAll should match by Request.'); |
+ assert_array_equivalent(result, [entries.a.response], |
+ 'Cache.matchAll should match by Request.'); |
}); |
}, 'Cache.matchAll with Request'); |
@@ -178,9 +177,8 @@ prepopulated_cache_test(simple_entries, function(cache, entries) { |
prepopulated_cache_test(simple_entries, function(cache, entries) { |
return cache.matchAll(new Request(entries.a.request.url)) |
.then(function(result) { |
- assert_array_objects_equals( |
- result, [entries.a.response], |
- 'Cache.matchAll should match by Request.'); |
+ assert_array_equivalent(result, [entries.a.response], |
+ 'Cache.matchAll should match by Request.'); |
}); |
}, 'Cache.matchAll with new Request'); |