Kris Maglione
9d5b9190a5
Bug 1443964: Part 3 - Remove no-cpows-in-tests rule. r=mconley
...
The shims that this rule tests for no longer exist.
MozReview-Commit-ID: DMgP7Hczavc
2018-03-07 19:31:28 -08:00
Kris Maglione
c52d401bb4
Bug 1445551: Part 1b - Whitelist unsafe CPOW use in existing tests. r=mconley
...
MozReview-Commit-ID: 4ojwvjw9XGT
2018-03-14 14:35:05 -07:00
Gijs Kruitbosch
1680636bcc
Bug 1444082 - sync reader mode to github tip ( 8525c6af36d3badbe27c4672a6f2dd99ddb4097f ), r=johannh
...
MozReview-Commit-ID: LZLFf9kyUR5
2018-03-08 14:35:02 +00:00
Mark Banner
29e56bce9b
Bug 1434869 - Automatically mark EXPORTED_SYMBOLS as used, so that we don't need to ignore it in ESLint's no-unused-vars rule. r=florian.
...
MozReview-Commit-ID: IVMeZHGdVBk
2018-03-06 12:01:59 +00:00
Florian Quèze
f1a55f73f8
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Christoph Kerschbaumer
8cd6de289c
Bug 1436808: Apply Meta CSP to content privileged about: pages. r=gijs,freddyb
2018-02-09 11:42:21 +01:00
Mark Banner
4fd95a27c9
Bug 1230369 - Manually fix some remaining instances of Ci/Cc/Cu definitions and switch Components.* to using the shorthand in some places. r=florian
...
MozReview-Commit-ID: 9SmoR9RlvZE
2018-02-07 09:24:15 +00: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
Sebastian Hengst
00dddd0122
Bug 1431533: Part 5z - Use ChromeUtils import methods at positions highlighted by eslint after merge. a=eslint-fix
2018-01-31 02:02:52 +02:00
arthur.iakab
384e070ea5
Merge mozilla-central to autoland
2018-01-31 00:41:58 +02:00
Gijs Kruitbosch
0c4260ddf9
Bug 1420714 - fix favicon fetching in reader mode, r=mak
...
MozReview-Commit-ID: KZFoKNqVPPy
2018-01-30 15:13:23 +00:00
Kris Maglione
5298bb7ac5
Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
...
MozReview-Commit-ID: 7bVI1iM6hor
2018-01-18 16:27:26 -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
5e845929cf
Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
...
MozReview-Commit-ID: 7bVI1iM6hor
2018-01-18 16:27:26 -08: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
3aa3c6fff8
Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
...
MozReview-Commit-ID: 7bVI1iM6hor
2018-01-18 16:27:26 -08: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
Gijs Kruitbosch
7c2d16876c
Bug 1425270 - update readability from github commit fa9d8bda48ee574bcffbc19d68b4ca39e1f9036a, rs=already-reviewed
2017-12-14 11:26:53 -06:00
Bill McCloskey
142c9a9dbb
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-07 12:55:24 -08:00
Andreea Pavel
26ac595cba
Backed out 9 changesets (bug 1412456) for crashing talos g2 and unexpected network connections in browser-chrome's browser_searchEngine_behaviors.js r=backout a=backout on a CLOSED TREE
...
Backed out changeset 0c01a98f4fd5 (bug 1412456)
Backed out changeset 27077db47231 (bug 1412456)
Backed out changeset f35ec2a884f8 (bug 1412456)
Backed out changeset 602b30ac3c69 (bug 1412456)
Backed out changeset b1ff1050c589 (bug 1412456)
Backed out changeset f100d953f9eb (bug 1412456)
Backed out changeset d85af60fe259 (bug 1412456)
Backed out changeset 736f38486832 (bug 1412456)
Backed out changeset 13a637602dc2 (bug 1412456)
2017-12-07 12:20:21 +02:00
Bill McCloskey
427710d960
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 21:17:05 -08:00
Dorel Luca
81b4b85d01
Backed out 8 changesets (bug 1412456) for ESlint failure on browser_urlbarKeepStateAcrossTabSwitches.js:13:49 r=backout on a CLOSED TREE
...
Backed out changeset 0e88de036c55 (bug 1412456)
Backed out changeset 49b93f807db0 (bug 1412456)
Backed out changeset 039e980b7dc6 (bug 1412456)
Backed out changeset c7698410ddbd (bug 1412456)
Backed out changeset e56a1ba26b7c (bug 1412456)
Backed out changeset 0c4506e124ac (bug 1412456)
Backed out changeset a7aec2ce903b (bug 1412456)
Backed out changeset 3e9fb71f1e8e (bug 1412456)
2017-12-07 07:09:33 +02:00
Bill McCloskey
a0f07d3df7
Bug 1412456 - Test changes to no longer use interposition (r=felipe,bgrins,mrbkap)
...
MozReview-Commit-ID: 2nQPOSGTr1s
2017-12-06 20:46:58 -08:00
Gijs Kruitbosch
febbc31556
Bug 1396565, make reader mode fetch the article from within the content process on desktop, r=jaws
...
MozReview-Commit-ID: 11uTaQYwz2Y
2017-11-14 16:53:55 +00:00
Cameron McCormack
114cf0dbf2
Bug 1417837 - Part 3: Replace all IDs in about:reader documents with class names. r=Gijs
...
Since the readerized article content will have its class names stripped
but will retain its original IDs, and we don't want our aboutReader.css
rules targetting UI elements to match anything in the article.
MozReview-Commit-ID: JuXTo8Nth5Q
2017-11-30 11:55:32 +08:00
Cameron McCormack
199ae02a34
Bug 1417837 - Part 2: Preserve class names in readerized output that we use in aboutReader.css. r=Gijs
...
MozReview-Commit-ID: 7qV2SRHeeOJ
2017-11-21 11:54:25 +08:00
Cameron McCormack
7872ff1664
Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
...
MozReview-Commit-ID: 8C65ljtFDrh
2017-11-16 17:58:37 +08:00
Dorel Luca
29ccf2be4c
Backed out 3 changesets (bug 1417837) for failing browser/chrome/test_media_playback.html r=backout on a CLOSED TREE
...
Backed out changeset 9556f12b4058 (bug 1417837)
Backed out changeset 49a463e85e42 (bug 1417837)
Backed out changeset 7a76f2363663 (bug 1417837)
2017-12-04 14:59:31 +02:00
Cameron McCormack
ffe8413f56
Bug 1417837 - Part 3: Replace all IDs in about:reader documents with class names. r=Gijs
...
Since the readerized article content will have its class names stripped
but will retain its original IDs, and we don't want our aboutReader.css
rules targetting UI elements to match anything in the article.
MozReview-Commit-ID: JuXTo8Nth5Q
2017-11-30 11:55:32 +08:00
Cameron McCormack
2a1e8c037d
Bug 1417837 - Part 2: Preserve class names in readerized output that we use in aboutReader.css. r=Gijs
...
MozReview-Commit-ID: 7qV2SRHeeOJ
2017-11-21 11:54:25 +08:00
Cameron McCormack
f7959cb8bb
Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
...
MozReview-Commit-ID: 8C65ljtFDrh
2017-11-16 17:58:37 +08:00
Coroiu Cristina
20dd07106d
Backed out 3 changesets (bug 1417837) for ESlint failures at /builds/worker/checkouts/gecko/toolkit/components/narrate/NarrateControls.jsm r=backout on a CLOSED TREE
...
Backed out changeset 0d6b56293cbf (bug 1417837)
Backed out changeset 1c341a427a7a (bug 1417837)
Backed out changeset fa4f488ea88f (bug 1417837)
2017-12-04 12:34:37 +02:00
Cameron McCormack
3a07eef118
Bug 1417837 - Part 3: Replace all IDs in about:reader documents with class names. r=Gijs
...
Since the readerized article content will have its class names stripped
but will retain its original IDs, and we don't want our aboutReader.css
rules targetting UI elements to match anything in the article.
MozReview-Commit-ID: JuXTo8Nth5Q
2017-11-30 11:55:32 +08:00
Cameron McCormack
3e7cd7958e
Bug 1417837 - Part 2: Preserve class names in readerized output that we use in aboutReader.css. r=Gijs
...
MozReview-Commit-ID: 7qV2SRHeeOJ
2017-11-21 11:54:25 +08:00
Cameron McCormack
90802066f7
Bug 1417837 - Part 1: De-scope about:reader style sheets. r=Gijs
...
MozReview-Commit-ID: 8C65ljtFDrh
2017-11-16 17:58:37 +08:00
Gijs Kruitbosch
254ca970a6
Bug 1421757 - update readability from github c586aeb404ec9a712dc39a377f6c9e8558d352e3, rs=already-reviewed
2017-11-30 14:30:01 +00:00
Dan Banner
503979c95a
Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
...
MozReview-Commit-ID: GrlcOI9K2hJ
2017-05-28 19:57:46 +01:00
Mark Banner
45ac338c2f
Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop
...
MozReview-Commit-ID: 2YHYOLTtqxu
2017-10-09 10:54:16 +01:00
Gijs Kruitbosch
a929093d67
Bug 1416561 - update readability from git ( c3ff1a2d2c94c1db257b2c9aa88a4b8fbeb221c5 ), r=already-reviewed
...
MozReview-Commit-ID: 3WX99CsZ4z5
2017-11-12 12:47:32 +00:00
Masatoshi Kimura
c0943e4f30
Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
...
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09:00
Rajesh Kathiriya
fefc455410
Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
...
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Sebastian Hengst
1326418a49
Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout
2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
0d920ece6a
Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
...
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Jan Henning
a0315474f7
Bug 1278704 - Hide Fennec's floating reader view button when scrolling down. r=Gijs
...
MozReview-Commit-ID: 48wHUpet8ES
2017-07-22 18:55:38 +02:00
Jonathan Hao
582f234b99
Bug 1369327 - Remove low memory platform checks in reader mode. r=Gijs
...
MozReview-Commit-ID: 1VUprtntsK0
2017-07-18 14:44:56 +08:00
Mark Banner
b1b7a75372
Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
...
MozReview-Commit-ID: EnhSBHMjurr
2017-07-11 22:49:55 +01:00
Gijs Kruitbosch
92f71a5369
Bug 1364056 - don't try to use doc reference when it might be dead, r=baku
...
MozReview-Commit-ID: Lt7aOU8hPSV
2017-05-15 22:01:40 +01:00