Closed
Bug 919681
Opened 12 years ago
Closed 12 years ago
Connecting to Simulator displays duplicate "Connected" messages
Categories
(DevTools Graveyard :: WebIDE, defect, P1)
DevTools Graveyard
WebIDE
Tracking
(firefox26 verified, firefox27 verified)
VERIFIED
FIXED
Firefox 27
People
(Reporter: jryans, Assigned: jryans)
References
Details
Attachments
(1 file)
2.61 KB,
patch
|
ochameau
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #808739 -
Flags: review?(poirot.alex)
Assignee | ||
Updated•12 years ago
|
Summary: Simulator displays duplicate "Connected" messages → Connecting to Simulator displays duplicate "Connected" messages
Comment 2•12 years ago
|
||
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)
Assignee | ||
Comment 3•12 years ago
|
||
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 4•12 years ago
|
||
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+
Assignee | ||
Comment 5•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Updated•12 years ago
|
Whiteboard: [needed-in-aurora-26]
Updated•12 years ago
|
Priority: P2 → P1
Comment 6•12 years ago
|
||
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?
Comment 7•12 years ago
|
||
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
Updated•12 years ago
|
Attachment #808739 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Updated•12 years ago
|
Whiteboard: [needed-in-aurora-26] → [land-in-aurora-26]
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
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
Comment 11•12 years ago
|
||
Verified as fixed on the 12/04 Aurora on Windows 7 64bit, Ubuntu 13.04 32bit and Mac OS X 10.9.
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•