Closed Bug 919681 Opened 12 years ago Closed 12 years ago

Connecting to Simulator displays duplicate "Connected" messages

Categories

(DevTools Graveyard :: WebIDE, defect, P1)

defect

Tracking

(firefox26 verified, firefox27 verified)

VERIFIED FIXED
Firefox 27
Tracking Status
firefox26 --- verified
firefox27 --- verified

People

(Reporter: jryans, Assigned: jryans)

References

Details

Attachments

(1 file)

STR: 1. Start Simulator 2. Either it hangs before connecting or you cancel before it connects 3. Try connecting again 4. The message "Connected to simulator." is printed to the log more than once.
Summary: Simulator displays duplicate "Connected" messages → Connecting to Simulator displays duplicate "Connected" messages
Comment on attachment 808739 [details] [diff] [review] Remove duplicate simulator connected handlers Good catch! But the patch doesn't work as expected, because of the typical "once" implementation, that registers another internal function instead of the excepted one :( http://mxr.mozilla.org/mozilla-central/source/browser/devtools/shared/event-emitter.js?force=1#60 If you want to fix that, I think you have to switch to using "on"...
Attachment #808739 - Flags: review?(poirot.alex)
Comment on attachment 808739 [details] [diff] [review] Remove duplicate simulator connected handlers Actually, it should work, because I just fixed exactly the issue you described as part of bug 918588. :D Did you notice there were still issues even after that?
Attachment #808739 - Flags: review?(poirot.alex)
Comment on attachment 808739 [details] [diff] [review] Remove duplicate simulator connected handlers Ok... I have to say, double good catch \o/ (I was testing against an outdated m-c)
Attachment #808739 - Flags: review?(poirot.alex) → review+
Whiteboard: [needed-in-aurora-26]
Priority: P2 → P1
Comment on attachment 808739 [details] [diff] [review] Remove duplicate simulator connected handlers [Approval Request Comment] Bug caused by (feature/regressing bug #): new feature (app manager) User impact if declined: duplicated string Testing completed (on m-c, etc.): locally Risk to taking this patch (and alternatives if risky): low String or IDL/UUID changes made by this patch: none
Attachment #808739 - Flags: approval-mozilla-aurora?
Keywords: checkin-needed
Whiteboard: [needed-in-aurora-26] → [needed-in-aurora-26][fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [needed-in-aurora-26][fixed-in-fx-team] → [needed-in-aurora-26]
Target Milestone: --- → Firefox 27
Attachment #808739 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Whiteboard: [needed-in-aurora-26] → [land-in-aurora-26]
Keywords: verifyme
Verified as fixed on Firefox 26b3 - 20131107161719 - on Windows 7 64bit, Ubuntu 13.04 32bit and Mac OS X 10.9.
QA Contact: ioana.budnar
Verified as fixed on the 12/04 Aurora on Windows 7 64bit, Ubuntu 13.04 32bit and Mac OS X 10.9.
Status: RESOLVED → VERIFIED
Keywords: verifyme
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: