https://github.com/web-platform-tests/wpt
Revision 1bdc13d850f73a419ae2a4266710fdbbf2002f29 authored by Harald Alvestrand on 20 December 2018, 09:29:46 UTC, committed by Blink WPT Bot on 20 December 2018, 09:40:08 UTC
This needs to be handled according to SDP negotiation rules.

Bug: webrtc:9540
Change-Id: I3ed1ecead91d3e31dcc14c54061a0cb89be36a52
Reviewed-on: https://chromium-review.googlesource.com/c/1379752
Commit-Queue: Harald Alvestrand <hta@chromium.org>
Reviewed-by: Steve Anton <steveanton@chromium.org>
Cr-Commit-Position: refs/heads/master@{#618149}
1 parent 3b18e18
Raw File
Tip revision: 1bdc13d850f73a419ae2a4266710fdbbf2002f29 authored by Harald Alvestrand on 20 December 2018, 09:29:46 UTC
Added tests for missing MID field in sdp
Tip revision: 1bdc13d
Worker_terminate_event_queue.htm
<!DOCTYPE html>
<title> AbstractWorker terminate(): clear event queue </title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script>
async_test(function() {
  var testResult;
  var worker = new Worker('./support/WorkerTerminate.js');
  worker.onmessage = this.step_func(function(e) {
    testResult = e.data;
    if (testResult >= 10000) {
      worker.terminate();
      worker.onmessage = this.unreached_func('Unexpected message event');
      setTimeout(this.step_func_done(function() {
        assert_equals(testResult, 10000);
      }), 100);
    }
  });
  worker.postMessage("ping");
});
</script>
back to top