Permalink
Browse files

Merge branch 'master' of github.com:firebug/firebug

  • Loading branch information...
janodvarko committed Jul 11, 2012
2 parents 494f519 + 1aa243b commit 02b911f6361dab4d5a6bacd0d7ca7f86e4dee05b
@@ -12,7 +12,7 @@ function runTest()
FBTest.waitForDisplayedElement("console", config, function(row)
{
// Verify displayed text.
- var reTextContent = /ReferenceError\:\s*undefinedVariable is not defined\s*var test = undefinedVariable;\s*issue5525.html\s*\(line 10\)/;
+ var reTextContent = /\s*undefinedVariable is not defined\s*var test = undefinedVariable;\s*issue5525.html\s*\(line 10\)/;
FBTest.compare(reTextContent, row.textContent, "Text content must match.");
// Create error breakpoint
@@ -14,7 +14,7 @@ function runTest()
FBTest.waitForDisplayedElement("console", config, function(row)
{
// Verify displayed text.
- var reTextContent = /Error\:\s*b\s*throw new Error\(\"b\"\)\;\s*issue5400\.html\s*\(line\s*25\)\s*/;
+ var reTextContent = /\s*b\s*throw new Error\(\"b\"\)\;\s*issue5400\.html\s*\(line\s*25\)\s*/;
FBTest.compare(reTextContent, row.textContent, "Text content must match.");
// Show stack trace.
@@ -18,7 +18,7 @@ function runTest()
FBTest.ok(node, "The error message must have a break switch");
// Verify displayed text.
- var reTextContent = /\s*ReferenceError\:\s*foops is not defined\s*/;
+ var reTextContent = /\s*\s*foops is not defined\s*/;
FBTest.compare(reTextContent, row.textContent, "Text content must match.");
// Show stack trace.

0 comments on commit 02b911f

Please sign in to comment.