Index: third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html |
diff --git a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html |
index 1982fd30043ab51f2af48f218be7d1ddd5d1b474..73a034f63f7e84c0775759f9a0b40df73faea35b 100644 |
--- a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html |
+++ b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit.html |
@@ -8,7 +8,8 @@ |
</head> |
<body> |
<script> |
- var audit = Audit.createTaskRunner(); |
+ var audit = Audit.createTaskRunner({ requireResultFile: true }); |
+ |
// Basic assertion testing. |
audit.define('basic', function (task, should) { |
@@ -30,7 +31,8 @@ |
let oac = new OfflineAudioContext(1, 128, 44100); |
Promise.all([ |
should(oac.startRendering(), 'Start OAC rendering').beResolved(), |
- should(oac.decodeAudioData()).beRejected() |
+ should(oac.decodeAudioData(), 'Decoding audio data with no argument') |
+ .beRejected() |
]).then(task.done.bind(task)); |
}); |