Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PassMediaRecorder will throw when start() is called and the script execution context is going away
Asserts run
Pass
assert_throws_dom("NotSupportedError", function "function DOMException() { [native code] }", function "() => recorder.start()", "MediaRecorder.start() should throw")
    at Test.<anonymous> ( /mediacapture-record/MediaRecorder-destroy-script-execution.html:31:9)
PassMediaRecorder will not fire the stop event when stop() is called and the script execution context is going away
Asserts run
Pass
assert_equals("recording", "recording", "MediaRecorder has been started successfully")
    at Test.<anonymous> ( /mediacapture-record/MediaRecorder-destroy-script-execution.html:47:11)
PassMediaRecorder will not fire the stop event when all tracks are ended and the script execution context is going away
Asserts run
Pass
assert_equals("recording", "recording", "MediaRecorder has been started successfully")
    at Test.<anonymous> ( /mediacapture-record/MediaRecorder-destroy-script-execution.html:63:11)
PassMediaRecorder will not crash on accessing audioBitrateMode when the script execution context is going away
Asserts runNo asserts ran