Commit Graph

465831 Commits

Author SHA1 Message Date
Randall Barker
17328787e7 Bug 1232338 - part 1, Add better mouse support to InputData MouseInput r=kats 2016-03-11 11:03:50 -08:00
Syd Polk
aeff90eaeb Bug 1238140 - Always download the GMP plugin before playing Netflix - r=ksteuber,maja_zf
MozReview-Commit-ID: 71tqt7T9oSH

--HG--
extra : rebase_source : 16976ed150f2e2538b67209e8950da7fcd632236
2016-03-11 11:36:39 -06:00
Jim Chen
33195c666d Bug 1254629 - Let query events fail when content root is wrong; r=masayuki
Make query events fail (including when caching selection) if the queried
content root is different from what we expected.

Also, introduce a fix-up to the selection fix in test_imestate.html.
2016-03-11 13:47:22 -05:00
Jim Chen
2b624272eb Bug 1254629 - Ensure content root is in document when flushing IME changes; r=esawin
One work-around for the bug is to ensure that our content root is in a
document when flushing IME changes, because when an input becomes
hidden, the previous content root is removed from the document.
2016-03-11 13:47:22 -05:00
Jim Chen
eb65d5bc9f Bug 1254629 - Add "hide on input" test case; r=esawin
The bug happens when an input is hidden (e.g. through 'display' style)
inside an input or key event handler.
2016-03-11 13:47:22 -05:00
Jim Chen
fc50ab814f Bug 1254629 - Make onKeyEvent more efficient; r=esawin
When handling synthetic keys, don't remove existing compositions and
don't check for certain early exit conditions.
2016-03-11 13:47:22 -05:00
Jim Chen
3a2da8694f Bug 1253703 - Null-check createNativeGestureEvent result; r=kats
createNativeGestureEvent can fail and return null, so we should guard
against that.
2016-03-11 13:47:22 -05:00
Syd Polk
803175eadc Bug 1246271 - The mozharness script at least needs to accept the browsermob settings to pass it down to the test runner. r=maja_zf,whimboo
MozReview-Commit-ID: HNsV8RDpvuJ

--HG--
extra : rebase_source : 6b466bd7f9a607bc6e1e0c77a9c9a7a9f837c6b1
2016-03-10 10:14:22 -06:00
Eitan Isaacson
34f4924fe3 Bug 1254526 - Filter out empty text nodes from narrate queue. r=Gijs
MozReview-Commit-ID: 6g53pWcNtGN

--HG--
extra : rebase_source : 08a2316cb8272dcc414defe50d316bcbb72da102
2016-03-09 12:31:25 -08:00
Eitan Isaacson
50d53aecb5 Bug 1254526 - Don't let Narrate get into bad state after encountering a synth error. r=Gijs
MozReview-Commit-ID: GdOgtmM4hGH

--HG--
extra : rebase_source : 067b2062fb845dd3b607616c3c67d5f44072c201
2016-03-08 11:32:40 -08:00
Aaron Klotz
1a8c9407a8 Bug 1254373: Make TestDemon build on Windows; r=billm
MozReview-Commit-ID: GtgAVfDYhtk

--HG--
extra : rebase_source : 64c1bc26fa4501742c51edc8296837ef6b6590d1
2016-03-10 17:32:16 -07:00
Andrew Halberstadt
ca961954c9 Bug 1255567 - Sign quitter extension for valgrind-test and pgo/profileserver, r=jgriffin
MozReview-Commit-ID: HtH8z4rBSMY

--HG--
extra : rebase_source : 90a1269a6dd166cc77080d86f902c19d0a6e162c
2016-03-10 15:37:51 -05:00
Andrea Marchesini
4321cda2ba Bug 1255784 - u2f tests should use SpecialPowers.pushPrefEnv, r=jjones 2016-03-11 18:20:55 +01:00
Kartikaya Gupta
840302ec5b Bug 1254273 - Align the displayport to a max of 256 pixels even if the layer is larger. r=BenWa
MozReview-Commit-ID: CLghUMWkJU8
2016-03-11 12:01:29 -05:00
Kartikaya Gupta
08b9d0e75e Bug 1216924 - Don't align to tiles (either real or virtual) if displayport suppression is enabled. r=BenWa
MozReview-Commit-ID: 15XWTTM0tZI
2016-03-11 12:01:28 -05:00
Andrea Marchesini
c4e620f562 Bug 1246091 - Expose ConsoleEvents to Worker Debugger Actors via Console object directly, r=ejpbruel 2016-03-11 17:59:52 +01:00
Mats Palmgren
b5e5153688 Bug 1144096 part 26 - [css-grid] Fragmentation reftests. 2016-03-11 17:39:28 +01:00
Mats Palmgren
3fa78bc392 Bug 1144096 part 25 - [css-grid] Enable fragmentation to occur by reporting our actual reflow status. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
3ab9def464 Bug 1144096 part 24 - [css-grid] Move the child frame merging code at the start of ReflowOverflowContainerChildren into a new method: DrainExcessOverflowContainersList. Make both take a param so that we can override how the OC child lists are merged together (normally just an Append; MergeSortedFrameLists for Grid). r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
a808043f13 Bug 1144096 part 23 - [css-grid] A grid container fragment that is an overflow container can't be INCOMPLETE, only OVERFLOW_INCOMPLETE and it should always have zero BSize. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
c46f94cf01 Bug 1144096 part 22 - [css-grid] Check NS_INLINE_IS_BREAK_BEFORE before checking other completion status. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
49b7f696e3 Bug 1144096 part 21 - [css-grid] Deal with dynamically inserted/appended/removed child frames. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
8a0ee1c101 Bug 1144096 part 20 - [css-grid] Sanity check our child lists before starting a Reflow (DEBUG only). r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
d44ff85401 Bug 1144096 part 19 - [css-grid] Sanity check the initial child lists we get from the frame constructor (DEBUG only). r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
6e7fad07b8 Bug 1144096 part 18 - [css-grid] Fix a couple of bugs in how we handle child existing continuations when pushing/pulling children. r=dholbert
There were two problems in the existing code (which was exposed by tests
that dynamically insert/remove items).  First, the situation when
we have some pushed items two or more fragments away and then pull up
those.  This creates a "hole" in the child next-in-flow chain like so:
grid-container-frag-0
  child1-frag-0
  ...
grid-container-frag-1
  ...
grid-container-frag-2
  child1-frag-1

After we reflow grid-container-frag-0 and it's still incomplete we will
reflow its NIF, grid-container-frag-1, but it will "stall" since it
doesn't have a continuation for child1.  We need to make sure to
always pull up a fragment for that child.  That's what the first hunk
is about in the patch.

Second problem is the opposite problem of pushing a child into a NIF
container that already has an OC child continuation, like so:
grid-container-frag-0
  OverflowList = { child1-frag-0 }
grid-container-frag-1
  OverflowContinuationsList = { child1-frag-1 }

When we reflow grid-container-frag-1 we'll pull in child1-frag-0
like so:
grid-container-frag-0
 ...
grid-container-frag-1
  PrincipalList = { child1-frag-0 }
  OverflowContinuationsList = { child1-frag-1 }

This is bad since we'll consume BSize twice here.  The fix is
to move it our ExcessOverflowContinuationsList instead, like so:
grid-container-frag-0
 ...
grid-container-frag-1
  PrincipalList = { child1-frag-0 }
  ExcessOverflowContinuationsList = { child1-frag-1 }

That's what the second hunk in this patch does.
2016-03-11 17:39:27 +01:00
Mats Palmgren
703a970a1e Bug 1144096 part 17 - [css-grid] Add helper methods that add a sorted list of child frames to the Overflow and ExcessOverflowContainers child lists. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
f68bdee058 Bug 1144096 part 16 - [css-grid] Implement fragmentation. r=dholbert 2016-03-11 17:39:27 +01:00
Mats Palmgren
29fbc46336 Bug 1144096 part 15 - [css-grid] Compute our pre-reflow logical skip sides and cache the result of ComputedLogicalBorderPadding() with that applied. r=dholbert
Our "pre-reflow logical skip sides" assumes each fragment will be
the last and have a block-end border.  We then skip the block-end
side at the end of Reflow if we're INCOMPLETE.  This simplifies
the logic that checks how many rows fits in this fragment.
2016-03-11 17:39:26 +01:00
Mats Palmgren
bbd8687f0d Bug 1144096 part 14 - [css-grid] Make ReflowInFlowChild() deal with a constrained available block-size. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
1dbca39b11 Bug 1144096 part 13 - [css-grid] Refactor ReflowChildren() by separating out the code that reflows normal flow children (grid items and placeholders) into a new method ReflowInFlowChild(). r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
7b283c23f7 Bug 1144096 part 12 - [css-grid] Collect and merge child frames we need for reflow. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
89b3d6e845 Bug 1144096 part 11 - [css-grid] Add a GetNearestFragmentainer() method that collects some data from the nearest enclosing fragmentainer needed for fragmentation. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
db2d3d747c Bug 1144096 part 10 - [css-grid] Add a few helper methods to do a break before a row, and resize a row. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
7967ec17ab Bug 1144096 part 9 - [css-grid] Create a SharedGridData object owned by the first-in-flow Grid container to share state between its continuations. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
12979e91f6 Bug 1144096 part 8 - [css-grid] Add a new state flag, eBreakBefore, to record where breaks occur between tracks. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
dab9dc1beb Bug 1144096 part 7 - [css-grid] Don't create PageBreakFrames inside a Grid container. The container will handle forced breaks on its items. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
9ea79df69f Bug 1144096 part 6 - [css-grid] Add support for creating Grid container continuations and deal with overflow containers. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
485174bd17 Bug 1144096 part 5 - [css-grid] Create a couple of Grid container frame bits. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
788aa99a4a Bug 1144096 part 4 - [css-grid] Move more local nsGridContainerFrame classes into .cpp file. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
1235d41a20 Bug 1144096 part 3 - [css-grid] Remove CellMap::ClearOccupied() since it's not needed anymore. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
44db3be14e Bug 1144096 part 2 - [css-grid] Make GridItemInfo::mFrame available also in non-DEBUG builds since we'll need it to support fragmentation. r=dholbert 2016-03-11 17:39:26 +01:00
Mats Palmgren
5d62d81f90 Bug 1144096 part 1 - [css-grid] Refactor nsGridContainerFrame state and methods. r=dholbert 2016-03-11 17:39:25 +01:00
Alexander Surkov
900d88c035 Bug 1255009 - insert children into the tree on content insertion instead the recaching, r=yzen 2016-03-11 11:35:35 -05:00
Alexander Surkov
2792eb591a Bug 1249730 - make TreeWalker bi-directional, follow up fix, r=yzen 2016-03-11 11:14:29 -05:00
Carsten "Tomcat" Book
ea6fec29db Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2016-03-11 17:14:35 +01:00
Ryan VanderMeulen
00d56902ad No bug - Fix busted merge conflict resolution on a CLOSED TREE. 2016-03-11 11:12:25 -05:00
Carsten "Tomcat" Book
ee9fb75679 Merge mozilla-central to mozilla-inbound 2016-03-11 16:57:57 +01:00
Carsten "Tomcat" Book
e070379821 merge mozilla-inbound to mozilla-central a=merge 2016-03-11 16:50:43 +01:00
Carsten "Tomcat" Book
80bad564c7 merge fx-team to mozilla-central a=merge 2016-03-11 11:51:28 +01:00
Carsten "Tomcat" Book
19704bef52 Backed out changeset 554ded299ccb (bug 1255692) for permanent failures in test_no_token.html 2016-03-11 10:24:34 +01:00