Commit Graph

16 Commits

Author SHA1 Message Date
Matthew Noorenberghe
12ab72b8a0 Bug 1444949 - Pref-controlled console logging for unprivileged code. r=sfoster
* Default log implementation for unprivileged content
* Export methods of a ConsoleAPI instance into the content frame to replace the default log
* Initialize the content logger when the "initializeRequest" message is received

MozReview-Commit-ID: 8hiaIqf2ChX
2018-03-19 21:57:13 -07: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
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 Guillotte-Blouin
3dbc643032 Bug 1383300 - Show payment request total and origin in the dialog. r=MattN
MozReview-Commit-ID: 9taFJYmQnBP
2017-10-12 21:31:03 -04:00
Phil Ringnalda
f30dfbf0c8 Backed out 5 changesets (bug 1383300) for leaks
CLOSED TREE

Backed out changeset 3879080f60c2 (bug 1383300)
Backed out changeset bc8f24ca5bb3 (bug 1383300)
Backed out changeset 908e2e2a759b (bug 1383300)
Backed out changeset 71b84c813705 (bug 1383300)
Backed out changeset 34fa5b4d4d59 (bug 1383300)

MozReview-Commit-ID: BVz3KG0Qixi
2017-11-03 20:13:58 -07:00
Jonathan Guillotte-Blouin
1b4ac6dbfe Bug 1383300 - Show payment request total and origin in the dialog. r=MattN
MozReview-Commit-ID: 9taFJYmQnBP
2017-10-12 21:31:03 -04:00
Sebastian Hengst
9a3d033914 Backed out changeset 73115b197e08 (bug 1383300) for ESlint failure at toolkit/components/payments/test/PaymentTestUtils.jsm:26 and failing own browser_host_name.js. r=backout 2017-10-21 09:47:44 +02:00
Jonathan Guillotte-Blouin
d1ea7389a2 Bug 1383300 - Show payment request total and origin in the dialog. r=MattN
MozReview-Commit-ID: 9taFJYmQnBP
2017-10-12 21:31:03 -04:00
Matthew Noorenberghe
47b2073aab Bug 1402210 - Add payment UI documentation and do minor code cleanup. r=marcosc
MozReview-Commit-ID: Cpn5mKcEZGo
2017-09-21 21:35:24 -07:00
Jonathan Guillotte-Blouin
922abd31cf Bug 1382388 - Make the Payments Dialog unprivileged & add "abort" support. r=MattN
MozReview-Commit-ID: IXexL4ju2Fj
2017-09-21 13:49:41 -07:00
Sebastian Hengst
fc0dc0f3b9 Backed out changeset 3d10672e7e2b (bug 1382388) for failing touched browser-chrome test browser_show_dialog.js. r=backout 2017-08-12 13:46:32 +02:00
Matthew Noorenberghe
c1930a756b Bug 1382388 - Make the Payments Dialog unprivileged & add "abort" support. r=MattN
MozReview-Commit-ID: IXexL4ju2Fj
2017-07-21 18:34:33 -07:00