Commit Graph

6214 Commits

Author SHA1 Message Date
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