Closed
Bug 472122
Opened 16 years ago
Closed 16 years ago
Invalid argument when hovering over toolbar/locationbar and inspector enabled
Categories
(Testing Graveyard :: Mozmill, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: whimboo, Unassigned)
References
Details
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b3pre) Gecko/20090104 Shiretoko/3.1b3pre ID:20090104034401 and Mozmill 1.0rc3
When the inspector is enabled and you hover over the toolbar/locationbar the following error is shown:
Error: Invalid argument
Source File: file:///C:/Mozilla/profiles/firefox%203.1/extensions/mozmill@mozilla.com/resource/modules/inspection.js
Line: 186
Which is:
if (identifier) {
var result = {'id':elementslib._byID, 'name':elementslib._byName}[identifier.name](_document, elem.parentNode, identifier.value);
if ( typeof(result != 'array') ) {
=> return identifier.name+'('+json2.JSON.stringify(identifier.value)+')';
}
}
Comment 1•16 years ago
|
||
This bug seems to only be on Minefield. The latest release isn't effected which is why we haven't seen this before.
| Reporter | ||
Comment 2•16 years ago
|
||
I can reproduce it by using Shiretoko and Minefield. What do you mean with latest release? MozMill 1.0rc3? See the first line in my comment 0. I have that version.
Comment 3•16 years ago
|
||
I meant the latest release of Firefox. This bug is still a bug in the latest mozmill trunk with Minefield though.
Should have a fix checked in tomorrow.
Comment 4•16 years ago
|
||
This turned out to be an issue with JSON.
The json2 library we have modified to be a resource in the tree has a clause that only defines it's JSON parser if one doesn't already exist. Minefield has the native JSON parser already defined but there is a bug in it that will only encode objects and arrays.
I fixed this by modifying our local copy of json2 so that we don't need to wait for that bug to be fixed in Minefield.
Updated•16 years ago
|
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•9 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•