Changeset 126040 in webkit


Ignore:
Timestamp:
Aug 20, 2012 9:39:11 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

postMessage() in MessagePort.idl does not match spec
https://bugs.webkit.org/show_bug.cgi?id=94477

Patch by Christophe Dumez <Christophe Dumez> on 2012-08-20
Reviewed by Kentaro Hara.

Update definition of postMessage() in MessagePort.idl
to match the specification at:
http://www.w3.org/TR/html5/comms.html#messageport

The first argument should be of type 'any', not
'DOMString'.

No new tests, no behavior change.

  • dom/MessagePort.idl:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r126032 r126040  
     12012-08-20  Christophe Dumez  <christophe.dumez@intel.com>
     2
     3        postMessage() in MessagePort.idl does not match spec
     4        https://bugs.webkit.org/show_bug.cgi?id=94477
     5
     6        Reviewed by Kentaro Hara.
     7
     8        Update definition of postMessage() in MessagePort.idl
     9        to match the specification at:
     10        http://www.w3.org/TR/html5/comms.html#messageport
     11
     12        The first argument should be of type 'any', not
     13        'DOMString'.
     14
     15        No new tests, no behavior change.
     16
     17        * dom/MessagePort.idl:
     18
    1192012-08-20  Sheriff Bot  <webkit.review.bot@gmail.com>
    220
  • trunk/Source/WebCore/dom/MessagePort.idl

    r106737 r126040  
    3838// but we don't want to actually expose the API while it is in flux.
    3939#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
    40         [Custom] void postMessage(in DOMString message, in [Optional] Array messagePorts)
     40        [Custom] void postMessage(in any message, in [Optional] Array messagePorts)
    4141            raises(DOMException);
    42         [Custom] void webkitPostMessage(in DOMString message, in [Optional] Array transfer)
     42        [Custom] void webkitPostMessage(in any message, in [Optional] Array transfer)
    4343            raises(DOMException);
    4444        void start();
Note: See TracChangeset for help on using the changeset viewer.