Closed Bug 704014 Opened 13 years ago Closed 13 years ago

Web Console logging throws fatal error when given an undefined argument

Categories

(DevTools :: Console, defect)

9 Branch
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 692550

People

(Reporter: mike, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.0; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111104165243

Steps to reproduce:

Typed the following into the web console:

console.log('%s', undefined);


Actual results:

Received a type error:

TypeError: args.shift() is undefined


Expected results:

Value "undefined" should have been returned.

This is a regression in the 9.0 beta. 8.0 works correctly.
OS: Windows Vista → Windows XP
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.