Граф коммитов

6430 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 9e13a44b54 Merge inbound to central, a=merge
MozReview-Commit-ID: GEfEDRZk5bo
2017-08-16 16:59:26 -07:00
Eitan Isaacson 5dcba0ecf8 Bug 1376754 - Remove hide event target flag from accessible when event is dropped. r=surkov 2017-08-16 07:27:31 -07:00
Xidorn Quan 59c8771a98 Bug 1387995 - Disable failing a11y tests and enable it for stylo. r=jmaher
MozReview-Commit-ID: 6drQyOT7fs4

--HG--
extra : rebase_source : 8040fbd3424e254f551369382378a9520348c0d5
2017-08-15 15:21:28 +10:00
Masayuki Nakano bd1efdbf56 Bug 1388006 - a11y module should use TextEditor and HTMLEditor instead of nsIEditor r=surkov
Accessibility module uses nsIEditor (and nsIPlaintextEditor).  However, now, it can use TextEditor and HTMLEditor.  So, it should use them.

Note that this patch makes HTMLTextFieldAccessible::GetEditor() use nsITextControlElement::GetTextEditor() instead of nsIDOMNSEditableElement::GetEditor() but this won't change actual behavior since both implementation of HTMLInputElement and HTMLTextareaElement are just call shared internal methods.

MozReview-Commit-ID: HxHMGVSvWFv

--HG--
extra : rebase_source : a4ae19f06fb9612eacd4ae2e57fd92d36783ef32
2017-08-07 17:42:50 +09:00
Masayuki Nakano b11e66f8da Bug 1388004 - part1: Make nsContentUtils::GetHTMLEditor() return HTMLEditor* rather than nsIEditor* r=smaug
nsContentUtils::GetHTMLEditor() currently returns nsIEditor* since editor of doc shell may be any type of editors such as TextEditor or editor object which is implemented by JS.  However, nsIEditor is now a builtin class.  So, it can return HTMLEditor.

MozReview-Commit-ID: 3YoFOplZa7W

--HG--
extra : rebase_source : 46f42d23babd64bf0a5003e66e8fe3b9e0bd7166
2017-08-07 16:33:59 +09:00
Wes Kocher a5fc391fdf Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
J. Ryan Stinnett 7d6a07aa90 Bug 1389153 - Skip more shadow DOM tests for Stylo. r=heycam
MozReview-Commit-ID: Arz7INgvzhH

--HG--
extra : rebase_source : 4b05b842aaad29fe9cad57f45be93db69ce1d1b7
2017-08-10 12:07:50 -05:00
Ryan VanderMeulen 6eb7aef00e Merge m-c to autoland. a=merge 2017-08-09 18:51:26 -04:00
Eitan Isaacson b6d69628bd Bug 1385372 - Allow same id in aria-owns. r=surkov 2017-08-09 12:33:44 -04:00
Masatoshi Kimura dfe3f997a2 Bug 1387832 - Remove @deprecated nsIAccessibleRetrieval. r=surkov
MozReview-Commit-ID: DaqIezvQvUe

--HG--
extra : rebase_source : e5449a0179b18ddcc45faff1f7e98bb22dbb61ae
2017-08-06 23:34:32 +09:00
Wes Kocher 7651bde05c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9Abf0fILvvK
2017-08-08 15:16:00 -07:00
Wes Kocher 650baf5c45 Merge inbound to central, a=merge
MozReview-Commit-ID: HpVAbc2vi78
2017-08-08 15:14:28 -07:00
Aaron Klotz 05284bffa5 Bug 1386836: Add a nsACString overload to nsAccessibilityService::GetStringEventType; r=surkov
MozReview-Commit-ID: 9hMC54ki37e
2017-08-02 15:39:51 -06:00
dagasatvik d4398e95f2 Bug 1385820 - Enable the ESLint no-new-wrappers rule across mozilla-central; r=markh,standard8
MozReview-Commit-ID: FvJO3ibeiwg

--HG--
extra : rebase_source : 5fc5c6760924da81a6d0708ff0d5586fc62c8c5e
2017-08-07 23:57:51 +05:30
Aaron Klotz 19b37af0ff Bug 1386798: Add profiler markers for a11y events; r=surkov
MozReview-Commit-ID: EGvmB9qbKKx
2017-08-02 15:31:08 -06:00
Nicholas Nethercote f941156987 Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron.
This removes about 2/3 of the occurrences of nsXPIDLString in the tree. The
places where nsXPIDLStrings are null-checked are replaced with |rv| checks.

The patch also removes a couple of unused declarations from
nsIStringBundle.idl.

Note that nsStringBundle::GetStringFromNameHelper() was merged into
GetStringFromName(), because they both would have had the same signature.

--HG--
extra : rebase_source : ac40bc31c2a4997f2db0bd5069cc008757a2df6d
2017-08-04 14:40:52 +10:00
Eitan Isaacson ae6fc54c7e Bug 1363723 - Fix eslint failures. r=me 2017-08-04 15:05:40 -07:00
Eitan Isaacson 4879996ea6 Bug 1363723 - Prevent aria-owned nodes from getting into bad state. r=surkov 2017-08-04 13:15:54 -07:00
Michael Smith 11b0edbc50 Bug 1373739 - Make macOS compatible with the headless WPT changes. r=bdahl
MozReview-Commit-ID: BeDPpG6G6Iy

--HG--
extra : rebase_source : 1745c4a34cb35892bba2e65d5a9caac99d0171a7
2017-07-28 23:20:21 -07: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
Wes Kocher 851b59bdbe Merge m-c to inbound a=merge
MozReview-Commit-ID: 1p4eNdfSz9p
2017-08-02 17:46:32 -07:00
Jim Mathies 55d2512f30 Bug 1384560 - Annotate crash reports with accessibility client information. r=aklotz
MozReview-Commit-ID: LhxqeR6NFR6
2017-08-02 09:28:37 -05:00
Masatoshi Kimura f143125cc2 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G

--HG--
extra : rebase_source : e8c9eb03468c075b79013b6e0bd8b367229c24cd
2017-07-29 20:50:21 +09: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
Eitan Isaacson 3e9099fc0e Bug 1371781 - Allow <select> accessible children to be put back in list accessible. r=surkov 2017-08-01 10:05:00 -04:00
Wes Kocher 4e70ff1332 Backed out 2 changesets (bug 1371781) for failures in browser_test_aria_owns_select.js a=backout
Backed out changeset 0d3bdb80960d (bug 1371781)
Backed out changeset 2142989aace8 (bug 1371781)

MozReview-Commit-ID: 3NevhAhgtf6
2017-07-31 17:22:48 -07:00
Eitan Isaacson 999113c2a7 Bug 1371781 - Fix eslint issues in test. r=me 2017-07-31 16:36:54 -07:00
Eitan Isaacson 1911897aee Bug 1371781 - Allow <select> accessible children to be put back in list accessible. r=surkov 2017-07-31 13:00:00 -04:00
Kyle Machulis d812ac4e87 Bug 1279218 - Additional applet tag logic removal; r=bz
I've been having problems with interdiffs on mozreview lately, so for
ease of review, this patch is being submitted as a seperate patch for
review. Once it is r+'d, it will be folded into the first patch in
this set before landing.

MozReview-Commit-ID: CS9MngaXlBd

--HG--
extra : rebase_source : 6a86fd4f7a66e73497a756976a2562d183002a2a
2017-07-28 16:44:39 -07:00
Eitan Isaacson ea615f1729 Bug 1376825 - Set eIsNotInDocument to accessible's state when unbinding from doc. r=surkov 2017-07-20 12:57:00 -04:00
Geoff Brown 185e545f3a Bug 845134 - Modify annotation to skip test_focusedChild.html on Windows 10; r=me,test-only 2017-07-27 07:43:34 -06:00
Eitan Isaacson c7bc22bcfd Bug 1330739 - Don't use control's frame as reference in SelectionManager. r=surkov 2017-07-26 19:02:37 -04:00
Bevis Tseng 95b18d794e Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm
--HG--
extra : rebase_source : 84de1abfcc30a6964144c2e6718a508c71027b65
2017-07-27 02:18:20 +08:00
Geoff Brown d7cf87ba64 Bug 845134 - Skip test_focusedChild.html on Win 10 also; r=surkov 2017-07-26 10:08:46 -06:00
Eitan Isaacson e6166bf4d1 Bug 1384672 - Add accessibility instantiator to about:support. r=jimm 2017-08-10 15:32:07 -07:00
Carsten "Tomcat" Book 198430bca2 merge mozilla-inbound to mozilla-central a=merge 2017-07-26 11:11:40 +02:00
Eitan Isaacson c92100c21c Bug 1378257 - Don't move/reclaim aria-owned children to their current position. r=surkov, r=yzen 2017-07-25 16:31:00 -04:00
Xidorn Quan 4a92d308fc Bug 1374872 - Disable tests involving web components for stylo. r=wchen
MozReview-Commit-ID: JWA210RkpAW

--HG--
extra : rebase_source : cd2a4ed75b43d500bf3a6e1e49eccb1bd38ed777
2017-06-21 14:51:37 +10:00
Aaron Klotz 4d4f358bf9 Bug 1379951: Remove problematic assertion for a code path that is expected to be followed by NVDA; r=eeejay
MozReview-Commit-ID: DM6hVlC4RCg
2017-07-21 10:42:39 -06:00
Aaron Klotz 24cb1e1776 Bug 1379643: When running under sandbox level >= 3, parent should retain IStream of marshaled interface to be destroyed later; r=jimm
MozReview-Commit-ID: Egb6Yahdbxm

--HG--
extra : rebase_source : a59cfdfdbd1203b89822e68765bd5a0f35b67ada
2017-07-19 12:07:45 -06:00
Aaron Klotz 5e6827da6d Bug 1380214: Ensure that if the handler payload fails to serialize that we may still marshal the accessible itself; r=eeejay
MozReview-Commit-ID: VH06GAR7Ph
2017-07-17 17:19:58 -06:00
Aaron Klotz 22d6b8c708 Bug 1380471: Move follow-up initialization for emulated windows into a callback invoked by the emulated window's WM_CREATE handler; r=yzen
--HG--
extra : rebase_source : d8742fc08cea75e994c9ee4f7c5eca50d40aeac1
2017-07-12 18:01:43 -06:00
Sebastian Hengst 46235a444c Backed out changeset 7ec72cbf67b6 (bug 1380471) for Windows 2012 static bustage. r=backout on a CLOSED TREE 2017-07-14 10:00:52 +02:00
Nicholas Nethercote c86dc10505 Bug 1380227 - Avoid many UTF16toUTF8 and UTF8toUTF16 conversions in nsStringBundle. r=emk.
Most of the names passed to nsIStringBundle::{Get,Format}StringFromUTF8Name
have one of the two following forms:

- a 16-bit C string literal, which is then converted to an 8-bit string in
  order for the lookup to occur;

- an 8-bit C string literal converted to a 16-bit string, which is then
  converted back to an 8-bit string in order for the lookup to occur.

This patch introduces and uses alternative methods that can take an 8-bit C
string literal, which requires changing some signatures in other methods and
functions. It replaces all C++ uses of the old methods.

The patch also changes the existing {Get,Format}StringFromName() methods so
they take an AUTF8String argument for the name instead of a wstring, because
that's nicer for JS code.

Even though there is a method for C++ code and a different one for JS code,
|binaryname| is used so that the existing method names can be used for the
common case in both languages.

The change reduces the number of NS_ConvertUTF8toUTF16 and
NS_ConvertUTF16toUTF8 conversions while running Speedometer v2 from ~270,000 to
~160,000. (Most of these conversions involved the string
"deprecatedReferrerDirective" in nsCSPParser.cpp.)

--HG--
extra : rebase_source : 3bee57a501035f76a81230d95186f8c3f460ff8e
2017-07-12 15:13:37 +10:00
Aaron Klotz a58d6b98b6 Bug 1380471: Move follow-up initialization for emulated windows into a callback invoked by the emulated window's WM_CREATE handler; r=yzen
--HG--
extra : rebase_source : 4bf99168aa2e845437238cf37d838d0d91ffb807
2017-07-12 18:01:43 -06:00
Xidorn Quan 24948e591e Bug 1390411 - Disable failing bc tests and enable it for stylo. r=jmaher
MozReview-Commit-ID: 2xdTEAnVM8B

--HG--
extra : rebase_source : 4585f7fdf6aa5833e7c8e5b6e4bd5728b8800811
2017-08-16 10:02:56 +10:00
Wes Kocher 33c2277e1f Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7rfXDtMWy2C
2017-07-12 18:26:46 -07:00
Carsten "Tomcat" Book dc83b98670 Merge mozilla-central to mozilla-inbound 2017-07-12 11:17:55 +02:00