Dave Townsend
0cde5fb138
Bug 1474981: Allow newly added search engines to use the tab icon if it is a data uri. r=mikedeboer
...
Differential Revision: https://phabricator.services.mozilla.com/D2123
2018-07-16 20:51:34 +00:00
Brian Grinstead
07e20adba7
Bug 1462798 - Create a base custom element class that shares the parseXULToFragment helper;r=Paolo
...
MozReview-Commit-ID: IG84xKxO9Wc
2018-05-19 13:56:06 -07:00
Brian Grinstead
0b56a85e67
Bug 1461388 - Migrate XUL deck from a XBL binding to a Custom Element;r=timdream
...
MozReview-Commit-ID: F95i9H9FvYv
2018-04-04 21:29:06 -07:00
Brian Grinstead
a74498173a
Bug 1459245 - Migrate <stringbundle> from a XBL binding to a Custom Element;r=mossop
...
This loads a JS file to register the Custom Element whenever XUL documents
get created. This is a pattern we plan to follow for future elements as well -
stringbundle is just an easy target to prove it out with.
MozReview-Commit-ID: 7PlisCknrKW
2017-10-25 13:51:13 -07:00
Kris Maglione
fd7e9e6a69
Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
...
This also removes any redundant Ci.nsISupports elements in the interface
lists.
This was done using the following script:
acecb401b7/processors/chromeutils-generateQI.jsm
MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Alessio Placitelli
14f801cbb5
Bug 1452551 - Initialize the Telemetry core in GeckoView. r=esawin,gfritzsche,jchen
...
This additionally introduces a new pref (toolkit.telemetry.isGeckoViewMode)
to discriminate, at runtime, between Fennec and GV in JavaScript code.
Moreover, this disables TelemetryController initialization from content
processes, which was left enabled.
MozReview-Commit-ID: 7VoDorxAhvD
2018-04-11 13:11:27 +02:00
Kirk Steuber
48df44549c
Bug 1428948 - Add policies to modify the available search engines r=Felipe,florian
...
This adds a policy with the capability of adding search engines, choosing the default search engine, and blocking the installation of new search engines.
Additionally, fixes the messages for errors reported by MainProcessSingleton.addSearchEngine so that the offending URL is printed rather than "[xpconnect wrapped nsIURI]".
MozReview-Commit-ID: HuLT15Rnq0r
2018-03-02 12:11:16 -08:00
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
Florian Quèze
c5f15a4700
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01: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
Dan Banner
5af4450327
Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
...
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Alexandre Poirot
076c0143fe
Bug 1382968 - Only try to forward console messages from content processes to parent when browser console/toolbox are opened. r=jryans,tromey
...
MozReview-Commit-ID: 8cFUbF4msHx
2017-08-01 16:51:07 +02:00
Wes Kocher
85ba4e7ea1
Backed out 3 changesets (bug 1382968) for breaking browser_addons_debug_webextension.js a=backout
...
Backed out changeset e25b4bd21ac8 (bug 1382968)
Backed out changeset 5a2260bc98ca (bug 1382968)
Backed out changeset 869a9b46b5cc (bug 1382968)
MozReview-Commit-ID: DSKWAHxdXI
2017-08-08 09:17:56 -07:00
Alexandre Poirot
d7402fa992
Bug 1382968 - Only try to forward console messages from content processes to parent when browser console/toolbox are opened. r=jryans,tromey
...
MozReview-Commit-ID: 8cFUbF4msHx
2017-08-01 16:51:07 +02:00
Julien Wajsberg
43b7fd0903
Bug 1380449 - Do not clone when not in a Web Extension r=kmag
...
MozReview-Commit-ID: D1Ry7INxnYo
2017-07-20 16:06:15 +02:00
Brian Grinstead
b5d0055391
Bug 1383208 - Allow for null functionName in console messages;r=baku
...
MozReview-Commit-ID: 47O6kPQ3W8o
2017-07-26 15:14:07 -07:00
Kris Maglione
02abcbfad7
Bug 1357486: Part 0d - Propagate clonable console message args to the parent process. r=aswan
...
MozReview-Commit-ID: Bkecqr7hRvx
2017-07-07 14:34:37 -07:00
Kris Maglione
4547035c4a
Bug 1357486: Part 0c - Propagate addonId to parent process with console messages. r=aswan
...
MozReview-Commit-ID: I1LzpMcfgEh
2017-07-07 14:34:02 -07:00
Sebastian Hengst
05b5235cbe
Backed out changeset c72d36a91e44 (bug 1357486)
2017-07-08 11:23:40 +02:00
Sebastian Hengst
de23ec8f75
Backed out changeset 0159b012fa2d (bug 1357486)
2017-07-08 11:23:36 +02:00
Kris Maglione
279afd4582
Bug 1357486: Part 0d - Propagate clonable console message args to the parent process. r=aswan
...
MozReview-Commit-ID: Bkecqr7hRvx
2017-07-07 14:34:37 -07:00
Kris Maglione
d0a6dc0361
Bug 1357486: Part 0c - Propagate addonId to parent process with console messages. r=aswan
...
MozReview-Commit-ID: I1LzpMcfgEh
2017-07-07 14:34:02 -07:00
Julian Descottes
ff793517de
Bug 1364075 - remove DevTools dependency in ContentProcessSingleton;r=ochameau
...
MozReview-Commit-ID: 38XKKM37jC5
2017-05-29 23:36:26 +02:00
Florian Queze
451928e614
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Sebastian Hengst
f75839c723
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
9b4f73599f
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Andrew McCreight
dd709ecf07
Bug 1355611 - Don't load TelemetryStartup.js in the content process. r=gfritzsche
...
Instead, run the telemetry startup in ContentProcessSingleton.js, to
avoid loading a .jsm in every content process.
MozReview-Commit-ID: BnwoZTjFB3i
2017-04-11 15:13:30 -07:00
Joel Maher
d2be399571
Bug 1351067 - add BUG_COMPONENT to toolkit/* files. r=myk,enndeakin,mossop
...
MozReview-Commit-ID: 8mv5Oed68JL
2017-04-09 05:43:43 -04:00
Andrew McCreight
be157ecf4d
Bug 1353174, part 1 - Turn ContentObservers.jsm into a process script. r=Gijs
...
This retains the advantage of running only once per process, while
avoiding the per-process overhead of a jsm.
MozReview-Commit-ID: 1N53MvRwUpg
2017-04-04 11:21:48 -07:00
Mark Banner
b365ab9867
Bug 1218324 - Correctly report when a search engine could not be installed due to an invalid format. r=florian
...
MozReview-Commit-ID: Cqw0uKDWguy
2016-12-14 14:55:00 +00:00
Florian Quèze
c8cf49999e
Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws.
2017-01-27 10:51:03 +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
Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
e7b1b3284f
Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
...
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Jared Wein
4518d81cb5
Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
...
MozReview-Commit-ID: EMjJ3yWt9Wt
2016-08-04 03:28:58 -04:00
Tom Tromey
1b5a2bdb96
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Haik Aftandilian
39a0f79da5
Bug 1274074 - console.log()ging too much data can crash e10s via IPC call from mozilla::dom::ProcessGlobal::SendAsyncMessage; r=mconley
...
MozReview-Commit-ID: 6ICgsnNHFpq
2016-05-28 01:15:14 -07:00
J. Ryan Stinnett
687866dde2
Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau
2015-10-21 12:48:53 -05:00
Florian Quèze
a907b6cfb9
Bug 862148 - stop supporting installation of Sherlock plugins through Services.search.addEngine, r=adw.
2015-09-23 12:05:36 +02:00
Florian Quèze
144c19129b
Bug 862148 - drop support for Sherlock plugins in window.sidebar.addSearchEngine, r=adw.
2015-09-23 12:05:36 +02:00
J. Ryan Stinnett
2dada8f365
Bug 912121 - Rewrite require / import to match source tree. rs=devtools
...
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location. Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00