<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[214533] trunk/LayoutTests</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/214533">214533</a></dd>
<dt>Author</dt> <dd>clopez@igalia.com</dd>
<dt>Date</dt> <dd>2017-03-29 06:34:21 -0700 (Wed, 29 Mar 2017)</dd>
</dl>

<h3>Log Message</h3>
<pre>[WebRTC] Update test RTCPeerConnection-overloaded-operations-params.html after <a href="http://trac.webkit.org/projects/webkit/changeset/214441">r214441</a>
https://bugs.webkit.org/show_bug.cgi?id=170223

Reviewed by Youenn Fablet.

After <a href="http://trac.webkit.org/projects/webkit/changeset/214441">r214441</a> the arguments of addIceCandidate() are nullable.

* fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt:
* fast/mediastream/RTCPeerConnection-overloaded-operations-params.html:
* platform/gtk/fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt: Removed. The expected result was the same than the general one.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsfastmediastreamRTCPeerConnectionoverloadedoperationsparamsexpectedtxt">trunk/LayoutTests/fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastmediastreamRTCPeerConnectionoverloadedoperationsparamshtml">trunk/LayoutTests/fast/mediastream/RTCPeerConnection-overloaded-operations-params.html</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsplatformgtkfastmediastreamRTCPeerConnectionoverloadedoperationsparamsexpectedtxt">trunk/LayoutTests/platform/gtk/fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (214532 => 214533)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2017-03-29 09:39:41 UTC (rev 214532)
+++ trunk/LayoutTests/ChangeLog        2017-03-29 13:34:21 UTC (rev 214533)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2017-03-28  Carlos Alberto Lopez Perez  &lt;clopez@igalia.com&gt;
+
+        [WebRTC] Update test RTCPeerConnection-overloaded-operations-params.html after r214441
+        https://bugs.webkit.org/show_bug.cgi?id=170223
+
+        Reviewed by Youenn Fablet.
+
+        After r214441 the arguments of addIceCandidate() are nullable.
+
+        * fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt:
+        * fast/mediastream/RTCPeerConnection-overloaded-operations-params.html:
+        * platform/gtk/fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt: Removed. The expected result was the same than the general one.
+
</ins><span class="cx"> 2017-03-29  Antoine Quint  &lt;graouts@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [mac-wk1] LayoutTest media/modern-media-controls/airplay-button/airplay-button.html is a flaky timeout
</span></span></pre></div>
<a id="trunkLayoutTestsfastmediastreamRTCPeerConnectionoverloadedoperationsparamsexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt (214532 => 214533)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt        2017-03-29 09:39:41 UTC (rev 214532)
+++ trunk/LayoutTests/fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt        2017-03-29 13:34:21 UTC (rev 214533)
</span><span class="lines">@@ -50,7 +50,7 @@
</span><span class="cx"> PASS promise pc.setLocalDescription(desc) did not reject with TypeError.
</span><span class="cx"> PASS promise pc.setLocalDescription(desc, emptyFunc, emptyFunc) did not reject with TypeError.
</span><span class="cx"> *** desc is not optional
</span><del>-PASS promise pc.setLocalDescription() rejected with TypeError: Not enough arguments
</del><ins>+FAIL promise pc.setLocalDescription() rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setLocalDescription must be an instance of RTCSessionDescription; expected reason TypeError: Not enough arguments
</ins><span class="cx"> *** desc is not nullable
</span><span class="cx"> PASS promise pc.setLocalDescription(null) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setLocalDescription must be an instance of RTCSessionDescription
</span><span class="cx"> PASS promise pc.setLocalDescription(null, emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setLocalDescription must be an instance of RTCSessionDescription
</span><span class="lines">@@ -65,7 +65,7 @@
</span><span class="cx"> PASS promise pc.setRemoteDescription(desc) did not reject with TypeError.
</span><span class="cx"> PASS promise pc.setRemoteDescription(desc, emptyFunc, emptyFunc) did not reject with TypeError.
</span><span class="cx"> *** desc is not optional
</span><del>-PASS promise pc.setRemoteDescription() rejected with TypeError: Not enough arguments
</del><ins>+FAIL promise pc.setRemoteDescription() rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setRemoteDescription must be an instance of RTCSessionDescription; expected reason TypeError: Not enough arguments
</ins><span class="cx"> *** desc is not nullable
</span><span class="cx"> PASS promise pc.setRemoteDescription(null) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setRemoteDescription must be an instance of RTCSessionDescription
</span><span class="cx"> PASS promise pc.setRemoteDescription(null, emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setRemoteDescription must be an instance of RTCSessionDescription
</span><span class="lines">@@ -79,11 +79,10 @@
</span><span class="cx"> *** Test addIceCandidate
</span><span class="cx"> PASS promise pc.addIceCandidate(candidate) did not reject with TypeError.
</span><span class="cx"> PASS promise pc.addIceCandidate(candidate, emptyFunc, emptyFunc) did not reject with TypeError.
</span><ins>+PASS promise pc.addIceCandidate(null) did not reject with TypeError.
+PASS promise pc.addIceCandidate(null, emptyFunc, emptyFunc) did not reject with TypeError.
</ins><span class="cx"> *** candidate is not optional
</span><span class="cx"> PASS promise pc.addIceCandidate() rejected with TypeError: Not enough arguments
</span><del>-*** candidate is not nullable
-PASS promise pc.addIceCandidate(null) rejected with TypeError: Argument 1 ('candidate') to RTCPeerConnection.addIceCandidate must be an instance of RTCIceCandidate
-PASS promise pc.addIceCandidate(null, emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('candidate') to RTCPeerConnection.addIceCandidate must be an instance of RTCIceCandidate
</del><span class="cx"> PASS promise pc.addIceCandidate(1) rejected with TypeError: Argument 1 ('candidate') to RTCPeerConnection.addIceCandidate must be an instance of RTCIceCandidate
</span><span class="cx"> *** Bad input as candidate
</span><span class="cx"> PASS promise pc.addIceCandidate('foo') rejected with TypeError: Argument 1 ('candidate') to RTCPeerConnection.addIceCandidate must be an instance of RTCIceCandidate
</span></span></pre></div>
<a id="trunkLayoutTestsfastmediastreamRTCPeerConnectionoverloadedoperationsparamshtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/mediastream/RTCPeerConnection-overloaded-operations-params.html (214532 => 214533)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/mediastream/RTCPeerConnection-overloaded-operations-params.html        2017-03-29 09:39:41 UTC (rev 214532)
+++ trunk/LayoutTests/fast/mediastream/RTCPeerConnection-overloaded-operations-params.html        2017-03-29 13:34:21 UTC (rev 214533)
</span><span class="lines">@@ -117,7 +117,7 @@
</span><span class="cx">                 });
</span><span class="cx">             }
</span><span class="cx"> 
</span><del>-            // badInputFull eventually runs badInput
</del><ins>+            // badInputFull checks for void, null, and badInput()
</ins><span class="cx">             function badInputFull(functionName, firstArg, detailedErrorsArg) {
</span><span class="cx">                 detailedErrors = detailedErrorsArg;
</span><span class="cx"> 
</span><span class="lines">@@ -144,6 +144,26 @@
</span><span class="cx">                 });
</span><span class="cx">             }
</span><span class="cx"> 
</span><ins>+            // badInputVoid checks for void, and badInput()
+            function badInputVoid(functionName, firstArg, detailedErrorsArg) {
+            detailedErrors = detailedErrorsArg;
+
+                return new Promise(function (resolve) {
+                    debug(`*** ${firstArg} is not optional`);
+                    promiseShouldReject(`pc.${functionName}()`, &quot;'TypeError: Not enough arguments'&quot;)
+                    .then(function () {
+                        return badInput(functionName, firstArg, detailedErrorsArg);
+                    })
+                    .then(function () {
+                        resolve();
+                    })
+                    .catch(function (error) {
+                        testFailed(`Unexpected error in promise chain: ${error}`);
+                        resolve();
+                    });
+                });
+            }
+
</ins><span class="cx">             function badInput(functionName, firstArg, detailedErrorsArg) {
</span><span class="cx">                 detailedErrors = detailedErrorsArg;
</span><span class="cx"> 
</span><span class="lines">@@ -177,7 +197,13 @@
</span><span class="cx">                         return promiseShouldNotRejectWithTypeError(&quot;pc.addIceCandidate(candidate, emptyFunc, emptyFunc)&quot;);
</span><span class="cx">                     })
</span><span class="cx">                     .then(function () {
</span><del>-                        return badInputFull(&quot;addIceCandidate&quot;, &quot;candidate&quot;, {
</del><ins>+                        return promiseShouldNotRejectWithTypeError(&quot;pc.addIceCandidate(null)&quot;);
+                    })
+                    .then(function () {
+                        return promiseShouldNotRejectWithTypeError(&quot;pc.addIceCandidate(null, emptyFunc, emptyFunc)&quot;);
+                    })
+                    .then(function () {
+                        return badInputVoid(&quot;addIceCandidate&quot;, &quot;candidate&quot;, {
</ins><span class="cx">                             &quot;arg1&quot;: &quot;TypeError: Argument 1 ('candidate') to RTCPeerConnection.addIceCandidate must be an instance of RTCIceCandidate&quot;,
</span><span class="cx">                             &quot;arg2&quot;: &quot;TypeError: Argument 2 ('successCallback') to RTCPeerConnection.addIceCandidate must be a function&quot;,
</span><span class="cx">                             &quot;arg3&quot;: &quot;TypeError: Argument 3 ('errorCallback') to RTCPeerConnection.addIceCandidate must be a function&quot;
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkfastmediastreamRTCPeerConnectionoverloadedoperationsparamsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/gtk/fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt (214532 => 214533)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt        2017-03-29 09:39:41 UTC (rev 214532)
+++ trunk/LayoutTests/platform/gtk/fast/mediastream/RTCPeerConnection-overloaded-operations-params-expected.txt        2017-03-29 13:34:21 UTC (rev 214533)
</span><span class="lines">@@ -1,110 +0,0 @@
</span><del>-Test various arguments to RTCPeerConnection overloaded functions
-
-On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
-
-
-PASS pc = new RTCPeerConnection({iceServers:[{urls:'stun:foo.com'}]}); did not throw exception.
-*** Test createOffer
-PASS promise pc.createOffer() did not reject with TypeError.
-PASS promise pc.createOffer(emptyFunc, emptyFunc) did not reject with TypeError.
-PASS promise pc.createOffer(null) did not reject with TypeError.
-PASS promise pc.createOffer(undefined) did not reject with TypeError.
-PASS promise pc.createOffer({}) did not reject with TypeError.
-PASS promise pc.createOffer(emptyFunc, emptyFunc, null) did not reject with TypeError.
-PASS promise pc.createOffer(emptyFunc, emptyFunc, undefined) did not reject with TypeError.
-PASS promise pc.createOffer(emptyFunc, emptyFunc, {}) did not reject with TypeError.
-*** Options object must be last
-PASS promise pc.createOffer({}, emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('successCallback') to RTCPeerConnection.createOffer must be a function
-*** Callbacks are not nullable
-PASS promise pc.createOffer(emptyFunc, null) rejected with TypeError: Argument 2 ('errorCallback') to RTCPeerConnection.createOffer must be a function
-PASS promise pc.createOffer(null, emptyFunc) rejected with TypeError: Argument 1 ('successCallback') to RTCPeerConnection.createOffer must be a function
-PASS promise pc.createOffer(null, null) rejected with TypeError: Argument 1 ('successCallback') to RTCPeerConnection.createOffer must be a function
-*** Bad input
-PASS promise pc.createOffer({}, emptyFunc) rejected with TypeError: Argument 1 ('successCallback') to RTCPeerConnection.createOffer must be a function
-PASS promise pc.createOffer(emptyFunc, {}) rejected with TypeError: Argument 2 ('errorCallback') to RTCPeerConnection.createOffer must be a function
-PASS promise pc.createOffer(1) rejected with TypeError: Argument 1 ('options') to RTCPeerConnection.createOffer must be a dictionary
-PASS promise pc.createOffer(emptyFunc, emptyFunc, 1) rejected with TypeError: Argument 3 ('options') to RTCPeerConnection.createOffer must be a dictionary
-
-*** Test createAnswer
-PASS promise pc.createAnswer() did not reject with TypeError.
-PASS promise pc.createAnswer(emptyFunc, emptyFunc) did not reject with TypeError.
-PASS promise pc.createAnswer(null) did not reject with TypeError.
-PASS promise pc.createAnswer(undefined) did not reject with TypeError.
-PASS promise pc.createAnswer({}) did not reject with TypeError.
-PASS promise pc.createAnswer(emptyFunc, emptyFunc, null) did not reject with TypeError.
-PASS promise pc.createAnswer(emptyFunc, emptyFunc, undefined) did not reject with TypeError.
-PASS promise pc.createAnswer(emptyFunc, emptyFunc, {}) did not reject with TypeError.
-*** Options object must be last
-PASS promise pc.createAnswer({}, emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('successCallback') to RTCPeerConnection.createAnswer must be a function
-*** Callbacks are not nullable
-PASS promise pc.createAnswer(emptyFunc, null) rejected with TypeError: Argument 2 ('errorCallback') to RTCPeerConnection.createAnswer must be a function
-PASS promise pc.createAnswer(null, emptyFunc) rejected with TypeError: Argument 1 ('successCallback') to RTCPeerConnection.createAnswer must be a function
-PASS promise pc.createAnswer(null, null) rejected with TypeError: Argument 1 ('successCallback') to RTCPeerConnection.createAnswer must be a function
-*** Bad input
-PASS promise pc.createAnswer({}, emptyFunc) rejected with TypeError: Argument 1 ('successCallback') to RTCPeerConnection.createAnswer must be a function
-PASS promise pc.createAnswer(emptyFunc, {}) rejected with TypeError: Argument 2 ('errorCallback') to RTCPeerConnection.createAnswer must be a function
-PASS promise pc.createAnswer(1) rejected with TypeError: Argument 1 ('options') to RTCPeerConnection.createAnswer must be a dictionary
-PASS promise pc.createAnswer(emptyFunc, emptyFunc, 1) rejected with TypeError: Argument 3 ('options') to RTCPeerConnection.createAnswer must be a dictionary
-
-*** Test setLocalDescription
-PASS promise pc.setLocalDescription(desc) did not reject with TypeError.
-PASS promise pc.setLocalDescription(desc, emptyFunc, emptyFunc) did not reject with TypeError.
-*** desc is not optional
-PASS promise pc.setLocalDescription() rejected with TypeError: Not enough arguments
-*** desc is not nullable
-PASS promise pc.setLocalDescription(null) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setLocalDescription must be an instance of RTCSessionDescription
-PASS promise pc.setLocalDescription(null, emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setLocalDescription must be an instance of RTCSessionDescription
-PASS promise pc.setLocalDescription(1) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setLocalDescription must be an instance of RTCSessionDescription
-*** Bad input as desc
-PASS promise pc.setLocalDescription('foo') rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setLocalDescription must be an instance of RTCSessionDescription
-PASS promise pc.setLocalDescription('foo', emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setLocalDescription must be an instance of RTCSessionDescription
-PASS promise pc.setLocalDescription(1) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setLocalDescription must be an instance of RTCSessionDescription
-PASS promise pc.setLocalDescription(1, emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setLocalDescription must be an instance of RTCSessionDescription
-
-*** Test setRemoteDescription
-PASS promise pc.setRemoteDescription(desc) did not reject with TypeError.
-PASS promise pc.setRemoteDescription(desc, emptyFunc, emptyFunc) did not reject with TypeError.
-*** desc is not optional
-PASS promise pc.setRemoteDescription() rejected with TypeError: Not enough arguments
-*** desc is not nullable
-PASS promise pc.setRemoteDescription(null) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setRemoteDescription must be an instance of RTCSessionDescription
-PASS promise pc.setRemoteDescription(null, emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setRemoteDescription must be an instance of RTCSessionDescription
-PASS promise pc.setRemoteDescription(1) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setRemoteDescription must be an instance of RTCSessionDescription
-*** Bad input as desc
-PASS promise pc.setRemoteDescription('foo') rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setRemoteDescription must be an instance of RTCSessionDescription
-PASS promise pc.setRemoteDescription('foo', emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setRemoteDescription must be an instance of RTCSessionDescription
-PASS promise pc.setRemoteDescription(1) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setRemoteDescription must be an instance of RTCSessionDescription
-PASS promise pc.setRemoteDescription(1, emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('description') to RTCPeerConnection.setRemoteDescription must be an instance of RTCSessionDescription
-
-*** Test addIceCandidate
-PASS promise pc.addIceCandidate(candidate) did not reject with TypeError.
-PASS promise pc.addIceCandidate(candidate, emptyFunc, emptyFunc) did not reject with TypeError.
-*** candidate is not optional
-PASS promise pc.addIceCandidate() rejected with TypeError: Not enough arguments
-*** candidate is not nullable
-PASS promise pc.addIceCandidate(null) rejected with TypeError: Argument 1 ('candidate') to RTCPeerConnection.addIceCandidate must be an instance of RTCIceCandidate
-PASS promise pc.addIceCandidate(null, emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('candidate') to RTCPeerConnection.addIceCandidate must be an instance of RTCIceCandidate
-PASS promise pc.addIceCandidate(1) rejected with TypeError: Argument 1 ('candidate') to RTCPeerConnection.addIceCandidate must be an instance of RTCIceCandidate
-*** Bad input as candidate
-PASS promise pc.addIceCandidate('foo') rejected with TypeError: Argument 1 ('candidate') to RTCPeerConnection.addIceCandidate must be an instance of RTCIceCandidate
-PASS promise pc.addIceCandidate('foo', emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('candidate') to RTCPeerConnection.addIceCandidate must be an instance of RTCIceCandidate
-PASS promise pc.addIceCandidate(1) rejected with TypeError: Argument 1 ('candidate') to RTCPeerConnection.addIceCandidate must be an instance of RTCIceCandidate
-PASS promise pc.addIceCandidate(1, emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('candidate') to RTCPeerConnection.addIceCandidate must be an instance of RTCIceCandidate
-
-*** Test getStats
-PASS promise pc.getStats() did not reject with TypeError.
-PASS promise pc.getStats(null) did not reject with TypeError.
-PASS promise pc.getStats(selector) did not reject with TypeError.
-PASS promise pc.getStats(null, emptyFunc, emptyFunc) did not reject with TypeError.
-PASS promise pc.getStats(selector, emptyFunc, emptyFunc) did not reject with TypeError.
-PASS promise pc.getStats(1) rejected with TypeError: Argument 1 ('selector') to RTCPeerConnection.getStats must be an instance of MediaStreamTrack
-*** Bad input as selector
-PASS promise pc.getStats('foo') rejected with TypeError: Argument 1 ('selector') to RTCPeerConnection.getStats must be an instance of MediaStreamTrack
-PASS promise pc.getStats('foo', emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('selector') to RTCPeerConnection.getStats must be an instance of MediaStreamTrack
-PASS promise pc.getStats(1) rejected with TypeError: Argument 1 ('selector') to RTCPeerConnection.getStats must be an instance of MediaStreamTrack
-PASS promise pc.getStats(1, emptyFunc, emptyFunc) rejected with TypeError: Argument 1 ('selector') to RTCPeerConnection.getStats must be an instance of MediaStreamTrack
-
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
</del></span></pre>
</div>
</div>

</body>
</html>