| Index: core/dom/MessageEvent.idl
|
| diff --git a/core/dom/MessageEvent.idl b/core/dom/MessageEvent.idl
|
| index 540b17d96e022074d870270376a04ee200ada7ae..3bc8866a7ea1161a7c75dadb015e8e6873ad2cd7 100644
|
| --- a/core/dom/MessageEvent.idl
|
| +++ b/core/dom/MessageEvent.idl
|
| @@ -21,12 +21,12 @@
|
| * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| *
|
| */
|
|
|
| [
|
| - GlobalContext=WindowAndWorker,
|
| + GlobalContext=Window&WorkerGlobalScope,
|
| ConstructorTemplate=Event
|
| ] interface MessageEvent : Event {
|
| [InitializedByEventConstructor] readonly attribute DOMString origin;
|
| @@ -35,13 +35,13 @@
|
| [InitializedByEventConstructor, CustomGetter] 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,
|
| - [Default=Undefined] optional any dataArg,
|
| - [Default=Undefined] optional DOMString originArg,
|
| - [Default=Undefined] optional DOMString lastEventIdArg,
|
| - [Default=Undefined] optional Window sourceArg,
|
| + [Custom] void initMessageEvent([Default=Undefined] optional DOMString typeArg,
|
| + [Default=Undefined] optional boolean canBubbleArg,
|
| + [Default=Undefined] optional boolean cancelableArg,
|
| + [Default=Undefined] optional any dataArg,
|
| + [Default=Undefined] optional DOMString originArg,
|
| + [Default=Undefined] optional DOMString lastEventIdArg,
|
| + [Default=Undefined] optional Window sourceArg,
|
| [Default=Undefined] optional Array messagePorts);
|
|
|
| [Custom] void webkitInitMessageEvent([Default=Undefined] optional DOMString typeArg,
|
|
|