Closed Bug 1045647 Opened 10 years ago Closed 10 years ago

-webide option doesn't always work.

Categories

(DevTools Graveyard :: WebIDE, defect)

x86_64
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 35

People

(Reporter: paul, Assigned: paul)

Details

Attachments

(1 file)

I start Firefox like that:

> firefox -P dev -webide  -no-remote  -jsconsole

WebIDE doesn't open:

> Warning: unrecognized command line flag -webide

But, it works when I build WebIDE myself.
I think you need to add the command line handler and its manifest to the package-manifest.in.  See the other DevTools handler[1].

[1]: http://hg.mozilla.org/mozilla-central/annotate/ef1a3ed657fc/browser/installer/package-manifest.in#l363
Attached patch v1Splinter Review
Ryan, can you confirm it works on Mac?
Assignee: nobody → paul
Status: NEW → ASSIGNED
Attachment #8479617 - Flags: review?(jryans)
Comment on attachment 8479617 [details] [diff] [review]
v1

Review of attachment 8479617 [details] [diff] [review]:
-----------------------------------------------------------------

Yes, packaged Firefox works with -webide on Mac with this.  It's impossible to quit the program when started with -webide via either Cmd-Q or the menu item, but that's for a different bug... ;)
Attachment #8479617 - Flags: review?(jryans) → review+
(In reply to J. Ryan Stinnett [:jryans] from comment #3)
> Comment on attachment 8479617 [details] [diff] [review]
> v1
> 
> Review of attachment 8479617 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> Yes, packaged Firefox works with -webide on Mac with this.  It's impossible
> to quit the program when started with -webide via either Cmd-Q or the menu
> item, but that's for a different bug... ;)

Do you know if there's an easy way to fix that?
(In reply to Paul Rouget [:paul] (slow to respond. Ping me on IRC) from comment #4)
> (In reply to J. Ryan Stinnett [:jryans] from comment #3)
> > Comment on attachment 8479617 [details] [diff] [review]
> > v1
> > 
> > Review of attachment 8479617 [details] [diff] [review]:
> > -----------------------------------------------------------------
> > 
> > Yes, packaged Firefox works with -webide on Mac with this.  It's impossible
> > to quit the program when started with -webide via either Cmd-Q or the menu
> > item, but that's for a different bug... ;)
> 
> Do you know if there's an easy way to fix that?

I don't know, I am not sure what the cause is.  Haven't had time to look at it in depth.  In any case, this patch it still correct and worth landing.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/ea44b45c8a32
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 35
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: