| Index: third_party/WebKit/LayoutTests/http/tests/security/promise-realm.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/promise-realm.html b/third_party/WebKit/LayoutTests/http/tests/security/promise-realm.html
|
| index d4ae08c4a12828d15c01e0800a8e27ee95f6dd5d..2eaccfbe4427951c574879140909c32d29355b2a 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/promise-realm.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/promise-realm.html
|
| @@ -49,13 +49,8 @@ test(() => {
|
| assert_unreached("type mismatch error, case 3: must be a reject promise");
|
| });
|
|
|
| - p = fetch.call(cross, 'resources/dummy.html');
|
| - assert_equals(
|
| - p.constructor.constructor,
|
| - Function,
|
| - "cross origin access");
|
| - p.then(() => {
|
| - assert_unreached("cross origin access: must be a reject promise");
|
| + assert_throws("SecurityError", function () {
|
| + fetch.call(cross, 'resources/dummy.html')
|
| });
|
| }, "Reject promises must be created in the current realm");
|
|
|
|
|