[web-platform-tests] Pull Request: Remove all tests on "If connection's [[IsClosed]] slot is true, abort these steps"

wpt-pr-bot has just labeled a pull request from soareschen for https://github.com/w3c/web-platform-tests as "wg-webrtc":

== Remove all tests on "If connection's [[IsClosed]] slot is true, abort these steps" ==
Fixes #6611 and #6612.

The steps require some very specific race conditions to be reacheable, and thus cannot reliably be tested. The original tests made some incorrect assumptions on the behavior of enqueuing operations to trigger the race condition. But as per discussion in w3c/webrtc-pc#1218, the steps for enqueing operations are designed specifically to match the legacy behavior of existing implementations. This puts us in an awkward position that we have to either write tests that pass on current implementations, or amend the spec so that it match the behavior of current implementations.

I can't see any other good way to test the statement _"If connection's [[IsClosed]] slot is true, abort these steps"_ that appear in various places in the spec. So I am marking them as untestable for now until we can figure some other way to test them.

See https://github.com/w3c/web-platform-tests/pull/6616

Received on Tuesday, 25 July 2017 08:46:42 UTC