Tokio Kajitsuka
bb2dd00584
Bug 1469379 - let is missing from accessible/tests/mochitest/aom/test_general.html. r=surkov
2018-06-19 04:49:16 +09:00
Alexander Surkov
aee9020405
Bug 883712 - replace 'Text leaf parent is not hypertext' assertion to moz_assert
2018-06-18 18:19:09 -04:00
Alexander Surkov
9b16d6de3d
Bug 759650 - turn 'Called on accessible unbound from tree' assertion into moz_assert
2018-06-18 14:04:08 -04:00
Alexander Surkov
3364a60bed
Bug 886215 - trun 'Children of not selected deck panel are not accessible' into moz_assert
2018-06-18 14:02:27 -04:00
Mark Banner
b30ac6aacd
Bug 1456762 - Remove now unnecessary import-globals-from statements in html files. r=mossop
...
Depends on D1643
MozReview-Commit-ID: 84M50HDg0wl
Differential Revision: https://phabricator.services.mozilla.com/D1644
2018-06-16 08:21:33 +00:00
Eliza Balazs
00974991a2
Bug 1468197 - remove remaining references in manifests to windows xp. r=jmaher
2018-06-14 05:25:00 +03:00
Noemi Erli
31fa4e1ccf
Bug 1468200 - remove references to 'mulet' in manifest files. r=jmaher
...
--HG--
extra : rebase_source : d233138d248a4d3a826dc7666e13bd30ceafb496
2018-06-13 05:53:00 +03:00
Andreea Pavel
99c88126b6
Bug 1468199 - remove references to b2g in test manifests r=jmaher
2018-06-12 14:57:00 +03:00
Gurzau Raul
c0b733a2a3
Backed out changeset da4e49603752 (bug 1468197) for mochitest ParseError failures on a CLOSED TREE
2018-06-13 06:59:12 +03:00
Andreea Pavel
b4e4b15f2b
Bug 1468197 - remove remaining references in manifests to windows xp r=jmaher
2018-06-12 12:34:00 +03:00
Joel Maher
50b91c0a14
Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown
2018-06-10 05:01:47 -04:00
Alexander Surkov
94ab51d46c
Bug 687011 - aria-activedescendant change on inserted node doesn't fire focus change, r=jamie
2018-06-08 10:55:08 -04:00
Alex Gaynor
b174206e6f
Bug 1451859 - Part 2: Add sanitizer coverage to a handful of places relevant to IPC. r=posidron
2018-04-05 15:48:11 -04:00
Tokio Kajitsuka
e1e329ad54
Bug 1462465 - Cache AccessibleNode in Node. r=surkov,smaug
...
Cache AccessibleNode and make it able to operate the same instance by nsINode::GetAccessibleNode
--HG--
extra : rebase_source : 063eec8658af020f5408260d7d581ee76a04bd37
2018-05-26 22:47:48 +09:00
Cosmin Sabou
18d0742c9b
Backed out 3 changesets (bug 1451859) for causing Spidermonkey bustages on Linux x64 opt.
...
Backed out changeset 8f5a9e18e953 (bug 1451859)
Backed out changeset 950fa584ec8e (bug 1451859)
Backed out changeset f1f42726f1ec (bug 1451859)
2018-06-07 09:10:35 +03:00
Narcis Beleuzu
ca7840b070
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-06-06 20:05:19 +03:00
Narcis Beleuzu
cf464eabfe
Merge inbound to mozilla-central. a=merge
2018-06-06 20:00:09 +03:00
Andreea Pavel
d9873c51fc
Bug 1465372 - remove reference to old winxp in manifest file r=jmaher
2018-05-31 04:08:00 +03:00
Sylvestre Ledru
58fa77858b
Bug 1464869 - Fix flake8/pep8 issue by hand in accessible/ r=glandium
...
MozReview-Commit-ID: 5hKo37QtOtz
--HG--
extra : rebase_source : e4f0854a8256cb9a35c153a9fe72f93bff424610
2018-05-25 23:13:28 -07:00
Sylvestre Ledru
734c8f4ae2
Bug 1464869 - Run autopep8 on accessible r=glandium
...
MozReview-Commit-ID: BvNs14gxYdr
--HG--
extra : rebase_source : 1e302efe92a5234f6324ae16ffe106537b5a5d31
2018-05-25 23:13:03 -07:00
Joanmarie Diggs
df8c297289
Bug 1466822 - Implement support for new blockquote, caption, and paragraph ARIA roles r=Jamie
...
* Create BLOCKQUOTE internal role (also needed for correct exposure of
blockquote element on ATK)
* Add new ARIA roles to internal ARIA map
* Add new roles to existing ARIA roles mochitest and update blockquote
element test to reflect mapping to the new internal role
2018-06-05 09:54:00 +03:00
Boris Zbarsky
10fde35340
Bug 1466673 part 3. Stop using nsITreeColumns in accessibility code. r=surkov
2018-06-05 13:30:17 -04:00
Boris Zbarsky
362122ad32
Bug 1466673 part 2. Remove use of nsITreeColumns in other xpidl interfaces. r=mossop
2018-06-05 13:30:17 -04:00
Tiberius Oros
bd7f417d6a
Backed out changeset 671ec6415311 (bug 1466822) for failing test_txtcntr.html on a CLOSED TREE
2018-06-05 19:10:13 +03:00
Joanmarie Diggs
9ef9fae7c4
Bug 1466822 - Implement support for new blockquote, caption, and paragraph ARIA roles. r=surkov
...
* Create BLOCKQUOTE internal role (also needed for correct exposure of
blockquote element on ATK)
* Add new ARIA roles to internal ARIA map
* Add new roles to existing ARIA roles mochitest and update blockquote
element test to reflect mapping to the new internal role
2018-06-05 06:46:00 -04:00
Dorel Luca
746fbfe0a7
Merge mozilla-inbound to mozilla-central. a=merge
2018-06-04 21:11:34 +03:00
Samuel Thibault
73a24b5b8a
Bug 1319273
- Accessible: Make TextBounds return rect of whole frame if content is empty. r=surkov
2018-05-23 17:02:33 +02:00
Miko Mynttinen
4c85ef17cc
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 1e7eea4f2d4ec16ec0c559a8afb26976ddbf4d07
2018-06-01 17:59:07 +02:00
arthur.iakab
7e765f798b
Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
...
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen
8d9dc85cd4
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
--HG--
extra : rebase_source : 619d0e0ff63a2453c80f0c4d9beb906d43fa9b01
2018-06-01 17:59:07 +02:00
Boris Zbarsky
014ef7f088
Bug 1466727 part 4. Stop using nsITreeColumn in accessibility code. r=surkov
2018-06-05 23:01:37 -04:00
Boris Zbarsky
3473c823b2
Bug 1466727 part 2. Remove use of nsITreeColumn in xpidl interfaces. r=mossop
...
There is one actual behavior change here, in the webidl version of
TreeBoxObject::GetCellAt. I believe this change fixes a leak of the
nsTreeColumn, but could use careful review.
I tried to avoid changes not needed to get this compiling. There will be a lot
more cleanup in the next few changesets.
2018-06-05 23:01:36 -04:00
Emilio Cobos Álvarez
1e9c395548
Bug 1466168: Remove mozilla::Forward in favor of std::forward. r=froydnj
...
Same approach as the other bug, mostly replacing automatically by removing
'using mozilla::Forward;' and then:
s/mozilla::Forward/std::forward/
s/Forward</std::forward</
The only file that required manual fixup was TestTreeTraversal.cpp, which had
a class called TestNodeForward with template parameters :)
MozReview-Commit-ID: A88qFG5AccP
2018-06-02 09:33:26 +02:00
Boris Zbarsky
ddf179a7a7
Bug 1465875 part 3. Eliminate C++ use of nsIDOMNSEditableElement. r=qdot
2018-06-01 22:35:22 -04:00
Boris Zbarsky
0cf65db1d3
Bug 1465875 part 2. Eliminate use of "instanceof nsIDOMNSEditablElement". r=qdot
2018-06-01 22:35:22 -04:00
Boris Zbarsky
c7f378d7ab
Bug 1465875 part 1. Eliminate pointless QIs to nsIDOMNSEditableElement. r=qdot
...
We expose the relevant APIs on textarea and input elements anyway
(chromeonly). The QIs will throw on a non-input or non-textarea element, but
none of these consumers expect that to happen.
2018-06-01 22:35:22 -04:00
Gurzau Raul
ff15f3c828
Backed out changeset f585271d250d (bug 1319273
) for eslint failures on /gecko/accessible/tests/browser/bounds/browser_test_zoom_text.js on a CLOSED TREE
2018-06-01 22:25:19 +03:00
Samuel Thibault
fa531b0477
Bug 1319273
- Accessible: Make TextBounds return rect of whole frame if content is empty. r=surkov
2018-05-23 17:02:33 +02:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Alex Gaynor
76b53de450
Bug 1451859 - Part 2: Add sanitizer coverage to a handful of places relevant to IPC. r=posidron
2018-04-05 15:48:11 -04:00
Eitan Isaacson
0c48554698
Bug 751769 - Dynamically attach/detach windows in AccessFu. r=yzen
2018-05-30 12:43:00 -04:00
Emilio Cobos Álvarez
fe09ffd3af
Bug 1465478: Introduce Element::FromNode. r=smaug
...
And use it in a couple places I noticed.
MozReview-Commit-ID: 8baSMrbdEbF
2018-05-31 02:46:10 +02:00
Boris Zbarsky
4ef13b9076
Bug 1455676 part 2. Remove nsIDOMNode usage from accessible/. r=surkov
2018-05-29 22:58:47 -04:00
Boris Zbarsky
3b8785a733
Bug 1460735 part 2. Remove nsIDOMDocument. r=qdot
2018-05-29 13:39:06 -04:00
Boris Zbarsky
16e02a5e28
Bug 1460735 part 1. Remove use of nsIDOMDocument in JS. r=qdot
...
There are some places where we have a thing which may not even be a node, and
we end up hardcoding the value of DOCUMENT_NODE there, because
"foo.nodeType == foo.DOCUMENT_NODE" will test true if foo is not a node: both
sides will be undefined.
2018-05-29 13:39:00 -04:00
Alexander Surkov
ee836366fc
Bug 1410482 - enable AOM for privileged content, r=smaug
2018-05-28 13:40:41 -04:00
Olli Pettay
87d2947a92
bug 1429572, touch.target retargeting in shadow DOM, r=masayuki
...
--HG--
extra : rebase_source : 75d837bfd7533322a10ae2f785c7efce1fe8ec68
2018-05-25 18:02:59 +03:00
Alexander Surkov
246756a336
Bug 1460244
- Tables with CSS display properties no longer participate in layout table calculation, r=marcoz
2018-05-25 10:55:52 -04:00
Natalia Csoregi
b36d2ca7e7
Bug 1461959 - Removed OSX 10.6 reference. r=gbrown
2018-05-17 14:53:00 +03:00
Kris Maglione
8340513b0c
Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz
...
Using concrete class types with static IIDs in QueryInterface methods is a
pretty common pattern which isn't supported by any existing helper macros.
That's lead to separate ad-hoc implementations, with varying degrees of
dodginess, being scattered around the tree.
This patch adds a helper macro with a canonical (and safe) implementation, and
updates existing ad-hoc users to use it.
MozReview-Commit-ID: HaTGF7MN5Cv
--HG--
extra : rebase_source : ace930129d85960d22bc3048ca3bb19bbbd4a63e
extra : histedit_source : 03a87f746d957789d41381e4e1bfcc4fd7eebaf2%2C9c5bae9feeeef7721105db67be0f83e0ded66bb7
2018-05-21 16:33:18 -07:00
Boris Zbarsky
2e09ba1f75
Bug 1377980 part 2. Remove most C++ use of nsIDOMRange. r=mccr8
2018-05-17 12:01:38 -04:00
Tokio Kajitsuka
55c94aedca
Bug 1438193 - part11-9: NativeState r=surkov
...
turn NativeState into const functions
2018-05-16 03:04:50 +09:00
Tokio Kajitsuka
2b0e583f32
Bug 1438193 - part11-8: DoAction r=surkov
...
turn DoAction & ActionCount into const functions
2018-05-16 02:40:22 +09:00
Tokio Kajitsuka
4815618b61
Bug 1438193 - part11-7: TakeFocus r=surkov
...
turn TakeFocus & AnchorURIAt into const functions
2018-05-16 02:19:54 +09:00
Tokio Kajitsuka
eb3d9b85ce
Bug 1438193 - part11-6: Value r=surkov
...
turn Accessible::Value into a const function
2018-05-16 01:55:28 +09:00
Tokio Kajitsuka
2f0d01a212
Bug 1438193 - part11-5: nsTextEquivUtils r=surkov
...
turn nsTextEquivUtils functions into const
2018-05-16 01:31:09 +09:00
Tokio Kajitsuka
0f609dc771
Bug 1438193 - part11-4: Name r=surkov
...
turn Name & ARIAName & NativeName into const functions
2018-05-16 01:13:02 +09:00
Tokio Kajitsuka
1201c026b8
Bug 1438193 - part11-3 CreateGroupInfo r=surkov
...
turn CreateGroupInfo into a const funcion
2018-05-15 23:14:44 +09:00
Tokio Kajitsuka
41078f48d3
Bug 1438193 - part11-2: RelationByType r=surkov
...
turn RelationByType into const functions
2018-05-15 22:47:10 +09:00
Tokio Kajitsuka
17d2e291d4
Bug 1438193 - part11-1: Role r=surkov
...
turn Accessible::Role into a const function
2018-05-15 21:50:38 +09:00
Dorel Luca
0d2ff9e60d
Merge mozilla-inbound to mozilla-central. a=merge
2018-05-16 00:54:22 +03:00
Tokio Kajitsuka
d4d0782393
Bug 1438193 - part10: SetCurrentItem r=surkov
...
turn SetCurrentItem & GetChromeFlags & HasChildren into const functions
2018-05-13 19:14:55 +09:00
Tokio Kajitsuka
d50e800761
Bug 1438193 - part9: CurrentItem r=surkov
...
turn Accessible::CurrentItem into const functions
2018-05-13 18:26:02 +09:00
Tokio Kajitsuka
828718a230
Bug 1438193 - part8: XULTreeItemIterator r=surkov
...
turn Accessible* in XULTreeItemIterator into const
2018-05-13 18:14:29 +09:00
Alexander Surkov
6faf449ca5
Bug 1455357 - Setting grid item to display:contents resets its accessible role, patch=surkov,jamie, r=marcoz
2018-05-15 09:44:21 -04:00
Emilio Cobos Álvarez
29a24373d9
Bug 1459529: Remove some useless nsIDocumentObserver notifications. r=heycam
...
MozReview-Commit-ID: DzuiqVGKsiu
2018-05-15 18:44:28 +02:00
Narcis Beleuzu
932adad93d
Merge inbound to mozilla-central. a=merge
2018-05-15 00:36:35 +03:00
Adrian Wielgosik
aec99c32e5
Bug 1460940 - Remove nsIDOMDocument uses in accessible/. r=bz
...
MozReview-Commit-ID: LQ91rgrJIy
--HG--
extra : rebase_source : 143e2a3b8971aa1a4e604414c704d28deb1e5594
2018-05-11 19:46:15 +02:00
Tokio Kajitsuka
9b9c3780fe
Bug 1438193 - part7: NativeRole r=surkov
...
turn NativeRole into const functions
2018-05-08 04:05:50 +09:00
James Teh
9a9119e893
Bug 1460244
- For tables with CSS display properties, correctly expose table interfaces to a11y clients. r=surkov
...
MozReview-Commit-ID: EFyn3MCth88
2018-05-10 19:45:00 +03: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
e2d3f5ea53
Bug 1455749 - Advertise nodes as editable and focusable (1/2). r=jchen,yzen
2018-05-11 08:30:00 +03:00
Tokio Kajitsuka
005aa74ac6
Bug 1438193 - part6: DoCommand r=surkov
...
turn Accessible::DoCommand into a const function
2018-05-07 02:11:06 +09:00
Tokio Kajitsuka
80aa8d9625
Bug 1438193 - part5: IsMultiColumn r=surkov
...
turn ColCount and IsMultiColumn into const functions
2018-05-06 00:55:29 +09:00
Csoregi Natalia
f034c0ab5d
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-05-10 12:52:31 +03:00
Dan Glastonbury
ee3d63760a
Bug 1457810: Move CalcComplexColor to StyleComplexColor. r=xidorn
...
Move from nsStyleColor::CalcComplexColor to StyleComplexColor::CalcColor.
MozReview-Commit-ID: FkYovvPZLc8
--HG--
extra : rebase_source : 54f1966e0ef9258f20e954cd6250774008eca04c
2018-05-09 17:03:02 +10:00
Kris Maglione
01c298aca6
Bug 1460092: Add ESLint rule to enforce use of ChromeUtils.generateQI. r=Gijs
...
Also fixes existing code which fails the rule.
MozReview-Commit-ID: CkLFgsspGMU
--HG--
extra : rebase_source : 86a43837659aa2ad83a87eab53b7aa8d39ccf55b
2018-05-08 18:36:22 -07:00
Eitan Isaacson
abb7638965
Bug 1459677 - Promisify, simplify, and unabstract jsat content tests. r=yzen
2018-05-08 14:59:00 -04:00
Boris Zbarsky
a44e6132ff
Bug 1387143 part 28. Remove nsISelection::AsSelection(). r=mats
2018-05-08 13:52:42 -04:00
Boris Zbarsky
b47b72dae9
Bug 1387143 part 23. Remove nsISelection collapse* methods. r=mats
2018-05-08 13:52:41 -04:00
Boris Zbarsky
1ff99d888e
Bug 1387143 part 20. Remove nsISelectionPrivate. r=mats
2018-05-08 13:52:38 -04:00
Boris Zbarsky
a72615f753
Bug 1387143 part 18. Remove ScrollIntoView bits from nsISelectionPrivate. r=mats
2018-05-08 13:52:38 -04:00
Boris Zbarsky
5453e2995c
Bug 1387143 part 16. Remove nsISelectionPrivate::GetType. r=mats
2018-05-08 13:52:38 -04:00
Boris Zbarsky
3e7d2d87cf
Bug 1387143 part 12. Remove nsISelectionPrivate::Add/RemoveSelectionListener. r=mats
...
None of the C++ callers of RemoveSelectionListener care about whether the
listener was already-added, and the only JS caller is in a test and knows the
listener was added. So the behavior change to no-op instead of throwing when
trying to remove a nonexistent listener is OK. Furthermore, the removal is
null-safe, so there's no point to explicitly failing if null is passed (which
it never is).
Since content can't directly add selection listeners, we can just use an
infallible append instead of returning errors callers don't check for anyway.
Also, no one passes null to AddSelectionListener, so we don't have to worry
about that part.
2018-05-08 13:52:37 -04:00
Boris Zbarsky
abdd178705
Bug 1387143 part 7. Move the TABLESELECTION_* constants from nsISelectionPrivate to a TableSelection enum. r=mats
2018-05-08 13:52:36 -04:00
Boris Zbarsky
46cae9462a
Bug 1387143 part 3. Stop using nsISelection in nsISelectionController. r=mats
2018-05-08 13:52:36 -04:00
Boris Zbarsky
b23f25078d
Bug 1387143 part 1. Stop using nsISelection in nsISelectionListener. r=mats
2018-05-08 13:52:35 -04:00
Alexander Surkov
5d3b238323
Bug 1005271 - HTML table with display:block should expose table semantics, r=marcoz
2018-05-08 13:13:38 -04:00
Samuel Thibault
9fd0d30422
Bug 1458548 - atk: Implement scrollto ATK API. r=surkov
2018-05-02 15:55:33 +02:00
Chris Peterson
71422dcaa9
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Eitan Isaacson
d992429c03
Bug 1459673 - Remove ANDROID_ prefix from Android event type constants in jsat. r=yzen
2018-05-07 10:37:00 -04:00
Eitan Isaacson
482b1b8f3b
Bug 1440106 - Filter out hidden root windows from the accessibility tree. r=Jamie
2018-05-07 10:19:00 -04:00
Tokio Kajitsuka
55749ad1e9
Bug 1438193 - turn Accessible* in AccIterator into const, r=surkov
2018-05-04 22:37:11 +09:00
Tokio Kajitsuka
8c25b70c2d
Bug 1438193 - turn XULTreeItemAccessibleBase::GetCellName & IsExpandable into const functions, r=surkov
2018-05-04 22:19:48 +09:00
Tokio Kajitsuka
e23756cebc
Bug 1438193 - turn Accessible::FirstChild & LastChild into const functions, r=surkov
2018-05-04 22:06:49 +09:00
Tokio Kajitsuka
71145a2b80
Bug 1438193 - turn IsLink() into a const function, r=surkov
2018-05-04 21:48:34 +09:00
Adrian Wielgosik
8c66c095f4
Bug 1418078 - Convert JS users of nsIDOMHTMLInputElement. r=bz
...
MozReview-Commit-ID: 55aIiNHS0xs
--HG--
extra : rebase_source : cacb9fc29daa5d620d4a0cd6ab3f09cde765036f
2018-04-18 22:29:50 +02:00
James Teh
a6bdc218ba
Bug 1424505: Don't try to retrieve the accessible focus from remote documents on Windows 7. r=eeejay
...
Bug 1421144 fixed IAccessible::accFocus to work when focus is within a remote document.
Unfortunately, this causes mysterious intermittent crashes when called from a UIA client in Windows 7.
Ideally, we'd deal with the actual cause of the crashes, but they seem to be deep in Windows RPC code and all attempts at tracking this down have failed.
Clients don't seem to need this too often anyway (and it's a minor annoyance if it doesn't work when they do).
MozReview-Commit-ID: IxvbBGJ2wxA
--HG--
extra : rebase_source : 504909703718b75fffcabf1fbe56c0bbff089b58
2018-05-01 15:48:43 +10:00
Andreea Pavel
7955752872
Merge mozilla-inbound to mozilla-central. a=merge
2018-05-01 13:13:09 +03:00
James Teh
e8f0bb8cd9
Bug 1455745: Remove more accessibility related diagnostic crashes on Nightly. r=aklotz
...
This condition is rare and does indicate a problem which breaks accessibility.
However, we aren't getting any closer to diagnosing this as a result of this crash, so it causes user pain without any gain to us.
MozReview-Commit-ID: GacAQDbhB0h
--HG--
extra : rebase_source : 478ec67da378ff763c0e0d8a998de1956b51b85b
2018-04-23 12:27:17 +10:00