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

Unified Diff: chrome/test/data/webrtc/test_functions.js

Issue 293123009: Cleaned up WebRTC browser test js, removed unneeded stuff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 7 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 | « chrome/test/data/webrtc/peerconnection.js ('k') | chrome/test/data/webrtc/webrtc_audio_quality_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webrtc/test_functions.js
diff --git a/chrome/test/data/webrtc/test_functions.js b/chrome/test/data/webrtc/test_functions.js
index 4818ff77733197cac7b83a06de93445133a54e9c..32f03640399b848bc9615589a34a85f35bc2309c 100644
--- a/chrome/test/data/webrtc/test_functions.js
+++ b/chrome/test/data/webrtc/test_functions.js
@@ -33,6 +33,7 @@ function returnToTest(message) {
* @return {!Error}
*/
function failTest(reason) {
- returnToTest('Test failed: ' + reason);
- return new Error(reason);
+ var error = new Error(reason);
+ returnToTest('Test failed: ' + error.stack);
+ return error;
}
« no previous file with comments | « chrome/test/data/webrtc/peerconnection.js ('k') | chrome/test/data/webrtc/webrtc_audio_quality_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698