Skip to content

Commit

Permalink
Remove unncessary check on scheme in query string validation
Browse files Browse the repository at this point in the history
already done above
  • Loading branch information
dontcallmedom committed Sep 4, 2024
1 parent 7601b0d commit 8feca9c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -3092,11 +3092,7 @@ <h4>
[[!RFC7065]] section 3.1.</p>
</li>
<li>
<p>If <var>parsedURL</var>'s [=url/query=] is non-null, run the following sub-steps and if any of them fail, [=exception/throw=] a "{{SyntaxError}}" {{DOMException}}:</p>
<ol>
<li>If <var>parsedURL</var>'s [=url/scheme=] is <code>"stun"</code> or <code>"stuns"</code>, then fail.</li>
<li>if <var>parsedURL</var>'s [=url/query=] is different from either <code>"transport=udp"</code> or <code>"transport=tcp"</code>, then fail.</li>
</ol>
<p>If <var>parsedURL</var>'s [=url/query=] is non-null and if <var>parsedURL</var>'s [=url/query=] is different from either <code>"transport=udp"</code> or <code>"transport=tcp"</code>, [=exception/throw=] a "{{SyntaxError}}" {{DOMException}}.</p>
</li>
<li>
<p>
Expand Down

0 comments on commit 8feca9c

Please sign in to comment.