Closed
Bug 1437230
Opened 6 years ago
Closed 6 years ago
Remove feed binding and build DOM using JS
Categories
(Firefox :: Page Info Window, task)
Firefox
Page Info Window
Tracking
()
RESOLVED
FIXED
Firefox 60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: ntim, Assigned: ntim)
References
Details
Attachments
(1 file)
https://raw.githubusercontent.com/mozilla/gecko-dev/master/browser/base/content/pageinfo/feeds.xml It's used for the "Feeds" tab of the page info window, but this looks small enough it probably doesn't need its own binding.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → ntim.bugs
Comment hidden (mozreview-request) |
Comment 2•6 years ago
|
||
mozreview-review |
Comment on attachment 8951876 [details] Bug 1437230 - Remove feed binding and build DOM using JS. https://reviewboard.mozilla.org/r/221158/#review227040 Code analysis found 2 defects in this patch: - 2 defects found by mozlint You can run this analysis locally with: - `./mach lint path/to/file` (JS/Python) If you see a problem in this automated review, please report it here: http://bit.ly/2y9N9Vx ::: browser/base/content/pageinfo/feeds.js:54 (Diff revision 1) > + > + const subscribeButton = document.createElement("button"); > + subscribeButton.className = "feed-subscribe"; > + subscribeButton.addEventListener("click", > + () => openUILinkIn(url, "current", { ignoreAlt: true })); > + subscribeButton.setAttribute("label", gBundle.getString("feedSubscribe")); Error: 'gbundle' is not defined. [eslint: no-undef] ::: browser/base/content/pageinfo/feeds.js:55 (Diff revision 1) > + const subscribeButton = document.createElement("button"); > + subscribeButton.className = "feed-subscribe"; > + subscribeButton.addEventListener("click", > + () => openUILinkIn(url, "current", { ignoreAlt: true })); > + subscribeButton.setAttribute("label", gBundle.getString("feedSubscribe")); > + subscribeButton.setAttribute("accesskey", gBundle.getString("feedSubscribe.accesskey")); Error: 'gbundle' is not defined. [eslint: no-undef]
Comment hidden (mozreview-request) |
Comment 4•6 years ago
|
||
mozreview-review |
Comment on attachment 8951876 [details] Bug 1437230 - Remove feed binding and build DOM using JS. https://reviewboard.mozilla.org/r/221158/#review227160 Looks OK - because you've already done the work I guess we can do this, but I suspect this entire pane can just go away. Note that browser/base/content/test/pageinfo/browser_pageInfo.js is bright orange in the trypush, so this can't land as-is.
Attachment #8951876 -
Flags: review?(gijskruitbosch+bugs)
Comment hidden (mozreview-request) |
Comment 6•6 years ago
|
||
mozreview-review |
Comment on attachment 8951876 [details] Bug 1437230 - Remove feed binding and build DOM using JS. https://reviewboard.mozilla.org/r/221158/#review227170 rs=me assuing try is happier.
Attachment #8951876 -
Flags: review?(gijskruitbosch+bugs) → review+
Pushed by ntim.bugs@gmail.com: https://hg.mozilla.org/integration/autoland/rev/75e8d75c3de9 Remove feed binding and build DOM using JS. r=Gijs
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/75e8d75c3de9
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Assignee | ||
Updated•5 years ago
|
Type: enhancement → task
You need to log in
before you can comment on or make changes to this bug.
Description
•