Closed Bug 774117 Opened 13 years ago Closed 7 years ago

Notification iconURL does not work with relative paths

Categories

(Core :: DOM: Device Interfaces, defect)

All
Android
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: GeekShadow, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20100101 Firefox/14.0 Build ID: 20120710123126 Steps to reproduce: I'm using the notification API to show a notification with an icon on Android. Actual results: The icon is not showed, but the Firefox icon Expected results: It would show my own icon instead. (Note than with absolute path it works.)
Test here : http://geekshadow.github.com/rtl2player/ if (navigator.mozNotification) { document.body.classList.add("notification"); notification = navigator.mozNotification.createNotification("RTL2 Player", "Lecture en cours", "images/favicon.png"); } notification.show();
OS: Windows 7 → Android
Hardware: x86 → All
I have a similar problem with Notification in Firefox OS (I tested in 1.3 and 2.0), but not sure if is the same bug or should open another bug?
This bug refers to mozNotification, which has been removed in bug 952453. Marking invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.