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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-fft-sizing.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/Analyser/realtimeanalyser-fft-sizing.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-fft-sizing.html b/third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-fft-sizing.html
index 16e72bc7fd33d55152c457fc4cbbcb80bfff6643..1bb85bf3aaedcbdcf43f2ff18768ec4f677dc6a1 100644
--- a/third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-fft-sizing.html
+++ b/third_party/WebKit/LayoutTests/webaudio/Analyser/realtimeanalyser-fft-sizing.html
@@ -29,8 +29,10 @@ function doTest(fftSize, illegal, should) {
}
}
-audit.define("FFT size test", function (task, should) {
- task.describe("Test that re-sizing the FFT arrays does not fail.");
+audit.define({
+ label: "FFT size test",
+ description: "Test that re-sizing the FFT arrays does not fail."
+}, function (task, should) {
doTest(-1, true, should);
doTest(0, true, should);
doTest(1, true, should);

Powered by Google App Engine
This is Rietveld 408576698