Closed
Bug 1154547
Opened 9 years ago
Closed 9 years ago
Make a couple of small improvements to about:serviceworkers
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(2 files)
1.96 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
2.91 KB,
patch
|
baku
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8592570 -
Flags: review?(amarchesini)
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8592571 -
Flags: review?(amarchesini)
Comment 3•9 years ago
|
||
Comment on attachment 8592570 [details] [diff] [review] Part 1: Linkify the worker script URLs in about:serviceworkers Review of attachment 8592570 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/content/aboutServiceWorkers.js @@ +81,5 @@ > item.appendChild(bold); > > + if (makeLink) { > + let link = document.createElement("a"); > + link.href = value; link.title = "this would be nice to have"; link._target too.
Attachment #8592570 -
Flags: review?(amarchesini) → review+
Comment 4•9 years ago
|
||
Comment on attachment 8592571 [details] [diff] [review] Part 2: Make it possible to update a service worker from about:serviceworkers Review of attachment 8592571 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/content/aboutServiceWorkers.js @@ +100,5 @@ > > + var updateButton = document.createElement("button"); > + updateButton.appendChild(document.createTextNode(bundle.GetStringFromName('update'))); > + updateButton.onclick = function() { > + gSWM.update(info.scope); would be super cool if update returns a promise so that we can show a loading icon and stop it when the operation is fully completed.
Attachment #8592571 -
Flags: review?(amarchesini) → review+
Comment 5•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/693f73c613d0 https://hg.mozilla.org/mozilla-central/rev/21a2d0003caa
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Comment 6•9 years ago
|
||
Request for the future: if a word in English is unclear, you should add a localization comment. Example: is "Update" a verb or a noun? In this case it's a button label, so a verb, but people don't have access to bugs and code, just to a text file saying "Update".
Assignee | ||
Comment 7•9 years ago
|
||
Yep, noted. Thanks, flod!
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•