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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/Oscillator/oscillator-late-start.html

Issue 2693853004: Fix flakiness in webaudio/Oscillator/oscillator-late-start.html (Closed)
Patch Set: Initial commit 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/Oscillator/oscillator-late-start.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/Oscillator/oscillator-late-start.html b/third_party/WebKit/LayoutTests/webaudio/Oscillator/oscillator-late-start.html
index 959475fa488f794acbfdff77876b5b9bb44ebc31..513bda9d4329597e4bed34a92b05c3a64d856891 100644
--- a/third_party/WebKit/LayoutTests/webaudio/Oscillator/oscillator-late-start.html
+++ b/third_party/WebKit/LayoutTests/webaudio/Oscillator/oscillator-late-start.html
@@ -17,16 +17,14 @@
var sampleRate = 44100;
- // The long render length (20 seconds) is to make sure the |onstatechange|
- // event gets fired to start the source, which can take quite a bit of time.
- var renderLength = 20;
+ var renderLength = 1;
var context = new OfflineAudioContext(1, sampleRate * renderLength, sampleRate);
var osc = context.createOscillator();
// Test the oscillator node is rendered correctly when the start time of start()
// call is in the past in terms of the context time.
- runLateStartTest(audit, context, osc);
+ runLateStartTest(audit, Should, context, osc);
successfullyParsed = true;
</script>

Powered by Google App Engine
This is Rietveld 408576698