Commit Graph

6569 Commits

Author SHA1 Message Date
Attila Craciun
e6692a3a7e merge from central to autoland r=merge a=merge on a CLOSED TREE 2017-11-02 11:55:50 +02:00
James Teh
f95226e22b Bug 1413072: Eliminate pointless cross-process QueryInterface for IAccessibleText in AccessibleHandler. r=MarcoZ
AccessibleHandler's AccessibleTextTearoff currently makes separate queries for the IAccessibleText and IAccessibleHypertext interfaces.
However, IAccessibleHypertext inherits from IAccessibleText, and wherever one of these interfaces are present, Gecko always implements both.
Therefore, we should just query for and use IAccessibleHypertext for all of these methods, thus saving a cross-process call should a client want both interfaces.

MozReview-Commit-ID: Fb5P7IGDAZZ

--HG--
extra : rebase_source : 08c9484989eaf8b810ef6f9ababf354eee8fa7f8
2017-10-31 12:11:39 +10:00
Tristan Bourvon
9423edf3f6 Bug 1412641 - Initialize some uninitialized fields in accessibility. r=surkov 2017-10-31 12:09:01 +01:00
Sebastian Hengst
7a0f790c30 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4CDH6A5NT2U
2017-11-01 00:36:12 +01:00
Kartikaya Gupta
fc2ffae0f3 Bug 1385186 - Disable high-frequency intermittent failure in linux64-qr a11y mochitests. r=me
MozReview-Commit-ID: 92jCbT3Fnbw
2017-10-31 09:59:40 -04:00
Yura Zenevich
14ddb727b9 Bug 1329977 - creating doc accessibles for existing content documents. r=surkov
MozReview-Commit-ID: 2X6DdBX2ieO
2017-10-31 09:48:07 -04:00
Sebastian Hengst
2473d77eee Backed out changeset e60fdd649522 (bug 1412641) for build bustage at accessible/base/TextAttrs.h. r=backout on a CLOSED TREE 2017-10-31 12:43:49 +01:00
Tristan Bourvon
c7f4d8ad1c Bug 1412641 - Initialize some uninitialized fields in accessibility/. r=surkov 2017-10-31 11:20:23 +01:00
James Teh
a7a4b93968 Bug 873444: Implement IAccessibleHypertext2::hyperlinks. r=surkov
This allows for fetching of all hyperlinks instead of one at a time, which improves performance for a cross-process client.

MozReview-Commit-ID: 8wso3EqBqwP

--HG--
extra : rebase_source : f972076e5b65a8c882f9a07a82b67eeefc85d8a4
2017-10-27 09:40:11 +10:00
Aaron Klotz
113db6d333 Bug 1336971: Ensure that we always re-examine the length of the top-level remote doc array to pick up any changes due to mutation; r=Jamie
MozReview-Commit-ID: BLq1zzyKs9e
2017-10-30 14:52:00 -06:00
Aaron Klotz
97bb052ce5 Bug 1412635: Disable InSendMessageEx compat hack for UIA; r=davidb
MozReview-Commit-ID: 4BAYq5fCpPV

--HG--
extra : rebase_source : c50e1fa506790a322054028b3abbce94b4383d85
2017-10-30 12:01:47 -06:00
James Teh
627fc4f0b6 Bug 1409928: Use e10s a11y handler cache for accessibles retrieved via IAccessibleHypertext. r=aklotz
IAccessibleHypertext::hyperlink returns an IAccessibleHyperlink, not an IAccessible2.
previously, the handler didn't know about this interface, so it wasn't used.
Thus, any accessibles retrieved in this way did not benefit from the cache.
This patch teaches the handler about IAccessibleHyperlink so the handler gets used in this case.

MozReview-Commit-ID: 17CxxGyCLrE

--HG--
extra : rebase_source : 7f933bfd880c9ee009eafe8cee4ece4ef83004cd
2017-10-13 17:01:20 +10:00
Mark Banner
60e4a05b0d Bug 1411368 - Automatically fix spaced-comment issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: AOFFadV3JrV

--HG--
extra : rebase_source : e06da861796c79f118ac734ceebee22253c0485f
2017-10-26 12:00:05 +01:00
Mark Banner
4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
James Teh
d11dfce827 Bug 1409916: Eliminate pointless cross-process call for IAccessible2_2::get_attribute. r=aklotz
IAccessible2_2::get_attribute is not implemented yet in Gecko.
However, the handler still passes this through, thus resulting in a pointless cross-process call.
Instead, just return E_NOTIMPL in the handler for this method.

MozReview-Commit-ID: 5XHieUC4cuz

--HG--
extra : rebase_source : 814ceda6d9dd4ec26f05a4ff90bbd4af2a6eb84e
2017-10-19 09:22:44 +10:00
Nicholas Nethercote
8ad99dd7fa Bug 1411893 - Introduce nsStaticAtom. r=emilio,froydnj.
It's a sub-class of nsAtom, useful for cases where you know you are dealing
exclusively with static atoms. The nice thing about it is that you can use
raw nsStaticAtom pointers instead of RefPtr<>. (In fact, the AddRef/Release
implementations ensure that we'll crash if we use RefPtr<nsStaticAtom>.)

MozReview-Commit-ID: 4Q6QHX5h44V

--HG--
extra : rebase_source : e4237f85b4821b684db0ef84d1f9c5e17cdee428
2017-10-27 10:31:13 +11:00
Aaron Klotz
5a394f86cf Bug 1411439: Pass reference to owning interceptor into HandlerProvider for payload creation; r=Jamie
MozReview-Commit-ID: GUW4DrsJEn

--HG--
extra : amend_source : 755ff37c8bc40de408f8668e9e44ebfd41bd9136
2017-10-24 17:48:51 -06:00
Aaron Klotz
be5782c8e7 Bug 1412103: Use VARIANT for storing MSAA role in a11y handler cache; r=Jamie
MozReview-Commit-ID: 6dPxrckm8FM
2017-10-26 14:34:02 -06:00
Sebastian Hengst
d10e26c913 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-27 00:00:25 +02:00
Yura Zenevich
a405dfe44a Bug 638313 - splitting and making test_docload tests more reliable. r=surkov
MozReview-Commit-ID: 5U8pOsJrfLm


--HG--
rename : accessible/tests/mochitest/events/docload_wnd.html => accessible/tests/mochitest/events/docload/docload_wnd.html
2017-10-26 16:37:16 -04:00
Ray Lin
acca965969 Bug 1402877 - Part 3. Don't wait for click event being dispatched to media when media controls is present. r=surkov
MozReview-Commit-ID: DSQREXSyEWk

--HG--
extra : rebase_source : 3ff37c873dc5ebb594ac7f2d56cb6765a44f09ba
2017-10-25 15:24:40 +08:00
Sebastian Hengst
443416f881 Merge mozilla-central to autoland. r=merge a=merge 2017-10-26 00:39:55 +02:00
Jesse Ruderman
99162ca8ca Bug 1072792 - Add crashtest. r=me 2017-10-25 14:58:32 -04:00
Jesse Ruderman
006061ed6c Bug 893515 - Add crashtest. r=me 2017-10-25 14:58:31 -04:00
Jesse Ruderman
9712d25eef Bug 884202 - Add crashtest. r=me 2017-10-25 14:58:31 -04:00
Emilio Cobos Álvarez
dd634e3981 Bug 1411612: Kill nsINode::eCONTENT. r=bz
MozReview-Commit-ID: ESlOqlwhcHI

--HG--
extra : rebase_source : fe6a02469dca1e50c24ba166e15e39160ab4551b
2017-10-25 17:19:11 +02:00
Yura Zenevich
99d2153aa9 Bug 918246 - ensure accessibility service is shutdown after a11y crashtests. r=surkov
MozReview-Commit-ID: HjP6pVlGyl0
2017-10-24 13:04:51 -04:00
Aaron Klotz
556c69541d Bug 1363595: Invalidate accessible handler cache when change events occur; r=eeejay
MozReview-Commit-ID: kODsDsy9vJ

--HG--
extra : rebase_source : 653d7fa5694eb767df974f8b1df92cdf8d77c662
2017-08-08 15:55:50 -06:00
Sebastian Hengst
8072106c67 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-23 23:55:17 +02:00
Sebastian Hengst
736af2bfa1 Backed out changeset 2602e10160a1 (bug 1410482) for leaks in devtools tests. r=backout
--HG--
extra : amend_source : f3e557c54b1f7b5338547100d7edf83b30e96681
2017-10-23 23:02:57 +02:00
Alexander Surkov
094bc8871f Bug 1410482 - enable AOM for privileged content, r=smaug 2017-10-23 12:18:50 -04:00
Aaron Klotz
483e33318b Bug 1383131: Fall back to ole32.dll if combase.dll is not present; r=davidb
MozReview-Commit-ID: 3plQGwqaeP9
2017-10-20 14:31:20 -06:00
Masatoshi Kimura
dbd92543c6 Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj
MozReview-Commit-ID: 7JoD4VYzZp3

--HG--
extra : rebase_source : 5db437f1c34608aa223916874d62b48c59baeae8
2017-10-21 23:53:02 +09:00
Aaron Klotz
7570c7a401 Bug 1409541 - Replace IID_IUnknown with expected interfaces for outparams in a11y content ArrayData. r=Jamie
MozReview-Commit-ID: 4t0h8zH2hsB
2017-10-17 15:03:40 -06:00
Sebastian Hengst
24583b9443 merge mozilla-central to autoland. r=merge a=merge 2017-10-20 01:08:09 +02:00
Aaron Klotz
743c2cb58b Bug 1406822: Implement a11y::HandlerProvider::GetEffectiveOutParamIid; r=Jamie
MozReview-Commit-ID: BKH3ooMQvN1

--HG--
extra : rebase_source : 50b666c3366e4f354b61ec2c3a37bf7f83c5f362
2017-10-17 15:01:27 -06:00
Blake Kaplan
3fa965430b Bug 1406212 - Remove references to extensions.e10sBlocksEnabling. r=Felipe
MozReview-Commit-ID: 11q3Go0IkPh

--HG--
extra : rebase_source : fdcf714d18effc964191665eb8422305bda92b65
2017-10-16 13:52:48 -07:00
Emilio Cobos Álvarez
b371f16b3f Bug 1404789: Update test expectations. r=bz
MozReview-Commit-ID: 6juwgWa4OVN

--HG--
extra : rebase_source : b87fa7013e6ca894f0b06e07e7778e6b5ba3ce88
2017-10-18 11:31:18 +02:00
Sebastian Hengst
f9b5b9b40c merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 790IXj5MZ4f
2017-10-18 11:48:34 +02:00
Boris Zbarsky
661d20b507 Bug 1409162. Make nsTableCellFrame::GetColIndex/GetRowIndex faster. r=mats 2017-10-17 15:39:36 -04:00
Emilio Cobos Álvarez
c021ca02b5 Bug 1409079: Re-enable web components in stylo. r=heycam,smaug
MozReview-Commit-ID: DJZRO7j2pOJ

--HG--
extra : rebase_source : c6e39755b7dd324ca8ae77b6d8a8868d913c930b
2017-10-12 15:22:17 +02:00
Sebastian Hengst
32f7c8fec3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02:00
Kris Maglione
4a767c7e6e Bug 1404198: Part 2j - Switch to NS_NewTimer* everywhere else. r=njn
MozReview-Commit-ID: LmGIgfmNSmk

--HG--
extra : rebase_source : bf34e852beb0c8f6eafd09184c2e0cda95f95f83
2017-09-24 19:57:48 -07: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
Kyle Machulis
1cc8b01353 Bug 1406224 - Remove nsIDOMHTMLImageElement; r=bz
MozReview-Commit-ID: GCATWRt6qMo

--HG--
extra : rebase_source : 29854f1374c6ad318da0b5b68be23507667c3be4
2017-10-06 13:27:23 -07:00
James Teh
f1b4e1aa10 Bug 1407475: Fix IAccessible::accNavigate(NAVRELATION_EMBEDS) for e10s. r=surkov
When we only have a single process, this can be (and was previously) handled the same way as any other relation.
However, for multi process, the normal relation mechanism doesn't work because it can't handle remote objects.
This patch overrides accNavigate for the root accessible to handle this, since this is only ever used on the root.

MozReview-Commit-ID: JLm5zITfG6Y

--HG--
extra : rebase_source : 3666ffe699d861c06b763200e7d59fbd75a581ee
2017-10-11 15:30:22 +10:00
Samuel Thibault
980959a1a0 Bug 1170242 - On accessibility SetSelectionRange, scroll the selection into view. r=surkov 2017-10-11 10:43:53 +02:00
Yura Zenevich
0a9e68bcd9 Bug 1388256 - improving stability of name caching test. r=eeejay
MozReview-Commit-ID: A6yoo3CZEyP
2017-10-10 15:10:07 -04:00
Peter Van der Beken
c705293c1c Bug 1383059 - Remove instanceof for supplemental interfaces. Part 1: add Window.isChromeWindow and switch |instanceof [nsIDOM]ChromeWindow| to use it instead. r=bz.
--HG--
extra : rebase_source : 1efc83abae922c1a7b7eb855fd10a6333615044b
extra : source : 32277b160af4739c812ca2750a39ca111b16ea69
2017-10-06 13:47:27 +02:00
Sebastian Hengst
aa78440a09 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: EE6DcCgHufi
2017-10-09 11:19:20 +02:00