Closed Bug 1119218 Opened 9 years ago Closed 9 years ago

UITour: Hello events are not received once a second tab is opened that also uses Mozilla.UITour.observe()

Categories

(Firefox :: Tours, defect)

37 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1110602

People

(Reporter: agibson, Unassigned)

References

Details

STR:

1) Tour page does: Mozilla.UITour.observe((...rest) => console.log("observed", rest))
2) User opens same tour page in a new tab
3) User closes the newly opened tour page and gets switched back to #1
4) Firefox does UITour.notify(…)

Expected results:

The original tab should still receive Loop events.

Actual results:

The original tab no longer receives Loop events.

Please note that using Page Visibility API to re-register the event listener does not work in this instance.
(In reply to Alex Gibson [:agibson] from comment #0)
> Please note that using Page Visibility API to re-register the event listener
> does not work in this instance.

This bug should be fixed by the patch in bug 1110602 but I don't understand how this part can happen.
Depends on: 1110602
Alex, can you see if the quote in comment 1 is still a problem. If not, can you dupe this to bug 1110602?
Flags: needinfo?(agibson)
Hi Matt - just tested and yes this seems to be fixed now. Thanks again!
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(agibson)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.