Closed Bug 1244717 Opened 8 years ago Closed 8 years ago

Ensure that the Service Workers "Push Rich Demo" functions when initiated from within an iframe.

Categories

(Core :: DOM: Push Subscriptions, defect)

47 Branch
x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox47 --- affected

People

(Reporter: jujjyl, Unassigned)

Details

(Whiteboard: dom-triaged)

Attachments

(1 file)

A Mozilla partner reports that Service Workers Push notifications do not function when initiated from within an iframe (but presumably work for them when iframes are not being used), so there is likely something that needs fixing there.

STR:

1. Visit the attached web page.
2. Accept the push notification send dialog that shows up.
3. Click on "Try to conquer Italy"
4. Wait for a push notification to arrive

Expected: A push notification "Alea iacta est." should arrive in 5 seconds.

Observed: The push notification does not arrive either in FF stable 43.0.4, FF stable 44.0, FF Nightly 47.0a1 (2016-01-31) or FF Nightly 47.0a1 (2016-02-01). The push notification does arrive when using current Chrome 48 (indicating the test is likely not at least completely broken).

Note: I was not able to test the attached web page specifically related to iframes because it does not work outside iframe either (bug 1244714), but marking this down as a separate report because of partner reporting iframe specific issues to be present.
Attached file index.html
Testcase for comment 0.
This works for me in Nightly.
Whiteboard: dom-noted
Thanks for the test case! I'm able to receive the message with the demo page loaded in an iframe. There was a push server outage over the weekend between 2015-01-31 (5pm PST) and 2015-02-01 (9:30am PST). That's the most likely culprit.
Verified that the test now works in an iframe. Discussing now with the developer to verify if they have another repro for the iframe issue, or if the server outage might have been the cause for them as well.

Needinfoing self to reply back once we hear from the developer.
Flags: needinfo?(jujjyl)
Whiteboard: dom-noted → dom-triaged
Developer reports that it works in Nightly, but does not work in Stable. They are most positively running into issue https://bugzilla.mozilla.org/show_bug.cgi?id=1244714#c2, and marked down https://bugzilla.mozilla.org/show_bug.cgi?id=1246615 to discuss if there is something we can do about it. Discussing now with the developer how to be aware of and avoid this particular gotcha.
Bug 1246615 was identified as the root cause, continuing discussion there.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(jujjyl)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: