Commit Graph

215 Commits

Author SHA1 Message Date
Florian Queze
6cc0b6e992 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
00da9b8f70 merge autoland to mozilla-central a=merge 2017-04-26 08:40:02 +02:00
Mike Conley
ffb4cca140 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
2017-04-19 16:42:10 -04:00
Chris Peterson
dccd140861 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
2017-04-23 19:40:28 -07: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
Zibi Braniecki
f4aa49939d Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
MozReview-Commit-ID: BDhgIKNSOEL
2017-03-14 12:35:06 -07:00
Iris Hsiao
bc568366eb Backed out changeset c7174ac72d14 (bug 1347272) for build bustage 2017-03-28 18:16:33 +08:00
Zibi Braniecki
f1060ac666 Bug 1347272 - Move ChromeRegistry::IsLocaleRTL to LocaleService::IsAppLocaleRTL. r=jfkthame
MozReview-Commit-ID: BDhgIKNSOEL
2017-03-14 12:35:06 -07:00
Mark Banner
ec9074e132 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
2017-03-20 12:36:37 +01:00
Timothy Guan-tin Chien
41bd380984 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
2017-03-06 16:31:47 +08:00
Evan Tseng
9106be5219 Bug 1177360 - Disable reader mode button for amazon.com, r=Gijs
MozReview-Commit-ID: Cg9Gm4HCHbA
2017-03-01 18:22:45 +08:00
Evan Tseng
36c10374b2 Bug 1340799 - Add a test for clicking hash links in reader mode to scroll to the anchor, r=Gijs
MozReview-Commit-ID: EzoVcuW2qm4
2017-02-23 16:01:41 +08:00
Evan Tseng
e96a8b8e34 Bug 1323861, Bug 1322674, Bug 1217007 - Update readability from github repo, r=Gijs
MozReview-Commit-ID: K0VcAPMaqBV
2017-02-23 16:35:06 +08:00
Xidorn Quan
fa501f6e88 Bug 1342348 part 2 - Remove local link fix in about:reader. r=Gijs
MozReview-Commit-ID: GsEuRwj3oXV
2017-02-27 12:06:38 +11:00
Wes Kocher
8a6f2b529c 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
9e587bc9a7 Bug 1342348 part 2 - Remove local link fix in about:reader. r=Gijs
MozReview-Commit-ID: GsEuRwj3oXV
2017-02-27 12:06:38 +11:00
Sebastian Hengst
e42ef63c64 Backed out changeset d1578fd6f7e4 (bug 1342348) 2017-02-27 15:25:18 +01:00
Xidorn Quan
f49da41293 Bug 1342348 part 2 - Remove local link fix in about:reader. r=Gijs
MozReview-Commit-ID: GsEuRwj3oXV
2017-02-27 12:06:38 +11:00
Masatoshi Kimura
4f2e64ad3d 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
2017-02-23 06:10:07 +09:00
Mark Banner
3d5cf8ade7 Bug 1338249 - Improve eslint-plugin-mozilla's handling of workers when dealing with globals and imports. r=mossop
MozReview-Commit-ID: 7UdgstbYNlB
2017-02-07 11:14:49 +00:00
Carsten "Tomcat" Book
e03a98e408 Backed out changeset 03bfb1ccd33f (bug 1338249) for test failures in test_loading.xul 2017-02-15 15:24:32 +01:00
Mark Banner
fcc130aa4e Bug 1338249 - Improve eslint-plugin-mozilla's handling of workers when dealing with globals and imports. r=mossop
MozReview-Commit-ID: 7UdgstbYNlB
2017-02-07 11:14:49 +00:00
Evan Tseng
943c5c0597 Bug 1300697, Bug 1259763, Bug 1167568 - Update readability from github repo, r=Gijs
MozReview-Commit-ID: CT1CLr9tV4D
2017-02-06 12:03:06 +08:00
Gijs Kruitbosch
e7cd916383 Bug 1322327 et al., update readability from github, rs=me
MozReview-Commit-ID: Gg9o2gE6T3t
2017-01-18 14:21:10 +00:00
Jared Wein
0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Florian Quèze
b36a8b8f42 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Jim Chen
a55ec92358 Bug 1328683 - Convert ReadingListHelper events to bundle events; r=sebastian 2017-01-10 23:01:27 -05:00
Florian Quèze
13cfe1d3f3 Bug 1329182 - remove trailing newURI null parameters in toolkit/, r=jaws. 2017-01-09 20:27:25 +01:00
Jared Wein
7c1615ceba Bug 1329014 - Enable the no-extra-bind rule and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: BwK94W2mHXS
2017-01-05 16:43:29 -05:00
Jared Wein
21fc75d491 Bug 1326479 - Fix 'indent' eslint errors now that eslint scans multiline array and object definitions. r=Gijs
MozReview-Commit-ID: 99mWjxu8PPn
2017-01-03 10:07:50 -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
Mark Banner
fb8a196639 Bug 1325623 - Fix most no-undef eslint issues in toolkit/components. r=mossop
MozReview-Commit-ID: DYJa1uNVagw
2016-12-23 16:00:46 +00:00
fiveNinePlusR
677bce5a57 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.
2016-12-19 11:00:00 +01:00
Evan Tseng
10b31bbeb2 No bug - Update readability from github repo, includes fix for Bug 1142312 and Bug 1285543, r=Gijs
MozReview-Commit-ID: 5hi1iuDO3XE
2016-12-15 12:03:53 +08:00
Wes Kocher
4af608e792 Backed out changeset 57ab844a366f (bug 1142312) for robocop bustage a=backout 2016-12-15 14:33:31 -08:00
Evan Tseng
5e72591773 No bug - Update readability from github repo, includes fix for Bug 1142312 and Bug 1285543, r=Gijs
MozReview-Commit-ID: 5hi1iuDO3XE
2016-12-15 12:03:53 +08:00
Carsten "Tomcat" Book
f33fce1e91 merge mozilla-inbound to mozilla-central a=merge 2016-12-13 16:04:16 +01:00
fiveNinePlusR
dc7b67c54e Bug 1265304 - Add an estimated time range to reader mode, r=gijs,ui-r=emanuela
Uses an upper and lower bound found from this study: http://iovs.arvojournals.org/article.aspx?articleid=2166061
2016-12-11 21:35:00 +00:00
Kit Cambridge
b5156e7a2a Bug 1322954 - Replace deprecated no-negated-in-lhs ESLint option with no-unsafe-negation. r=markh
MozReview-Commit-ID: 3PnGSH0wzyi
2016-12-11 20:53:18 -08:00
Evan Tseng
a0a3ac8203 Bug 1318605 - Do language detection to get text direction, r=Gijs
MozReview-Commit-ID: JxEw7e5y5r1
2016-11-18 18:36:12 +08:00
Sebastian Hengst
f6bbe3cf1a Backed out changeset cbde1c9e78d5 (bug 1318605) for failing test_reader_view.html and test_session_scroll_position.html on Android. r=backout 2016-11-29 18:25:46 +01:00
Evan Tseng
98f8270ca6 Bug 1318605 - Do language detection to get text direction, r=Gijs
MozReview-Commit-ID: JxEw7e5y5r1
2016-11-18 18:36:12 +08:00