Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html

Issue 2654673003: Implement should().beRejectedWith() (Closed)
Patch Set: Initial patch Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html
index cde5632b3dd68fa48e0f3c7eac3f04780107b2ab..b8610cc9788b5d0fef098a2fa710edb3c02067db 100644
--- a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html
+++ b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html
@@ -39,7 +39,9 @@
Promise.all([
should(oac.decodeAudioData(), 'Decoding audio data with no argument')
.beResolved(),
- should(oac.startRendering()).beRejected()
+ should(oac.startRendering(), 'Start OAC rendering').beRejected(),
+ should(oac.suspend(), 'Suspending OAC with no argument')
+ .beRejectedWith('IndexSizedError')
Raymond Toy 2017/01/23 23:11:57 You mean 'IndexSizeError'? (No "d")
hongchan 2017/01/23 23:14:50 Done.
]).then(task.done.bind(task));
});

Powered by Google App Engine
This is Rietveld 408576698