Commit Graph

89 Commits

Author SHA1 Message Date
Eitan Isaacson
3194a92923 Bug 1572256 - Clear virtual cursor position when focus clear action is invoked. r=geckoview-reviewers,Jamie,snorp
Differential Revision: https://phabricator.services.mozilla.com/D41114

--HG--
extra : moz-landing-system : lando
2019-08-09 00:07:21 +00:00
Boris Zbarsky
a818800ec5 Bug 1568278. Remove various unnecessary QIs to nsIDOMWindow. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D39065

--HG--
extra : moz-landing-system : lando
2019-07-24 01:26:07 +00:00
Victor Porof
058dce8bba Bug 1561435 - Format accessible/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35895

--HG--
extra : source : e786ed0773342d7c897007bb1be5a101945b894a
2019-07-05 09:45:34 +02:00
Eitan Isaacson
0bcec64436 Bug 1538021 - Use owner of WindowEventDispatcher as window for messaging. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D24442

--HG--
extra : moz-landing-system : lando
2019-03-23 21:22:02 +00:00
Kris Maglione
e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Kris Maglione
2fe0de01dc Bug 1519596: Part 1 - Remove several unnecessary/unused ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16377

--HG--
extra : rebase_source : 6c4311387d25de425806aeb6c4691e12c9fcb855
2019-01-11 16:59:23 -08:00
Eitan Isaacson
2cd7977288 Bug 1510794 - Implement AccessibilityNodeInfo.ACTION_CLICK natively. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D13321

--HG--
extra : moz-landing-system : lando
2018-12-05 16:08:01 +00:00
Mark Banner
ceaeb93550 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389

--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
Eitan Isaacson
3bb071595c Bug 1479037 - Introduce native event support 4/4. r=jchen,yzen?jamie
Depends on D6683

Differential Revision: https://phabricator.services.mozilla.com/D6684

--HG--
extra : moz-landing-system : lando
2018-10-11 16:22:11 +00:00
Eitan Isaacson
5c76903078 Bug 1479037 - Remove virtual content node, js autofill, and event support 2/4. r=jchen,yzen
Disabled most jsunit tests temporarily in this patch. Will modify and bring them
back up in later patches, as stuff is reimplemented.

Disabled most jsat mochitests. Will have a followup for but reënabling or
porting, depending on the test.

Depends on D6681

Differential Revision: https://phabricator.services.mozilla.com/D6682

--HG--
extra : moz-landing-system : lando
2018-10-11 16:21:01 +00:00
Dorel Luca
92a3152cee Backed out 4 changesets (bug 1479037) on dev's request for causing android crashes. a=backout
Backed out changeset 85f8ca59f747 (bug 1479037)
Backed out changeset 630601f0663e (bug 1479037)
Backed out changeset c926c6470235 (bug 1479037)
Backed out changeset f8a20bd86895 (bug 1479037)
2018-10-10 18:52:59 +03:00
Eitan Isaacson
8102b1e502 Bug 1479037 - Introduce native event support 4/4. r=jchen,yzen?jamie
Depends on D6683

Differential Revision: https://phabricator.services.mozilla.com/D6684

--HG--
extra : moz-landing-system : lando
2018-10-09 17:21:01 +00:00
Eitan Isaacson
3d1cc19600 Bug 1479037 - Remove virtual content node, js autofill, and event support 2/4. r=jchen,yzen
Disabled most jsunit tests temporarily in this patch. Will modify and bring them
back up in later patches, as stuff is reimplemented.

Disabled most jsat mochitests. Will have a followup for but reënabling or
porting, depending on the test.

Depends on D6681

Differential Revision: https://phabricator.services.mozilla.com/D6682

--HG--
extra : moz-landing-system : lando
2018-10-09 17:20:46 +00:00
Kris Maglione
3a5c05e76f Bug 1484496: Part 5e - Convert remaining nsISimpleEnumerator users to use JS iteration. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D3733

--HG--
extra : rebase_source : c0fac176d7b3d840c4dbb14f8d95ccfc7f83a5a8
extra : histedit_source : a92c40117d0808a3ad68c972f622a7a42c9ae8ba
2018-08-18 18:13:14 -07:00
Yura Zenevich
2b1f8c8ae8 Bug 1481922 - add support for select action and view selected event. r=eeejay, jchen
MozReview-Commit-ID: FaLz7majPhz
2018-08-10 13:13:27 -04:00
Eitan Isaacson
329ee2b3cc Bug 1477002 - Use message broadcaster to manage jsat content scripts. r=yzen
This patch does several things:
 1. When "domwindowopened" is dispatched it often doesn't have a
document yet, so we need to wait for it to load before determining if we
should attach it.
 2. Instead of managing individual message managers use a broadcaster
and load delayed scripts. This makes new window additions more robust.
 3. A content script now doesn't need a ready/start message but
initializes in-line. This added more complexity which we don't need. All
the info that we passed to it in AccessFu:Start can be gotten in other
ways (also, Services.appinfo.ID now works in child processes, so no need
for that).
 4. Tweaked the tests to support inline frame script initilization.
 5. Removed the scroll callback from content-script.js that was not used
anymore.
2018-07-27 15:19:00 +03:00
Boris Zbarsky
922bc3548a Bug 1476145 part 2. Stop using getInterface(nsIDOMWindowUtils) in accessible/. r=kmag 2018-07-24 19:47:40 -04:00
Yura Zenevich
c35c35bb11 Bug 1473690 - add integration tests for checkboxes and associated events/states. r=eeejay, jchen
MozReview-Commit-ID: DIPa582EyTr
2018-07-23 09:41:27 -04:00
Bogdan Tara
ad36eff63e Backed out 2 changesets (bug 1473690) for jsat/test_content_integration.html failures CLOSED TREE
Backed out changeset b41a71c9e2e0 (bug 1473690)
Backed out changeset 6ca2392ff3f9 (bug 1473690)
2018-07-22 06:55:41 +03:00
Yura Zenevich
f970fc3e21 Bug 1473690 - add integration tests for checkboxes and associated events/states. r=eeejay, jchen
MozReview-Commit-ID: DIPa582EyTr
2018-07-21 22:54:12 -04:00
Eitan Isaacson
ffbf9af4d8 Bug 1471951 - Support set selection and clipboard actions (1/2). r=yzen r=jchen 2018-07-16 10:53:27 -07:00
Eitan Isaacson
0c48554698 Bug 751769 - Dynamically attach/detach windows in AccessFu. r=yzen 2018-05-30 12:43:00 -04:00
Eitan Isaacson
4f73c923af Bug 1455749 - Simplify text navigation and remove editstate in AccessFu (2/2). r=yzen 2018-05-11 08:30:00 +03:00
Eitan Isaacson
abb7638965 Bug 1459677 - Promisify, simplify, and unabstract jsat content tests. r=yzen 2018-05-08 14:59:00 -04:00
Eitan Isaacson
c947f9b6ab Bug 1454783 - Remove non-Android presenters in AccessFu. r=yzen
--HG--
extra : rebase_source : 1ed88a48b387022ec3e48d4dca7574744b09064d
2018-04-24 14:43:00 +03:00
Eitan Isaacson
326a67e71e Bug 1454851 - Remove gestures and all input management. r=yzen 2018-04-19 15:45:57 -07:00
Eitan Isaacson
9008624402 Bug 1454081 - Fix accessible coordinates in APZ viewports. r=surkov, r=yzen, r=jchen 2018-04-19 12:31:00 +03:00
Brindusan Cristian
b29d60aaaa Backed out changeset 99ec19154f8a (bug 1454081) for browser chrome failures on browser_test_resolution.js. CLOSED TREE 2018-04-19 22:06:08 +03:00
Eitan Isaacson
71f43ca16b Bug 1454081 - Fix accessible coordinates in APZ viewports. r=surkov, r=yzen, r=jchen 2018-04-19 09:19:00 -04:00
Eitan Isaacson
f5f21328b5 Bug 1449364 - Create SessionAccessibility for GeckoSession. r=jchen r=yzen 2018-04-12 13:46:47 -07:00
Margareta Eliza Balazs
d4e35cf8f7 Backed out 2 changesets (bug 1449364, bug 1453278) for rc4 and 42 perma failures in layout/base/tests/test_bug332655-2.html and testInputConnection on a CLOSED TREE
Backed out changeset 7149139c60d9 (bug 1449364)
Backed out changeset bcfee006ebaa (bug 1453278)
2018-04-12 15:30:20 +03:00
Eitan Isaacson
29d6c7e5d5 Bug 1449364 - Create SessionAccessibility for GeckoSession. r=jchen r=yzen 2018-04-11 15:21:00 +03:00
Boris Zbarsky
bf1ef0641d Bug 1444143 part 10. Remove unnecessary QIs to Ci.nsIFrameLoader in JS. r=mystor
nsFrameLoader is on WebIDL bindings, so those QIs are no-ops anyway, unless the given object is no a frameloader to start with.

MozReview-Commit-ID: IPiW70H5NPc
2018-03-21 22:43:17 -04:00
Sebastian Hengst
7be9fed7d0 merge mozilla-inbound to mozilla-central. a=merge 2018-02-24 02:58:35 +02:00
Florian Quèze
682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Mark Banner
3e6b2c9400 Bug 1440711 - Enable no-unused-vars for global scope on jsm files in accessible/. r=surkov
MozReview-Commit-ID: DMsHpliLTOi

--HG--
extra : rebase_source : 528581974ca2e37e139be1a7ac354ce80eef9464
2018-02-23 16:50:43 +00:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Mark Banner
7f569f1c3b Bug 1425244 - Enable ESLint rule object-shorthand for accessible/. r=surkov
MozReview-Commit-ID: 9LCLDppVj1t

--HG--
extra : rebase_source : 5e93113ce588f9c50fff55099b27489806158b6c
2017-12-11 13:08:14 +00: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
Eitan Isaacson
d96b3aa550 Bug 1392757 - Be more resilient for data values we get in Android object navigation. r=yzen 2017-08-22 13:04:00 -04:00
Dan Banner
3e7397ae81 Bug 1385817 - Enable brace-style and no-else-return ESLint rules for accessible/ r=yzen
MozReview-Commit-ID: DeVusjK4kt0

--HG--
extra : rebase_source : 67dfeb6c82792ad453dfe72e74dbc8f430877649
2017-08-01 19:08:02 +01:00
Dan Banner
1ce5193a91 Bug 1385817 - Enable space related ESLint rules for accessible/ r=yzen
MozReview-Commit-ID: BeIn3ThKQAx

--HG--
extra : rebase_source : 02a3d9583a55a186bc6bb5c0308c6a88d72daf13
2017-08-01 17:15:51 +01:00
Dan Banner
b9a328209b Bug 1385817 - Enable the quotes ESLint rule for accessible/ r=yzen
MozReview-Commit-ID: 1pS6xMzeh82

--HG--
extra : rebase_source : 7e600853f85e8ec14047768183ef9289254d3e0d
2017-08-01 17:13:27 +01:00
Rajesh Kathiriya
881bce09ea Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
MozReview-Commit-ID: RT5QTipaOW

--HG--
extra : rebase_source : 84bccaeba083bc430316d3c80d5c8f56494f1950
2017-07-04 21:30:18 +05:30