Commit graph

66 commits

Author SHA1 Message Date
Brian Grinstead
829d7647d3 Bug 1479538 - Rewrite non-test callers of document.createElementNS(XUL_NS, ...) to use document.createXULElement(...);r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D3275

--HG--
extra : moz-landing-system : lando
2018-08-14 16:22:44 +00:00
Stephen A Pohl
325481c026 Bug 860493: Add pref to disable history swipe animations. r=felipe 2018-05-16 23:09:45 -04:00
Stephen A Pohl
8e75c6c6bc Bug 860493: Add arrow indicators for history swipes on macOS. r=felipe,bram 2018-05-16 23:09:39 -04:00
Florian Quèze
1158645bdd Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8. 2017-12-19 23:45:10 +01:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Rajesh Kathiriya
48e6bc2124 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : b455e846ab79c8141150517e67e542e3e06d630e
2017-07-25 23:45:41 +05:30
Sebastian Hengst
804a36e668 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
22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
Florian Quèze
7dddee4b69 Bug 1381853 - lazy load browser-gestureSupport.js into the browser window, r=mconley. 2017-07-23 00:17:58 +02:00
Johann Hofmann
3eac596d72 Bug 1371219 - Add an inputSource attribute to XULCommandEvent. r=smaug
In the frontend we need to know if XUL buttons in the toolbar were
triggered by a touch event, so we're passing on the inputSource
in the command event.

MozReview-Commit-ID: DMvgZULk9hT

--HG--
extra : rebase_source : c455c8ec77e439bf02c1e3e8d34a36e1fb5e3bd0
2017-07-20 17:45:56 +02:00
Mark Banner
427e3b23dc Bug 1342459 - Fix various no-undef issues in browser/base. r=mossop
MozReview-Commit-ID: CRYxu7copKb

--HG--
extra : rebase_source : bc176c5e6890ffc6a4e26cb9bc9d441d9486ce7b
2017-04-04 13:42:33 +01:00
Mark Banner
1087fc1884 Bug 1352969 - Fix various ESLint no-undef issues in browser/base (no-undef is not enabled yet). r=mossop
MozReview-Commit-ID: BuTyJAfUoWR

--HG--
extra : rebase_source : 482bdc039362347f35aec9fd15e07a143dccb860
2017-02-22 17:02:59 +00:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Florian Quèze
be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01: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
Jared Wein
60b5555bc2 Bug 1328802 - Enable the no-unsafe-finally rule for eslint and fix the four errors that are triggered by it by moving the control flow statement outside of the finally block. r=mossop
MozReview-Commit-ID: 7UFBBpvptdd

--HG--
extra : rebase_source : b31f86341571ec6928caea130597e6c918a34636
2017-01-05 00:38:24 -05: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
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
Jared Wein
3718f00db1 Bug 1316870 - Enable no-shadow eslint rule for browser/. r=mossop 2016-11-15 22:58:30 -05:00
Dave Townsend
8de07a19a0 Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz

--HG--
extra : rebase_source : db6482481b7338df491afd6f6fd376eccec84d7e
2016-11-11 08:10:51 -08: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
d3e296107e Bug 1294621 - Enable the no-lonely-if rule for eslint. r=gijs
MozReview-Commit-ID: 8izEqc8IyCu
2016-08-12 11:50:35 -04:00
Sumit Tiwari
8d27110b79 Bug 1290698 - Replace Iterator() with Object.{values, entries}; r=mossop
MozReview-Commit-ID: DEoVeqEZWpd

--HG--
extra : rebase_source : 53b3a2be2cd5bfc444ce6047c44f20bb176e2337
2016-08-07 21:58:24 -04:00
Jared Wein
fd84c776c7 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt

--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Jared Wein
be454cdf36 Bug 1292008 - Enable the no-empty rule for eslint. r=markh
MozReview-Commit-ID: EfM3YOUjClW

--HG--
extra : rebase_source : 47cb04f0a58df6ae810cbf41f7a09e3bb0130997
2016-08-04 00:55:07 -04:00
Andrea Marchesini
c850532165 Bug 1281793 - Remove some non-used telemetry IDs - part 3 - random things, r=chutten 2016-06-28 19:30:15 +02:00
Carsten "Tomcat" Book
d7c349e036 Backed out changeset 3af9c0fa2ba6 (bug 1281793) 2016-06-28 17:04:50 +02:00
Andrea Marchesini
a90ce99e52 Bug 1281793 - Remove some non-used telemetry IDs - part 3 - random things, r=chutten 2016-06-28 16:44:42 +02:00
Dave Townsend
aad445ae43 Bug 1245649: Enable no-nested-ternary. r=mconley
--HG--
extra : commitid : 197imYXFNid
extra : rebase_source : ce71773fbd8f57118ba30ab395524d9200c42162
2016-02-03 21:17:16 -08:00
Felipe Gomes
2df6ae44b6 Bug 1229603 - Make most of browser/base lintable by removing non-standard syntax. r=Mossop
--HG--
extra : commitid : 5Dg6Q0MzXTN
2015-12-02 17:51:26 -02:00
Felipe Gomes
096a0ad630 Bug 1228655 - Remove ifdefs in browser-gesturesupport.js. r=Gijs 2015-12-01 20:06:09 -02:00
Felipe Gomes
909d49249d Bug 1228627 - Remove #includes from browser.js. r=Gijs 2015-11-30 12:13:57 -02:00
Neil Deakin
642599e511 Bug 1133569, remove cpow usage from back/forward gesture, r=felipe 2015-11-26 10:23:22 -05:00
Tooru Fujisawa
d88225d76e Bug 1207490 - Part 1: Remove use of expression closure from browser/base/. r=dao
--HG--
extra : commitid : GTnFNtx973B
extra : rebase_source : 5bf8bb3d7ddb0234bd533cf6ddc843dd2db9d8f5
2015-09-21 00:29:37 +09:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Markus Stange
0441fca5af Bug 1016035 - Add a MozSwipeGestureMayStart event. r=kats
Having this event means that we don't have to wait for content to find out whether it's scrollable in the case that no swipe should be happening anyway.

IGNORE IDL because I'm only changing comments in the IDL files.

--HG--
extra : commitid : 22814fSLcIz
extra : rebase_source : e51b4db26333275c9bcb3fd7fece78b7d3653275
2015-08-27 15:06:21 -04:00
Abhishek Bhattacharya
59f922886b Bug 1125498 - Use for..of iteration instead of Array.forEach. r=dao 2015-01-30 06:46:36 +01:00
Alexander Dimitrov
28cfc56759 Bug 1125497 - Removed redundant TelemetryStopwatch.jsm import. r=dao 2015-01-26 14:37:45 +01:00
Tim Taubert
9a181e80ae Bug 1067128 - [e10s] _setupSwipeGesture() tries to access content when scrolling down r=spohl 2014-09-15 21:49:47 +02:00
Ms2ger
5b546538b2 Bug 1048780 - Call the standard matches() rather than the proprietary mozMatchesSelector(); r=jst
This also includes a test that mozMatchesSelector is still exposed and works.

--HG--
rename : js/xpconnect/tests/chrome/test_mozMatchesSelector.xul => js/xpconnect/tests/chrome/test_matches.xul
rename : js/xpconnect/tests/mochitest/file_mozMatchesSelector.html => js/xpconnect/tests/mochitest/file_matches.html
2014-08-12 14:30:59 +02:00
Tim Taubert
d83030d79e Bug 863514 - Don't disable gestures in e10s even if they're partially broken r=billm 2014-02-16 19:32:32 +01:00
Stephen Pohl
349d3a0be2 Bug 946862: Disable vertical overscroll until bug 939480 is fixed. r=felipe 2013-12-05 15:38:32 -05:00
Stephen Pohl
f6fb2407b5 Bug 935258: Tear down swipe animation overlay on popstate events. r=felipe 2013-11-18 15:45:41 -05:00
Stephen Pohl
b4e8ea7017 Bug 938189 - Add telemetry for kicking off snapshot compression. r=felipe 2013-11-15 21:46:40 -05:00
Stephen Pohl
fb79f0ab0b Bug 938189 - Avoid duplicate snapshot taking and compression when using history swipe animations. r=felipe 2013-11-15 21:46:40 -05:00
Stephen Pohl
9e604f7bc6 Bug 836430 - Support changes between HiDPI and LoDPI. r=felipe 2013-11-15 21:46:37 -05:00
Frank Yan
c76f8e8256 Bug 836430 - [HiDPI] Store swipe animation snapshots in HiDPI on HiDPI hardware. r=felipe 2013-02-19 13:56:48 -08:00
David Rajchenbach-Teller
c09bac729b Bug 860493 - Add telemetry for history swipe animations. r=spohl,felipe 2013-11-11 13:20:35 -05:00