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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-createEvent.html

Issue 2477133002: Import wpt@306326cfe973b6c7019c50879ad03b02825c7539 (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. 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/dom/nodes/Document-createEvent.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-createEvent.html b/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-createEvent.html
index 29a2c010ef670064c2a9c5bac9ed35476e63fc04..f1d57c44448683f495167a3344d14ca0d8a6c2e6 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-createEvent.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Document-createEvent.html
@@ -11,8 +11,7 @@ function testAlias(arg, iface) {
var ev;
test(function() {
ev = document.createEvent(arg);
- assert_true(ev instanceof window[iface]);
- assert_true(ev instanceof Event);
+ assert_equals(Object.getPrototypeOf(ev), window[iface].prototype);
}, arg + " should be an alias for " + iface + ".");
test(function() {
assert_equals(ev.type, "",

Powered by Google App Engine
This is Rietveld 408576698