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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/custom-elements/htmlconstructor/newtarget.html

Issue 2468053002: Import wpt@9fcccf38b6be00f71ffa6bd6e29c5aa1ef25ee8c (Closed)
Patch Set: Skip cssom and svg/shapes, remove unwanted baseline Created 4 years, 1 month 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/imported/wpt/custom-elements/htmlconstructor/newtarget.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/htmlconstructor/newtarget.html b/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/htmlconstructor/newtarget.html
index 67cf0e8fc6127c65aefc26aba496377c1fe7ae30..ab43803c244e5f4492a1eb9c74337f24b89fabf6 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/htmlconstructor/newtarget.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/custom-elements/htmlconstructor/newtarget.html
@@ -101,9 +101,9 @@ test_with_window(w => {
function TestElement() {
const o = Reflect.construct(w.HTMLParagraphElement, [], new.target);
- assert_equals(Object.getPrototypeOf(o), window.HTMLParagraphElement,
+ assert_equals(Object.getPrototypeOf(o), window.HTMLParagraphElement.prototype,
"Must use the HTMLParagraphElement from the realm of NewTarget");
- assert_not_equals(Object.getPrototypeOf(o), w.HTMLParagraphElement,
+ assert_not_equals(Object.getPrototypeOf(o), w.HTMLParagraphElement.prototype,
"Must not use the HTMLParagraphElement from the realm of the active function object (w.HTMLParagraphElement)");
return o;

Powered by Google App Engine
This is Rietveld 408576698