blob: ac335299ef47f1714d6b6be6fa3e053b622aef33 [file] [log] [blame]
PASS # AUDIT TASK RUNNER STARTED.
PASS Executing "test-suspend"
PASS Executing "test-resume"
FAIL Executing "test-after-close" promise_test: Unhandled rejection with value: object "TypeError: undefined is not an object (evaluating 'p3.then')"
PASS Executing "resume-running-context"
PASS Audit report
PASS > [test-suspend] Test suspend() for offline context
PASS offlineContext = new OfflineAudioContext(1, 44100, 44100) did not throw an exception.
PASS offlineContext.state is equal to suspended.
PASS p1 = offlineContext.suspend() did not throw an exception.
PASS p1 instanceof Promise is true.
PASS p1 rejected correctly with InvalidStateError: The object is in an invalid state..
PASS < [test-suspend] All assertions passed. (total 5 assertions)
PASS > [test-resume] Test resume() for offline context
PASS p2 = offlineContext.resume() did not throw an exception.
PASS p2 instanceof Promise is true.
PASS After resume, offlineContext.state is equal to suspended.
PASS p2 rejected correctly with InvalidStateError: The object is in an invalid state..
PASS < [test-resume] All assertions passed. (total 4 assertions)
PASS > [test-after-close] Test state after context closed
PASS p3 = offlineContext.startRendering() did not throw an exception.
PASS > [resume-running-context] Test resuming a running context
PASS Create online context did not throw an exception.
FAIL X context.state is not equal to running. Got suspended. assert_true: expected true got false
PASS context.resume resolved correctly.
PASS context.state after resume is equal to running.
FAIL < [resume-running-context] 1 out of 4 assertions were failed. assert_true: expected true got false
FAIL # AUDIT TASK RUNNER FINISHED: 1 out of 4 tasks were failed. assert_true: expected true got false