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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-update-value-attribute.html

Issue 2804103002: Throw when testharness::done() is called by layout test code (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | third_party/WebKit/LayoutTests/webaudio/DynamicsCompressor/dynamicscompressor-basic.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-update-value-attribute.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-update-value-attribute.html b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-update-value-attribute.html
index e5d83d411c14b78e0882d8eaf15daf2351adbb54..b3796ad18a59e2ca3a7a27c4df7149ad8ddb1b83 100644
--- a/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-update-value-attribute.html
+++ b/third_party/WebKit/LayoutTests/webaudio/AudioParam/audioparam-update-value-attribute.html
@@ -33,7 +33,7 @@
message: "linearRamp(" + v1 + ", " + t1 + ")",
errorThreshold: 1.1650e-6
};
- }).then(done);
+ }).then(() => task.done());
});
audit.define("exponential", (task, should) => {
@@ -47,7 +47,7 @@
message: "exponentialRamp(" + v1 + ", " + t1 + ")",
errorThreshold: 7.4601e-7
};
- }).then(done);
+ }).then(() => task.done());
});
audit.define("setTarget", (task, should) => {
@@ -63,7 +63,7 @@
message: "setTargetAtTime(" + vFinal + ", " + t0 + ", " + timeConstant + ")",
errorThreshold: 2.2599e-6
};
- }).then(done);
+ }).then(() => task.done());
});
audit.define("setValueCurve", (task, should) => {
@@ -79,7 +79,7 @@
message: "setValueCurveAtTime([" + curve + "], " + t0 + ", " + duration + ")",
errorThreshold: 7.9577e-8
};
- }).then(done);
+ }).then(() => task.done());
});
audit.run();
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/DynamicsCompressor/dynamicscompressor-basic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698