Issue metadata
Sign in to add a comment
|
window.Notification is undefined in svg document.
Reported by
paradisa...@gmail.com,
May 10 2018
|
||||||||||||||||||||||||
Issue description
UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
Steps to reproduce the problem:
1. Open a svg document in a tab.
2. Open console with F12.
3. window.Notification.requestPermission().then(function(result) { console.log(result)}
What is the expected behavior?
A promise is returned.
What went wrong?
Uncaught TypeError: Cannot read property 'requestPermission' of undefined
at <anonymous>:1:21
Did this work before? Yes Many, most previous versions.
Does this work in other browsers? Yes
Chrome version: Version 66.0.3359.139 (Official Build) (64-bit) Channel: stable
OS Version: Lubuntu 16.04.4
Flash Version:
,
May 10 2018
Unable to reproduce the issue on reported chrome version 66.0.3359.139 using Ubuntu 14.04 with the below mentioned steps.
1. Launched chrome
2. Downloaded and opened "NotificationTest.js" in a new tab.
3. Inspected the page by clicking F12.
4. Pasted "window.Notification.requestPermission().then(function(result) { console.log(result)})" in console.
We observed a popup and an output promise as shown in the screen shot.
@Reporter: Could you please let us know if we have missed anything in the process. Any further inputs from your end may be helpful.
Thanks!
,
May 10 2018
,
May 11 2018
Please retry javascript test when this url is opened in tab: https://upload.wikimedia.org/wikipedia/commons/6/6c/Trajans-Column-lower-animated.svg Issue is with page opened with svg document, not html document. Thanks.
,
May 11 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
May 11 2018
Duplicate of issue 834642 . Should be fixed from M67.
,
May 28 2018
The NextAction date has arrived: 2018-05-28 |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by krajshree@chromium.org
, May 10 2018