DescriptionCatching more errors when parsing ICE server URLs.
Every malformed URL should now produce an error message in JS, rather than
silently failing and possibly printing a warning message to the console (and
possibly crashing).
Also added some unit tests, and made "ParseIceServers" public.
BUG=445002
Committed: https://crrev.com/0a6c4ca942f3a25c15c7af64a9515d381c34cd9c
Cr-Commit-Position: refs/heads/master@{#10186}
Patch Set 1 #Patch Set 2 : Adding tests that cover the additions to stringencode #Patch Set 3 : Fixing tests that didn't expect PC creation to fail due to ICE parse errors. #
Total comments: 35
Patch Set 4 : Addressing tommi's comments. #Patch Set 5 : #Patch Set 6 : Fixing merge conflict and some other issues. #Patch Set 7 : Fixing a DCHECK. #Patch Set 8 : Merging with master. #
Messages
Total messages: 14 (6 generated)
|