Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/events/ProgressEvent.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/events/ProgressEvent.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/events/ProgressEvent.html |
index 5a4e07643e6be4a94bdf4acda33063840ca76073..1995d1ae517e1df02593b391f108cfd269e054a6 100644 |
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/events/ProgressEvent.html |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/events/ProgressEvent.html |
@@ -18,8 +18,8 @@ test(function() { |
assert_true("initEvent" in ev) |
}, "Default event values.") |
test(function() { |
- assert_throws("NotSupportedError", function() { |
- document.createEvent("ProgressEvent") |
- }) |
-}, "document.createEvent() should not work with ProgressEvent.") |
+ var e = document.createEvent("ProgressEvent"); |
+ var eProto = Object.getPrototypeOf(e); |
+ assert_equals(eProto, ProgressEvent.prototype); |
+}, "document.createEvent() should work with ProgressEvent."); |
</script> |