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

Unified Diff: core/events/MessageEvent.idl

Issue 155973006: Roll IDL to 1750 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 10 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 | « core/events/KeyboardEvent.idl ('k') | core/events/MouseEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/events/MessageEvent.idl
diff --git a/core/events/MessageEvent.idl b/core/events/MessageEvent.idl
index 33d1c33f462579cc125443c9a8fd11f0db37596f..c482b082cfb950202291ce261805e40cfdb6ac74 100644
--- a/core/events/MessageEvent.idl
+++ b/core/events/MessageEvent.idl
@@ -26,15 +26,15 @@
*/
[
+ EventConstructor,
GlobalContext=Window&WorkerGlobalScope,
- ConstructorTemplate=Event
+ RaisesException=Constructor,
] interface MessageEvent : Event {
[InitializedByEventConstructor] readonly attribute DOMString origin;
[InitializedByEventConstructor] readonly attribute DOMString lastEventId;
- [InitializedByEventConstructor] readonly attribute EventTarget source; // May be a Window or a MessagePort
- [InitializedByEventConstructor, CustomGetter] readonly attribute any data;
+ [InitializedByEventConstructor] readonly attribute EventTarget? source; // May be a Window or a MessagePort
+ [InitializedByEventConstructor, Custom=Getter] readonly attribute any data;
[InitializedByEventConstructor] readonly attribute MessagePort[] ports;
-
[Custom] void initMessageEvent([Default=Undefined] optional DOMString typeArg,
[Default=Undefined] optional boolean canBubbleArg,
[Default=Undefined] optional boolean cancelableArg,
« no previous file with comments | « core/events/KeyboardEvent.idl ('k') | core/events/MouseEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698