Closed Bug 1299866 Opened 8 years ago Closed 8 years ago

[FlyWeb] mDNS services discovered remain after network change

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla52
Tracking Status
firefox52 --- fixed

People

(Reporter: justindarc, Assigned: justindarc)

References

Details

(Whiteboard: [necko-active])

Attachments

(1 file, 1 obsolete file)

In the JS mDNS implementation, services discovered will remain "cached" even when the user changes to a different network. Eventually, after the cache timeout period, the list of discovered services will correct itself. However, this is a very poor UX since the user may likely assume that the list of discovered services will change immediately when switching to a new WiFi network.
Assignee: nobody → jdarcangelo
Blocks: flyweb
Attached patch bug1299866.diff (obsolete) — Splinter Review
Attachment #8787288 - Flags: review?(kvijayan)
Status: NEW → ASSIGNED
Whiteboard: [necko-active]
Comment on attachment 8787288 [details] [diff] [review] bug1299866.diff Review of attachment 8787288 [details] [diff] [review]: ----------------------------------------------------------------- ::: netwerk/dns/mdns/libmdns/fallback/MulticastDNS.jsm @@ +98,5 @@ > this.advertiseTimer = undefined; > } > } > > +let _observerService = Cc["@mozilla.org/observer-service;1"] No underscore here. This is a regular global, let's call it ObserverService.
Attachment #8787288 - Flags: review?(kvijayan) → review+
Rebasing this patch on top of Bug 1296464 before addressing review comments.
Depends on: 1296464
Attached patch bug1299866.patchSplinter Review
Rebased on latest patch in Bug 1296464. Carrying R+ forward.
Attachment #8787288 - Attachment is obsolete: true
Attachment #8792555 - Flags: review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/d3d45f7fa087c2c15742bd572ec45e01d1151911 Bug 1299866 - [FlyWeb] mDNS services discovered remain after network change;r=djvj
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: