Closed
Bug 1265279
Opened 9 years ago
Closed 8 years ago
Web Manifest: Implement window.oninstall
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: marcosc, Assigned: marcosc)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-complete, Whiteboard: btpp-active)
Attachments
(1 file, 3 obsolete files)
11.36 KB,
patch
|
Details | Diff | Splinter Review |
Implement the window.oninstall event handler attribute.
Assignee | ||
Updated•9 years ago
|
Blocks: webmanifest
Updated•9 years ago
|
Whiteboard: btpp-fixlater
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → mcaceres
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 1•8 years ago
|
||
Baku, does this look ok? The event is supposed to be fired by the user agent when a "progressive web app" is successfully installed somewhere (e.g., user's homescreen on a mobile device).
Attachment #8753751 -
Flags: feedback?(amarchesini)
Comment 2•8 years ago
|
||
Comment on attachment 8753751 [details] [diff] [review] 0001-Bug-1265279-Web-Manifest-Implement-window.oninstall.patch Review of attachment 8753751 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/ipc/manifestMessages.js @@ +69,5 @@ > + const ev = new Event("install"); > + const response = makeMsgResponse(id); > + if (!content || content.top !== content) { > + let msg = "Can only dispatch install event on top-level browsing contexts."; > + response.result = serializeError(new Error(msg)); should we localize this error message?
Attachment #8753751 -
Flags: feedback?(bugs)
Attachment #8753751 -
Flags: feedback?(amarchesini)
Attachment #8753751 -
Flags: feedback+
Updated•8 years ago
|
Attachment #8753751 -
Flags: feedback?(bugs) → feedback+
Assignee | ||
Comment 3•8 years ago
|
||
(In reply to Andrea Marchesini (:baku) from comment #2) > Comment on attachment 8753751 [details] [diff] [review] > 0001-Bug-1265279-Web-Manifest-Implement-window.oninstall.patch > > Review of attachment 8753751 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: dom/ipc/manifestMessages.js > @@ +69,5 @@ > > + const ev = new Event("install"); > > + const response = makeMsgResponse(id); > > + if (!content || content.top !== content) { > > + let msg = "Can only dispatch install event on top-level browsing contexts."; > > + response.result = serializeError(new Error(msg)); > > should we localize this error message? Right now, the error would only be used internally so I don't think it's necessary.
Assignee | ||
Comment 4•8 years ago
|
||
Attachment #8753751 -
Attachment is obsolete: true
Attachment #8755314 -
Flags: review?(amarchesini)
Assignee | ||
Comment 5•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=406558c68631
Assignee | ||
Comment 6•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=fed18f455f37
Assignee | ||
Comment 7•8 years ago
|
||
... no idea why it worked for me locally... mochitests are gross.
Attachment #8755314 -
Attachment is obsolete: true
Attachment #8755314 -
Flags: review?(amarchesini)
Attachment #8755683 -
Flags: review?(amarchesini)
Assignee | ||
Comment 8•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=2ff61cd36266
Updated•8 years ago
|
Whiteboard: btpp-fixlater → btpp-active
Updated•8 years ago
|
Attachment #8755683 -
Flags: review?(amarchesini) → review+
Assignee | ||
Comment 9•8 years ago
|
||
Attachment #8755683 -
Attachment is obsolete: true
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Comment 10•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9143e6d98cdf
Keywords: checkin-needed
Comment 11•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9143e6d98cdf
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Updated•8 years ago
|
Keywords: dev-doc-needed
Updated•8 years ago
|
Comment 12•8 years ago
|
||
Added an entry in: https://developer.mozilla.org/en-US/docs/Web/API/Window#Event_handlers Created: https://developer.mozilla.org/en-US/docs/Web/API/Window/oninstall https://developer.mozilla.org/en-US/docs/Web/Events/install Updated: https://developer.mozilla.org/en-US/Firefox/Releases/49#Others
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•