mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 286927 - Use & not && for flags (doh).
Venkman only. r=rginda
This commit is contained in:
parent
83870a1e3f
commit
e60e0f3346
@ -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…
Reference in New Issue
Block a user