Closed
Bug 119852
Opened 23 years ago
Closed 15 years ago
this.mViewerHash[aUID] has no properties
Categories
(Other Applications :: DOM Inspector, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: timeless, Unassigned)
References
Details
JavaScript error:
chrome://inspector/content/ViewerRegistry.js line 207: this.mViewerHash[aUID]
has no properties
Unfortunately there are multiple call sites and venkman is being disagreeable.
For now, we can check in the interim strict warning patch which would mask the
problem, or we could check in a patch at the call sites, or someone could try
to debug the call sites.
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
vnk: Warning ``reference to undefined property this.mViewerHash[aUID]'' [xs] in
file ``chrome://inspector/content/Viewer
Registry.js'', line 207, character 0.
vnk: Stopped for error handler.
vnk: unable to guess function name based on text ``''
vnk: unable to guess function name based on text ``''
vnk: unable to guess function name based on text ``''
vnk: unable to guess function name based on text ``''
vnk: unable to guess function name based on text ``''
vnk: unable to guess function name based on text ``''
vnk: unable to guess function name based on text ``''
vnk: unable to guess function name based on text ``''
vnk: unable to guess function name based on text ``''
vnk: function anonymous(aUID=string:"dom") in
<chrome://inspector/content/ViewerRegistry.js> line 207
vnk: 205: getViewerByUID: function(aUID)
vnk: 206: {
vnk: 207: return this.mViewerHash[aUID].viewer;
vnk: 208: },
vnk: 209:
vnk: #1: function anonymous(aUID=string:"dom") in
<chrome://inspector/content/inspector.js> line 515
vnk: this.mViewerHash
vnk: $[6] = [Object] [class: Object] {0}
4966 PAINT widget=0807186C name=noname id=003416D6 rect=370,517
642,14
vnk: Properties of this.mViewerHash in debug target scope:
4980 PAINT widget=0807186C name=noname id=003416D6 rect=370,517
642,14
so, this.mViewerHash is {}
fix coming.
// for previously loaded viewers only
ok, so um, it's a caller bug. And there's no stack past frame 1, so i don't
know what's going on. Hewitt?
Comment 3•22 years ago
|
||
I assume this is the bug which prevents a functioning "Search -> Select Element
By Click" in DOM Inspector (Win2K/Moz 1.1b 2002072204).
Comment 4•22 years ago
|
||
WRT comment #3 : reproduced this with a clean profile.
Javascript console :
Error: this.mViewerHash[aUID] has no properties
Source File: chrome://inspector/content/ViewerRegistry.js
Line: 207
Venkman :
Errors will now stop the debug target.
Exceptions will now stop the debug target.
Error ``this.mViewerHash[aUID] has no properties'' [xs] in file
``chrome://inspector/content/ViewerRegistry.js'', line 207, character 0.
Error ``TypeError: this.mViewerHash[aUID] has no properties'' [xs] in file
``chrome://inspector/content/ViewerRegistry.js'', line 207, character 0.
Error ``this.mViewerHash[aUID] has no properties'' [xs] in file
``chrome://inspector/content/ViewerRegistry.js'', line 207, character 0.
Error ``TypeError: this.mViewerHash[aUID] has no properties'' [xs] in file
``chrome://inspector/content/ViewerRegistry.js'', line 207, character 0.
Error ``this.mViewerHash[aUID] has no properties'' [xs] in file
``chrome://inspector/content/ViewerRegistry.js'', line 207, character 0.
Error ``TypeError: this.mViewerHash[aUID] has no properties'' [xs] in file
``chrome://inspector/content/ViewerRegistry.js'', line 207, character 0.
Failed to reproduce the problem on either Linux (1.1b-2002080409_trunk) or
Win2K (2002080504) nightly.
Comment 5•21 years ago
|
||
Mass re-assigning bugs to dom.inspector@extensions.bugs
Assignee: hewitt → dom.inspector
Status: ASSIGNED → NEW
Updated•20 years ago
|
Product: Core → Other Applications
Comment 6•20 years ago
|
||
qawanted: I need a clear set of steps to reproduce if it is. What document(s)
produce these errors? How do you generate them?
I understand how the ViewerRegistry works, so I need to see how to recreate this
exception exactly.
Keywords: qawanted
Updated•17 years ago
|
Assignee: dom-inspector → nobody
QA Contact: timeless → dom-inspector
Comment 7•17 years ago
|
||
(In reply to comment #4)
> Failed to reproduce the problem on either Linux (1.1b-2002080409_trunk) or
> Win2K (2002080504) nightly.
I don't know about that, but I can reproduce as you did in comment 3:
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9b3pre) Gecko/2008020102 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4)
1. Start DomI.
2. "Search > Find Nodes... (Ctrl+F)". (Or "View > Blink Selected Element".)
2r.
{{
Warning: reference to undefined property this.mViewerHash[aUID]
Source File: chrome://inspector/content/ViewerRegistry.js
Line: 203
Error: this.mViewerHash[aUID] is undefined
Source File: chrome://inspector/content/ViewerRegistry.js
Line: 203
}}
The first one is a strict warning.
This seems to fail because there is no document loaded yet:
may be all these options should be disabled until then !?
Keywords: qawanted
Target Milestone: Future → ---
Comment 8•15 years ago
|
||
Based on comment 7 (there are no other indications in the bug of when this occurs...), this should be fixed as of bug 532355/bug 532312.
If this is happening anywhere else, please reopen.
You need to log in
before you can comment on or make changes to this bug.
Description
•