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

399 Коммитов

Автор SHA1 Сообщение Дата
Brian Birtles 33041d1214 Bug 1315874 - Drop 'ForElement' from GetStyleContextForElementXXX methods; r=heycam
In the next patch we want to add a method called
GetUnanimatedStyleContextForElementNoFlush but that's much too long. Instead it
seems better to just drop 'ForElement' from all these methods since it should be
fairly obvious we are getting the style context for an element given that the
first argument is an element.

MozReview-Commit-ID: JQKaEuCKV2F

--HG--
extra : rebase_source : 3ba51f3b00d1ec7bc91102629d9c0abb88992fef
2017-04-05 14:39:23 +09:00
Paul Bignier ff2e59d1cd Bug 1352802 - Typo fixes around 'accessible'. r=MattN
MozReview-Commit-ID: 27CyNOMXkRq

--HG--
extra : rebase_source : 30e8891fa40cb497ab695e72b179c850a3a5c8d9
2017-04-03 09:47:00 -07:00
David Parks 55dc6b7f68 Bug 1332690 - Assign Managers to DocAccessibleChilds. r=tbsaunde
The Manager is set by IPDL for remotely constructed objects but our DocAccessibleChilds are created on the child process side, so we need to assign a manager in the constructor so that we can find it when needed.

--HG--
extra : rebase_source : 8bf76534860ed73fbdc71df494130f6028400fa3
2017-03-27 10:03:43 -07:00
Alexander Surkov 1309e3f824 Bug 1330484 - crash in NotificationController::WillRefresh, r=yzen 2017-03-23 13:59:16 -04:00
Alexander Surkov 7d7b3c1dbe Bug 1346518 - extend Accessible::RemoveChild debugging assertions, part2, r=yzen 2017-03-22 18:31:18 -04:00
Jeff Muizelaar 49eb5ba0b6 Bug 1285533. Remove non-fontconfig platform fontlist codepath. r=lsalzman
This has been disabled for two years. It's time for it to die.
2017-03-22 14:58:19 -04:00
Alexander Surkov c9ee99780d Bug 1347667 - unlink accessible's parent before accessible's shutdown when document shutdowns, r=yzen 2017-03-20 09:42:39 -04:00
Trevor Saunders f0cd2a2c68 bug 1346439 - fixup linked list manipulation in CoalesceMutationEvents() r=davidb
Its possible to coalesce away events such that the first two events in the
  queue are reorder events where the second reorder can be coalesced with the
  first.  In that case there's no point in shuffling the list before removing
  the second reorder event.
2017-03-17 14:03:44 -04:00
Alexander Surkov a7177b01b4 Bug 1342433 - onclick changes shouldn't recreate the tree, r=yzen 2017-03-15 15:19:26 -04:00
Sebastian Hengst 05e20910fa Backed out changeset 7c05090a2cd0 (bug 1342433) for failing browser_treeupdate_listener.js. r=backout 2017-03-15 19:11:12 +01:00
Alexander Surkov 34a4cbb7ac Bug 1342433 - don't recreate a tree on onclick changes, r=yzen 2017-03-14 14:29:08 -04:00
Mats Palmgren 6ef6efaea3 Bug 1340771 part 2 - Introduce a WeakFrame class for heap allocated weak frame pointers, stored in a hashtable for fast lookup. r=tn
* * *
Bug 1340771 part 3 - Change existing heap allocated AutoWeakFrame instances to use WeakFrame instead.  r=tn

MozReview-Commit-ID: GSuUiy98jBa
2017-03-01 18:03:14 +01:00
Mats Palmgren d13aaf9ce0 Bug 1340771 part 1 - Rename nsWeakFrame to AutoWeakFrame (automated change). r=tn
MozReview-Commit-ID: 8pl4nyeGEkr
2017-03-01 18:03:14 +01:00
Wes Kocher 2dcccc4332 Merge inbound to central, a=merge
MozReview-Commit-ID: 9bhCPrArK3P
2017-02-02 16:39:24 -08:00
Boris Zbarsky 1a543ff1ad Bug 835981 part 5. Change nsIDOMXULElement::GetBoxObject consumers to nsXULElement. r=peterv 2017-02-02 10:32:58 -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
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
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
Trevor Saunders 1697309ff6 bug 1331286 - remove accessibility.ipc_architecture_enabled pref r=davidb 2017-01-16 14:13:34 -05:00
Trevor Saunders 99e6f48f16 bug 1325258 - make some asserts diagnostic asserts to investigate crashes 2017-01-06 15:29:06 -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
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
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
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
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
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 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
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
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 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 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
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 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