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

Unified Diff: LayoutTests/fast/events/constructors/event-constructors.html

Issue 1154943009: bindings: Remove [EventConstructor] and [InitializedByEventConstructor] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/events/constructors/event-constructors-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/constructors/event-constructors.html
diff --git a/LayoutTests/fast/events/constructors/event-constructors.html b/LayoutTests/fast/events/constructors/event-constructors.html
index 0068a3ffd8193b174f7c66d2b3a215ad130d075f..44e60083632ec62cbccea6b407c5ed4922153fde 100644
--- a/LayoutTests/fast/events/constructors/event-constructors.html
+++ b/LayoutTests/fast/events/constructors/event-constructors.html
@@ -51,8 +51,7 @@ test("new Event('eventType', null)", false, false);
test("new Event('eventType', undefined)", false, false);
// A number as the initializer.
-// FIXME: Should this throw?
bashi 2015/06/03 03:40:38 Yes. This should throw. Firefox throws exceptions
-test("new Event('eventType', 0)", false, false);
+shouldThrow("new Event('eventType', 0)");
// The window as the initializer.
test("new Event('eventType', window)", false, false);
@@ -84,4 +83,4 @@ test("new Event('eventType', { bubbles: true, get cancelable() { return false; }
shouldThrow("new Event('eventType', { bubbles: true, get cancelable() { throw 'Custom Error'; } })")
</script>
</body>
-</html>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/events/constructors/event-constructors-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698