| Index: third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/durable-storage-on-insecure-origin.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/durable-storage-on-insecure-origin.html b/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/durable-storage-on-insecure-origin.html
|
| index 895eaaa5426adc36697e744093cadd90a4d325ad..e011c094b2ccb8ac4574f779db1310b37c123d77 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/durable-storage-on-insecure-origin.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/powerfulFeatureRestrictions/durable-storage-on-insecure-origin.html
|
| @@ -8,8 +8,8 @@
|
| if (window.location.origin != get_host_info().UNAUTHENTICATED_ORIGIN) {
|
| window.location = get_host_info().UNAUTHENTICATED_ORIGIN + window.location.pathname;
|
| } else {
|
| - promise_test(function() {
|
| - return assert_promise_rejects(navigator.storage.requestPersistent(), 'SecurityError');
|
| + promise_test(function(test) {
|
| + return promise_rejects(test, 'SecurityError', navigator.storage.requestPersistent());
|
| }, "Requires secure context");
|
| }
|
| </script>
|
|
|