Open Bug 1413309 Opened 7 years ago Updated 2 years ago

Browser toolbox interferes with links opening in browser

Categories

(DevTools :: Framework, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: bzbarsky, Unassigned)

References

(Blocks 1 open bug)

Details

STEPS TO REPRODUCE:

1) Start firefox.
2) Open browser console.
3) Set a breakpoint in some code I think should get hit when opening a link from
   another application.
4) Click a link in my mail client.

EXPECTED RESULTS: Link opens in browser, breakpoint maybe gets hit.

ACTUAL RESULTS: Link opens in the browser console process, in a Firefox window that gets created there.  This is not terribly helpful... ;)
I think this is referring to the Browser Toolbox process, not the Browser Console which is just another window running in the parent process. I can't reproduce it (testing on a local build on osx) but I skipped step 3 since I wasn't sure where to set the breakpoint. Can you give more detail on step 3?
Flags: needinfo?(bzbarsky)
Summary: Browser console interferes with links opening in browser → Browser toolbox interferes with links opening in browser
Er, sorry, I meant "browser toolbox" throughout, yes.  We have too many tools...

For step 3, I was setting the breakpoint on http://searchfox.org/mozilla-central/rev/1c4901d060e3953e41088c038b62a0c026c1e1fb/devtools/shim/devtools-startup.js#240
Flags: needinfo?(bzbarsky)
Passing -no-remote will make it actually start a new process instead of reusing the existing Firefox process.  I'm not sure it affects what process the OS will target for its "open link in default browser" functionality....
See Also: → 1413246
Priority: -- → P3
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.