Closed
Bug 342651
Opened 18 years ago
Closed 18 years ago
Want to be able to go to a DOM node in DOMI from venkman's console/watch/locals
Categories
(Other Applications Graveyard :: Venkman JS Debugger, enhancement)
Other Applications Graveyard
Venkman JS Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Gijs, Assigned: Gijs)
References
Details
Attachments
(1 file, 1 obsolete file)
10.33 KB,
patch
|
bugzilla-mozilla-20000923
:
review+
|
Details | Diff | Splinter Review |
As in description.
Assignee | ||
Comment 1•18 years ago
|
||
Patch, with a review request to people who are not sick, not too busy and who sort of maybe slightly care! :-D I'm happy about this patch, except for two things: * Is there really no better way to figure out if DOMI is there? * When I do: /inspect document.createElement("p"); DOMI manages to open the right document, but it selects nothing and doesn't really seem to understand that I just created a note without putting it somewhere *in* the document, even though it definitely belongs to that document. Sigh. Fixing this will require DOMI hacking though, which is something I'm not feeling up to at 1.37am. "Maybe later" That's about it, I think. :-)
Attachment #226945 -
Flags: review?(silver)
Assignee | ||
Comment 2•18 years ago
|
||
I still don't understand how people manage late-night hacking and I don't (always). This patch is actually valid JS.... I think. More so than the last, anyway.
Attachment #226945 -
Attachment is obsolete: true
Attachment #226950 -
Flags: review?(silver)
Attachment #226945 -
Flags: review?(silver)
Comment 3•18 years ago
|
||
Comment on attachment 226950 [details] [diff] [review] Valid patch >Index: mozilla/extensions/venkman/resources/content/venkman-static.js >+function isDOMThing(o) >+{ >+ const nsIDOMNode = Components.interfaces.nsIDOMNode; >+ const nsIDOMDocument = Components.interfaces.nsIDOMDocument; >+ return (isinstance(o, nsIDOMNode) || isinstance(o, nsIDOMDocument)); isinstance(o, nsIDOMDocument) implies isinstance(o, nsIDOMNode), so the former is not needed. >Index: mozilla/extensions/venkman/resources/locale/en-US/venkman.properties >+cmd.inspect.label = &Inspect in DOM Inspector >+cmd.inspect.params = [<expression>] >+cmd.inspect.help = Inspects (the result of) the expression as in DOM inspector. "Inspects the result of <expression> in DOM Inspector." (note capital I) r=silver with those fixed.
Attachment #226950 -
Flags: review?(silver) → review+
Assignee | ||
Comment 4•18 years ago
|
||
Landed --> FIXED.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•