Closed Bug 1152351 Opened 9 years ago Closed 10 months ago

Two notifications at the same time produce a collision

Categories

(Core :: DOM: Push Subscriptions, defect)

40 Branch
x86_64
Windows 7
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: romlig, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150406174117

Steps to reproduce:

Open a webpage that displays two notifications using the Javascript Notification API at the exact same time.

1. Open the console
2. Type this command : Notification.requestPermission();
3. Allow notifications
4. Type these commands (do not press enter between the two commands) :
new Notification("1"); new Notification("2");


Actual results:

No notifications were displayed.
Tested in Firefox Beta 38.0 and Nightly 40.0a1.


Expected results:

Two notifications should have been displayed.
Tested in Chrome, Opera and Firefox for Android.
Could you attach a minimal testcase, please.
Component: Untriaged → Notifications and Alerts
Flags: needinfo?(someuser554)
Keywords: testcase-wanted
Product: Firefox → Toolkit
Attached file Testcase
As asked for. Is that what you wanted ?
Flags: needinfo?(someuser554)
Yes, it's perfect.
See Also: → 1473763
Severity: normal → S3
Component: Notifications and Alerts → DOM: Notifications
Product: Toolkit → Core

Works for me now, I guess this is fixed at some point.

Status: UNCONFIRMED → RESOLVED
Closed: 10 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: