Closed Bug 263608 Opened 21 years ago Closed 21 years ago

Javascript Debugger Toolbar has no icons in

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: iannbugzilla, Assigned: bugzilla-mozilla-20000923)

Details

(Keywords: regression)

Attachments

(1 file)

Using BuildID 2004100805 on WinXP SP2 Steps to reproduce: 1. Select Javascript debugger from Tools, Web Development menu Expected results: 1. Javascript debugger opens with toolbar full of icons Actual results: 1. Javascript debugger opens with completely empty toolbar
Regression happens between BuildID 2004100407 and BuildID 2004100506 The following messages appears in the interactive session window as well: Internal error dispatching command “pprint”. TypeError: tb has no properties @ <chrome://venkman/content/venkman-commands.js> 1286
This also stops JS debugging work as each time the debugger tries to alter the state of icon on the toolbar it gives a "tb has no properties" error. Severity -> Critical
Severity: normal → critical
OS: Windows XP → All
Hardware: PC → All
Woah, the console is not a pretty sight. ASSERTION FAILED left right and center. :)
Well, that was a hum-dinger of a bug. Patch in a sec.
Assignee: rginda → silver
This was fun. It seems that, until recently, the following code returned true: ["foo"] in { foo: 1 } even though you'd expect it not to (the array isn't a property of the object, now is it?). This has been fixed, it seems, and the menu code kinda relied on it, though purely accidentally I think. This patch makes it pass the actual command name, instead of an array containing the name.
Status: NEW → ASSIGNED
Attachment #161611 - Flags: review?(rginda)
Comment on attachment 161611 [details] [diff] [review] Get actual string, not an array of 1 item r=rginda Thanks!
Attachment #161611 - Flags: review?(rginda) → review+
Checked in, should be fixed in the next round of nightly builds.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Other Applications
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: