Chromium Code Reviews| Index: Source/core/dom/MessageEvent.idl |
| diff --git a/Source/core/dom/MessageEvent.idl b/Source/core/dom/MessageEvent.idl |
| index 3bc8866a7ea1161a7c75dadb015e8e6873ad2cd7..33d1c33f462579cc125443c9a8fd11f0db37596f 100644 |
| --- a/Source/core/dom/MessageEvent.idl |
| +++ b/Source/core/dom/MessageEvent.idl |
| @@ -31,7 +31,7 @@ |
| ] interface MessageEvent : Event { |
| [InitializedByEventConstructor] readonly attribute DOMString origin; |
| [InitializedByEventConstructor] readonly attribute DOMString lastEventId; |
| - [InitializedByEventConstructor] readonly attribute Window source; |
| + [InitializedByEventConstructor] readonly attribute EventTarget source; // May be a Window or a MessagePort |
|
abarth-chromium
2013/08/19 19:24:58
Is that enforced by the constructor?
I would remo
do-not-use
2013/08/19 19:45:57
The specification is using (Window or MessagePort)
|
| [InitializedByEventConstructor, CustomGetter] readonly attribute any data; |
| [InitializedByEventConstructor] readonly attribute MessagePort[] ports; |