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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/Panner/distance-linear.html

Issue 2727663003: Move task.describe to audit.define arg (Closed)
Patch Set: Fix up expected results Created 3 years, 9 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/Panner/distance-linear.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/Panner/distance-linear.html b/third_party/WebKit/LayoutTests/webaudio/Panner/distance-linear.html
index fb285a0fdd336b9f102ae17aaa38925687cf97c5..82141620fb7e58cbd91609ecab5080e0ad3f31df 100644
--- a/third_party/WebKit/LayoutTests/webaudio/Panner/distance-linear.html
+++ b/third_party/WebKit/LayoutTests/webaudio/Panner/distance-linear.html
@@ -12,14 +12,15 @@
<script>
let audit = Audit.createTaskRunner();
- audit.define("test", (task, should) => {
- task.describe("Linear distance model PannerNode");
- // Create offline audio context.
- context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate);
+ audit.define(
+ {label: 'test', description: 'Linear distance model PannerNode'},
+ (task, should) => {
+ // Create offline audio context.
+ context = new OfflineAudioContext(
+ 2, sampleRate * renderLengthSeconds, sampleRate);
- createTestAndRun(context, "linear", should)
- .then(() => task.done());
- });
+ createTestAndRun(context, 'linear', should).then(() => task.done());
+ });
audit.run();
</script>

Powered by Google App Engine
This is Rietveld 408576698