| 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, "",
|
|
|