Closed Bug 1164811 Opened 5 years ago Closed 5 years ago

[Presentation WebAPI] TCP presentation server can be inited again in |listener.onClose|

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla41
Tracking Status
firefox41 --- fixed

People

(Reporter: junior, Assigned: junior)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch initAgain (obsolete) — Splinter Review
STR:
1. Let the server socket be closed non-manually
https://dxr.mozilla.org/mozilla-central/source/dom/presentation/provider/TCPPresentationServer.js#242

2.we can _NOT_ init the tcp presentation server again in |listener.onClose| since we do _NOT_ set the server socket to null
https://dxr.mozilla.org/mozilla-central/source/dom/presentation/provider/TCPPresentationServer.js#41
Attachment #8605772 - Flags: review?(fabrice)
Attached patch initAgainSplinter Review
Summit the right patch
Attachment #8605772 - Attachment is obsolete: true
Attachment #8605772 - Flags: review?(fabrice)
Attachment #8605774 - Flags: review?(fabrice)
Attachment #8605774 - Flags: review?(fabrice) → review+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/f49f111e85cb
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.