Closed
Bug 169825
Opened 22 years ago
Closed 21 years ago
[FIX]DOM inspector does not show many attributes (GetAttributes broken in XUL)
Categories
(Core :: XUL, defect, P2)
Core
XUL
Tracking
()
VERIFIED
FIXED
mozilla1.6alpha
People
(Reporter: aaronlev, Assigned: bzbarsky)
Details
Attachments
(2 files)
1.93 KB,
patch
|
Details | Diff | Splinter Review | |
1.42 KB,
patch
|
sicking
:
review+
peterv
:
superreview+
|
Details | Diff | Splinter Review |
When using DOM inspector to look at navigator.xul, look at the <textbox> element
for the address bar. (You can search for id="urlbar").
For some reason, only about 3 attributes are showing up, when there are a lot more:
<textbox id="urlbar" class="chromeclass-location" flex="1"
type="autocomplete" searchSessions="history"
timeout="50" maxrows="6" alwaysopenpopup="true"
disablehistory="false" accesskey="d"
defaultSearchEngine="true" tabScrolling="true"
showCommentColumn="true"
inputtooltiptext="&locationBar.tooltip;"
oninput="window.XULBrowserWindow.userTyped.value=true;"
ontextcommand="return handleURLBarCommand(eventParam, domEvent);"
ontextrevert="return handleURLBarRevert();"
onfocus="URLBarFocusHandler(event);"
onmousedown="URLBarMouseDownHandler(event);"
onclick="URLBarClickHandler(event);">
It seems to be a big bug for Inspector.
![]() |
Assignee | |
Comment 1•22 years ago
|
||
I haven't looked into this or anything, but I bet money that
nsXULElement::GetAttributes is what's buggy.
Comment 2•21 years ago
|
||
Mass re-assigning bugs to dom.inspector@extensions.bugs
Assignee: hewitt → dom.inspector
![]() |
Assignee | |
Comment 3•21 years ago
|
||
Short story: Attributes() is non-null if we have some attrs set to local
values that differ from the prototype. But it only contains the attrs that are
set locally. so if we want to use it as the return value of GetAttributes(),
we need to call MakeHeavyweight unconditionally.
![]() |
Assignee | |
Comment 4•21 years ago
|
||
![]() |
Assignee | |
Updated•21 years ago
|
Attachment #132063 -
Flags: superreview?(peterv)
Attachment #132063 -
Flags: review?(bugmail)
![]() |
Assignee | |
Comment 5•21 years ago
|
||
Taking.
Assignee: dom.inspector → bzbarsky
Priority: -- → P2
Summary: DOM inspector does not show many attributes → [FIX]DOM inspector does not show many attributes (GetAttributes broken in XUL)
Target Milestone: --- → mozilla1.6alpha
Updated•21 years ago
|
Attachment #132063 -
Flags: superreview?(peterv) → superreview+
Attachment #132063 -
Flags: review?(bugmail) → review+
hmm.. please add a comment in the code why you do this btw, or just refer to
this bug
![]() |
Assignee | |
Comment 7•21 years ago
|
||
Fixed, with comment added.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Verify Fixed: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a)
Gecko/20040125
Steps: Comment 0
Status: RESOLVED → VERIFIED
Component: DOM Inspector → XP Toolkit/Widgets: XUL
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: timeless → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•