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

Unified Diff: LayoutTests/webaudio/offlineaudiocontext-promise.html

Issue 945023002: Refactoring layout tests for AudioContext.suspend() and resume() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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: LayoutTests/webaudio/offlineaudiocontext-promise.html
diff --git a/LayoutTests/webaudio/offlineaudiocontext-promise.html b/LayoutTests/webaudio/offlineaudiocontext-promise.html
index 4f24b0cec3142609d1b89d710c77805e23f6f6bf..4f57e88b5643cfca6c5307e060a698188eb79702 100644
--- a/LayoutTests/webaudio/offlineaudiocontext-promise.html
+++ b/LayoutTests/webaudio/offlineaudiocontext-promise.html
@@ -2,14 +2,14 @@
<html>
<head>
<script src="../resources/js-test.js"></script>
- <script src="resources/audio-testing.js"/>
<script src="resources/compatibility.js"></script>
+ <script src="resources/audio-testing.js"></script>
Raymond Toy 2015/02/20 21:35:14 Does the order matter?
hongchan 2015/02/20 22:20:09 Just to make it consistent and by the order of sco
<title>OfflineAudioContext.startRendering Promise with oncomplete</title>
</head>
<body>
<script>
- description("Test OfflineAudioContext.startRendering Promise with oncomplete")
+ description("Test OfflineAudioContext.startRendering Promise with oncomplete");
var context;
var promise;
@@ -27,7 +27,7 @@
if (renderedData === promiseData) {
testPassed("AudioBuffer returned by oncomplete and promise are identical");
} else {
- testPassed("AudioBuffer returned by oncomplete and promise are NOT identical");
+ testFailed("AudioBuffer returned by oncomplete and promise are NOT identical");
Raymond Toy 2015/02/20 21:35:14 I don't think this change should be part of this C
hongchan 2015/02/20 22:20:09 Will do!
}
finishJSTest();
}

Powered by Google App Engine
This is Rietveld 408576698