From 22f85c4692ed1a60288916a470df039ddeedb4aa Mon Sep 17 00:00:00 2001
From: Dominique Hazael-Massieux
Date: Tue, 8 Oct 2024 09:15:29 +0200
Subject: [PATCH] Complete ICE server URL validation
---
amendments.json | 8 +++++++-
webrtc.html | 2 +-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/amendments.json b/amendments.json
index ab2f54c22..165b386e3 100644
--- a/amendments.json
+++ b/amendments.json
@@ -57,8 +57,14 @@
"validate-ice-server-algo": [
{
"description": "Use the url spec to parse ice server urls",
- "pr": 2853,
+ "pr": [2853, 2996],
"type": "correction",
+ "tests": [
+ "webrtc/RTCConfiguration-iceServers.html"
+ ],
+ "testUpdates": [
+ "web-platform-tests/wpt#47959"
+ ],
"status": "candidate",
"id": 33
}
diff --git a/webrtc.html b/webrtc.html
index 4ab8c4b65..4605fd979 100644
--- a/webrtc.html
+++ b/webrtc.html
@@ -3143,7 +3143,7 @@
For "turn" and "turns" schemes, this and the steps below validate
[[!RFC7065]] section 3.1.
- TODO: validate ?transport=udp|tcp (see PR #2996)
+ If parsedURL's [=url/query=] is non-null and if parsedURL's [=url/query=] is different from either "transport=udp"
or "transport=tcp"
, [=exception/throw=] a "{{SyntaxError}}" {{DOMException}}.
If parsedURL's' [=url/scheme=] is "turn"
or