Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
Passaudio/aac : If generate timestamps flag equals true and new mode equals "segments", then throw a TypeError exception and abort these steps.
Asserts run
Pass
assert_equals(false, false, "SourceBuffer.updating is false")
    at Test.<anonymous> ( /media-source/mediasource-sourcebuffer-mode-timestamps.html:34:13)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {                                  sourceBuffer.mode = "segments";                              }", "SourceBuffer#mode with generate timestamps flag true")
    at Test.<anonymous> ( /media-source/mediasource-sourcebuffer-mode-timestamps.html:35:13)
Passaudio/mpeg : If generate timestamps flag equals true and new mode equals "segments", then throw a TypeError exception and abort these steps.
Asserts run
Pass
assert_equals(false, false, "SourceBuffer.updating is false")
    at Test.<anonymous> ( /media-source/mediasource-sourcebuffer-mode-timestamps.html:34:13)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {                                  sourceBuffer.mode = "segments";                              }", "SourceBuffer#mode with generate timestamps flag true")
    at Test.<anonymous> ( /media-source/mediasource-sourcebuffer-mode-timestamps.html:35:13)