Closed Bug 949590 Opened 11 years ago Closed 11 years ago

When switching browsers, wait for the previous instance to close the profile before launching

Categories

(Firefox for Metro Graveyard :: General, defect, P2)

x86_64
Windows 8.1
defect

Tracking

(firefox28 verified, firefox29 verified)

VERIFIED FIXED
Firefox 28
Tracking Status
firefox28 --- verified
firefox29 --- verified

People

(Reporter: jimm, Assigned: jimm)

References

Details

(Whiteboard: [beta28] p=1)

Attachments

(1 file)

particularly on debug builds, we can end up with both browsers trying to access the default profile. This will cause the spawned browser to crash.
Whiteboard: [triage]
Summary: When switching browsers, wait for the previous instance to close before opening the profile → When switching browsers, wait for the previous instance to close the profile before launching
Attached patch patch v.1Splinter Review
This makes things more reliable. Also, this fixes a pretty bad bug, when we shutdown in nsAppRunner to flip to metro we were actually always trying to launch the desktop browser as well.
Attachment #8347260 - Flags: review?(netzen)
Attachment #8347260 - Attachment is patch: true
Comment on attachment 8347260 [details] [diff] [review] patch v.1 Review of attachment 8347260 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/metro/shell/commandexecutehandler/CEHHelper.h @@ +14,5 @@ > #include <d3d10misc.h> > #include <atlbase.h> > #include <shlobj.h> > > +#define SHOW_CONSOLE 1 removed in my local patch
Whiteboard: [triage] → [beta28]
Comment on attachment 8347260 [details] [diff] [review] patch v.1 Review of attachment 8347260 [details] [diff] [review]: ----------------------------------------------------------------- great :)
Attachment #8347260 - Flags: review?(netzen) → review+
Hey Jim, can you provide a point value and I'll add it to IT#21.
Blocks: metrov1it21
No longer blocks: metrov1backlog
Status: NEW → ASSIGNED
Flags: needinfo?(jmathies)
Priority: -- → P2
QA Contact: jbecerra
Whiteboard: [beta28] → [beta28] p=0
Flags: needinfo?(jmathies)
Whiteboard: [beta28] p=0 → [beta28] p=1
https://hg.mozilla.org/integration/fx-team/rev/507e9a3471b8 follow up to remove that darn console line. forgot to do an hg qdiff on the patch file.
Target Milestone: --- → Firefox 29
Depends on: 950288
Comment on attachment 8347260 [details] [diff] [review] patch v.1 [Approval Request Comment] Bug caused by (feature/regressing bug #): Fixes a long standing issue. User impact if declined: Wonky browser startup. Testing completed (on m-c, etc.): yes. Risk to taking this patch (and alternatives if risky): Minimal. String or IDL/UUID changes made by this patch: None.
Attachment #8347260 - Flags: approval-mozilla-aurora?
Attachment #8347260 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Target Milestone: Firefox 29 → Firefox 28
Keywords: verifyme
Verified as fixed on latest nightly (build ID: 20140112030204) and latest aurora (build ID: 20140112004002).
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: