Closed Bug 1218175 Opened 9 years ago Closed 9 years ago

pageAction extension no longer works after browser restart

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1218443
Iteration:
44.2 - Oct 19

People

(Reporter: anaran, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: DevAdvocacy, Whiteboard: [pageAction])

The extension needs to be disabled and enabled again in about:addons.

Then it starts working again.

I have observed the same behaviour when using the chrome namespace instead of the browser namespace in background.js.


+++ This bug was initially created as a clone of Bug #1197422 +++

https://developer.chrome.com/extensions/pageAction

API is listed on https://wiki.mozilla.org/WebExtensions#List_of_APIs_we_will_likely_support_in_the_future
No longer depends on: 1197422
Works for me. Do you have a testcase?
I am just using you test-panel.xpi from Bug #1197422.

It works after I install it in nightly Firefox, on the Windows XP machine with latest nightly.

Then I File->Quit Firefox and start it again.

Now the PageAction icon does not show. The Browser Action icon is there.

After I disable and enable the add-on in about:addons the pageAction icon becomes visible again.

I did switch tabs to make sure the listener should get triggered, but it only works after disable/enable after a browser restart.
I think that just has something to do with the way the add-on is implemented, and the order that the listeners are dispatched. I have other test add-ons that work as expected after a restart.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Since this seems to have been fixed, I'm removing dev-doc-needed.
Keywords: dev-doc-needed
I think that was just there because this bug was cloned from a bug that actually needed it.
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.