My promised "show where candidate queueing is necessary" script

I added a new test this week, and it promptly flaked out on me (failure
1 in 10 runs).

I added candidate queueing for candidates that would otherwise be
installed before SLD/SRD had been set, and the flake went away.

CL:https://github.com/web-platform-tests/wpt/pull/14767/files

Jan-Ivar, if you want to play with it to verify how it breaks, just
change "activated = false" to "activated = true" in the constructor.

If this stands the test of time, I'll propose to hoist it into
RTCPeerConnection-helper.js and replace all usage of ExchangeIceCandidates.


(Note: This is my first attempt to use ES6 classes - I guess Jan-Ivar
knows a dozen ways to make the code more elegant.)

Harald

-- 
Surveillance is pervasive. Go Dark.

Received on Wednesday, 9 January 2019 21:20:00 UTC