Closed Bug 199566 Opened 22 years ago Closed 22 years ago

Add -inspector command-line param

Categories

(Other Applications :: DOM Inspector, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: netdragon, Assigned: caillon)

Details

Attachments

(1 file, 1 obsolete file)

"mozilla -venkman" exists. "mozilla -inspector" would be nice "mozilla chrome://inspector/content/inspector.xul" is close as a workaround.
dbaron mentioned that "mozilla -chrome chrome://inspector/content/inspector.xul" gives it its own window. An even better workaround.
.
Component: XP Apps: Cmd-line Features → DOM Inspector
.
Assignee: law → caillon
QA Contact: sairuh → timeless
I thought we already had this (based on the fact that the documentation hewitt wrote says we do). I temporarily commented that out, but I have this working in my tree. I will probably upload a patch tomorrow sometime once I make it play nicely with xpis.
Status: NEW → ASSIGNED
Attached patch Command Handler (obsolete) — Splinter Review
Should do the trick.
Comment on attachment 123595 [details] [diff] [review] Command Handler Seeking r+sr, but feel free to defer on one of them if you are so inclined.
Attachment #123595 - Flags: superreview?(bz-bugspam)
Attachment #123595 - Flags: review?(bz-bugspam)
I don't really know much about any of the code involved, so I'm not sure I'm a good choice to r or sr this. In any case, I will not be able to get to it for a while (possibly till mid-June).
Comment on attachment 123595 [details] [diff] [review] Command Handler Okay, I might have misunderstood our irc conversation. I thought you knew about this code and wanted to review it. No matter. I have a new patch forthcoming which will also allow users to specify a URL to inspect.
Attachment #123595 - Attachment is obsolete: true
Attachment #123595 - Flags: superreview?(bz-bugspam)
Attachment #123595 - Flags: review?(bz-bugspam)
./mozilla -inspector <url> works with this patch
Comment on attachment 123710 [details] [diff] [review] Also allow uris to be passed in mac script should reference Viewer not bin (as discussed on irc)
Attachment #123710 - Flags: review+
Attachment #123710 - Flags: superreview?(jst)
Comment on attachment 123710 [details] [diff] [review] Also allow uris to be passed in - In inspector-cmdline.js: + createInstance : function (outer, iid) I see "function(...)", "function (...)", and "function (...)" in this file. Pick one, and stick with it (I'd suggest no spaces). sr=jst with that (and other comments in this bug) addressed.
Attachment #123710 - Flags: superreview?(jst) → superreview+
Comment on attachment 123710 [details] [diff] [review] Also allow uris to be passed in Low risk Inspector only patch: give it its own cmdline handler.
Attachment #123710 - Flags: approval1.4?
Comment on attachment 123710 [details] [diff] [review] Also allow uris to be passed in a=asa (on behalf of drivers) for checkin to 1.4
Attachment #123710 - Flags: approval1.4? → approval1.4+
Checked in
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: Core → Other Applications
QA Contact: timeless → dom-inspector
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: