Commit Graph

40 Commits

Author SHA1 Message Date
Gijs Kruitbosch
8b64dcadcd Bug 1491243 - remove subscribe button, menu items and subscription section out of feed previews, r=florian
This removes subscribe UI and functionality from the main browser window,
the page info window, and from feed previews. It may leave some stray strings
in subscribe.properties/dtd, which will be removed in bug 1477669 when the
preview code goes away completely.

Differential Revision: https://phabricator.services.mozilla.com/D5982
2018-09-17 18:06:05 +00:00
Gijs Kruitbosch
0ed5658d73 Bug 1477670 - remove content handler code from browser/, r=florian,jkt
MozReview-Commit-ID: 3kS7yPdkjGs
2018-07-24 17:54:40 +01:00
Mark Banner
8853e86675 Bug 1463738 - Remove the Bookmark description UI. r=dao
This removes the bookmark description UI, but leaves the backend in-place for a release or two, so that users have time to save anything they want (e.g. via backup).
The backend will be removed in bug 1402890.

MozReview-Commit-ID: La4AYFar7eK
2018-05-23 17:15:09 +01:00
Kris Maglione
582a21b473 Bug 1456035: Part 5 - Convert manual QueryInterface to ChromeUtils.generateQI. r=mccr8
Manually-implemented QueryInterface functions don't benefit from the
MozQueryInterface optimizaions, and a lot of them are in hot code, and
implement a large number of interfaces.

MozReview-Commit-ID: 8OzglraowZt
2018-04-23 12:58:34 -07:00
Gijs Kruitbosch
b2ce2f5b62 Bug 1445106 - don't try to have a feed reader in a frame, r=mak
MozReview-Commit-ID: 24EESnD4UaT
2018-03-14 18:51:42 +00:00
manikishan
02874947cf Bug 1431050 - Replace NS_ASSERT with conditional exceptions/console.assert and remove the debug.js module. r=mak
console.assert keeps the same semantics as NS_ASSERT in that it doesn't throw an exception,
but a lot of the places code was using it in a way that would be better served by throwing
an exception when the condition is false.

MozReview-Commit-ID: DEF5HSfYO36
2018-02-03 11:32:25 +05:30
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Jonathan Kingston
9d78c5eab3 Bug 1420622 - Remove feed and pcast protocols. r=Gijs
MozReview-Commit-ID: KAC9MmLiuBG
2017-12-19 16:12:29 +00:00
Mark Banner
4de85b3d5b Bug 1230373 - Enable mozilla/use-services for browser/components/ r=mossop
MozReview-Commit-ID: 9m9iss3jUJJ
2017-10-11 15:43:51 +01:00
Honza Bambas
f3b5a77a73 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
Wes Kocher
7b49a483cc Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Honza Bambas
b05b600614 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-12 22:13:49 +02:00
Honza Bambas
e8227e774f Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01:00
Jonathan Kingston
f563862063 Bug 1341191 - Fix messaging priv escalation of feed reader, simplify messaging from parent to child. Reduce race conditions on page. r=Gijs 2017-03-19 06:29:17 +00:00
Jonathan Kingston
8072620c9f Bug 1345546 - Add telemetry for feed protocols pcast and feed. r=Gijs
MozReview-Commit-ID: FPw18txy6gE
2017-03-08 17:32:52 +00:00
Mark Banner
36c2952306 Bug 1341338 - feedType is undefined in FeedConverter#handleResult. r=jaws
MozReview-Commit-ID: tZAdpmkNWp
2017-02-21 07:43:59 +00:00
Jared Wein
0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Florian Quèze
45647c4570 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Christoph Kerschbaumer
b49b9bb46a Bug 1232432 - Convert feeds/feedConverter to use asyncOpen2(). r=gijs 2017-01-04 08:57:09 +01:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Mark Banner
0dc78b7964 Bug 1314918 - Fix most of the remaining no-unused-vars issues for local scope in browser/. r=mossop
MozReview-Commit-ID: LdoXLniNeT7
2016-11-03 11:51:48 +00:00
jordan9769
d1858b31a8 Bug 1311343 - Enable eslint of browser/components/feeds/; r=standard8
MozReview-Commit-ID: 6c4nzNeeurk
2016-10-27 12:02:52 +05:30
Gijs Kruitbosch
813d169b77 Bug 1277698, r=bz
MozReview-Commit-ID: JH5QUu357gc
2016-06-07 14:47:35 +01:00
Gijs Kruitbosch
7a964d43ee Bug 1277685, r=jaws
MozReview-Commit-ID: BtZCFTIdlMh
2016-06-07 14:53:34 +01:00
Dave Huseby
8b4b38504c Bug 1233899 - fix the feeds converter to use default user context origin attributes. r=baku
(HEAD -> Bug_1233899)
passing origin attributes from loading channel to feed rendering page.
2016-06-06 14:22:00 +02:00
George Wright
bf4b31563d Bug 1109714 - Make the feed subscriber UI work in e10s r=mrbkap,jaws 2016-01-04 18:59:44 -05:00
Neil Deakin
806628383a Bug 1199239, remove cpow usage from bookmark this page, r=mak 2015-09-25 21:14:43 -04:00
Yoshi Huang
d2b4917583 Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley 2015-08-18 15:01:42 +08:00
Bobby Holley
d12b79b75a Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Yoshi Huang
431a4ee3e8 Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley 2015-08-24 01:18:00 -04:00
Christoph Kerschbaumer
64c581a67c Bug 1116278 - Follow up: Using new channel API in browser/components/feeds (r=sicking) 2015-02-17 19:53:53 -08:00
Christoph Kerschbaumer
11e32a04a4 Bug 1116278 - Make JS callers of ios.newChannel call ios.newChannel2 in browser/components/feeds (r=neil) 2015-01-26 19:55:28 -08:00
Phil Ringnalda
1a0cf3cf9e No bug - remove trailing whitespace on a CLOSED TREE 2014-12-03 20:52:42 -08:00
Birunthan Mohanathas
57ca3031f0 Bug 1038458 - Part 3: Flatten browser/components/feeds/{public,src}/ directories. r=mak 2014-07-26 09:31:52 -07:00