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

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: 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
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;
}

Powered by Google App Engine
This is Rietveld 408576698