Bug 286927 - Use & not && for flags (doh).
Venkman only. r=rginda git-svn-id: svn://10.0.0.236/trunk@198351 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
53fd114730
commit
fe243a0b3f
@ -388,10 +388,8 @@ function jsdErrorHook (message, fileName, line, pos, flags, exception)
|
||||
try
|
||||
{
|
||||
var flagstr;
|
||||
flagstr =
|
||||
(flags && jsdIErrorHook.REPORT_EXCEPTION) ? "x" : "-";
|
||||
flagstr +=
|
||||
(flags && jsdIErrorHook.REPORT_STRICT) ? "s" : "-";
|
||||
flagstr = (flags & jsdIErrorHook.REPORT_EXCEPTION) ? "x" : "-";
|
||||
flagstr += (flags & jsdIErrorHook.REPORT_STRICT) ? "s" : "-";
|
||||
|
||||
//dd ("===\n" + message + "\n" + fileName + "@" +
|
||||
// line + ":" + pos + "; " + flagstr);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user