Closed
Bug 825434
Opened 12 years ago
Closed 12 years ago
Updating widget.contentURL breaks communication between content script and main
Categories
(Add-on SDK Graveyard :: General, defect, P3)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 748677
People
(Reporter: marc.chevrier, Unassigned)
References
Details
Attachments
(1 file)
1.12 KB,
application/octet-stream
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0
Build ID: 20121128204232
Steps to reproduce:
Create a widget with a script attached which post a message on event 'click'.
After widget creation, change contentURL by assigning widget property.
Actual results:
messages emitted from the content script are no longer received in the main script.
Expected results:
Changing the contentURL property of the widget should not have impact on communication and main script should continue to receive messages posted in the content script.
Reporter | ||
Comment 1•12 years ago
|
||
the two files attached could be used to create a simple add-on showing the problem.
At add-on installation, right or left clicking on the widget icon will result in a message in the console.
After 6 seconds, the contentURL property of the widget is changed (using setTimeout). After this change, clicking on the widget icon does not show a message in the console.
Priority: -- → P3
Blocks: 826406
Updated•12 years ago
|
Target Milestone: --- → 1.13
Updated•12 years ago
|
Target Milestone: 1.13 → ---
Updated•12 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•