Commit Graph

500547 Commits

Author SHA1 Message Date
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
Trevor Saunders
617126f910 bug 1316119 - add a GetOrInsert to nsBaseHashtable that returns a reference to the value r=froydnj
This intends to expose basically the same functionality as operator[] on
unordered_map.
2016-11-16 23:46:45 -05:00
Phil Ringnalda
62db1c9021 Mark 346774-1c.html as fuzzy as well, similar to the other reftests marked as such in bug 725119, a=whac-a-mole 2016-11-16 20:35:48 -08:00
Geoff Brown
12edaac33e Bug 1318192 - Increase Android Debug mochitest chunks; r=me 2016-11-16 21:28:01 -07:00
Gabriel Luong
5dbe6dd5c7 Bug 1318019 - Add missing () to call isDisplayGrid function when a property value editor closes. r=me 2016-11-17 13:15:18 +09:00
Jeremy Chen
086d94490c Bug 1295788 - Remove layout.css.display-contents.enabled pref.
1. Remove the preference setting in reftest.list
2. Remove the preference guard in property_database.js
3. Remove the callback function of preference change
4. Remove the preference from all.js

MozReview-Commit-ID: 6aqYmhz6c9M
2016-11-17 10:52:51 +08:00
Wes Kocher
a3307e8f09 Merge m-c to inbound, a=merge CLOSED TREE 2016-11-16 17:17:05 -08:00
Wes Kocher
f9e9d69899 Merge inbound to m-c a=merge CLOSED TREE 2016-11-16 17:07:26 -08:00
Wes Kocher
4e5f6472fd Backed out 15 changesets (bug 1317101) for e10s jsreftest failures a=backout CLOSED TREE
Backed out changeset 17757ba4c0e8 (bug 1317101)
Backed out changeset 61f8a4084bbd (bug 1317101)
Backed out changeset a8cdc81cdcce (bug 1317101)
Backed out changeset e06d269a5d4f (bug 1317101)
Backed out changeset 1e1bfb578dcd (bug 1317101)
Backed out changeset 0f8144296a9d (bug 1317101)
Backed out changeset b7892d3fb0ca (bug 1317101)
Backed out changeset 039d63d5fef7 (bug 1317101)
Backed out changeset ef7e061b37bf (bug 1317101)
Backed out changeset af7b81d7a5cc (bug 1317101)
Backed out changeset 225ad2535585 (bug 1317101)
Backed out changeset b0521588011d (bug 1317101)
Backed out changeset 07321664430a (bug 1317101)
Backed out changeset 47d283897283 (bug 1317101)
Backed out changeset ffc63be3557c (bug 1317101)
2016-11-16 16:44:30 -08:00
Wes Kocher
aa3b64b5f5 Merge autoland to central, a=merge 2016-11-16 16:42:21 -08:00
Wes Kocher
dcbb82b42b Backed out changeset 0e27121698e4 (bug 1316119) for a11y failures a=backout CLOSED TREE 2016-11-16 16:16:32 -08: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
Wes Kocher
0cb51956f2 Backed out changeset 75fc07efe46f (bug 1317968) for reftest crashes a=backout CLOSED TREE 2016-11-16 16:15:30 -08:00
Brian Grinstead
2448c2e6e5 Bug 1317423 - Remove unused declarations after move;r=jlast
MozReview-Commit-ID: 9hD6rAbGYP9
2016-11-16 15:38:24 -08:00
Brian Grinstead
c8e3b60942 Bug 1317423 - Move WebConsoleConnectionProxy into its own module;r=jlast
MozReview-Commit-ID: EMEo0CqlOPM

--HG--
rename : devtools/client/webconsole/webconsole.js => devtools/client/webconsole/webconsole-connection-proxy.js
2016-11-16 15:38:22 -08:00
Kris Maglione
488b66af65 Bug 1317101: Follow-up: Fix race in popup tests.
MozReview-Commit-ID: af64Ic1qBg

--HG--
extra : rebase_source : 05345e09c4e324a4397dceb2c228821013efa0ae
2016-11-16 15:35:24 -08:00
Eric Rahm
4ec2c95fa7 Bug 1316729 - Pass command-line args to gtest. r=ted
MozReview-Commit-ID: 8Xs52E9NnCq
2016-11-16 13:04:11 -08:00
Andrew Osmond
f944648035 Bug 1315863 - Use PNG_MAXIMUM_INFLATE_WINDOW to ensure maximum compatibility with existing images. r=glennrp 2016-11-16 15:21:33 -05:00
Tooru Fujisawa
b1bbb27d76 Bug 1260403 - followup: Fix brotli test. r=jsnajdr 2016-11-17 08:17:47 +09:00
Tooru Fujisawa
451cb4e41a Bug 1318076 - Move Async Functions tests to js/src/tests/ecma_2017 directory. r=till
--HG--
rename : js/src/tests/ecma_7/AsyncFunctions/BoundNames.js => js/src/tests/ecma_2017/AsyncFunctions/BoundNames.js
rename : js/src/tests/ecma_7/AsyncFunctions/EarlyErrors.js => js/src/tests/ecma_2017/AsyncFunctions/EarlyErrors.js
rename : js/src/tests/ecma_7/AsyncFunctions/arguments_callee.js => js/src/tests/ecma_2017/AsyncFunctions/arguments_callee.js
rename : js/src/tests/ecma_7/AsyncFunctions/async-contains-unicode-escape.js => js/src/tests/ecma_2017/AsyncFunctions/async-contains-unicode-escape.js
rename : js/src/tests/ecma_7/AsyncFunctions/clone.js => js/src/tests/ecma_2017/AsyncFunctions/clone.js
rename : js/src/tests/ecma_7/AsyncFunctions/constructor.js => js/src/tests/ecma_2017/AsyncFunctions/constructor.js
rename : js/src/tests/ecma_7/AsyncFunctions/identity.js => js/src/tests/ecma_2017/AsyncFunctions/identity.js
rename : js/src/tests/ecma_7/AsyncFunctions/length.js => js/src/tests/ecma_2017/AsyncFunctions/length.js
rename : js/src/tests/ecma_7/AsyncFunctions/methods.js => js/src/tests/ecma_2017/AsyncFunctions/methods.js
rename : js/src/tests/ecma_7/AsyncFunctions/property.js => js/src/tests/ecma_2017/AsyncFunctions/property.js
rename : js/src/tests/ecma_7/AsyncFunctions/semantics.js => js/src/tests/ecma_2017/AsyncFunctions/semantics.js
rename : js/src/tests/ecma_7/AsyncFunctions/syntax-arrow.js => js/src/tests/ecma_2017/AsyncFunctions/syntax-arrow.js
rename : js/src/tests/ecma_7/AsyncFunctions/syntax-modules.js => js/src/tests/ecma_2017/AsyncFunctions/syntax-modules.js
rename : js/src/tests/ecma_7/AsyncFunctions/syntax.js => js/src/tests/ecma_2017/AsyncFunctions/syntax.js
rename : js/src/tests/ecma_7/AsyncFunctions/toString.js => js/src/tests/ecma_2017/AsyncFunctions/toString.js
rename : js/src/tests/ecma_7/AsyncFunctions/yield.js => js/src/tests/ecma_2017/AsyncFunctions/yield.js
2016-11-17 08:17:47 +09: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
Trevor Saunders
93e1959ffb bug 1316119 - add a GetOrInsert to nsBaseHashtable that returns a reference to the value r=froydnj
This intends to expose basically the same functionality as operator[] on
unordered_map.
2016-11-16 18:15:20 -05:00
Aryeh Gregor
0e4353d48a Bug 1002256 - Support CompositionEvent constructor; r=bkelly
All other browsers support a constructor here.  Per current spec, the
constructor does not support .locale, although initCompositionEvent
does.  If we ever decide to standardize .locale, the constructor can be
updated at that point.  (Edge also supports .locale in
initCompositionEvent but not the constructor.  Chrome doesn't support
.locale at all.)
2016-11-16 22:16:22 +02:00
Ehsan Akhgari
04dd7af5b6 Bug 1312101 follow-up: Remove EnsureRequiredPermissions() as well 2016-11-16 15:03:58 -05:00
Ehsan Akhgari
dc33b55d94 Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku 2016-11-16 14:51:08 -05:00
Ehsan Akhgari
130dc996d0 Bug 1312101 - Part 1: Remove permission assertions through the message manager; r=baku
Since AddProcessChecker is going away, there's no point in these
permission checks any more.
2016-11-16 14:51:04 -05:00
David Major
5d73eed001 Bug 1316815 followup build fix on a CLOSED TREE
--HG--
extra : amend_source : 613bf0e302fdb284b9f879ecd4dd55a8382cf004
2016-11-16 13:43:30 -06:00
Gregory Szorc
aa43a43343 Backed out changeset a77fb6a85fc8 (bug 1315695) for breaking PGO 2016-11-16 11:15:05 -08:00
David Major
df94541e18 Bug 1316815 - Make RegI32, RegI64, RegF32, RegF64 inherit from, not wrap, Register, Register64, FloatRegister. r=lth
MozReview-Commit-ID: Hz19c0V9Lra

--HG--
extra : rebase_source : f315f076bc93ff2a6d122d4fdd5e3975cf942e0b
2016-11-16 13:11:48 -06:00
Boris Zbarsky
04caf50b43 Bug 1317759. Remove LegacyIsCallerChromeOrNativeCode use in Event::GetScreenCoords in favor or caller type checks at the entrypoints where we really care about pretending that our screen is client-area sized. r=smaug 2016-11-16 14:10:22 -05:00
Boris Zbarsky
3815c83ef1 Bug 1317625. Stop using xpc::AccessCheck in WebGL code. r=jgilbert 2016-11-16 14:10:22 -05:00