Commit Graph

230 Commits

Author SHA1 Message Date
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
Christoph Kerschbaumer
5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Florian Quèze
15feaa278a 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
ff53eb9a63 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
0fb690c415 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
8895838919 Bug 1358248, r=evanxd
MozReview-Commit-ID: 55otSuRxdsa
2017-04-22 15:07:41 +01:00
Gijs Kruitbosch
36091cb9cc Bug 1358248, r=nechen,evanxd
MozReview-Commit-ID: 1EBZFcyvmY1
2017-04-22 15:00:22 +01:00
Hemant Singh Patwal
ad36f4ffac Bug 1354520 - De-duplicate already ESLint recommended rules in toolkit/components/reader/.eslintrc.js r=standard8
MozReview-Commit-ID: GD8JBz4DLds
2017-05-03 22:56:58 +05:30
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