Граф коммитов

223 Коммитов

Автор SHA1 Сообщение Дата
Gijs Kruitbosch 583c888194 Bug 1364056 - don't try to use `doc` reference when it might be dead, r=baku
MozReview-Commit-ID: Lt7aOU8hPSV

--HG--
extra : rebase_source : 9d31f166f5e84aee958756963e2f152508994a48
2017-05-15 22:01:40 +01:00
Christoph Kerschbaumer e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Florian Quèze 97f401c644 Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02: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
Sebastian Hengst 57a0c453bb Bug 1358248 - update uri call in log statement to fix failure detected by eslint. r=eslint-fix 2017-05-09 13:24:10 +02:00
Gijs Kruitbosch f97861db4a Bug 1358248, r=evanxd
MozReview-Commit-ID: 55otSuRxdsa

--HG--
extra : histedit_source : 025337331f01368b0620256234717242b8e1da89
2017-04-22 15:07:41 +01:00
Gijs Kruitbosch 70316b8ea8 Bug 1358248, r=nechen,evanxd
MozReview-Commit-ID: 1EBZFcyvmY1

--HG--
extra : histedit_source : 62066947ec5c3eb6218869be6131dcae15159d74
2017-04-22 15:00:22 +01:00
Hemant Singh Patwal d0a8596e13 Bug 1354520 - De-duplicate already ESLint recommended rules in toolkit/components/reader/.eslintrc.js r=standard8
MozReview-Commit-ID: GD8JBz4DLds

--HG--
extra : rebase_source : b3450cf775c5f60a98168b390c6548213129d15c
2017-05-03 22:56:58 +05:30
Florian Queze 4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Carsten "Tomcat" Book d9cce3c040 merge autoland to mozilla-central a=merge 2017-04-26 08:40:02 +02:00
Mike Conley 365f4e988a Bug 1352501 - Remove Reader Mode promotion panel. r=jaws,MattN
Note that the UITour library can still show a panel in the event that we want to
promote the feature that way.

MozReview-Commit-ID: FzKSzO987h7

--HG--
extra : rebase_source : 8c129106478559f011a3a4e311331851939ab408
2017-04-19 16:42:10 -04:00
Chris Peterson a490701ed6 Bug 1358948 - Remove redundant eslint "no-spaced-func" rules and standardize on new "func-call-spacing" name. r=standard8
The "no-spaced-func" name was deprecated in ESLint v3.3.0 and replaced by "func-call-spacing", which is already specified in the mozilla/recommended rules and some other .eslintrc.js files. We need to specify func-call-spacing in accessible/tests/browser/.eslintrc.js because it doesn't inherit the mozilla/recommended rules.

MozReview-Commit-ID: 7L8fuVtTu0X

--HG--
extra : rebase_source : 9cbd3717e6360d47b1a4589e8d5658ccf4bcba59
extra : intermediate-source : 61d723ca5f9b4dd9a22f2956c2f49d998e9db6c9
extra : source : e589244b9db5a744166ed151ff3e2e77432fdb04
2017-04-23 19:40:28 -07:00
Florian Queze f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst a07223d699 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 738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze 3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Zibi Braniecki 5b976eeccb Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
MozReview-Commit-ID: BDhgIKNSOEL

--HG--
extra : rebase_source : 6a009ba4d397e6794e86c87c10982fdfb8e7ba08
2017-03-14 12:35:06 -07:00
Iris Hsiao 394f455b8e Backed out changeset c7174ac72d14 (bug 1347272) for build bustage
--HG--
extra : amend_source : b4f3d5997190ce3db799e3586131cc3cb9ce034d
2017-03-28 18:16:33 +08:00
Zibi Braniecki 70c168c03f Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
MozReview-Commit-ID: BDhgIKNSOEL

--HG--
extra : rebase_source : 8440ae6b21887bae5142c86220f02092d1b12aed
2017-03-14 12:35:06 -07: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
Timothy Guan-tin Chien 0127cd03e2 Bug 1344431 - Tell parent the non-reader-able reader page is not readable, r=Gijs
Although regression window testing pin this to bug 1260276, I believe
this is a regression from bug 1126967. Bug 1260276 just make it more
visible because we stop automatically redirect users to the original
page.

This patch fix the bug by checking if the current page is in readerable
state (i.e. not error state), and send the message accordingly.

MozReview-Commit-ID: B5UJcPvVlAc

--HG--
extra : rebase_source : 630347e1f4256550857d84bc6e8a30036b114362
2017-03-06 16:31:47 +08:00
Evan Tseng bd60fe4e05 Bug 1177360 - Disable reader mode button for amazon.com, r=Gijs
MozReview-Commit-ID: Cg9Gm4HCHbA

--HG--
extra : rebase_source : 59555eadd075d273d823ad5d4fd55f650b7e2520
2017-03-01 18:22:45 +08:00
Evan Tseng 25c2747782 Bug 1340799 - Add a test for clicking hash links in reader mode to scroll to the anchor, r=Gijs
MozReview-Commit-ID: EzoVcuW2qm4

--HG--
extra : rebase_source : 14705ad9e26a3c71730b932439af84f31dffd24c
2017-02-23 16:01:41 +08:00
Evan Tseng e71fa05721 Bug 1323861, Bug 1322674, Bug 1217007 - Update readability from github repo, r=Gijs
MozReview-Commit-ID: K0VcAPMaqBV

--HG--
extra : rebase_source : a18e1a9093c59b6f42b9d04839ffa81d50f16b7c
2017-02-23 16:35:06 +08:00
Xidorn Quan 588a1ebbde Bug 1342348 part 2 - Remove local link fix in about:reader. r=Gijs
MozReview-Commit-ID: GsEuRwj3oXV

--HG--
extra : rebase_source : d574c84f422252bfed60133978cc3e66866043ad
2017-02-27 12:06:38 +11:00
Wes Kocher 1e793592af Backed out 2 changesets (bug 1342348) for xpcshell bustage a=backout
Backed out changeset 6e181ffefa61 (bug 1342348)
Backed out changeset 4f0fce98dd3a (bug 1342348)

MozReview-Commit-ID: F7bUbScVyfN
2017-02-27 16:56:04 -08:00
Xidorn Quan 9b5a05cf1d Bug 1342348 part 2 - Remove local link fix in about:reader. r=Gijs
MozReview-Commit-ID: GsEuRwj3oXV

--HG--
extra : rebase_source : c6f8dc3646b58b665fcf78e00da636235a9abb02
2017-02-27 12:06:38 +11:00
Sebastian Hengst c50b0a80e4 Backed out changeset d1578fd6f7e4 (bug 1342348) 2017-02-27 15:25:18 +01:00
Xidorn Quan becf9c42e3 Bug 1342348 part 2 - Remove local link fix in about:reader. r=Gijs
MozReview-Commit-ID: GsEuRwj3oXV

--HG--
extra : rebase_source : c87e9da0c0a55f101e924db0c9f33547de6f6a88
2017-02-27 12:06:38 +11:00
Masatoshi Kimura 7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Mark Banner d28d6df424 Bug 1338249 - Improve eslint-plugin-mozilla's handling of workers when dealing with globals and imports. r=mossop
MozReview-Commit-ID: 7UdgstbYNlB

--HG--
extra : rebase_source : 63005f09ce96135ea239db2de7bcffa924ae03ef
2017-02-07 11:14:49 +00:00
Carsten "Tomcat" Book 433f1f5ec7 Backed out changeset 03bfb1ccd33f (bug 1338249) for test failures in test_loading.xul 2017-02-15 15:24:32 +01:00
Mark Banner cd234e0642 Bug 1338249 - Improve eslint-plugin-mozilla's handling of workers when dealing with globals and imports. r=mossop
MozReview-Commit-ID: 7UdgstbYNlB

--HG--
extra : rebase_source : e8eb9718da9bf378b293aca5211c53dd063d4f7a
2017-02-07 11:14:49 +00:00
Evan Tseng cf1234034b Bug 1300697, Bug 1259763, Bug 1167568 - Update readability from github repo, r=Gijs
MozReview-Commit-ID: CT1CLr9tV4D

--HG--
extra : rebase_source : 6d6fb32bb36414b3b164c4111e861b6314c3e64d
2017-02-06 12:03:06 +08:00
Gijs Kruitbosch 226f908bd8 Bug 1322327 et al., update readability from github, rs=me
MozReview-Commit-ID: Gg9o2gE6T3t
2017-01-18 14:21:10 +00:00
Jared Wein 43bac26d30 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a

--HG--
extra : rebase_source : 014c0b04d8538dc5f15bc6dd4ed6bd220c55c5d4
2017-01-17 09:48:17 -06:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Florian Quèze a03918c148 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Jim Chen e56ec60a5b Bug 1328683 - Convert ReadingListHelper events to bundle events; r=sebastian 2017-01-10 23:01:27 -05:00
Florian Quèze 34e970eb9b Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein f64146d9d7 Bug 1329014 - Enable the no-extra-bind rule and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: BwK94W2mHXS

--HG--
extra : rebase_source : a905658829084d3a4018df81f51bb210ef1e645b
2017-01-05 16:43:29 -05:00
Jared Wein 560afd3f8e Bug 1326479 - Fix 'indent' eslint errors now that eslint scans multiline array and object definitions. r=Gijs
MozReview-Commit-ID: 99mWjxu8PPn

--HG--
extra : rebase_source : f78d800263b8544ce0accbdb2dc57b303969543f
2017-01-03 10:07:50 -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 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
fiveNinePlusR 9a1f634c43 Bug 1323415 - Add reader mode time estimate pluralization strings. r=gijs
Changes the time estimate string to use the pluralization library
so different localizations will be able to localize correctly.

--HG--
extra : rebase_source : 05d201346b0a4ad72ba5922d8c86f8dcba5bf1f0
2016-12-19 11:00:00 +01:00
Evan Tseng 0eebd3161c No bug - Update readability from github repo, includes fix for Bug 1142312 and Bug 1285543, r=Gijs
MozReview-Commit-ID: 5hi1iuDO3XE

--HG--
extra : rebase_source : 9c15ccde6cadc4df3d7751ca90a53dc4c0d021c3
2016-12-15 12:03:53 +08:00