Update createDataChannel on RTCPeerConnection
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Mar 2017 05:14:13 +0000 (05:14 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Mar 2017 05:14:13 +0000 (05:14 +0000)
https://bugs.webkit.org/show_bug.cgi?id=170044

Reviewed by Youenn Fablet.

* Modules/mediastream/RTCPeerConnection.idl: Change label to USVString.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@214335 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/Modules/mediastream/RTCPeerConnection.idl

index 23765eb..1cd351a 100644 (file)
@@ -1,3 +1,12 @@
+2017-03-23  Jon Lee  <jonlee@apple.com>
+
+        Update createDataChannel on RTCPeerConnection
+        https://bugs.webkit.org/show_bug.cgi?id=170044
+
+        Reviewed by Youenn Fablet.
+
+        * Modules/mediastream/RTCPeerConnection.idl: Change label to USVString.
+
 2017-03-23  Antti Koivisto  <antti@apple.com>
 
         Revert r213712, caused iPad PLT regression
index 091407d..f957093 100644 (file)
@@ -135,8 +135,7 @@ typedef RTCRtpTransceiverDirection RtpTransceiverDirection;
     // 6.1 Peer-to-peer data API
     // FIXME 169644: missing sctp
 
-    // FIXME 169644: convert to USVString
-    [CallWith=ScriptExecutionContext, MayThrowException] RTCDataChannel createDataChannel([TreatNullAs=EmptyString] DOMString label, optional RTCDataChannelInit options);
+    [CallWith=ScriptExecutionContext, MayThrowException] RTCDataChannel createDataChannel([TreatNullAs=EmptyString] USVString label, optional RTCDataChannelInit options);
     attribute EventHandler ondatachannel;