Closed Bug 1106787 Opened 11 years ago Closed 11 years ago

Addon- Sending message from main.js to content script breaks

Categories

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

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: aanandkumarmishra, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 Steps to reproduce: In firefox-34 1.Sent a message from main.js to a content script ( let's say msg1). 2.Content script received this message and to sent a message (msg2) to main.js, in-order to complete the request by msg1. 3. main.js received msg2, computes a response msg3, and sent's it to content script. 4. Content script recieves msg1 instead of msg3. This keeps on going, causing browser to halt Actual results: Was expecting the new message. Received a older message Expected results: Should have got the new message.
Priority: -- → P1
Component: Untriaged → General
Product: Firefox → Add-on SDK
Version: 34 Branch → unspecified
Do you have a simple testcase (like an extension) to test and debug that?
Flags: needinfo?(aanandkumarmishra)
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(aanandkumarmishra)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.