Index: core/dom/MessagePort.idl |
diff --git a/core/dom/MessagePort.idl b/core/dom/MessagePort.idl |
index 85514c22d0b3e30ba05b05132e6871536a157a4f..aa6ddb3c270ffd5448f75f5e18d1014f7b358e5f 100644 |
--- a/core/dom/MessagePort.idl |
+++ b/core/dom/MessagePort.idl |
@@ -21,14 +21,13 @@ |
* 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. |
* |
*/ |
[ |
- ActiveDOMObject, |
- EventTarget |
-] interface MessagePort { |
+ ActiveDOMObject |
+] interface MessagePort : EventTarget { |
// We need to have something as an ObjC binding, because MessagePort is used in MessageEvent, which already has one, |
// but we don't want to actually expose the API while it is in flux. |
[Custom, RaisesException] void postMessage(any message, optional Array messagePorts); |
@@ -38,14 +37,5 @@ |
// event handler attributes |
attribute EventListener onmessage; |
- |
- // EventTarget interface |
- void addEventListener(DOMString type, |
- EventListener listener, |
- optional boolean useCapture); |
- void removeEventListener(DOMString type, |
- EventListener listener, |
- optional boolean useCapture); |
- [RaisesException] boolean dispatchEvent(Event evt); |
}; |