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

6388 Коммитов

Автор SHA1 Сообщение Дата
Joanmarie Diggs 0078007f2f Bug 1376121 - DPub ARIA footnote role should have AXSubrole AXApplicationGroup. r=MarcoZ
Add the missing mapping. No new test case because there is no means for
testing platform accessibility API mappings via mochitest.
2017-06-24 09:47:00 -04:00
Joanmarie Diggs 2ffc4eeb7d Bug 1376111 - Fix AXRoleDescription for ARIA heading role. r=MarcoZ
The AXRoleDescription should be "heading" not "AXHeading." Add a new
localized string and use it for roles::HEADING.
2017-06-26 00:43:00 -04:00
Bill McCloskey f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Masatoshi Kimura b515c9c804 Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
MozReview-Commit-ID: GF0YXDwfA14

--HG--
extra : rebase_source : fdae0046f882d47fb539a7f882364e5c5caafdcd
extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
2017-06-18 20:37:50 +09:00
Aaron Klotz eb1c707d34 Bug 1375412: Strengthen ownership of a11y::LazyInstantiator when posting runnable back to main thread; r=eeejay
MozReview-Commit-ID: A0IdEfAs4q9
2017-06-23 13:03:33 -06:00
Eitan Isaacson 71c52fe020 Bug 1375348 - Include last role as a good role to recieve from child. r=davidb 2017-06-23 08:55:38 -07:00
Florian Quèze c3a5e47cea Bug 1034599 - Convert remaining Promise.defer() uses to PromiseUtils.defer() or new Promise(), r=mconley. 2017-06-23 11:25:02 +02:00
Nicholas Nethercote 58786e1ea7 Bug 1375392 - Tweak the PROFILER_LABEL* macros. r=mstange.
This patch makes the following changes to the macros.

- Removes PROFILER_LABEL_FUNC. It's only suitable for use in functions outside
  classes, due to PROFILER_FUNCTION_NAME not getting class names, and it was
  mostly misused.

- Removes PROFILER_FUNCTION_NAME. It's no longer used, and __func__ is
  universally available now anyway.

- Combines the first two string literal arguments of PROFILER_LABEL and
  PROFILER_LABEL_DYNAMIC into a single argument. There was no good reason for
  them to be separate, and it forced a '::' in the label, which isn't always
  appropriate. Also, the meaning of the "name_space" argument was interpreted
  in an interesting variety of ways.

- Adds an "AUTO_" prefix to PROFILER_LABEL and PROFILER_LABEL_DYNAMIC, to make
  it clearer they construct RAII objects rather than just being function calls.
  (I myself have screwed up the scoping because of this in the past.)

- Fills in the 'js::ProfileEntry::Category::' qualifier within the macro, so
  the caller doesn't need to. This makes a *lot* more of the uses fit onto a
  single line.

The patch also makes the following changes to the macro uses (beyond those
required by the changes described above).

- Fixes a bunch of labels that had gotten out of sync with the name of the
  class and/or function that encloses them.

- Removes a useless PROFILER_LABEL use within a trivial scope in
  EventStateManager::DispatchMouseOrPointerEvent(). It clearly wasn't serving
  any useful purpose. It also serves as extra evidence that the AUTO_ prefix is
  a good idea.

- Tweaks DecodePool::SyncRunIf{Preferred,Possible} so that the labelling is
  done within them, instead of at their callsites, because that's a more
  standard way of doing things.

--HG--
extra : rebase_source : 318d1bc6fc1425a94aacbf489dd46e4f83211de4
2017-06-22 17:08:53 +10:00
Nicholas Nethercote f1364a75ea Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj.
All the instances are converted as follows.

- nsSubstring  --> nsAString
- nsCSubstring --> nsACString

--HG--
extra : rebase_source : cfd2238c52e3cb4d13e3bd5ddb80ba6584ab6d91
2017-06-20 19:19:52 +10:00
Nicholas Nethercote fe9268c4cd Bug 1374580 (part 2) - Remove nsAFlat{,C}String typedefs. r=froydnj.
All the instances are converted as follows.

- nsAFlatString  --> nsString
- nsAFlatCString --> nsCString

--HG--
extra : rebase_source : b37350642c58a85a08363df2e7c610873faa6e41
2017-06-20 19:19:05 +10:00
Joanmarie Diggs 1115881728 Bug 1375460 - "haspopup" AtkObject attribute missing if multiprocess enabled. r=surkov
Move the object attribute exposure of states::HASPOPUP from the ATK wrapper
code to the shared accessibility code. Call UniversalStatesFor() rather than
State() for performance.

--HG--
extra : rebase_source : e31c2d00da302538a7f6962d8f4dfd148a7d877e
2017-06-22 07:25:00 -04:00
Aaron Klotz 338586067c Bug 1375429: Ensure that a11y::LazyInstantiator::GetRootAccessible properly handles popup accessibles; r=eeejay
MozReview-Commit-ID: CFlNI1wXFG3
2017-06-22 13:35:52 -06:00
Eitan Isaacson 39a6c4774c Bug 1330765 - Only attempt to shutdown a11y if last XPC doc was just removed. r=surkov 2017-06-22 12:37:42 -07:00
Joanmarie Diggs 66ad9aca23 Bug 1375116 - RelationType::CONTAINING_WINDOW is not in the RelationTypeMap. r=surkov
Add RelationType::CONTAINING_WINDOW to the RelationTypeMap. Note that
there is no implementation for this RelationType in place yet, but this
addition will fix off-by-one bugs when mapping newly-added relation types
to platform accessibility APIs.
2017-06-21 09:28:00 -04:00
Joanmarie Diggs 2ba8ad9f9e Bug 1374697 - Add ATK support for aria-details and aria-errormessage. r=surkov
Add the new-to-ATK relation types to the ATK headers we maintain and
map those relation types to the internal equivalents. No new tests
because we have sufficient coverage for the internal relations and
currently lack a means to test platform accessibility API exposure.
2017-06-21 15:53:00 -04:00
Joanmarie Diggs d8b6b99320 Bug 1355447 - Map non-false values of aria-haspopup to ATK_STATE_HAS_POPUP. r=surkov
Change the mapping of states::HASPOPUP from kNone to ATK_STATE_HAS_POPUP.
No new test added because there is not yet support for testing platform
accessibility API mappings via mochitest.

--HG--
extra : rebase_source : bdf50704fa23db29ec5d5b3cdc0b51c8e6466215
2017-06-22 04:34:00 -04:00
Aaron Klotz f8ba76d1bc Bug 1375130: Add missing guard around call to LazyInstantiator::AccumulateTelemetry; r=bustage 2017-06-21 16:13:39 -06:00
Aaron Klotz 1cf49f3a1d Bug 1375130: Add missing return value check in a11y::LazyInstantiator call to GetClientExecutableName; r=eeejay
MozReview-Commit-ID: JAULVCzMn60
2017-06-21 15:22:34 -06:00
Carsten "Tomcat" Book 8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Aaron Klotz a4d74945cd Bug 1378818: Add MOZ_CRASHREPORTER guards around a11y::Compatibility code; r=eeejay
MozReview-Commit-ID: 6ASeCgJNPV
2017-07-06 13:59:14 -06:00
Bill McCloskey 6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Aaron Klotz eee899a8e2 Bug 1323069: Fix conflict between this bug and bug 1371274; r=bustage CLOSED TREE 2017-06-20 13:09:23 -06:00
Aaron Klotz 41cc65ce4d Bug 1323069: Add ability to detect and identify remote a11y clients, as well as lazily instantiate a11y; r=eeejay
MozReview-Commit-ID: FY5ZIValcp9
2017-06-19 20:57:35 -06:00
Aaron Klotz a33d941b4e Bug 1374643: Use IID instead of REFIID for a11y::HandlerProvider::mTargetUnkIid; r=jimm
MozReview-Commit-ID: IMFMxhHsbp6

--HG--
extra : amend_source : 10f8b88b0ba538241b59e88ad145db7479d64c07
2017-06-20 12:32:21 -06:00
Joanmarie Diggs 132af70e13 Bug 1374316 - Add aria-readonly to several roles as per ARIA 1.1. r=surkov
In ARIA 1.1, aria-readonly became a supported property of switch,
menuitemcheckbox, menuitemradio, and radiogroup.

aria-checked is not, and has not been, a supported property of menuitem.
This property should only be supported on checkable subclasses of the
ARIA menuitem role, namely menuitemcheckbox and menuitemradio.
2017-06-19 11:09:23 -04:00
Joanmarie Diggs ee236a6c7f Bug 1357042 - Implement or update support for exposure of aria-orientation. r=surkov
In ARIA 1.1, "undefined" was added as a possible value of aria-orientation,
and the default value for the combobox and treegrid roles. Therefore, remove
states::VERTICAL from the nsRoleMapEntry for these two roles and update the
associated mochitest expectations. The rest of the ARIA roles which support
aria-orientation have the correct defaults and test coverage.
2017-06-20 05:32:00 +02:00
Carsten "Tomcat" Book ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey 4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Wes Kocher 57da9036bb Merge inbound to central, a=merge
MozReview-Commit-ID: KZoJHLFuTwT
2017-06-19 17:30:02 -07:00
Joanmarie Diggs 638636b4ef Bug 1373786 - Mapping of "article" role and element is incorrect for AX API and ATK. r=surkov 2017-06-16 16:07:23 -04:00
Joanmarie Diggs 88ed2a9207 Bug 1358417 - Use ATK_ROLE_DESCRIPTION_TERM for "term" role and "dt" element. r=surkov 2017-06-16 14:02:55 -04:00
Joanmarie Diggs 8f7067dc67 Bug 1355423 - Fix AtkRole and AXSubrole for ARIA treeitem. r=surkov 2017-06-16 12:15:45 -04:00
Eitan Isaacson 109fff34b9 Bug 1366374 - Check if AccessibleHandler.dll is registered before using. r=aklotz 2017-06-15 15:55:06 -07:00
Carsten "Tomcat" Book 5e8c1546ec merge mozilla-inbound to mozilla-central a=merge 2017-06-14 14:45:26 +02:00
Joanmarie Diggs c306e05c88 Bug 1343537 - Implement ARIA DPUB extension. r=surkov
--HG--
extra : rebase_source : 38af7ac790cb60d952b1dc2885f50fc9c15cdea6
2017-06-13 15:06:08 -04:00
Wes Kocher ebf35623cd Merge mozilla-central to autoland a=merge
UPGRADE_NSS_RELEASE
2017-06-13 18:57:32 -07:00
Rajesh Kathiriya 6d3eb2c851 Bug 1370232 - Enabled the ESLint no-unneeded-ternary rule across mozilla-central. r=standard8
MozReview-Commit-ID: AH9ArRkjh78

--HG--
extra : rebase_source : bdd4c4f8a4779ea373479a9cba772c036e00e816
2017-06-13 00:23:54 +05:30
Wes Kocher 3ee39c3f47 Backed out 3 changesets (bug 1354077) for assertions in AccessibleWrap.cpp a=backout CLOSED TREE
Backed out changeset 1380fe0f701b (bug 1354077)
Backed out changeset 2b5602bd352a (bug 1354077)
Backed out changeset a0fc3a1a9122 (bug 1354077)

MozReview-Commit-ID: ABHV3evXKrG
2017-06-12 16:54:10 -07:00
Eitan Isaacson 142accc844 Bug 1369890 - Port mochitest/scroll/test_zoom_text.html to browser test. r=surkov 2017-06-12 14:37:55 -07:00
Eitan Isaacson 94ba765cd7 Bug 1372315 - Encode data URIs to base64 in accessibility browser tests. r=surkov 2017-06-12 14:37:50 -07:00
Aaron Klotz da19e2296f Bug 1354077: Modify a11y platform initialization to select and enable appropriate IAccessible manifest; r=eeejay
MozReview-Commit-ID: 1ODOm4Vc4UH

--HG--
extra : rebase_source : 6bac99f6e5e6318cf856f860edb373930979c92a
2017-06-06 12:19:17 -06:00
Aaron Klotz 05e5a2e310 Bug 1354077: Add manifests for IAccessible variants: 32-bit and 64-bit; r=jimm
MozReview-Commit-ID: CoHASAsg5tf

--HG--
extra : rebase_source : 84e30f4601c5f628cc731e1796601381cc012b6c
2017-06-06 12:19:12 -06:00
Sebastian Hengst e960099899 Backed out changeset 76fcf40c564b (bug 1369890) for failing accessible/tests/browser/e10s/browser_caching_name.js on Linux and accessible/tests/browser/scroll/browser_test_zoom_text.js on Windows 7. r=backout 2017-06-12 19:47:24 +02:00
Eitan Isaacson 9646ac5454 Bug 1369890 - Port mochitest/scroll/test_zoom_text.html to browser test. r=surkov 2017-06-12 09:17:00 -07:00
Ryan VanderMeulen 926bfc8d2c Bug 1372221 - Set containerElm only if A11Y_LOG is defined. r=davidb 2017-06-12 10:13:05 -04:00
Eitan Isaacson 640e7d56aa Bug 1371698 - Don't run a11y+e10s tests on release branches of Windows. r=RyanVM 2017-06-10 11:38:00 -04:00
Aaron Klotz 230ddb60a5 Bug 1368571: Modify handler and interceptor marshaling code so that it strips out any handlers from proxies that are destined for non-Gecko processes; r=jimm
MozReview-Commit-ID: A1lCqvbQYAF

There is no clean API-based solution to this, so instead I went grovelling
through the DCOM wire protocol and was able to write a function that converts
handler OBJREFs into standard OBJREFs.

See also:
https://msdn.microsoft.com/en-us/library/cc226801

--HG--
extra : rebase_source : a650055c4adda3a1d99262e47f2b463074c6b935
2017-06-06 17:35:51 -06:00
Aaron Klotz e4ffc15186 Bug 1367715: Check for IClientSecurity in a11y QueryInterface implementations; r=surkov
MozReview-Commit-ID: FwGEq5GLom1

--HG--
extra : rebase_source : 73e2e1e494e75cb1126583ca947208025a533690
2017-05-31 16:07:30 -06:00
Jim Mathies 10b72ec89d Bug 1309271 - Fire accessibility focus events from focused content elements when focus changes from chrome to content. r=surkov
MozReview-Commit-ID: 5Iu2TQ58kGa
2017-06-06 06:09:01 -05:00
Mark Banner c93c2a1504 Bug 1370240 - Enable the ESLint no-control-regex rule across mozilla-central. r=mossop
MozReview-Commit-ID: IN7YMk7yhAO

--HG--
extra : rebase_source : be0a9cae6eae14d4f097eced2e231a96c89c9c47
2017-06-05 15:43:09 +01:00
Eitan Isaacson 6c98e296e9 Bug 1368182 - Port non-e10s compatible parts of states/test_visibility.html to browser test. r=surkov 2017-06-03 20:15:02 -07:00
Eitan Isaacson b5e156f5c2 Bug 1368103 - Use DOM doc visibilityState to determine if a tab is hidden. r=surkov 2017-06-03 20:15:01 -07:00
Jan de Mooij d2c775856a Bug 1358135 part 1 - Fix some browser tests to trigger a shrinking GC instead of a normal GC. r=jonco 2017-06-03 17:29:17 +02:00
Marco Zehe 931d366473 Bug 1349835 Part 2 - Test that an input of type checkbox or radio with -moz-appearance:none; creates correct accessibles, r=surkov
MozReview-Commit-ID: GIWH6HYoGDq

--HG--
extra : rebase_source : d77cda68fc24fcb02c845b4e3b079e1d2bf6240e
2017-06-02 14:05:44 +02:00
Jim Mathies d99ea037ac Bug 1309271 - Patch to cleanup nesting and updated comments per review nits. r=surkov
MozReview-Commit-ID: CKwg9xsXl7G
2017-06-13 06:44:55 -05:00
Joanmarie Diggs 493e3be69d Bug 1376107 - Fix macOS AXRoleDescription for DPub ARIA AXLandmarkRegion. r=marcoz
DPub ARIA AXLandmarkRegion-maped roles should have an AXRoleDescription
value of "region"; not "group." This requires an explicit mapping, which
was not done during the initial implementation. No new test cases because
we currently have no means to test platform-accessibility-API mappngs via
mochitest.
2017-06-24 07:15:00 +02:00
Joanmarie Diggs 7fb0a768f2 Bug 1376037 - Expose element id via NSAccessibility. r=marcoz
Use the attribute name "AXDOMIdentifier" to be consistent with what
is done in WebKit and Blink.
2017-06-23 16:19:00 +02:00
Joanmarie Diggs a03e7d2680 Bug 1376108 - Fix macOS mapping for ARIA separator role. r=marcoz
According to the Core Accessibility API Mappings 1.1 spec, on macOS,
the separator role should have AXRoleDescription "splitter" and no
subrole. The incorrect AXRoleDescription is due to the subrole mapping
to AXContentSeparator. Thus removing the latter fixes the former.
2017-06-24 08:18:00 +02:00
Rajesh Kathiriya fafb858b26 Bug 1370225 - Enabled the ESLint comma-style rule across mozilla-central. r=standard8
MozReview-Commit-ID: 9OhLgBpYS4L

--HG--
extra : rebase_source : 5155e715934e7acd2ffadb4856eb91f481cbf56c
2017-06-15 18:24:17 +01:00
Mats Palmgren a1f37b1e8f Bug 1349835 - Create accessibles for <input type=checkbox/radio> with -moz-appearance:none. r=surkov
MozReview-Commit-ID: Cot3jyZBdpU
2017-05-31 21:29:49 +02:00
Christoph Kerschbaumer 7c190eb1cc Bug 1363975 - Have loadOneTab() tests provide the correct triggeringPrincipal. r=gijs 2017-05-31 20:36:43 +02:00
Ryan VanderMeulen 2fbcb8b3bb Merge m-c to inbound. a=merge 2017-05-30 16:09:45 -04:00
Ryan VanderMeulen bd262b8cd1 Merge inbound to m-c. a=merge 2017-05-30 16:09:14 -04:00
Ryan VanderMeulen af691573d4 Merge m-c to autoland. a=merge 2017-05-30 12:59:41 -04:00
Eitan Isaacson f1d5ed7c8b Bug 1367486 - Fix eslint errors on a CLOSED TREE 2017-05-30 11:34:06 -07:00
Eitan Isaacson cbc10fc587 Bug 1367486 - Move failing part of states/test_link.html to browser test. r=surkov 2017-05-30 10:57:01 -07:00
Eitan Isaacson 8dc2d56240 Bug 1367486 - Move common js stuff down in a11y broswer tests. r=surkov
MozReview-Commit-ID: GDDP0BpjRAv


--HG--
rename : accessible/tests/browser/e10s/events.js => accessible/tests/browser/events.js
2017-05-30 10:57:01 -07:00
dbolter a3cffe12d0 Bug 1368121 - Remove telemetry for a11y update time. r=eeejay 2017-05-26 14:03:57 -04:00
Christoph Kerschbaumer 7c3421e842 Bug 1363977 - Have loadTabs() tests provide the correct triggeringPrincipal. r=gijs,kit 2017-05-29 17:57:08 +02:00
Carsten "Tomcat" Book 96eb17dd36 Backed out changeset 59567c6c1e71 (bug 1357386) for landing with wrong bugnumber 2017-05-30 08:51:40 +02:00
Christoph Kerschbaumer c1c050e55c Bug 1357386: Have loadTabs() tests provide the correct triggeringPrincipal. r=gijs,kit 2017-05-30 08:30:50 +02:00
Dan Banner ea09f270ab Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
MozReview-Commit-ID: EXJNufdKKhJ

--HG--
extra : rebase_source : 66d17c7981c4b0987c482ce092b25990b42c07fb
2017-05-27 15:17:29 +01:00
tiago 95d9608ba4 Bug 1367198 - Remove duplicate ESLint rule definitions from various .eslintrc.js files. r=standard8
MozReview-Commit-ID: AUz5l7XPfwY

--HG--
extra : rebase_source : 2cb4758cdf51765fc61fbc6795fcd7bc85ef67bf
2017-05-24 13:55:24 -03:00
Eitan Isaacson f0c56bf2da Bug 1367255 - Switch a11y browser tests to async/await. r=surkov
MozReview-Commit-ID: 4ptIIDckcqg
2017-05-24 12:20:45 -07:00
Aaron Klotz 5bed0344a5 Bug 1365073: Modify sdnAccessible to always generate unique IDs using AccessibleWrap's scheme even when it is not associated with an accessible; r=tbsaunde
MozReview-Commit-ID: 8uhDATEKfQ

--HG--
extra : rebase_source : 45545f98fa4c8c73039695adabeefa9c61b5e96c
extra : histedit_source : a31956c56f86336dc70789dd5ae09d637f14166d
2017-05-15 17:28:57 -06:00
Aaron Klotz 6d37fc005d Bug 1361879: Ensure that sdnAccessible holds a strong reference to its creating AccessibleWrap if it was instantiated as a tearoff; r=tbsaunde
MozReview-Commit-ID: CCgwa7BHUBK

--HG--
extra : rebase_source : 974cadff7b42e3b38ba547b85792b00ebb12aecf
extra : histedit_source : 56a8ed517994bafc02594ba2d9fbf014b47b89da%2C9c63efae8b6a3e056b76c788b6a3f21ddbd27972
2017-05-23 14:40:04 -06:00
Aaron Klotz 570cbae5c4 Bug 1364544: Ensure that proxied CARET_MOVED and FOCUS events update the Win32 system caret before firing their WinEvents; r=eeejay
MozReview-Commit-ID: LVML7EZaSYD

In non-e10s AccessibleWrap::HandleAccEvent, we special case our handling of
CARET_MOVED and FOCUS events with a call to UpdateSystemCaretFor. In e10s mode
we were not doing the same thing for proxied events sent from content. This
threw JAWS for a loop and presumably messes up other ATs as well.

This patch modifies the IPDL messages for these two events so that we may
send the caret rect along with the event, thus allowing us to update the
system caret for proxied events as well.

--HG--
extra : rebase_source : e1502c12b038739520afd5c7078d011e25ea669e
2017-05-15 14:11:46 -06:00
David Parks cff8d258a2 Bug 1330484 - Part 2: Remove invalid assert that checked that removed a11y child documents have no children. r=jimm
Here is a scenario under which the assert is invalid:

RecvHideEvent is received on a DocAccessibleParent DAP1 that has a child document DAP2... that in turn has a child document DAP3.  DAP1::RecvHideEvent calls Shutdown on its root ProxyAccessible.  This recursively calls Shutdown on child ProxyAccessibles until it reaches the one that is the parent of the child document DAP2.  ProxyAccessibleBase::Shutdown then attempts to Unbind DAP2, which calls DAP1::RemoveChildDoc, which trips the assert because DAP2 has child document DAP3.
2017-05-22 02:39:11 -07:00
David Parks cf9e5cbbc1 Bug 1330484 - Part 1: Detect and Shutdown binding accessibles that have lost their actors. r=jimm
In content processes, we want to avoid a situation where a DocAccessible has lost its IPC actor (DocAccessibleChild) but finds itself processing a delayed request to take on child documents.  In this case, we shut down the child documents as they are no longer valid.
2017-05-22 02:09:02 -07:00
Mark Banner 0ce286101c Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop
MozReview-Commit-ID: HtUW43tCli1

--HG--
extra : rebase_source : 6496bc47860d9c1ab522a78e73b41550700021cb
2017-04-25 20:12:21 +01:00
Alexander Surkov 5abc773740 Bug 1363027 - keep removing accessible alive during event coalescence, r=davidb 2017-05-12 14:02:15 -04:00
Wes Kocher 3b736de62a Merge m-c to inbound, a=merge
MozReview-Commit-ID: ADbja7mAY4s
2017-05-11 17:41:11 -07:00
Aaron Klotz 0c505ba983 Bug 1363887: Use nsAutoHandle for CreateBitmap call in AccessibleWrap::UpdateSystemCaretFor; r=tbsaunde
MozReview-Commit-ID: CbLqtqMEw32

--HG--
extra : rebase_source : 44a96fef761917b09f96f5a46be94327df504e67
2017-05-10 16:04:05 -06:00
Mark Banner 2bf9485071 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
Carsten "Tomcat" Book d66b9f27d5 merge mozilla-inbound to mozilla-central a=merge 2017-05-10 15:07:28 +02:00
Alexander Surkov 6737b53749 Bug 1363027 - diagnostic asserts for Accessible::RemoveChild, r=davidb 2017-05-09 15:56:41 -04:00
Tom Tromey c24d78e194 Bug 1334304 - use MOZ_FORMAT_PRINTF in accessible/base/Logging.h; r=surkov
MozReview-Commit-ID: 5cpxhepA7br

--HG--
extra : rebase_source : f865188eaf0a40fd5cddec4a61e117e0014cbcb9
2017-05-03 14:47:35 -06:00
Mark Banner 23f885d2be Bug 1360166 - Clean up global handling for accessible/tests/. r=surkov
Now that we inherit the recommended configurations, many definitions are handled semi-automatically.

MozReview-Commit-ID: 1H2MXzk6VdQ

--HG--
extra : rebase_source : 25e9e8b9a9f62d4e22873998ff4532fbcbe2e367
2017-04-27 12:07:04 +01:00
Mark Banner f682c34d06 Bug 1360166 - Remove duplicated rules in accessible/tests/browser/.eslintrc.js (already in recommended.js). r=surkov
MozReview-Commit-ID: Vcacy2HEwj

--HG--
extra : rebase_source : defe73462a8fae3ec5fd9b2ccc6b00ad70ceca6e
2017-04-27 11:57:13 +01:00
Mark Banner 3e354c3b34 Bug 1360166 - Make accessible/ ESLint rules inherit from the mozilla/recommended configuration. r=surkov
MozReview-Commit-ID: GJs25x7vNgZ

--HG--
extra : rebase_source : 6f1c650a50f638dddf8b774931931d226ebbe26d
2017-04-27 11:53:38 +01:00
Alexander Surkov 0e96856c5e Bug 1361770 - todo mochitest for aria-owns element removed from DOM, r=davidb, marcoz 2017-05-08 09:17:48 -04:00
Alexander Surkov 28500c691a Bug 1362063 - replace delayed ValidateARIAOwned on straightforward DOM tree traversal, r=davidb 2017-05-04 13:21:17 -04:00
Alexander Surkov 1eef9e9b1e Bug 1355488 - fix aria-owns on a document, r=davidb 2017-05-03 10:50:33 -04:00
Wes Kocher 5b73758a65 Merge m-c to inbound, a=merge
MozReview-Commit-ID: ILz91Vj4gT5
2017-05-02 17:39:58 -07:00
Trevor Saunders dcced28484 bug 1348148 - try and avoid firing load events on unloaded documents r=davidb
It is awkward to need to have a DocAccessibleChild to send events with before
DocAccessible::DoInitialUpdate() is called because we might not have a
TabParent for the document until then.  However we could try to fire reload
events on documents before DoInitialUpdate() was called which would require
having a DocAccessibleChild there to send the load event to the parent process.

However before DocAccessible::DoInitialUpdate() is called the document already
has a pending load event.  If a document hasn't yet been the subject of a load
event it doesn't make a lot of sense to fire a reload event for that document,
      and then the initial load event.  So it should be safe to skip firing
      reload events for documents where mLoadEvent specifies a load event to
      fire in the future.
2017-05-02 13:34:40 -04:00
David Parks 1810e88c32 Bug 1359129 - Use the most recent RootDocAccessible when delaying DocAccessibleChild messages. r=aklotz
We sometimes briefly have more than one root DocAccessible associated with a TabChild, for example, while navigating links in a page.  This patch makes sure that we use the correct accessible when delaying messages that we forward to the parent process.
2017-05-01 14:04:55 -07:00
Emilio Cobos Álvarez e44543aad4 Bug 1360241: Devirtualize nsIFrame::GetType. r=heycam
MozReview-Commit-ID: 5Nzhyta5Hle

--HG--
extra : rebase_source : c2e9d4bfb9239f5e851d110cd7dff98c1e1a8d8b
2017-04-30 17:30:08 +02:00
Carsten "Tomcat" Book 2a74ba4261 Merge mozilla-central to autoland 2017-05-02 11:23:38 +02:00
Emilio Cobos Álvarez 23bce99ae1 Bug 1361051: rename mozilla::FrameType to mozilla::LayoutFrameType. r=xidorn
This avoids conflicts with mozilla::dom::FrameType.

MozReview-Commit-ID: 7aEMbHRaTFk

--HG--
extra : rebase_source : 2d01321f5ce0ec8c0e3f70984674f82678034b3c
2017-05-01 19:32:52 +02:00
Wes Kocher 2c32bb6724 Backed out changeset 5c2e089e2163 (bug 1332444) for causing bug 1360402 a=backout
MozReview-Commit-ID: 6JCqiMZePxX
2017-04-27 17:37:00 -07:00