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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/Analyser/handle-silent-inputs.html

Issue 2708953003: Move task.describe descriptions to audit.define (Closed)
Patch Set: Convert Panner 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/Analyser/handle-silent-inputs.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/Analyser/handle-silent-inputs.html b/third_party/WebKit/LayoutTests/webaudio/Analyser/handle-silent-inputs.html
index f1db505b74ba9711e717b517006a14f8649fa154..d84ce0f7c69d180feb96571abf477f6b88ce78d5 100644
--- a/third_party/WebKit/LayoutTests/webaudio/Analyser/handle-silent-inputs.html
+++ b/third_party/WebKit/LayoutTests/webaudio/Analyser/handle-silent-inputs.html
@@ -15,21 +15,24 @@
let renderDuration = 1;
let renderFrames = renderDuration * sampleRate;
- audit.define('connected', function(task, should) {
- task.describe('Test handling of silent inputs');
-
+ audit.define({
+ label: 'connected',
+ description: 'Test handling of silent inputs'
+ }, function (task, should) {
tester(should, false).then(task.done.bind(task));
});
- audit.define('auto-pull', function(task, should) {
- task.describe('Test handling of silent inputs');
-
+ audit.define({
+ label: 'auto-pull',
+ description: 'Test handling of silent inputs'
+ }, function(task, should) {
tester(should, true).then(task.done.bind(task));
});
- audit.define('timing', function(task, should) {
- task.describe('Test shifting in of zeroes after source has stopped');
-
+ audit.define({
+ label: 'timing',
+ description: 'Test shifting in of zeroes after source has stopped'
+ }, function(task, should) {
let renderQuantumFrames = 128;
// sampleRate chosen to be a power of two so we don't have round-off

Powered by Google App Engine
This is Rietveld 408576698