Commit Graph

6349 Commits

Author SHA1 Message Date
Trevor Saunders
43c3840ad1 bug 1197181 - downgrade diagnostic assert in RecvHideEvent() 2017-02-16 16:27:40 -05:00
Trevor Saunders
d758a5e011 bug 1338755 - split ParentCOMProxy message up r=yzen
sending the emulated window information is basically unrelated to sending the
parent COM proxy to the child process, and in the future it will be useful to
send these at different times.
2017-02-16 15:17:53 -05:00
Wes Kocher
3e3d368d3b Backed out changeset 4ea36a9c2dfd (bug 1339394) for browser_selectpopup.js failures a=backout
MozReview-Commit-ID: JEy6J1AFgpj
2017-02-15 18:59:15 -08:00
Wes Kocher
3797956aa6 Merge m-c to inbound a=merge
MozReview-Commit-ID: BemR756HJnR
2017-02-15 16:33:03 -08:00
Xidorn Quan
27c6b9b2bf Bug 1339394 - Don't serialize transparent color to transparent keyword when not necessary. r=heycam
MozReview-Commit-ID: 59cmaCoFJMR

--HG--
extra : source : 134b15d99876fbd9b9f7022de20e3d215dc2c753
extra : amend_source : 94ba498834fae87577905fa473479a3d155e607d
2017-02-16 10:27:19 +11:00
Carsten "Tomcat" Book
4bb208b812 Backed out changeset 4a964c3f1759 (bug 1339394) for suspicion of causing failures on OS X browser_selectpopup.js tests 2017-02-15 14:43:57 +01:00
Xidorn Quan
8a139d9ab8 Bug 1339394 - Don't serialize transparent color to transparent keyword when not necessary. r=heycam
MozReview-Commit-ID: 59cmaCoFJMR

--HG--
extra : source : 6c2a110bb5f4c7d4b1efd81a5cf03878291f7591
extra : amend_source : e2cdd8e042f99c53dceb69e02b422d62cdc01e1f
2017-02-15 20:47:26 +11:00
Aaron Klotz
16028b27ba Bug 1335527: Fix missing entries for .tlb files generated by midl in a11y code; r=mshal
MozReview-Commit-ID: 7FW8wi23xYd

--HG--
extra : rebase_source : 5e4ce36ea703904d918e58570f18e8ead9581d00
2017-02-14 16:32:18 -07:00
Aaron Klotz
8af3455468 Bug 1335527: Backed out changeset 6306054ca94a for bustage; r=bustage 2017-02-14 16:24:55 -07:00
Aaron Klotz
8a75961a58 Bug 1335527: Fix missing entries for .tlb files generated by midl in a11y code; r=mshal
MozReview-Commit-ID: 7FW8wi23xYd

--HG--
extra : rebase_source : 8480e687a8284f12917303ad24ce18d6ed4aad47
2017-02-14 15:04:33 -07:00
Trevor Saunders
1f0c97f262 bug 1339472 - refer to child DocAccessibleParents by id r=yzen 2017-02-14 18:10:04 -05:00
Trevor Saunders
66243ccb3f bug 1339472 - make DocAccessibleParents refer to there parent document by id r=yzen
This saves a little space on x86_64 builds.
2017-02-14 18:10:03 -05:00
Trevor Saunders
9f62f9a5c1 bug 1339472 - keep a map from DocAccessibleParents to the actors themselves r=yzen 2017-02-14 18:10:03 -05:00
Aaron Klotz
01e0b50a3d Bug 1335527: Backed out changeset 45651363c8d6 due to bustage; r=bustage 2017-02-14 15:38:49 -07:00
Aaron Klotz
c1b69987d2 Bug 1335527: Fix missing entries for .tlb files generated by midl in a11y code; r=mshal
MozReview-Commit-ID: EjvzTvADV1a

--HG--
extra : rebase_source : 67202eeaa13847291d191c4c37c13f50fbb0088a
2017-02-14 15:04:33 -07:00
Trevor Saunders
2f8dccb36c bug 1339156 - add an assert to RemoveChildDoc() r=yzen 2017-02-14 11:10:47 -05:00
Sylvestre Ledru
345833852a Bug 1338086 - Remove useless else blocks in order to reduce complexity accessible/atk r=davidb
MozReview-Commit-ID: 7ZVqMkXZ5vj

--HG--
extra : rebase_source : 03e1dc9285ce9096a2d84a6e64d22d71a5363dbb
2017-02-14 15:01:23 +01:00
Colomban Wendling
d8bb7d0fa3 Bug 1308908 - Compare the whole accessible name when checking equality. r=tbsaunde
Use strcmp() instead of strncmp() when comparing the AtkObject name
before changing it.  9133117f410c06ad7fa25323a168bc97200043b9 changed
from Equals() to strncmp() to prevent issues related to embedded NUL
bytes, but the change lead to only checking if the AtkObject name has
the new value as prefix.  Instead, use strcmp() to check the whole
C strings, but still stopping at the first NUL byte in the new name.

strcmp() has to be safe here, as NS_ConvertUTF16toUTF8::get() has to
return a NUL-terminated string or the code would crash a few lines
below when calling strdup() on it.
2017-01-27 09:36:00 -05:00
Trevor Saunders
570037515c bug 1339128 - reference parent proxy by id r=eeejay 2017-02-13 14:52:07 -05:00
Phil Ringnalda
04b7add1ce Bug 1338034 - disable browser_caching_name.js on Windows debug for leaks 2017-02-11 20:08:23 -08:00
Alexander Surkov
0b5d08769a Bug 1321384 - attempt to fix a wrong index issue on accessible child removal, r=eeejay 2017-02-11 13:19:36 -05:00
Eitan Isaacson
5f324eb9dd Bug 1336637 - Support relation methods in xpc on windows. r=tbsaunde
MozReview-Commit-ID: BcyE0Vy1Fu4
2017-02-10 17:27:33 -08:00
Trevor Saunders
0525b774a0 bug 1337983 - remove incorrect assert r=aklotz
the outer doc of a top level content document does not necessarily exist when
we recieve the PDocAccessibleConstructor message for it.  So we shouldn't asser
there is an outer doc here.
2017-02-10 16:06:54 -05:00
Yura Zenevich
e04a84bbc8 Bug 1206711 - pass emulated window proxy to doc accessible child to be used as parent IAccessible for top level documents. r=tbsaunde
MozReview-Commit-ID: 4ejD6OmNgiR
2017-02-10 08:11:29 -05:00
Trevor Saunders
96fc2fb77a bug 1326084 - rework ProxyAccessible handling of outer docs 2017-02-10 00:41:29 -05:00
Jim Chen
42a4c3f718 Bug 1332731 - Follow-up to fix accessibility breakage; r=sebastian
Follow-up to fix breakage in accessibility caused by the bundle
conversion. In particular, optString(foo) should have been converted to
getString(foo, "") because optString returns "" by default.

Also fix a small bug in Presentation.jsm where an array or null should
be used instead of a string.
2017-02-08 19:50:32 -05:00
Wes Kocher
afcf40f3ea Backed out changeset 15d237d39fb8 (bug 1332690) for asserts in DocAccessibleParent.cpp a=backout
MozReview-Commit-ID: BwRMVLvOSde
2017-02-08 16:19:20 -08:00
Trevor Saunders
dbe8f2a177 bug 1332690 - remove diagnostic for nonexistant proxies 2017-02-08 14:22:14 -05:00
Yura Zenevich
d564a29158 Bug 1318569 - waiting for image map before running tests in browser_treeupdate_imagemap.js. r=eeejay
MozReview-Commit-ID: 5Cff1jGw0FL
2017-02-08 12:37:51 -05:00
Yura Zenevich
6aa8cca20a Bug 1337401 - enabling all passing e10s windows bc tests. r=eeejay
MozReview-Commit-ID: LEPrO0lQkof
2017-02-08 12:34:30 -05:00
Yura Zenevich
0f1dd075e7 Bug 1337047 - bail early when trying to get document's native window if TabChild is not available for its IPC document. r=tbsaunde
MozReview-Commit-ID: ENSF8ZG2L0O
2017-02-07 14:39:26 -05:00
Trevor Saunders
83b95e091a bug 1336901 - remove incorrect assert r=yzen
There are cases where there is no good reason to shutdown the child document
actors before the parent.  For example when TabParent::DestroyInternal() is
about to send the Destroy message we might as well just shut down the top level
document and let that tear down the rest.
2017-02-06 13:21:30 -05:00
Trevor Saunders
a7e68b58ed bug 1337028 - add another diagnostic assert to DocAccessibleParent::Destroy() r=yzen 2017-02-06 13:21:30 -05:00
Wes Kocher
10fb637abf Merge m-c to inbound a=release CLOSED TREE
MozReview-Commit-ID: AwyW5DU4EMh
2017-02-03 17:21:29 -08:00
Wes Kocher
b488ae9021 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GhBqmLvUpgQ
2017-02-03 17:04:18 -08:00
Alexander Surkov
f7075f375a Bug 1334972 - crash when aria-owned child takes children from its parent, r=yzen 2017-02-03 13:51:52 -05:00
Trevor Saunders
47cd47695a backout bug 1326084 2017-02-03 12:47:51 -05:00
Eitan Isaacson
78e90909da Bug 1335825 - Provide full state bitfield to xpcom accessibles in Windows. r=yzen
MozReview-Commit-ID: H7lFB5khEJm
2017-02-03 15:22:09 -08:00
Wes Kocher
2dcccc4332 Merge inbound to central, a=merge
MozReview-Commit-ID: 9bhCPrArK3P
2017-02-02 16:39:24 -08:00
Boris Zbarsky
08d76ec702 Bug 1332812. Remove some more unused or nearly-unused nsIDOMElement bits. r=froydnj 2017-02-02 10:32:58 -05:00
Trevor Saunders
820cf8dcf5 bug 1334673 - ignore some invalid Show event messages r=davidb 2017-02-02 11:37:16 -05:00
Trevor Saunders
8765a50df4 bug 1326084 - fixup shutting down a ProxyAccessible with no child doc 2017-02-02 11:37:16 -05:00
Boris Zbarsky
1a543ff1ad Bug 835981 part 5. Change nsIDOMXULElement::GetBoxObject consumers to nsXULElement. r=peterv 2017-02-02 10:32:58 -05:00
Boris Zbarsky
e57875aac9 Bug 835981 part 4. Change nsXULElement::ClickWithInputSource to return void and switch consumers of nsIDOMXULElement::Click to nsXULElement. r=peterv 2017-02-02 10:32:58 -05:00
Eitan Isaacson
2725184bbf Bug 1335220 - Add minimumIncrement to windows ProxyAccessible. r=yzen
MozReview-Commit-ID: DY89qIALmrq
2017-02-01 12:37:13 -08:00
Trevor Saunders
8d2ecdbd5d bug 1326084 - ClearChildDoc() should leave the proxy marked as being an outerdoc r=aklotz
Since it can be called in strange orderings wrt SetChildDoc() it seems
reasonable to believe we can get an ordering where the proxy has a document as
a child but is not marked as having document children.
2017-02-01 14:37:01 -05:00
Yura Zenevich
a347ec3925 Bug 1206711 - ensure that emulation is taken into account when resolving HWND for a proxy. r=tbsaunde
MozReview-Commit-ID: DSRUOMUe5nW
2017-01-31 11:58:44 -05:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Yura Zenevich
29dab6668e Bug 1333406 - make GetProxyAccessibleInSubtree deal with proxies in non top level documents. r=tbsaunde
MozReview-Commit-ID: GYmUr72NbNS
2017-01-27 18:06:07 -05:00
Eitan Isaacson
2c35fdac5a Bug 1334332 - Fix GetIAccessibleFor to support returning IAccessible for itself. r=tbsaunde
MozReview-Commit-ID: 3zpNFjs0wHL
2017-01-27 13:41:32 -08:00
Yura Zenevich
ff36888e8e Bug 1333843 - xultab accessible needs to support HyperTextAccessibleWrap. r=surkov
MozReview-Commit-ID: Gt0Rt33udNV
2017-01-27 11:10:27 -05:00
Marco Zehe
e37a92d3e7 Bug 1335734 - Make sure ARIA role 'directory' exposes the READONLY state so it doesn't get treated as a widget, r=surkov
MozReview-Commit-ID: 9J90gANe9Ib

--HG--
extra : rebase_source : bdfa84fa07864453ee7e1b4559b90e7d196b7da0
2017-02-02 06:46:00 +01:00
Florian Quèze
b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze
be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Geoff Brown
91c093d6e8 Bug 1318569 - Skip browser_treeupdate_imagemap.js on e10s across all platforms; r=me 2017-01-26 15:16:08 -07:00
Trevor Saunders
5e44465e8d bug 1333514 - fix race between PDocAccessibleConstructor messages and PBrowser::Destroy messages r=billm 2017-01-26 10:01:43 -05:00
Yura Zenevich
299ef55172 Bug 1329697 - registering typelib for IGeckoCustom interface. r=aklotz
MozReview-Commit-ID: CIvoSrPrRVM
2017-01-25 13:40:17 -05:00
Yura Zenevich
26f2c60483 Bug 1206711 - add support for HWND emulation for content top level docs on Windows. r=tbsaunde
MozReview-Commit-ID: GQ1LxCwtv3j
2017-01-24 09:45:25 -05:00
Yura Zenevich
03f24f75c7 Bug 1332444 - adding comment when calling GetRemoteIAccessible. r=tbsaunde
MozReview-Commit-ID: 1GSNrmXuacw
2017-01-24 09:34:09 -05:00
Yura Zenevich
352d267cbb Bug 1332444 - only call GetRemoteIAccessible on non-proxies that have a child id pointing in content documents. r=tbsaunde
MozReview-Commit-ID: 6GUitjnFaiF
2017-01-24 09:25:21 -05:00
Trevor Saunders
b09bcb000f bug 1324863 - paper over null parent proxy accessible r=davidb 2017-01-23 17:08:16 -05:00
Nathan Froyd
cc58e177e9 Bug 1333097 - remove kAutoDetect usage from XULMenuItemAccessible; r=bz
Instead of requiring nsString to determine the radix that we're using,
we'll just try all the cases in sequence and take the first one that
works.
2017-01-23 16:29:57 -05:00
Trevor Saunders
4243b4e6de bug 1322593 - add test for multiple independent text changes under the same accessible r=yzen 2017-01-23 16:08:30 -05:00
Trevor Saunders
8c59d84742 bug 1322593 - test that unrelated text change events are not coalesced r=yzen 2017-01-23 16:08:30 -05:00
Trevor Saunders
4a00da9dfd bug 1322593 - allow asynchronous checking of text change events r=yzen
This allows us to check for multiple text change events that could come in any
order.
2017-01-23 16:08:30 -05:00
Trevor Saunders
c62d07b686 bug 1322593 - don't coalesce non contiguous text changes under the same accessible r=davidb 2017-01-23 16:08:29 -05:00
Trevor Saunders
44d07a4cfc bug 1322593 - avoid merging text change events for unrelated accessibles r=davidb 2017-01-23 16:08:29 -05:00
Trevor Saunders
0d5925b408 bug 1332690 - return failure from DocAccessibleParent::RecvShow() when appropriate r=yzen 2017-01-23 11:09:39 -05:00
Yura Zenevich
706dc45dd8 Bug 1322593 - add match function for text change checker to stricten match based on modified text. r=tbsaunde
MozReview-Commit-ID: 44LEulhW671
2017-01-20 22:07:32 -05:00
Alexander Surkov
c5f506fd9b Bug 1331269 - Assertion failure: aChild->Parent() == mParent, r=eitan 2017-01-20 11:59:52 -05:00
Trevor Saunders
4fca25988e bug 1240893 - ensure accessibles are shutdown before their document r=davidb, smaug 2017-01-19 17:18:39 -05:00
Carsten "Tomcat" Book
709bd29d0a merge mozilla-inbound to mozilla-central a=merge 2017-01-19 16:05:22 +01:00
Michelangelo De Simone
7baf165ae7 Bug 1313155 - Remove dom/settings and related code. r=Ehsan
MozReview-Commit-ID: Gi7frPFQ6yW

--HG--
extra : rebase_source : 69bb31fe3bc96ca460f0e35abb0b0f82d03defb6
2016-12-29 11:26:49 -08:00
Trevor Saunders
71398a8500 bug 1331255 - annotate some IPC failure conditions r=eeejay 2017-01-18 16:09:45 -05:00
Trevor Saunders
bd2c1d2fdb bug 1325834 - fixup windows bustage landed on a CLOSED TREE 2017-01-17 15:48:51 -05:00
Trevor Saunders
6798a4c8ce bug 1325834 - create the DocAccessibleChild in DocAccessible::DoInitialUpdate() r=davidb
It seems likely that some documents are created in content processes without
  a DocAccessibleChild actor because there is no docshell or tabchild
  associated with the document.  However DocAccessible::DoInitialUpdate()
  already calls functions that assume the document is associated with a
  docshell.  So hopefully trying to create the child actor there will mean it
  is more successful.
2017-01-17 15:20:32 -05:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Trevor Saunders
3be357c7ba bug 1330730 - make sure mAccessibles and mChildDocs are cleared by DocAccessibleparent::Destroy() r=davidb
This shouldn't be necessary because shutting down all the proxies and child
  documents should already do it, but we might as well be sure.
2017-01-16 17:18:52 -05:00
Trevor Saunders
24d013e645 bug 1330730 - ignore events delivered to a destroyed DocAccessibleParent r=smaug
After bug 1329814 a DocAccessibleParent can be shutdown by the parent process
before a content process has started shutting down the document that
DocAccessibleParent represents.  That means the content processcan send an
event from a live document to a DocAccessibleParent that has already been
destroyed.
2017-01-16 17:18:52 -05:00
Trevor Saunders
1697309ff6 bug 1331286 - remove accessibility.ipc_architecture_enabled pref r=davidb 2017-01-16 14:13:34 -05:00
Trevor Saunders
235c3677ff bug 1329814 - fix race condition when shutting down a tab r=smaug
When TabChild recieves the Destroy message from its parent the doc accessibles
for that tab are shut down.  However if the Shutdown message sent by
DocAccessible::Shutdown() isn't recieved before the child process handles the
runnable that sends __delete__ to the tab parent actor the parent can send a
message to the already shut down doc accessible child actor.
2017-01-12 05:19:36 -05:00
Masatoshi Kimura
6d14303fe1 Bug 1149966 - Remove enablePrivilege calls from remaining mochitest. r=jmaher
MozReview-Commit-ID: D7KglhS4PCw

--HG--
extra : rebase_source : 405e747a2edac8714f4f90ccab8c0960e25fd0ea
extra : source : d5d6a19c81306edfaaf3e836c990bb40923623f4
2016-12-05 01:23:40 +09:00
Carsten "Tomcat" Book
58249e3bf0 Backed out changeset 18151dec259d (bug 1184217) for causing bug 1329644 2017-01-10 16:55:37 +01:00
Phil Ringnalda
0413b8e93a Merge m-c to m-i
MozReview-Commit-ID: FYrJUOb5Llp
2017-01-09 18:48:50 -08:00
Phil Ringnalda
225ab0637e Backed out changeset 27f8d8e9c4dc (bug 1149966) for frequent timeouts in test_form_submission.html
MozReview-Commit-ID: K5mb2MCCiGx
2017-01-09 18:42:17 -08:00
Wes Kocher
105aea2522 Merge m-c to inbound a=merge
MozReview-Commit-ID: G24aq5fbYNd
2017-01-09 16:44:58 -08:00
Wes Kocher
4f9d590133 Merge inbound to central, a=merge
MozReview-Commit-ID: 6jzg7wfFO2l
2017-01-09 16:34:44 -08:00
Jean-Luc Bonnafoux
05deb31a6e Bug 752823 - Turn nsHTMLLiAccessible::mBullet into raw pointer. r=surkov 2017-01-02 20:41:50 +01:00
Trevor Saunders
971e419e21 bug 1184217 - make CheckDocTree check the entire document tree not just the subtree r=davidb 2017-01-08 17:30:54 -05:00
Masatoshi Kimura
4218f827c0 Bug 1149966 - Remove enablePrivilege calls from remaining mochitest. r=jmaher
MozReview-Commit-ID: D7KglhS4PCw

--HG--
extra : rebase_source : 4d0f848ea393a3db7e82d0e07700fe626e7caa49
extra : source : d5d6a19c81306edfaaf3e836c990bb40923623f4
2016-12-05 01:23:40 +09:00
Trevor Saunders
99e6f48f16 bug 1325258 - make some asserts diagnostic asserts to investigate crashes 2017-01-06 15:29:06 -05:00
Joel Maher
332a9314bf Bug 1328356 - add BUG_COMPONENT to accessible/* files. r=davidb
MozReview-Commit-ID: F5J8pC97f8x
2017-01-06 11:33:44 -05:00
Cameron McCormack
babad063ff Bug 1328832 - Part 2: Rename mozFlushType to mozilla::FlushType and make it an enum class. r=bzbarsky
MozReview-Commit-ID: D3fIngSHSsl
2017-01-05 15:31:56 +08:00
Aaron Klotz
9d379dc100 Bug 1323055: Remove A11Y_TRYBLOCK_* from Windows a11y code; r=tbsaunde
MozReview-Commit-ID: L3BBWaz004h

--HG--
extra : rebase_source : 01d471a322285fb5984cd220c39d8c768af0456d
2016-12-20 13:41:24 -07:00
Yura Zenevich
4a9e23d316 Bug 1269369 - add support for GetID XPCOM method on Windows with e10s. r=tbsaunde
MozReview-Commit-ID: KXhDeNW3Oaw
2017-01-09 14:52:51 -05:00
Trevor Saunders
2bc78b9768 bug 1301148 - implement anchor at for windows r=aklotz 2017-01-05 10:48:10 -05:00
Trevor Saunders
0ec84956f2 bug 1301148 - allow getting a proxy accessible from a com proxy r=aklotz 2017-01-05 10:48:10 -05:00
Trevor Saunders
70cc56383f bug 1301148 - implement anchor count for windows r=aklotz 2017-01-05 10:48:10 -05:00
Trevor Saunders
2952bb9ab3 bug 1301148 - add custom gecko interface r=aklotz, mshal 2017-01-05 10:48:09 -05:00
Trevor Saunders
1cdf6bbf9b bug 1301148 - implement easy parts of nsIAccessibleHyperlink r=aklotz 2017-01-05 10:48:09 -05:00
Tim Nguyen
d7db347638 Bug 1322938 - Basic implementation of HTMLDialogElement. r=smaug, masayuki
MozReview-Commit-ID: AU92mq2QZIc
2016-12-23 16:01:50 +01:00
Xidorn Quan
c26fcf05e4 Bug 1326209 part 2 - Change background-color to use complex color. r=dholbert
MozReview-Commit-ID: 1n3TC3CVY7U

--HG--
extra : rebase_source : 6b402a2493f58d114a9898a4d556587fdc98a9ee
2016-12-30 02:03:29 +11:00
Phil Ringnalda
934829ca2f Bug 1199631 - skip test_visibility.xul on ASan for frequent failures 2016-12-28 18:47:21 -08:00
Joel Maher
00c48338e5 Bug 1318569 - disable browser_treeupdate_imagemap.js on OSX e10s for high intermittent. r=gbrown
MozReview-Commit-ID: 8WM387rk7oZ
2016-12-28 16:29:47 -05:00
Wes Kocher
37e6ad7e9e Backed out 7 changesets (bug 1322938) for test_lowDiskSpace.html failures on android a=backout
Backed out changeset 1de6bfc4c973 (bug 1322938)
Backed out changeset 45b81607acd2 (bug 1322938)
Backed out changeset 2f3c2e660d28 (bug 1322938)
Backed out changeset d93937b3f80e (bug 1322938)
Backed out changeset 91c8b6d99e35 (bug 1322938)
Backed out changeset b6bdaf0dd932 (bug 1322938)
Backed out changeset 4b6ed4bb4263 (bug 1322938)
2016-12-23 20:55:55 -08:00
Tim Nguyen
c2ebb6b528 Bug 1322938 - Basic implementation of HTMLDialogElement. r=smaug, masayuki
MozReview-Commit-ID: AU92mq2QZIc
2016-12-23 16:01:50 +01:00
Wes Kocher
1e19e7e80a Backed out 6 changesets (bug 1322938) for android failures in test_lowDiskSpace.html CLOSED TREE a=backout
Backed out changeset 8d9ed256d618 (bug 1322938)
Backed out changeset 0d04a7f9567b (bug 1322938)
Backed out changeset f3bed08a1f6f (bug 1322938)
Backed out changeset 2992c400da4d (bug 1322938)
Backed out changeset cf6c65628dd0 (bug 1322938)
Backed out changeset 4c88ef02c5d4 (bug 1322938)
2016-12-23 13:40:26 -08:00
Alexander Surkov
578aab0857 Bug 1325160 - implement AOM attributes, r=smaug 2016-12-23 14:36:55 -05:00
Tim Nguyen
53316683b8 Bug 1322938 - Basic implementation of HTMLDialogElement. r=smaug, masayuki
MozReview-Commit-ID: AU92mq2QZIc
2016-12-23 16:01:50 +01:00
Carsten "Tomcat" Book
0aed7a4ac5 Merge mozilla-central to mozilla-inbound
--HG--
rename : testing/docker/base-build/HASH => taskcluster/docker/base-build/HASH
rename : testing/docker/base-test/HASH => taskcluster/docker/base-test/HASH
rename : testing/docker/centos6-build-upd/HASH => taskcluster/docker/centos6-build-upd/HASH
rename : testing/docker/centos6-build/HASH => taskcluster/docker/centos6-build/HASH
rename : testing/docker/decision/HASH => taskcluster/docker/decision/HASH
rename : testing/docker/image_builder/HASH => taskcluster/docker/image_builder/HASH
rename : testing/docker/recipes/tooltool.py => taskcluster/docker/recipes/tooltool.py
rename : testing/docker/tester/HASH => taskcluster/docker/tester/HASH
2016-12-22 16:25:35 +01:00
Alexander Surkov
cfe1683646 Bug 1324891 - add AOM has() method, r=smaug 2016-12-22 07:47:49 -05:00
Ting-Yu Chou
80a9198b29 Bug 1322465 part 1 - Use explicit/MOZ_IMPLICIT for the unary constructors in accessible/. r=Ehsan
MozReview-Commit-ID: ItoYyiF1Vjo

--HG--
extra : rebase_source : ddfe5a07cc47595ec6b20a07ea2be78a0c3da7eb
2016-12-16 15:43:21 +08:00
Ting-Yu Chou
76cef3b73d Bug 1322460 - Don't addref/release on the return value of prohibited functions. r=aklotz,Ehsan
MozReview-Commit-ID: B0mAMZp5sll

--HG--
extra : rebase_source : fb5e25352089e26172189b9c4f2be8c5553fa5a8
2016-12-14 14:34:26 +08:00
Jessica Jong
556aae19f0 Bug 1286182 - Implement the layout for <input type=date>. r=mconley,smaug
--HG--
rename : dom/html/test/forms/test_input_time_focus_blur_events.html => dom/html/test/forms/test_input_datetime_focus_blur_events.html
2016-12-19 00:50:00 +08:00
Yura Zenevich
b892b168cf Bug 1206711 - always use DocAccessibleWrap to get native window. r=tbsaunde
MozReview-Commit-ID: 781YRcZdFWa
2016-12-19 17:31:50 -05:00
Aaron Klotz
0f16e8d38d Bug 1323996: Make PDocAccessible.ipdl import IAccessibleHolder from IPCTypes.h to fix --disable-accessibility build failures; r=tbsaunde
MozReview-Commit-ID: JYD3lMmdlyc
2016-12-16 12:23:31 -07:00
Robert Longson
1bae76206e Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
--HG--
rename : dom/svg/nsSVGPathGeometryElement.cpp => dom/svg/SVGGeometryElement.cpp
rename : dom/svg/nsSVGPathGeometryElement.h => dom/svg/SVGGeometryElement.h
rename : dom/svg/nsSVGPolyElement.cpp => dom/svg/SVGPolyElement.cpp
rename : dom/svg/nsSVGPolyElement.h => dom/svg/SVGPolyElement.h
rename : layout/svg/nsSVGPathGeometryFrame.cpp => layout/svg/SVGGeometryFrame.cpp
rename : layout/svg/nsSVGPathGeometryFrame.h => layout/svg/SVGGeometryFrame.h
2016-12-18 11:11:47 +00:00
Sebastian Hengst
cdeb642a1b Backed out changeset 0b44e8715bf5 (bug 1239100) for build bustage (SVGGeometryElement.webidl missing). r=backout
--HG--
rename : dom/svg/SVGGeometryElement.cpp => dom/svg/nsSVGPathGeometryElement.cpp
rename : dom/svg/SVGGeometryElement.h => dom/svg/nsSVGPathGeometryElement.h
rename : dom/svg/SVGPolyElement.cpp => dom/svg/nsSVGPolyElement.cpp
rename : dom/svg/SVGPolyElement.h => dom/svg/nsSVGPolyElement.h
rename : layout/svg/SVGGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/SVGGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
2016-12-18 11:42:51 +01:00
Robert Longson
783bfbb1e4 Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
--HG--
rename : dom/svg/nsSVGPathGeometryElement.cpp => dom/svg/SVGGeometryElement.cpp
rename : dom/svg/nsSVGPathGeometryElement.h => dom/svg/SVGGeometryElement.h
rename : dom/svg/nsSVGPolyElement.cpp => dom/svg/SVGPolyElement.cpp
rename : dom/svg/nsSVGPolyElement.h => dom/svg/SVGPolyElement.h
rename : layout/svg/nsSVGPathGeometryFrame.cpp => layout/svg/SVGGeometryFrame.cpp
rename : layout/svg/nsSVGPathGeometryFrame.h => layout/svg/SVGGeometryFrame.h
2016-12-18 09:54:02 +00:00
Aaron Klotz
1b06d6cc17 Bug 1321936: Check whether new child docs are defunct before doing IPC binding; r=tbsaunde
MozReview-Commit-ID: 2kX991JncyV
2016-12-02 12:33:01 -07:00
Trevor Saunders
fc68eda3fc bug 1324019 - remove TreeMutation::mEventTree field r=davidb
It causes warnings if the logging define is undefined as it is on aurora,
   because the field is then unused.  Since the only uses can easily be
   replaced with the mQueueEvents field we can just do that and remove the
   useless field.
2016-12-16 14:07:44 -05:00
Aaron Klotz
fd166cbe7a Bug 1314707: Replace PDocAccessible::SendCOMProxy with new parameter to PDocAccessibleConstructor and async RecvParentCOMProxy call in child. Sending of a11y events from child to parent is now deferred until DocAccessibleChild::RecvParentCOMProxy is called; r=tbsaunde
MozReview-Commit-ID: DjxSfLJQtTu

--HG--
extra : rebase_source : d0f1ff1d22df003bc87968e1991eb08eeb977d85
2016-12-01 16:28:54 -07:00
Aaron Klotz
2c794979ff Bug 1321935: Make ProxyAccessibleBase::SetChildDoc tolerate replacing one document with another, and add a new ClearChildDoc for removing that document; r=tbsaunde
MozReview-Commit-ID: 2GgiUPf4gi0
2016-12-02 14:50:00 -07:00
Alexander Surkov
ffa0b8c5dd Bug 1323449 - AOM .states may crash if not attached to internal object, r=smaug 2016-12-15 16:22:54 -05:00
Alexander Surkov
3aacbd7973 Bug 1323449 - implement is() method for testing boolean characteristics, r=smaug 2016-12-15 14:37:27 -05:00
Kan-Ru Chen
c649cfaa98 Bug 1319271 - Use actor's manager in case actor is already deleted (r=billm)
MozReview-Commit-ID: 3Dr2POjqNft
2016-12-13 16:46:33 -08:00
Alexander Surkov
6281dc2bac Bug 1313693 - implement iterable states, part2, r=smaug 2016-12-13 17:36:19 -05:00
Alexander Surkov
51f7b58749 Bug 1313693 - implement iterable states, part1 - add 64bit version of states stringifying, r=davidb 2016-12-13 14:00:16 -05:00
Jim Chen
e9532b9a3f Bug 1321418 - Use GekcoBundle events in GeckoApp/BrowserApp; r=snorp r=sebastian r=gbrown
Bug 1321418 - 1. Use GekcoBundle events in GeckoApp; r=snorp r=sebastian

Switch GeckoApp to using GeckoBundle events everywhere. UI or Gecko
events are used if the event requires the UI or Gecko thread,
respectively, and background events are used for all other events.

There are changes to some other Java classes, such as SnackbarBuilder
and GeckoAccessibility, due to the switch to GeckoBundle.

For "Snackbar:Show", we need the global EventDispatcher because the
event can be sent to both GeckoApp and GeckoPreferences. Howveer, we
only want one listener registered at the same time, so we register and
unregister in GeckoApp's and GeckoPreferences's onPause and onResume
methods.

Bug 1321418 - 2. Use appropriate JS EventDispatcher to send GeckoApp events; r=snorp r=sebastian

Change JS code that sends events to GeckoApp to use either the global
EventDispatcher or the per-window EventDispatcher.

"Session:StatePurged" is not used so it's removed. "Gecko:Ready" in
geckoview.js is not necessary because it's only used for GeckoApp, so
it's removed from geckoview.js.

Bug 1321418 - 3. Use GeckoBundle events in BrowserApp; r=snorp r=sebastian

Switch BrowserApp to using GeckoBundle events, in a similar vein as
GeckoApp. UI or Gecko events are used if the event handlers required UI
or Gecko thread, respectively, and background events are used for all
other events.

Some other Java classes also have to be modified as a result of
switching to GeckoBundle.

Bug 1321418 - 4. Use global EventDispatcher to send BrowserApp events; r=snorp r=sebastian

Change JS code that sends events to BrowserApp to use the global
EventDispatcher instead of "Messaging".

Bug 1321418 - 5. Update usages of events in tests; r=gbrown

Update cases where we use or wait for events in tests.
2016-12-09 12:32:45 -05:00
Dão Gottwald
f557cc7872 Bug 658467 - Fade out tab label on overflow instead of ellipsis. r=jaws ui-r=shorlander 2016-12-08 17:17:41 +01:00
Aaron Klotz
d2484c8f56 Bug 1320192: Ensure that we return a null native accessible if GetWindow(GW_CHILD) on a windowed plugin fails; r=tbsaunde
MozReview-Commit-ID: 1Fe8xwS3dWc
2016-12-07 09:37:36 -10:00
Aaron Klotz
0307053bdb Bug 1321622: Make DocAccessibleParent::Unbind delegate to DocAccessibleParent::RemoveChildDoc; r=tbsaunde
MozReview-Commit-ID: 4O3xJnPDpRB
2016-12-06 10:28:48 -10:00
Aaron Klotz
3358d07564 Bug 1319640: Make obtaining of plugin IAccessible go through Chrome process on Sandboxed builds; r=tbsaunde
MozReview-Commit-ID: DQnOwJ1VpYS
2016-12-03 16:07:24 -07:00
Aaron Klotz
06963d6828 Bug 1319640: Ensure that a11y::ChildrenEnumVariant does not output bad native accessible pointers; r=tbsaunde
MozReview-Commit-ID: l0RDW9zDOo
2016-12-03 15:42:21 -07:00
Carsten "Tomcat" Book
61849e269d merge mozilla-inbound to mozilla-central a=merge 2016-11-24 16:41:59 +01:00
Wes Kocher
b851c06cc9 Merge m-c to inbound, a=merge 2016-11-23 16:18:24 -08:00
Ting-Yu Lin
c9cfd878cb Bug 1317588 Part 2 - Remove mozilla::css::Side typedef. r=mats
This patch is written with the help of the following script.

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "css::Side" "Side"

MozReview-Commit-ID: DPV6vivpPUp

--HG--
extra : rebase_source : 9c4f66dc9d2b26c89a4517fba4ff9c5db413411b
2016-11-18 16:28:38 +08:00
Yura Zenevich
1a4a3a4e6c Bug 1312241 - do not run shutdown e10s specific tests on WinXP. r=surkov
MozReview-Commit-ID: Kqo8zcXWsX1
2016-11-23 11:18:04 -05:00
Yura Zenevich
80424f1513 Bug 1297474 - shutdown accessibility service only if there are no references to accessibles in JS. r=surkov
MozReview-Commit-ID: BTOuBQXA1Ly
2016-11-22 08:40:13 -05:00
Yura Zenevich
ce7f78c6af Bug 1297474 - clean up internal accessible when xpcAccessibleApplication is being destroyed. r=surkov
MozReview-Commit-ID: GuHEdhpJDx7
2016-11-22 08:40:12 -05:00
Phil Ringnalda
89e92b0c3b Merge m-c to autoland 2016-11-22 21:33:35 -08:00
Mike Hommey
d04ddd8b0e Bug 1319352 - Allow to run AccEventGen.py and xpild/header.py from any directory. r=mshal
--HG--
extra : rebase_source : 52c9ffea0628101ca651ca2fdad1ececbfeb8039
2016-11-22 17:05:49 +09:00
Mike Hommey
aa465311ee Bug 1319350 - Add dedicated targets for some one-offs in the build. r=mshal
--HG--
extra : rebase_source : 5094663983fbdf4c3f95b685945c6be4cf3b179e
2016-11-22 16:55:58 +09:00
Carsten "Tomcat" Book
a6b76e9898 Backed out changeset e79129082f4a (bug 1297474) for crashes in m-oth windows tests 2016-11-21 10:33:49 +01:00
Phil Ringnalda
ae361307c7 Merge m-c to autoland 2016-11-17 20:11:25 -08:00
Trevor Saunders
7d66f4a29e bug 1270916 - enable the browser tests that were disabled for e10s r=davidb
Now that these pass we can reenable them.
2016-11-17 10:34:19 -05:00
Neil Deakin
74aa0c0079 Bug 1313131, don't wrap when using cursor navigation in menus onr dropdowns on Mac, or dropdowns on Windows, r=ksteuber 2016-11-17 09:56:43 -05:00
Carsten "Tomcat" Book
8a5fc639cc Backed out changeset 4ed7a34ea7ab (bug 1313131) 2016-11-17 15:42:45 +01:00
Neil Deakin
3982f6a6c1 Bug 1313131, don't wrap when using cursor navigation in menus onr dropdowns on Mac, or dropdowns on Windows, r=ksteuber 2016-11-17 09:28:27 -05:00
Ray Lin
1bd816d4fd Bug 1271765 - Part 3. Update tests for video control visual refresh. r=jaws
MozReview-Commit-ID: 24GoxgtN0Bo

--HG--
extra : rebase_source : 77f7a196f55b1a2327985cd31b74fa3eb828d1c0
2016-11-09 16:47:29 +08:00
Trevor Saunders
e4892518b5 bug 1270916 - switch to use the new mutation event queue system r=davidb
This puts events in the queue instead of the event tree, and then fires them
based on the queue.  Some tests need to be adjusted to make sure they check
constraints on event order correctly.
2016-11-16 23:47:02 -05:00
Trevor Saunders
ea6ea16d57 bug 1270916 - use accessible->IndexInParent() in DocAccessibleChildBase::ShowEvent() r=davidb
Since we will fire events in the correct order we can use the index of the
event target at the time the event is fired.  This protects from weird cases
where the target is inserted, and then children before the target are removed.
2016-11-16 23:47:01 -05:00
Trevor Saunders
44c897cc27 bug 1270916 - call CreateSubtree() before firing a show event for the tree root
r=davidb

This ensures that if creating the sub tree creates events to fire they will go
before the show event for the root of the tree.  It is fine to fire show events
for the subtree before the root because they will just get coalesced away
anyway.  However it is important that any hide events come before the hidden
subtree appears in the new tree.
2016-11-16 23:46:59 -05:00
Trevor Saunders
ac89878cfd bug 1270916 - add methods to maintain a queue of mutation events to coalesce or fire r=davidb
Mutation events are kept in a queue before firing.   The queue is only
coalesced when necessary, at present this is when queueing a hide event, or
just before firing all the events.  It may be possible to do without the
former, but that is left as future work.  The state of what types of events an
accessible is a target of is stored in the accessible.  Combining that with a
map from accessible and type pairs to events we can quickly remove unnecessary
events from the queue when we need to coalesce.
2016-11-16 23:46:58 -05:00
Trevor Saunders
f1579f1ed3 bug 1270916 - add a map from accessible and event type to an event r=davidb 2016-11-16 23:46:57 -05:00
Trevor Saunders
e69fdecf74 bug 1270916 - allow tracking when a mutation event was fired relative to other mutation events r=davidb 2016-11-16 23:46:55 -05:00
Trevor Saunders
fd3123c05c bug 1270916 - remove EventTree::{Shown,Hidden}() r=davidb
They are pretty useless wrappers, and in the future it will be useful to have
  access to the event object independent of the EventTree.
2016-11-16 23:46:54 -05:00
Trevor Saunders
bda8cb82b5 bug 1270916 - make TreeMutation track if it should be queueing events r=davidb
Soon we will want to know if events should be emitted independt of EventTrees.
2016-11-16 23:46:53 -05:00
Trevor Saunders
9211a3aa51 bug 1270916 - allow keeping AccTreeMutation in a list r=davidb
Soon we will use the list to track the order of the events.
2016-11-16 23:46:51 -05:00
Trevor Saunders
fe3457276d bug 1270916 - allow downcasting AccEvent to AccTreeMutationEvent r=davidb 2016-11-16 23:46:50 -05:00
Trevor Saunders
989676f381 bug 1270916 - add a common base class of AccMutationEvent and AccReorderEvent r=davidb
Soon we will want to operate on either a reorder event or a mutation event.
2016-11-16 23:46:49 -05:00
Trevor Saunders
98329c788d bug 1270916 - allow tracking in an accessible if it has a pending show / hide / reorder event r=davidb 2016-11-16 23:46:48 -05:00
Trevor Saunders
d3326c9273 bug 1316154 - workaround don't actually set the prototype of orderChecker 2016-11-16 23:46:46 -05:00
Wes Kocher
d8a0141e5f Backed out 12 changesets (bug 1270916) for a11y crashes a=backout CLOSED TREE
Backed out changeset 916cbaf21a63 (bug 1270916)
Backed out changeset 8ee47068d1fb (bug 1270916)
Backed out changeset 60189bf08272 (bug 1270916)
Backed out changeset 5ca49b5d1c51 (bug 1270916)
Backed out changeset b8ead1b86059 (bug 1270916)
Backed out changeset 034efc9a4408 (bug 1270916)
Backed out changeset a9d6410f068e (bug 1270916)
Backed out changeset eefa622b467a (bug 1270916)
Backed out changeset 91a8f65a69fe (bug 1270916)
Backed out changeset cd68b5fd88a6 (bug 1270916)
Backed out changeset 4c58195d6bcf (bug 1270916)
Backed out changeset 8e5f19f19b7f (bug 1270916)
2016-11-16 16:16:13 -08:00
Trevor Saunders
446c2b1395 bug 1270916 - switch to use the new mutation event queue system r=davidb
This puts events in the queue instead of the event tree, and then fires them
based on the queue.  Some tests need to be adjusted to make sure they check
constraints on event order correctly.
2016-11-16 18:15:23 -05:00
Trevor Saunders
4e7e9203c9 bug 1270916 - use accessible->IndexInParent() in DocAccessibleChildBase::ShowEvent() r=davidb
Since we will fire events in the correct order we can use the index of the
event target at the time the event is fired.  This protects from weird cases
where the target is inserted, and then children before the target are removed.
2016-11-16 18:15:23 -05:00
Trevor Saunders
74f239078f bug 1270916 - call CreateSubtree() before firing a show event for the tree root
r=davidb

This ensures that if creating the sub tree creates events to fire they will go
before the show event for the root of the tree.  It is fine to fire show events
for the subtree before the root because they will just get coalesced away
anyway.  However it is important that any hide events come before the hidden
subtree appears in the new tree.
2016-11-16 18:15:23 -05:00
Trevor Saunders
08b09942e6 bug 1270916 - add methods to maintain a queue of mutation events to coalesce or fire r=davidb
Mutation events are kept in a queue before firing.   The queue is only
coalesced when necessary, at present this is when queueing a hide event, or
just before firing all the events.  It may be possible to do without the
former, but that is left as future work.  The state of what types of events an
accessible is a target of is stored in the accessible.  Combining that with a
map from accessible and type pairs to events we can quickly remove unnecessary
events from the queue when we need to coalesce.
2016-11-16 18:15:22 -05:00
Trevor Saunders
c9fb6d5adf bug 1270916 - add a map from accessible and event type to an event r=davidb 2016-11-16 18:15:22 -05:00
Trevor Saunders
6da5ce0615 bug 1270916 - allow tracking when a mutation event was fired relative to other mutation events r=davidb 2016-11-16 18:15:22 -05:00
Trevor Saunders
670130a0f0 bug 1270916 - remove EventTree::{Shown,Hidden}() r=davidb
They are pretty useless wrappers, and in the future it will be useful to have
  access to the event object independent of the EventTree.
2016-11-16 18:15:22 -05:00
Trevor Saunders
a036d642ca bug 1270916 - make TreeMutation track if it should be queueing events r=davidb
Soon we will want to know if events should be emitted independt of EventTrees.
2016-11-16 18:15:21 -05:00
Trevor Saunders
93993116da bug 1270916 - allow keeping AccTreeMutation in a list r=davidb
Soon we will use the list to track the order of the events.
2016-11-16 18:15:21 -05:00
Trevor Saunders
8fa3c30672 bug 1270916 - allow downcasting AccEvent to AccTreeMutationEvent r=davidb 2016-11-16 18:15:21 -05:00
Trevor Saunders
45c050cef9 bug 1270916 - add a common base class of AccMutationEvent and AccReorderEvent r=davidb
Soon we will want to operate on either a reorder event or a mutation event.
2016-11-16 18:15:21 -05:00
Trevor Saunders
9b4d4eb7ea bug 1270916 - allow tracking in an accessible if it has a pending show / hide / reorder event r=davidb 2016-11-16 18:15:20 -05:00
Ehsan Akhgari
eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book
e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Carsten "Tomcat" Book
3eacc680db Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Wes Kocher
c2c5f83043 Backed out 3 changesets (bug 1271765) for win8 mochitest(5) failures a=backout
Backed out changeset 022a4a018996 (bug 1271765)
Backed out changeset 1d96f03289f8 (bug 1271765)
Backed out changeset 57317a080c99 (bug 1271765)
2016-11-15 10:50:59 -08:00
Kan-Ru Chen
f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Carsten "Tomcat" Book
f28942ae47 Merge mozilla-central to autoland 2016-11-15 12:34:47 +01:00
Ray Lin
756d5da9f8 Bug 1271765 - Part 3. Update tests for video control visual refresh. r=jaws
MozReview-Commit-ID: 24GoxgtN0Bo

--HG--
extra : rebase_source : 2ecc77eed9ff4ce6ca989a78b13d209bed356656
2016-11-09 16:47:29 +08:00
Iris Hsiao
957410f8c7 Backed out changeset 35ebbb5e0d02 (bug 1270916)
CLOSED TREE
2016-11-16 14:42:36 +08:00
Iris Hsiao
8fd24c6c80 Backed out changeset baca5dd6bab6 (bug 1270916)
CLOSED TREE
2016-11-16 14:42:28 +08:00
Iris Hsiao
46d7e7df33 Backed out changeset 2829bb27b8c4 (bug 1270916)
CLOSED TREE
2016-11-16 14:42:19 +08:00
Iris Hsiao
4df0101d09 Backed out changeset 10d579e5dec1 (bug 1270916)
CLOSED TREE
2016-11-16 14:42:12 +08:00
Iris Hsiao
329315ce1c Backed out changeset 9b27e6ae9481 (bug 1270916)
CLOSED TREE
2016-11-16 14:42:04 +08:00
Iris Hsiao
bd104a765a Backed out changeset b2694ad14de7 (bug 1270916)
CLOSED TREE
2016-11-16 14:41:57 +08:00
Iris Hsiao
ed1e0e8eed Backed out changeset 074b41be0f3e (bug 1270916) for bustage
CLOSED TREE
2016-11-16 14:41:51 +08:00
Trevor Saunders
bffaebfaf0 bug 1270916 - add a map from accessible and event type to an event r=davidb 2016-11-16 01:17:40 -05:00
Trevor Saunders
71e552a505 bug 1270916 - allow tracking when a mutation event was fired relative to other mutation events r=davidb 2016-11-16 01:17:39 -05:00
Trevor Saunders
4132846d4c bug 1270916 - make TreeMutation track if it should be queueing events r=davidb
Soon we will want to know if events should be emitted independt of EventTrees.
2016-11-16 01:17:39 -05:00
Trevor Saunders
66d77d2688 bug 1270916 - allow keeping AccTreeMutation in a list r=davidb
Soon we will use the list to track the order of the events.
2016-11-16 01:17:39 -05:00
Trevor Saunders
3905cc5def bug 1270916 - allow downcasting AccEvent to AccTreeMutationEvent r=davidb 2016-11-16 01:17:39 -05:00
Trevor Saunders
001e173dfa bug 1270916 - add a common base class of AccMutationEvent and AccReorderEvent r=davidb
Soon we will want to operate on either a reorder event or a mutation event.
2016-11-16 01:17:39 -05:00
Trevor Saunders
3fa4f2d492 bug 1270916 - allow tracking in an accessible if it has a pending show / hide / reorder event r=davidb 2016-11-16 01:17:38 -05:00
Trevor Saunders
f3849011fc bug 1316163 - remove eCoalesceMutationTextChange event rule r=davidb
The only difference between it and eCoalesceReorder is that for
eCoalesceReorder we assert the target is one of a outer doc, application
accessible or xul tree.  However we never put events that have
eCoalesceMutationTextChange as there event rule in the queue, so there is no
reason for separate event rules, and we can remove eCoalesceMutationTextChange
and check that queued eCoalesceReorder events are in fact reorder events.
2016-11-15 22:07:39 -05:00
Ehsan Akhgari
cb369370b3 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Trevor Saunders
4dad35bd60 bug 1316154 - allow testing that an async event comes before or after other events r=yzen
There are cases where we want to test for several events, and while several
 may have a correct ordering some of the events can be fired in different
 orders WRT some but not all other events.  The only purpose of the
 orderChecker is to force that all preceeding checkers succeed before allowing
 any following checkers to match.
2016-11-15 16:22:20 -05:00
Trevor Saunders
85af4870f3 bug 1316789 - UncacheChildren should not go between documents r=davidb 2016-11-15 16:22:20 -05:00
Boris Zbarsky
62e08b6904 Bug 1317367 part 4. Pass an explicit CallerType to HTMLInputElement::GetValueInternal. r=smaug
I'm not 100% sure that I'm being very consistent in my handling of
mFocusedValue, but since that's not used for file inputs, I don't think it
matters much...

A bigger problem is if people start using this caller type for things other than
file inputs.
2016-11-15 12:46:32 -05:00
Boris Zbarsky
dd2655ba39 Bug 1316661 part 3. Eliminate IsCallerChrome callers in nsGenericHTMLElement. r=smaug
The only nsGenericHTMLElement::GetEditor callers are
HTMLInputElement::GetEditor/HTMLTextareaElement::GetEditor (the XPCOM-y
versions), which are only called from C++ and only from two places: a11y code,
which forces itself to look like system, and typeaheadfind, which would break
badly if it could not get an editor.  So that security check simply shouldn't
exist.

The script API doesn't call down into here _and_ is [ChromeOnly] in the webidl
already.
2016-11-15 00:18:33 -05:00
Carsten "Tomcat" Book
cc5d30c616 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 658b3ffdfa71afff2d44129f50e50e2fbecbd06e
2016-11-11 16:43:07 +01:00
Carsten "Tomcat" Book
f93282b491 Merge mozilla-central to mozilla-inbound 2016-11-10 17:08:43 +01:00
Jonathan Kingston
6f2e2fd1b5 Bug 1272256 - Add a longpress menu to the new tab button for containers. r=dao, r=Gijs
MozReview-Commit-ID: 3GM15cnuQGA

--HG--
extra : rebase_source : 160c4a1c25be9960edfdc8b7e48b1aa8dc53c9dc
2016-09-12 18:25:59 +01:00
Phil Ringnalda
fdc221b30f Backed out changeset 43835f5fa2b2 (bug 1314707) for crashes @ mozilla::a11y::ProxyDestroyed
MozReview-Commit-ID: 9jIOao58gMQ
2016-11-09 19:33:25 -08:00
Aaron Klotz
37a3b973b9 Bug 1314707: Replace PDocAccessible::SendCOMProxy with new parameter to PDocAccessibleConstructor and async RecvParentCOMProxy call in child. Sending of a11y events from child to parent is now deferred until DocAccessibleChild::RecvParentCOMProxy is called; r=tbsaunde
--HG--
extra : amend_source : 59d080ee7370d62211d7c9f8ca5ef17870bfe500
2016-11-09 15:24:58 -07:00
Carsten "Tomcat" Book
846adaea6c merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Jared Wein
5bb7b57b66 Bug 1316096 - Change eslint configuration to use string values for rules instead of integers, making it easier for others who are reading the rules to know if a rule is set to off, warn, or error. r=mossop
MozReview-Commit-ID: 2Xuj5nxuQdO

--HG--
extra : rebase_source : fab5c4903b47d48080ff3c07825440e12f718698
2016-11-08 15:14:19 -05:00
Aaron Klotz
37958a0e3b Bug 1316118: Remove need for ia2_api_all.idl; r=surkov
MozReview-Commit-ID: EBAz0MQXmJq

--HG--
extra : rebase_source : 7d4f57237187d181fe82262b4707cff3f4358306
2016-11-09 12:56:23 -07:00
Aaron Klotz
31db1f008a Bug 1315638: Modify MainThreadHandoff::FixArrayElements to be able to distinguish between outparams with different levels of indirection; r=jimm
MozReview-Commit-ID: HZgED9JT16m

--HG--
extra : rebase_source : 3b147251d55229aa5722d9f9ec6a9ad832a83c87
2016-11-07 16:04:06 -07:00
Phil Ringnalda
7c7dd328d1 Backed out 3 changesets (bug 1271765) for -Werror bustage
CLOSED TREE

Backed out changeset 235ea1c681db (bug 1271765)
Backed out changeset 02d34b18d76b (bug 1271765)
Backed out changeset 088113647629 (bug 1271765)
2016-11-07 18:51:18 -08:00
Ray Lin
b77fabd785 Bug 1271765 - Part 3. Update tests for video control visual refresh. r=jaws
MozReview-Commit-ID: 24GoxgtN0Bo

--HG--
extra : rebase_source : f9d264f12d03e369135f38ca93f355074ac6f2cc
2016-10-12 13:44:30 +08:00
Carsten "Tomcat" Book
a4d6240b83 Backed out changeset e00ed3bd29f9 (bug 1272256) fix eslint issues 2016-11-04 11:53:06 +01:00
Jonathan Kingston
7a9ade6c38 Bug 1272256 - Adding a longpress menu to the new tab button for containers because innocent of Bustage on a CLOSED TREE. r=dao
MozReview-Commit-ID: 3GM15cnuQGA
2016-09-12 18:25:59 +01:00
Carsten "Tomcat" Book
1eb96f0f30 Backed out changeset f19157ac2e48 (bug 1272256) for possibly causing timeouts on trunk trees on a CLOSED TREE 2016-11-04 09:15:03 +01:00
Jonathan Kingston
ac78554a1e Bug 1272256 - Adding a longpress menu to the new tab button for containers. r=dao
MozReview-Commit-ID: 3GM15cnuQGA
2016-09-12 18:25:59 +01:00
Carsten "Tomcat" Book
780e21d615 Backed out changeset 309e32ebbc3a (bug 1272256) for eslint failure 2016-11-03 09:15:25 +01:00
Jonathan Kingston
d8bcf33598 Bug 1272256 - Adding a longpress menu to the new tab button for containers. r=dao
MozReview-Commit-ID: 3GM15cnuQGA
2016-09-12 18:25:59 +01:00
Wes Kocher
df5dbf81cc Merge central to inbound a=merge 2016-11-02 17:31:08 -07:00
Chris Manchester
61aedfd2ef Bug 1303533 - Don't traverse accessible/ipc/win/typelib during Artifact builds. r=mshal
MozReview-Commit-ID: Clxfj8h8ZRT

--HG--
extra : rebase_source : 4d197e629b942d749e9d47fc0bf186d666140f9e
2016-11-01 22:45:35 -07:00
Aaron Klotz
bd172d7c8a Bug 1312046: Add check for null COM proxy to GetProxiedAccessibleInSubtree; r=tbsaunde
MozReview-Commit-ID: 3z7OcBPPrK5
2016-11-01 16:26:25 -06:00
Yura Zenevich
05223b604a Bug 1297474 - shutdown accessibility service only if there are no references to accessibles in JS. r=surkov
MozReview-Commit-ID: BTOuBQXA1Ly
2016-11-20 00:45:57 -05:00
Sebastian Hengst
419bb7944c Backed out changeset 48ac718556a0 (bug 1297474) for crash in Marionette test test_switch_remote_frame.py TestSwitchRemoteFrame.test_remote_frame_revisit. r=backout 2016-11-19 09:25:27 +01:00
Yura Zenevich
b2b4d318c0 Bug 1297474 - shutdown accessibility service only if there are no references to accessibles in JS. r=surkov
MozReview-Commit-ID: BTOuBQXA1Ly
2016-11-18 23:35:25 -05:00
Trevor Saunders
ae0d5b0f94 bug 1315985 - actually expose the atk table cell interface when appropriate r=davidb 2016-11-08 14:58:20 -05:00
Mark Banner
f7fca8642f Bug 1240165 - Expand the eslint rule 'mark-test-function-used' to cover xpcshell tests as well as gecko tests and apply to the whole tree. r=miker
MozReview-Commit-ID: FlbJ8yzWXlw

--HG--
extra : rebase_source : 3f9a2997b36ef8f019e38e4af61a0c44e0e7283c
2016-10-26 09:46:40 +01:00
Blake Kaplan
772df74cc1 Bug 1307645 - Avoid this logging call when running mochitests to fix an intermittent orange. r=tbsaunde
MozReview-Commit-ID: BWdrTM2JdZs

--HG--
extra : rebase_source : 29b05a98557789a61b91ac27829ac84fe8add760
2016-10-19 17:44:04 -07:00
Michael Li
fdb96b726d bug 1303447 - implement text interface methods for the windows ProxyAccessible r=aklotz 2016-10-27 18:11:55 -04:00
Michael Li
4560f258dd bug 1303133 - Implement ia2AccessibleValue methods in ProxyAccessible for Windows. r=aklotz 2016-10-27 18:11:54 -04:00
Trevor Saunders
341a7c5880 bug 1313376 - reinstall the key event snooper when necessary r=davidb
If we unregister the last key event listener we will uninstall the key event
snooper, so we need to reinstall it when a new key event listener is added.
2016-10-27 18:11:54 -04:00
Trevor Saunders
f246f5178e bug 1313272 - correctly return the result of ia2AccessibleHyperlink::get_anchor() r=aklotz 2016-10-27 18:11:54 -04:00
Aaron Klotz
7689dc3caa Bug 1310833: Make nsAccessibilityService synchronously query for its MSAA content process ID if the ID is not yet present; r=tbsaunde
MozReview-Commit-ID: 9qZNzmwlBNC

--HG--
extra : rebase_source : c9135cb54dd223aef28189957701199f17d63e46
2016-10-27 12:40:50 -06:00
Aaron Klotz
e97105dc3a Bug 1310833: Modify PContentParent::SendActivateA11y to accept the content process's MSAA ID as a parameter; r=tbsaunde
MozReview-Commit-ID: DCnYvWQRA5W

--HG--
extra : rebase_source : 7f1ebc6d4aabdaec3ea51421c26621f90c8e61e6
2016-10-20 12:34:16 -06:00
Aaron Klotz
e6b863ac53 Bug 1309236: Move setting of MSAA ID to PDocAccessibleConstructor; r=tbsaunde
MozReview-Commit-ID: D5iFud9DiEh

--HG--
extra : rebase_source : d1a1ec17258e9be8023dd730593745d32a96cc0f
2016-10-27 13:16:24 -06:00
Phil Ringnalda
435a27119b Merge m-c to m-i
MozReview-Commit-ID: 8nqgw9Q3gSY
2016-10-25 22:07:07 -07:00
Aaron Klotz
938166ed49 Bug 1310841: Make mscom registration use CoGetClassObject so that COM will retain a reference to the proxy dll; r=jimm
MozReview-Commit-ID: GZxbLCC6gVi

--HG--
extra : amend_source : 3cee23be271cfd35860869bd9446a3c95aaa4945
extra : histedit_source : 25a8893fff465ffc50dc95c2a8a5f011f0fd381f
2016-10-25 15:04:47 -06:00
Alexander Surkov
4657cb7a0f Bug 1310794 - implement aria-details and aria-errormessage, r=davidb 2016-10-25 13:51:27 -04:00
Nathan Froyd
73e4d1a828 Bug 1312543 - remove bogus comparison in ia2Accessible.cpp; r=surkov
This comparison is confused, as aNRanges is an out argument; we only
care about non-nullness of the pointer.  Additionally, recent versions
of clang consider non-equality comparisons with pointer types an
error.

MozReview-Commit-ID: 8lXeCwP6Lz6

--HG--
extra : rebase_source : 5da6ac9455f6f69fc8137674568c8a90092b6f2d
2016-10-25 10:26:31 -04:00
Wes Kocher
2fd19a58c6 Backed out changeset 069958e96c3d (bug 1310833) for Windows VM mn-e10s bustage a=backout 2016-10-20 16:34:52 -07:00
Jared Wein
06d031070b Bug 1316135 - Convert eslint warnings to errors under /accessible. r=standard8
MozReview-Commit-ID: KDJ195PX3h4

--HG--
extra : rebase_source : 9ea473b0987146d7b60b84e68729fbfac92fa54e
2016-11-09 22:57:11 -05:00
Boris Zbarsky
588a38e713 Bug 1222516 part 2. Add a window API for opening a window passing through a boolean indicating that no opener should be set on the result. r=mconley 2016-10-20 16:52:38 -04:00
Boris Zbarsky
c2d8d70720 Bug 1222516 part 1. Add a window API for opening a window with navigation and a given docshell loadinfo to use for the navigation. r=mconley
This will be used to pass through information like the triggering principal and
whatnot, as well as the boolean for not sending a referrer, for rel=noreferrer
links.
2016-10-20 16:52:38 -04:00
Aaron Klotz
40b7b97fd0 Bug 1310833: Modify PContentParent::SendActivateA11y to accept the content process's MSAA ID as a parameter; r=tbsaunde
MozReview-Commit-ID: 9OIpO0G0Q7j
2016-10-20 12:34:16 -06:00
Alexander Surkov
06e89f7f59 Bug 1324460 - implement AOM get() method, r=smaug 2016-12-21 13:04:49 -05:00
Sebastian Hengst
9bc6c5c04d Backed out changeset d426fe6431f0 (bug 1324460) for failure of test aom/test_general.html on first push after it landed. r=backout 2016-12-20 23:50:38 +01:00
Alexander Surkov
ad56c994fa Bug 1324460 - implement AOM get() method, r=smaug 2016-12-20 16:45:57 -05:00
Phil Ringnalda
8377010e6a Merge m-c to m-i
MozReview-Commit-ID: Ihd0iacfcIW

--HG--
rename : devtools/.eslintrc => devtools/.eslintrc.js
2016-10-18 19:45:02 -07:00
Carsten "Tomcat" Book
2a3218cb9a Merge mozilla-central to autoland 2016-10-18 10:45:57 +02:00