Dan Banner
ea09f270ab
Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
...
MozReview-Commit-ID: EXJNufdKKhJ
--HG--
extra : rebase_source : 66d17c7981c4b0987c482ce092b25990b42c07fb
2017-05-27 15:17:29 +01:00
Florian Quèze
5e3539e504
Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop.
2017-05-12 14:42:39 +02:00
Mark Banner
2bf9485071
Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
...
MozReview-Commit-ID: 5fVG7akPnGM
--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
Sebastian Hengst
95a418ca5b
Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout
2017-05-11 10:15:55 +02:00
Mark Banner
256aeb441c
Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
...
MozReview-Commit-ID: 5fVG7akPnGM
--HG--
extra : rebase_source : f1b9eeb1b2048b551ee8c0a596e6395d0031cc4d
2017-05-08 10:29:47 +01:00
Mike Conley
ebc56f8c56
Bug 1308820 - Make sure to close the print progress dialog if print preview is exited. r=Gijs
...
MozReview-Commit-ID: 391bf9J2Qcf
--HG--
extra : rebase_source : 82e245b089459e3dea9b71551d17b6533dbf76ec
2017-05-01 12:53:31 -04:00
Matheus Longaray
1cec8e74d5
Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
...
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.
MozReview-Commit-ID: FZSRUyC49Wk
2017-05-01 17:30:48 +02:00
Sebastian Hengst
8961c1494e
Backed out changeset 99fd6973d18e (bug 1332386) for frequently failing browser_tabSwitchPrintPreview.js on Linux x64 opt-ish builds. r=backout a=backout
...
MozReview-Commit-ID: 7oyiuBSTGtI
2017-04-29 20:47:54 +02:00
Matheus Longaray
e723d98949
Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
...
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.
MozReview-Commit-ID: FZSRUyC49Wk
--HG--
extra : rebase_source : cccc12f17f315089c9e5d05116077b7f87f4053b
2017-04-20 14:04:03 +02:00
Wes Kocher
9f7208991b
Backed out changeset 6404057679f4 (bug 1332386) for frequent failures in browser_preview_switch_print_selected.js a=backout
2017-04-18 16:21:58 -07:00
Matheus Longaray
89917b659f
Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
...
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.
MozReview-Commit-ID: 77pLXhdbpPp
--HG--
extra : rebase_source : 7201f230299c571d6c3a86ce650d6852c43e0943
2017-04-18 22:21:10 +02:00
Frank-Rainer Grahl
8609ec93f0
Bug 1353439 - Cc and Ci are not defined in printUtils.js so use Components full names. r=jhector
2017-04-05 03:08:00 -04:00
Mark Banner
bd625e4e9f
Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
...
MozReview-Commit-ID: LH0CQOPfoe6
--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Dão Gottwald
3d9dca980f
Bug 1343330 - Use fast-forward and fast-rewind characters instead of skip-to-end and skip-to-start on Windows 7. r=Felipe
...
MozReview-Commit-ID: LUfyeUcDkmC
--HG--
extra : rebase_source : c69437309725c9c0fe11f3f661d18deab5940036
2017-03-14 13:03:42 +01:00
Carsten "Tomcat" Book
01be573810
Backed out changeset 8cd4168dbb04 (bug 1343330) for eslint failure
2017-03-14 12:43:21 +01:00
Dão Gottwald
906d239e2d
Bug 1343330 - Use fast-forward and fast-rewind characters instead of skip-to-end and skip-to-start on Windows 7. r=Felipe
...
MozReview-Commit-ID: Lla9l6swSU3
--HG--
extra : rebase_source : 83adebe90eadbcc06f529d08537825ef9573871d
2017-03-10 14:16:56 +01:00
Florian Quèze
c3d51cb515
Bug 1345513 - Stop shipping unreferenced printing files on Mac, r=mconley.
2017-03-11 12:51:21 +01:00
Florian Quèze
9d62681259
Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.
2017-03-08 10:17:52 +01:00
Florian Quèze
cd762cc83c
Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
...
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Andrea Marchesini
24004054a8
Bug 1334975 - Get rid of nsIFilePicker.show() use in gecko, r=ochameau
2017-03-03 09:42:27 +01:00
Mark Banner
09889d3184
Bug 1343519 - Change the ESLint rule 'import-browserjs-globals' to be an environment (mozilla/browser-window) to better describe the purpose of it. r=mossop
...
MozReview-Commit-ID: FTDV8BcMGeF
--HG--
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/environments/browser-window.js
extra : rebase_source : f0e89f2ce3cfdf343213f66a007f74a80a785c19
2017-03-01 21:29:52 +00:00
Bob Owen
a9a7378a89
Bug 1141756 Part 2: Correct removal of Printing:Preview:Entered message listener. r=mconley
2017-03-01 12:12:02 +00:00
Mark Banner
a656cedb11
Bug 1341029 - Turn on the ESLint no-undef rule for all of toolkit/. r=jaws
...
MozReview-Commit-ID: Ed9FfkskDos
--HG--
extra : rebase_source : 6ae47dc76b3ebe77b66725a899d32e728af5d35e
2017-02-20 11:45:58 +00:00
Julian Hector
94cad21ec7
Bug 1329216 - Pass default printer name to child. r=mconley
2017-02-13 13:07:44 +01:00
Gijs Kruitbosch
42e1871519
Bug 1329220 - fix print preview source browser confusion, r=mconley
...
Restore overwriting of this._sourceBrowser as it was before bug 1308621
to ensure we continue to use the same DOM to do print previewing (and
eventually printing).
Bug 1308621 already changed the enterPrintPreview code to rely on the
member _sourceBrowser variable, which will be updated to point to the
print preview browser if/when print preview is being reinitialized for
the same page (because one of the print settings changes). We need to
do this to avoid re-initializing off the original browser, which may
now have navigated or be displaying something else entirely.
This also updates the 'simplified' mode code to rely on the extant
_originalURL member to avoid displaying the page URL as about:blank
after a settings change.
MozReview-Commit-ID: DZ1kT7Mb0mS
--HG--
extra : rebase_source : cb79c835d6f8bcd67a7118de3a19b1cab85b6593
2017-01-09 22:04:05 +00:00
Jared Wein
5e37a69783
Bug 1331661 - Manually fix the remaining 'quotes' errors for eslint. r=Gijs
...
MozReview-Commit-ID: 7iXjQtp9ftV
--HG--
extra : rebase_source : 281bc81a05c3f7105918c1eac5141915851cfbe9
2017-01-17 10:38:58 -06:00
Florian Quèze
22d9b71466
Bug 1330464 - make the no-useless-parameters eslint rule detect misuses of the Services.prefs APIs, r=jaws.
2017-01-13 20:21:55 +01:00
Mark Banner
39df62d9dc
Bug 1328338 - Fix more no-undef eslint issues in toolkit/ and browser/. r=mossop
...
MozReview-Commit-ID: 78dXLYVW1gC
--HG--
extra : rebase_source : 4d2c50697307177c76a71ca7989863f01b05290b
2017-01-03 11:55:24 +00:00
Jared Wein
9141469edf
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Jared Wein
2bd8ec9d21
Bug 1325464 - Manually fix the remaining ES6 method syntax eslint errors. r=MattN
...
MozReview-Commit-ID: 6NqMryvKH9S
--HG--
extra : rebase_source : 264815538de1d0698cbd82e1b995be1b1b07f373
2016-12-28 12:22:09 -05:00
Jared Wein
ecab54a7c9
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher
0dfb7c2b5c
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
e916e6e896
Bug 1325464 - Manually fix the remaining ES6 method syntax eslint errors. r=MattN
...
MozReview-Commit-ID: 6NqMryvKH9S
--HG--
extra : rebase_source : 4085737de26adb421eb9b3c9e9841d44a1c89fa4
2016-12-28 12:22:09 -05:00
Jared Wein
7255df4e9a
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Mark Banner
32471628fa
Bug 1325623 - Fix most no-undef eslint issues in toolkit/components. r=mossop
...
MozReview-Commit-ID: DYJa1uNVagw
--HG--
extra : rebase_source : 11649d299fb6654bcadfb0e04bc0d8f19552529e
2016-12-23 16:00:46 +00:00
Gijs Kruitbosch
cb6c0c81ac
Bug 1322414 - part 2,3,4: use a separate 'primary' attribute for primary child browsers, r=bz,mconley
...
MozReview-Commit-ID: 2yb0WGFYBsH
--HG--
extra : rebase_source : 376171077c577e41e82cec5e994c425c6d9f2d80
extra : histedit_source : 39aad91381749a263042cd0452fe32019a1974b8
2016-12-09 09:23:24 -10:00
Matheus Longaray
c0a7494d43
Bug 1319067 - Make the printing media section respect the font size. r=Gijs
2016-12-13 08:22:00 -05:00
Boris Zbarsky
162c8766a4
Bug 1310796 part 4. Get rid of 'content-targetable' values for the 'type' attribute everywhere except tabbrowser.xml. Just use 'content' instead. r=gijs
2016-12-08 16:41:45 -10:00
Dave Townsend
c5bb304fd9
Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
...
MozReview-Commit-ID: FGFwg6TYkvm
--HG--
extra : rebase_source : 4073cebbef1694393efe312aaafbdb803adbd304
2016-11-11 15:22:34 -08:00
Dave Townsend
0a2c8f9b78
Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
...
MozReview-Commit-ID: HBpjT2uHJaZ
--HG--
extra : rebase_source : 78fe71a1d673a1c698520a9c82c6f35959614f8f
2016-11-10 14:48:04 -08:00
Mark Banner
7d81bfea9f
Bug 1315951 - Fix no-unused-vars issues in toolkit/components (except places). r=mossop
...
MozReview-Commit-ID: 8svkCKZHxsq
--HG--
extra : rebase_source : 01552e8214f02490aad3cf704757f52a9c3b3959
2016-11-08 12:49:32 +00:00
Wes Kocher
db15df3e50
Merge m-c to inbound, a=merge CLOSED TREE
2016-11-04 15:19:49 -07:00
Dave Townsend
6a07a42125
Bug 1314343: Turn on no-unreachable in eslint. r=standard8
...
Unreachable code can be a sign of a mistake so we should turn this rule on.
MozReview-Commit-ID: LQphsNL7HBX
--HG--
extra : rebase_source : eb5fdb1157cac6e447492ac89bb15d83dc32eef6
2016-11-01 10:58:35 -07:00
Jared Wein
87b2d4c295
Bug 1315013 - part 1, remove unnecessary double-slash comments that don't add value and look out of place with the spaced-comment eslint rule. r=mossop
...
MozReview-Commit-ID: HIUTSdkXxbY
--HG--
extra : rebase_source : 2f05e2f275ac7f293f9c650bdec8943189e3ce01
2016-11-03 14:42:06 -04:00
Jared Wein
5040f17e00
Bug 1312486 - Enable no-extra-boolean-cast, no-new-object, no-shadow-restricted-names, and spaced-comment rules for eslint. r=standard8
...
MozReview-Commit-ID: 7Gx90a5y8t6
--HG--
extra : rebase_source : 9c8a6b15c19982d720b0163fbbf19d465da786fe
2016-10-24 13:14:19 -04:00
Matheus Longaray
8f034c990b
Bug 1306298 - Close any pre-existing print progress dialogs when on re-entry to print preview. r=mconley
...
--HG--
extra : amend_source : 30f9cf9ac115c4c0830da8ab3190b22df1e32f5a
2016-10-27 08:44:00 -04:00
Eric Rahm
c15406fea3
Bug 1312143 - Delete toolkit/obsolete. r=John-Galt
...
This removes the obsolete toolkit directory. A few references to dialogOverlay
have been updated to just used <dialog> directly. The InlineSpellCheckerUI var
has also been moved directly to browser.js and defined as lazy getter.
MozReview-Commit-ID: JZfi0W2wqCL
2016-10-24 18:23:24 -07:00
Leandro Manica
c091b36f51
Bug 1306296 - Add shortcut key to Simplify Page feature. r=mconley
2016-10-14 12:01:00 -04:00
Gijs Kruitbosch
d0df002eda
Bug 1308621 - print preview shouldn't re-set the source browser, r=florian
...
Right now the "already in print preview" case in printPreview() collapses
the print preview browser - but also clobbers its _sourceBrowser property,
which shouldn't point to the print preview browser but to the 'normal'
browser whose print preview is in the print preview browser.
This patch fixes the clobbering, and updates later code to not call
getSourceBrowser() repeatedly, as doing so can in some race conditions end up
print previewing the wrong page.
MozReview-Commit-ID: FlMRrPEkAJQ
--HG--
extra : rebase_source : 47f0aa065c45fce7d7a868394332c5d6d0e067fb
2016-10-06 12:58:37 +01:00
Bill McCloskey
50c44c717c
Bug 1279086 - Allow painting for tab switch when JS is running (r=dvander,mconley,mrbkap)
2016-09-16 20:35:11 -07:00