Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: third_party/WebKit/LayoutTests/custom-elements/constructor-context-dies-cross-context-call.html

Issue 2441943002: Retrieve prototype during custom element construction. (Closed)
Patch Set: Update after https://codereview.chromium.org/2443543002 Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {

Powered by Google App Engine
This is Rietveld 408576698