Closed
Bug 486207
Opened 16 years ago
Closed 16 years ago
previewed persona doesn't reset when gallery page is closed
Categories
(Mozilla Labs Graveyard :: Personas Plus, defect, P2)
Mozilla Labs Graveyard
Personas Plus
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: myk, Assigned: rdoherty)
References
(Depends on 1 open bug)
Details
If you are previewing a persona by hovering over its thumbnail in the gallery on getpersonas.com, and then you close the gallery page without mousing out of the thumbnail (f.e. by pressing Ctrl/Cmd-W or by going to another URL in that tab), the extension doesn't reset the persona to the previously selected persona.
This bug is caused by Core bug 467684. Until that is fixed (if ever), a workaround would be for Personas to watch tabs that have generated PreviewPersona events and reset the persona when the user closes the tab or goes to another page in it.
Assignee | ||
Comment 1•16 years ago
|
||
Another workaround might be for the page that triggers a PreviewPersona event to listen for a onbeforeunload event and trigger the reset event. It might work.
Reporter | ||
Comment 2•16 years ago
|
||
(In reply to comment #1)
> Another workaround might be for the page that triggers a PreviewPersona event
> to listen for a onbeforeunload event and trigger the reset event. It might
> work.
Brilliant! That works great:
http://people.mozilla.com/~myk/personas/set-persona-from-web-page-test.html
(Add people.mozilla.com to extensions.personas.authorizedHosts before testing.)
Assignee | ||
Comment 3•16 years ago
|
||
Cool, I've assigned this to myself for implementation.
Assignee: cbeard → rdoherty
Assignee | ||
Comment 5•16 years ago
|
||
Marking this bug fixed as bug 520173 fixes the issue in Firefox.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•