The third argument of addEventListener/removeEventListener of PeerConnection should...
authorharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Feb 2012 08:23:59 +0000 (08:23 +0000)
committerharaken@chromium.org <haraken@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Feb 2012 08:23:59 +0000 (08:23 +0000)
commit8ada7f23c813112332b3f499d58aa6bba5b0faeb
tree8fe8c4ae2fd9f419103a44c7199350f01ccace22
parent0998a0487c26a528069b9cb00b585269f3b0ac2c
The third argument of addEventListener/removeEventListener of PeerConnection should be optional
https://bugs.webkit.org/show_bug.cgi?id=77606

Reviewed by Adam Barth.

Source/WebCore:

This patch corrects a typo in PeerConnection.idl, i.e. [optional] => [Optional].

Test: fast/mediastream/peerconnection-eventlistener-optional-argument.html

* mediastream/PeerConnection.idl:

LayoutTests:

The added test confirms if the third argument of addEventListener() and
removeEventListener() is optional.

* fast/mediastream/peerconnection-eventlistener-optional-argument-expected.txt: Added.
* fast/mediastream/peerconnection-eventlistener-optional-argument.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/mediastream/peerconnection-eventlistener-optional-argument-expected.txt [new file with mode: 0644]
LayoutTests/fast/mediastream/peerconnection-eventlistener-optional-argument.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/mediastream/PeerConnection.idl