Index: chrome/test/data/webui/test_api.js |
diff --git a/chrome/test/data/webui/test_api.js b/chrome/test/data/webui/test_api.js |
index 6d15bb323af7b2c0166be0b538c285ed29e620af..1b980b1c8325d5eedd376bc9fb5afbde3eefb7be 100644 |
--- a/chrome/test/data/webui/test_api.js |
+++ b/chrome/test/data/webui/test_api.js |
@@ -732,7 +732,7 @@ var testing = {}; |
// Allow pattern to match multiple lines for text wrapping. |
var callerRegExp = |
- new RegExp(stackInfo.callerName + '\\((.|\\n)*?\\);', 'g'); |
+ new RegExp(stackInfo.callerName + '\\((.|\\n|\\r)*?\\);', 'g'); |
// Find all matches allowing wrap around such as when a helper function |
// calls assert/expect calls and that helper function is called multiple |