Closed Bug 1137727 Opened 11 years ago Closed 10 years ago

Observer services sends notification twice if called from component code

Categories

(Firefox :: Untriaged, defect)

36 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: disya2, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:36.0) Gecko/20100101 Firefox/36.0 Build ID: 20150222232811 Steps to reproduce: Call observer service's method notifyObservers() from Javascript component code. Actual results: observe() method in browser window overlay is called twice. Expected results: observe() should be called once only. Note: I made double-sure that addObserver() is called only once so there is only one registered observer for the topic. The very same code worked fine in Fx 34. After Firefox has been upgraded to 36.0 the issue has manifested itself (Fx 35 was skipped). I also tried Firefox beta which upgraded itself to 37.0 and the issue is still there. I also tried calling notifiyObservers() from browser overlay code with the very same topic and found that it worked properly.
Hi, Do you still have this problem? If yes please follow below steps and also add a test case or a screen recorder to see the steps, please use this link: http://screencast-o-matic.com/home Please download the Firefox Nightly from here: https://nightly.mozilla.org/ and retest the problem. If you still have the issue please create a new profile, you have the steps here:https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles?redirectlocale=en-US&redirectslug=Managing-profiles#w_starting-the-profile-manager Please test if the issue can be reproduced in the safe mode of Firefox: https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
Flags: needinfo?(disya2)
Hi, Marking this as Resolved: Incomplete due to the lack of response from the reporter. Reporter, please feel free to reopen it if you are still having this issue on the latest Firefox version.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(disya2)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.