Closed Bug 820944 Opened 12 years ago Closed 7 years ago

Worker and friends should queue postMessages if worker is detached

Categories

(Add-on SDK Graveyard :: General, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: irakli, Unassigned)

Details

At the moment if worker is not attached messages to content script are queued, but messages send via `postMessage` are not. That's just wrong, we should make postMessage be just a sugar for port.emit('message', ...) so that queuing and everything else is consistent.
Assignee: nobody → rFobic
Hey Irakli, are you working on this one? if not could you please unassign yourself.
Flags: needinfo?(rFobic)
Unassigning myself. At this point I think we should just switch all our communication APIs to make them use MessageChannels and there for have whatever characteristics they come with.
Assignee: rFobic → nobody
Flags: needinfo?(rFobic)
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.