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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/onstatechange.html

Issue 2708953003: Move task.describe descriptions to audit.define (Closed)
Patch Set: Address review comments. Created 3 years, 10 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/OfflineAudioContext/onstatechange.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/onstatechange.html b/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/onstatechange.html
index 0f88289c59e37e0321558672259314eeba0bb041..e7c4d0b46f6ff38aa6008399bb61e840b6716a10 100644
--- a/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/onstatechange.html
+++ b/third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/onstatechange.html
@@ -45,8 +45,10 @@
.beEqualTo("closed");
}
- audit.define('test', (task, should) => {
- task.describe('Signaling of statechange event');
+ audit.define({
+ label: 'test',
+ description: 'Signaling of statechange event'
+ }, (task, should) => {
// Create an offline context with a source passing through a convolver. The convolver is
// just to waste some time.
context = new OfflineAudioContext(1, secondsToRender * sampleRate, sampleRate);

Powered by Google App Engine
This is Rietveld 408576698