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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/ChannelSplitter/audiochannelsplitter.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/ChannelSplitter/audiochannelsplitter.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/ChannelSplitter/audiochannelsplitter.html b/third_party/WebKit/LayoutTests/webaudio/ChannelSplitter/audiochannelsplitter.html
index efda359ecd5e8932f8b1171724212ab2541bffd8..77ee8a34aa6c05b299a7e7f0b02703a881168259 100644
--- a/third_party/WebKit/LayoutTests/webaudio/ChannelSplitter/audiochannelsplitter.html
+++ b/third_party/WebKit/LayoutTests/webaudio/ChannelSplitter/audiochannelsplitter.html
@@ -62,8 +62,10 @@ function checkResult(buffer, should) {
.message("correctly", "incorrectly");
}
-audit.define("construction", function (task, should) {
- task.describe("Construction of ChannelSplitterNode");
+audit.define({
+ label: "construction",
+ description: "Construction of ChannelSplitterNode"
+}, function (task, should) {
// Create stereo offline audio context.
context = new OfflineAudioContext(2, lengthInSampleFrames, sampleRate);
@@ -103,8 +105,10 @@ audit.define("construction", function (task, should) {
task.done();
});
-audit.define("functionality", function (task, should) {
- task.describe("Functionality of ChannelSplitterNode");
+audit.define({
+ label: "functionality",
+ description: "Functionality of ChannelSplitterNode"
+}, function (task, should) {
// Create a stereo buffer, with all +1 values in left channel, all -1 in right channel.
sourceBuffer = createStereoBufferWithDCOffset(lengthInSampleFrames, sampleRate, 1);

Powered by Google App Engine
This is Rietveld 408576698