Commit Graph

25283 Commits

Author SHA1 Message Date
Xidorn Quan
cbd48e237a Bug 1143535 - Fix condition of ruby leading/trailing whitespace trimming. r=bz a=kwierso 2015-03-20 09:45:41 +11:00
Geoff Brown
0b1600116e Bug 1084614 - Clean up orphan servers before starting mochitests or reftests; r=kmoir 2015-03-19 11:01:01 -06:00
Boris Zbarsky
54c64f20a9 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Kartikaya Gupta
bda9d932e3 Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond 2015-03-19 06:33:33 -04:00
Carsten "Tomcat" Book
69572ffb44 Backed out changeset cb73c395a78d (bug 1135907) for crashtest failures due to assertions 2015-03-19 10:40:42 +01:00
Xidorn Quan
d5e79019fa Bug 1112474 part 2 - Fix ruby-position reftests with bsize adjustment. r=dholbert 2015-03-19 19:04:50 +11:00
Xidorn Quan
6cc0a0faed Bug 1112474 part 1 - Make utils of CSS Ruby reftests writing-mode aware. r=dholbert 2015-03-19 19:04:50 +11:00
David Anderson
123c1ead08 Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats) 2015-03-17 14:04:36 -07:00
Morris Tseng
e8f401d691 Bug 1143139 - Cancel all timer when SelectionCarets are terminated. r=roc 2015-03-17 21:31:00 +01:00
92472cd78a Bug 1120705 - Part 2: Tests (v2 Patch), r=roc
- Ensure that the scrollbar button scrolling is limited
  by the page size, to maintain context when scrolling
  small scroll frames.
2015-03-18 18:36:00 +01:00
45070240ed Bug 1120705 - Part 1: Limit scrollbar button scrolls to one page per click. r=roc
- When using the scrollbar buttons to scroll a very small scroll frame,
  it is possible to scroll more than one page.  When this occurs, we
  now scroll by a page instead to maintain context between scrolls.
- When scrolling with scrollbar buttons, the
  "toolkit.scrollbox.verticalScrollDistance" and
  "toolkit.scrollbox.horizontalScrollDistance" were swapped,
  resulting in too much scrolling when scrolling vertically and too
  little scrolling when scrolling horizontally.  This has been fixed in
  ScrollFrameHelper::ScrollByLine.
2015-03-18 14:32:00 +01:00
Seth Fowler
1f5ce39657 Bug 935850 - Add a little more fuzz to box-sizing-replaced-003.xht. r=me 2015-03-18 18:45:42 -07:00
Seth Fowler
0e4b26ec92 Bug 1019840 - Use cached intrinsic size in nsImageFrame::ComputeSize unless the image loader has a size. r=tn 2015-03-18 18:29:32 -07:00
Seth Fowler
53ef65f7af Bug 1141376 - Do not call OnSizeAvailable in nsImageFrame::Init. r=tn 2015-03-18 18:29:32 -07:00
Wes Kocher
d3a01938c3 Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-18 15:53:00 -07:00
Gregor Wagner
f8527dd881 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Botond Ballo
824de31a1b Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel 2015-03-16 13:42:15 -04:00
Carsten "Tomcat" Book
6e003c58ac Backed out 7 changesets (bug 1125455) for test failures in m1 test_animation-player-ready.html on a CLOSED TREE
Backed out changeset 8a316064caff (bug 1125455)
Backed out changeset ad326dbcbd03 (bug 1125455)
Backed out changeset 83dab9578e23 (bug 1125455)
Backed out changeset 5bd86c20cd02 (bug 1125455)
Backed out changeset 751177025dcb (bug 1125455)
Backed out changeset f60c5b4adf84 (bug 1125455)
Backed out changeset 326ef9a86c85 (bug 1125455)
2015-03-18 16:32:54 +01:00
Ting-Yu Lin
8216844226 Bug 1140238 - Part 3: Clear maintain selection when dragging caret. r=mats
After double-clicking to select a word on browser, we cannot drag caret
to change the selection within a word. We should clear the maintained
selection.
2015-03-17 00:57:00 -04:00
Ting-Yu Lin
eb69b226db Bug 1140238 - Part 2: Adjust ranges after changing selection direction. r=mats
When dragging the second caret (eDirNext) over non-selectable elements,
the last range is not generated. Therefore when dragging the first
caret, we will change the selection direction to eDirPrevious, the last
range will be excluded by AutoPrepareFocusRange.

We add a new function to adjust generated bit and anchor focus range
after changing selection direction.
2015-03-18 03:26:00 -04:00
Ting-Yu Lin
f097822389 Bug 1140238 - Part 1: Add a test to drag first caret over non-selectable. r=automatedtester
The original test had dragged the second SelectionCaret over
non-selectable elements. After that, we should further drag the first
SelectionCaret over non-selectable elements, and confirm that the
selection ranges are correct.
2015-03-10 20:40:00 -04:00
L. David Baron
3015b61e60 Bug 1125455 patch 7 - For compositor-thread application of transitions, don't apply transitions when animations are also running. r=birtles
I've verified locally that this patch (not others in this series) fixes
the test failures that match the test changes in this patch.
2015-03-18 07:35:30 -07:00
L. David Baron
7d9129d104 Bug 1125455 patch 6 - Only search the properties list of the animation once when adding animations to the compositor. r=birtles
This removes the duplication where AddAnimationsForProperty calls
HasAnimationOfProperty which goes over the list once, and then
AddAnimationForProperty searches the list again and skips all but the
item found before.

It also makes it easier, in patch 7, to perform additional tests on the
item that we found.
2015-03-18 07:35:30 -07:00
L. David Baron
5358120a91 Bug 1125455 patch 4 - For main-thread application of transitions, don't apply transitions when animations are also running. r=birtles
I've verified locally that this patch (not others in this series) fixes
the test failures that match the test changes in this patch.
2015-03-18 07:35:30 -07:00
L. David Baron
af52a71861 Bug 1125455 patch 3 - Add mochitests for animations overriding transitions. r=birtles
Note that (at this stage) some of the tests in both files fail (which I
have verified locally), as noted by the todos and FIXMEs in the test,
which will be removed in later patches in this bug, as the failures are
fixed.
2015-03-18 07:35:30 -07:00
L. David Baron
2c24da9290 Bug 1125455 patch 2 - Set mWinsInCascade for transitions based on whether there are animations. r=birtles 2015-03-18 07:35:30 -07:00
L. David Baron
8e1348b0d3 Bug 1125455 patch 1 - Add boolean for whether an animation of a property wins in the CSS cascade. r=birtles 2015-03-18 07:35:29 -07:00
Avi Halachmi
9d2d05c1d5 bug 1142079: disable refresh driver telemetry on Android. r=froydnj 2015-03-18 08:59:01 +02:00
Mats Palmgren
214deaa199 Bug 1139539 - part 4, [css-grid] Tests for simple track sizing and grid item layout. 2015-03-18 09:02:32 +00:00
Mats Palmgren
9c1fb71b32 Bug 1107778 - part 2, [css-grid] Some reftests for grid item placement with auto positions. 2015-03-18 09:02:32 +00:00
Mats Palmgren
d78880e4a5 Bug 1009776 - part 7, [css-grid] Some reftests for grid item placement with definite positions. 2015-03-18 09:02:32 +00:00
Mats Palmgren
dc1659cac5 Bug 1139539 - part 3, [css-grid] Fix a couple of typos in the CSS Grid tests. 2015-03-18 09:02:32 +00:00
Mats Palmgren
717c81e207 Bug 1139539 - part 2, [css-grid] Implement grid item containing block calculations and reflow (initial version). r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren
4dd4d8a9bd Bug 1139539 - part 1, [css-grid] Implement primitive grid track sizing. r=dholbert
Basically just 11.4 "Initialize Track Sizes" in:
http://dev.w3.org/csswg/css-grid/#algo-init
2015-03-18 09:02:32 +00:00
Mats Palmgren
1a62846639 Bug 1107778 - part 1, [css-grid] implement automatic grid item placement. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren
2eec3a3c54 Bug 1009776 - part 6, [css-grid] Update the spec reference in a comment. 2015-03-18 09:02:32 +00:00
Mats Palmgren
411cfb1db4 Bug 1009776 - part 5, [css-grid] Fill the cell map if the grid area is definite. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren
585565d3f9 Bug 1009776 - part 4, [css-grid] Add a cell map to keep track of which grid cells are occupied. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren
f9df94c077 Bug 1009776 - part 3, [css-grid] Store the grid item's grid area on a frame property. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren
66a339d79d Bug 1009776 - part 2, [css-grid] Add a method to inflate the implicit grid to include a given grid area. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren
b600c202a4 Bug 1009776 - part 1, [css-grid] Implement line-based placement. r=dholbert 2015-03-18 09:02:32 +00:00
Timothy Nikkel
0735ebd42c Bug 1143974. When converting the anchor rect for a xul popup make sure to actually convert for app units differences. r=mats
ConvertAppUnitsRoundOut returns the result, it doesn't modify |this|.
2015-03-18 03:55:01 -05:00
Cameron McCormack
c4d240d87a Bug 1144507 - Fix incorrect Promise usage in test_font_loading_api.html. r=jdaggett 2015-03-18 19:54:01 +11:00
Carsten "Tomcat" Book
71ab410e32 Backed out changeset 6b528bd3294c (bug 1039926) for R20 test failures on a CLOSED TREE 2015-03-18 09:12:41 +01:00
Markus Stange
6eee9aed44 Bug 1039926 - Add a test for not invalidating stuff inside mask layers. 2015-03-17 15:47:45 -04:00
Markus Stange
46e2d15dbf Bug 1144307 - Destroy scroll info layer items when we're done with them. r=tn 2015-03-17 22:04:33 -04:00
Seth Fowler
a6c30c7c5f Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn 2015-03-17 19:40:16 -07:00
Seth Fowler
60adb8623f Bug 1143267 - Make nsDisplayAltFeedback use nsGenericImageGeometry. r=tn 2015-03-17 19:40:16 -07:00
Seth Fowler
8a1d35bf88 Bug 1143506 - Give up on sync decoding if we get DrawResult::BAD_IMAGE. r=tn 2015-03-17 13:56:49 -07:00
Ryan VanderMeulen
a4fe1a181c Merge m-c to inbound. a=merge
CLOSED TREE
2015-03-17 14:28:42 -04:00