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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/Panner/hrtf-database.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
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/onstatechange.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/webaudio/Panner/hrtf-database.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/Panner/hrtf-database.html b/third_party/WebKit/LayoutTests/webaudio/Panner/hrtf-database.html
index 31f0c3e977f2dcfe525af702931fda62606c9da2..bc890e72980393e0452ec98903711307d23bb4b7 100644
--- a/third_party/WebKit/LayoutTests/webaudio/Panner/hrtf-database.html
+++ b/third_party/WebKit/LayoutTests/webaudio/Panner/hrtf-database.html
@@ -19,8 +19,10 @@
var audit = Audit.createTaskRunner();
- audit.define("loadfiles", function (task, should) {
- task.describe("Load HRTF database files");
+ audit.define({
+ label: "loadfiles",
+ description: "Load HRTF database files"
+ }, function (task, should) {
// Any valid context with the right sample rate will do.
context = new OfflineAudioContext(1, 1, sampleRate);
@@ -41,8 +43,10 @@
bufferLoader.load();
});
- audit.define("verify-flac", function (task, should) {
- task.describe("Verify FLAC-encoded HRTF database matches original");
+ audit.define({
+ label: "verify-flac",
+ description: "Verify FLAC-encoded HRTF database matches original"
+ }, function (task, should) {
should(flacBuffer.numberOfChannels, "Number of FLAC channels")
.beEqualTo(wavBuffer.numberOfChannels);
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/onstatechange.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698