Closed Bug 650780 Opened 14 years ago Closed 14 years ago

evaluating a null object in the web console returns TypeError: aObject is null

Categories

(DevTools :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 6

People

(Reporter: rcampbell, Assigned: rcampbell)

Details

(Whiteboard: [fixed-in-devtools][console-1][merged-to-mozilla-central])

Attachments

(1 file)

STR: 1. Open a Web Console (cmd/ctrl+shift+k) 2. type "null" in the command line and hit enter Expected results: Console should return "null" in the output error. Actual results: We get an error, TypeError: aObject is null. Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0a1) Gecko/20110415 Firefox/6.0a1 aka nightly. works in Fx4.
Flags: in-testsuite?
simple null check in isIteratorOrGenerator. And a unittest!
Assignee: nobody → rcampbell
Status: NEW → ASSIGNED
Attachment #527077 - Flags: review?(ddahl)
Comment on attachment 527077 [details] [diff] [review] [checked-in][in-devtools] null This fix should block merging to mozilla-central. Fixes a problem with patch in bug 632347.
Attachment #527077 - Flags: review?(ddahl) → review+
Comment on attachment 527077 [details] [diff] [review] [checked-in][in-devtools] null adding mossop for some additional review sauce.
Attachment #527077 - Flags: review?(dtownsend)
Attachment #527077 - Flags: review?(dtownsend) → review+
Whiteboard: [checkin][console-1]
Attachment #527077 - Attachment description: null → [in-devtools] null
Whiteboard: [checkin][console-1] → [fixed-in-devtools][console-1]
Attachment #527077 - Attachment description: [in-devtools] null → [checked-in][in-devtools] null
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-devtools][console-1] → [fixed-in-devtools][console-1][merged-to-mozilla-central]
Target Milestone: --- → Firefox 6
Verified Fixed on: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0a1) Gecko/20110511 Firefox/6.0a1
Status: RESOLVED → VERIFIED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: