Index: third_party/WebKit/LayoutTests/custom-elements/constructor-context-dies-cross-context-call.html |
diff --git a/third_party/WebKit/LayoutTests/custom-elements/constructor-context-dies-cross-context-call.html b/third_party/WebKit/LayoutTests/custom-elements/constructor-context-dies-cross-context-call.html |
index bdf6faf67d59558ea63c2922af98cb9e68230fa1..ecfac8c1170b413c2022841e4969dc709c9e6b3b 100644 |
--- a/third_party/WebKit/LayoutTests/custom-elements/constructor-context-dies-cross-context-call.html |
+++ b/third_party/WebKit/LayoutTests/custom-elements/constructor-context-dies-cross-context-call.html |
@@ -22,8 +22,7 @@ if (fork()) { |
return watcher.wait_for('message'); |
})).then(t.step_func((event) => { |
assert_equals(event.data, 'PASS child done'); |
- let e = new window.C(); |
- assert_true(e instanceof C, 'should have created an element'); |
+ assert_throws(null, () => new window.C()); |
t.done(); |
})); |
} else { |