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

44900 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 521cb022b6 Bug 1129786 (part 1) - Instantiate RuleHash::m*Table eagerly. r=bz.
Now that empty PLDHashTables don't allocate any entry storage, we can undo the
lazification of RuleHash::m*Table from bug 700914.

--HG--
extra : rebase_source : 167d2519f59ddf7dab182601f9a581c872fd7998
2015-03-22 20:19:18 -07:00
L. David Baron 79853b7624 Bug 1146145 - Revert previous fix and give the tests position:relative so they have the same z-ordering as the references. 2015-03-22 12:53:09 -07:00
L. David Baron f3e1c17d82 Bug 1146145 - Give references z-index:-1 so that they have the same z-ordering characteristics as the tests, for the case when edges of the text overlap the floats.
--HG--
extra : transplant_source : %13%292G%E7%28%97%12%80%A4%EE%1E%9C%E9q%E9%0F%AEXW
2015-03-22 10:51:08 -07:00
Simon Montagu 13be932c72 Bug 1143218 patch 3: a better fix for bug 1105137 using line-left and line-right to place floats, r=jfkthame 2015-03-22 11:44:48 +02:00
Simon Montagu f66d48dc0f Bug 1143218 patch 2: Add LineLeft and LineRight accessors to LogicalRect, r=jfkthame 2015-03-22 11:44:48 +02:00
Simon Montagu 4454a1b4b5 Bug 1143218 patch 1: Back out the fix for bug 1105137, r=jfkthame 2015-03-22 11:44:48 +02:00
Simon Montagu 28b9e2ff78 Mark the failing reftests from bug 1114329 as passing (fixed by bug 1143218). r=jfkthame 2015-03-22 11:44:48 +02:00
David Anderson fba0c47c1f Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00
David Anderson 302fa4036d End APZ wheel transactions when the mouse moves out of frame. (bug 1142866 part 2, r=kats,botond) 2015-03-22 00:42:25 -07:00
L. David Baron f4c0b8f24d Bug 1142360 followup - Use better condition for failure annotation that avoids also including Windows XP reftests. 2015-03-21 16:39:00 -07:00
L. David Baron 64d26163bd Bug 1142360 followup - Annotate 3 tests as failing on Windows reftest-no-accel, on a CLOSED TREE. 2015-03-21 13:52:33 -07:00
Ehsan Akhgari 9dd681b4ab Bug 1142360 - Move the mochitests for bugs 441782, 467672 and 570378 to the reftest framework; r=dbaron
This will help fix an intermittent test failure as explained in bug
1142360 comment 301.  It also has the additional benefit of making
things faster overall, since the reflows of the huge mochitest test
runner page every time the bidi.numeral pref changes are very expensive,
and such overhead doesn't exist in the reftest framework.


--HG--
rename : layout/base/tests/bug570378-arabic-1-ref.html => layout/reftests/bidi/numeral/arabic-1-ref.html
rename : layout/base/tests/bug570378-arabic-1.html => layout/reftests/bidi/numeral/arabic-1.html
rename : layout/base/tests/bug570378-arabic-2-ref.html => layout/reftests/bidi/numeral/arabic-2-ref.html
rename : layout/base/tests/bug570378-arabic-2.html => layout/reftests/bidi/numeral/arabic-2.html
rename : layout/base/tests/bug570378-arabic-3-ref.html => layout/reftests/bidi/numeral/arabic-3-ref.html
rename : layout/base/tests/bug570378-arabic-3.html => layout/reftests/bidi/numeral/arabic-3.html
rename : layout/base/tests/bug570378-arabic-4-ref.html => layout/reftests/bidi/numeral/arabic-4-ref.html
rename : layout/base/tests/bug570378-persian-4.html => layout/reftests/bidi/numeral/arabic-4.html
rename : layout/base/tests/bug570378-arabic-5-ref.html => layout/reftests/bidi/numeral/arabic-5-ref.html
rename : layout/base/tests/bug570378-arabic-5.html => layout/reftests/bidi/numeral/arabic-5.html
rename : layout/base/tests/bug441782-1-ref.html => layout/reftests/bidi/numeral/bug441782-1-ref.html
rename : layout/base/tests/bug441782-1.html => layout/reftests/bidi/numeral/bug441782-1.html
rename : layout/base/tests/bug441782-2-ref.html => layout/reftests/bidi/numeral/bug441782-2-ref.html
rename : layout/base/tests/bug441782-2.html => layout/reftests/bidi/numeral/bug441782-2.html
rename : layout/base/tests/bug441782-3-ref.html => layout/reftests/bidi/numeral/bug441782-3-ref.html
rename : layout/base/tests/bug441782-3.html => layout/reftests/bidi/numeral/bug441782-3.html
rename : layout/base/tests/bug441782-4-ref.html => layout/reftests/bidi/numeral/bug441782-4-ref.html
rename : layout/base/tests/bug441782-4.html => layout/reftests/bidi/numeral/bug441782-4.html
rename : layout/base/tests/bug441782-5-ref.html => layout/reftests/bidi/numeral/bug441782-5-ref.html
rename : layout/base/tests/bug441782-5.html => layout/reftests/bidi/numeral/bug441782-5.html
rename : layout/base/tests/bug467672-1-ref.html => layout/reftests/bidi/numeral/bug467672-1-ref.html
rename : layout/base/tests/bug467672-1.html => layout/reftests/bidi/numeral/bug467672-1.html
rename : layout/base/tests/bug467672-2-ref.html => layout/reftests/bidi/numeral/bug467672-2-ref.html
rename : layout/base/tests/bug467672-2.html => layout/reftests/bidi/numeral/bug467672-2.html
rename : layout/base/tests/bug467672-3-ref.html => layout/reftests/bidi/numeral/bug467672-3-ref.html
rename : layout/base/tests/bug467672-3.html => layout/reftests/bidi/numeral/bug467672-3.html
rename : layout/base/tests/bug467672-4-ref.html => layout/reftests/bidi/numeral/bug467672-4-ref.html
rename : layout/base/tests/bug467672-4.html => layout/reftests/bidi/numeral/bug467672-4.html
rename : layout/base/tests/bug467672-5-ref.html => layout/reftests/bidi/numeral/bug467672-5-ref.html
rename : layout/base/tests/bug467672-5.html => layout/reftests/bidi/numeral/bug467672-5.html
rename : layout/base/tests/bug570378-persian-1-ref.html => layout/reftests/bidi/numeral/persian-1-ref.html
rename : layout/base/tests/bug570378-persian-1.html => layout/reftests/bidi/numeral/persian-1.html
rename : layout/base/tests/bug570378-persian-2-ref.html => layout/reftests/bidi/numeral/persian-2-ref.html
rename : layout/base/tests/bug570378-persian-2.html => layout/reftests/bidi/numeral/persian-2.html
rename : layout/base/tests/bug570378-persian-3-ref.html => layout/reftests/bidi/numeral/persian-3-ref.html
rename : layout/base/tests/bug570378-persian-3.html => layout/reftests/bidi/numeral/persian-3.html
rename : layout/base/tests/bug570378-persian-4-ref.html => layout/reftests/bidi/numeral/persian-4-ref.html
rename : layout/base/tests/bug570378-arabic-4.html => layout/reftests/bidi/numeral/persian-4.html
rename : layout/base/tests/bug570378-persian-5-ref.html => layout/reftests/bidi/numeral/persian-5-ref.html
rename : layout/base/tests/bug570378-persian-5.html => layout/reftests/bidi/numeral/persian-5.html
2015-03-21 12:37:01 -04:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Wes Kocher 14f75f943c Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Mason Chang 54a7aa0235 Bug 1145327. Mark css-animations/print-no-animations.html as random on OS X on CLOSED TREE. r=dbaron. a=Kwierso 2015-03-20 15:14:40 -07:00
L. David Baron 83f8dbcde4 Bug 1145803 - Skip the reftests added in bug 1010675 on B2G because they change the test chunking and trigger an unrelated failure, on a CLOSED TREE. 2015-03-20 14:05:08 -07:00
Geoff Brown 3336b867e0 Bug 1145364 - Use more portable ps command line for orphan cleanup; r=kmoir 2015-03-20 13:50:14 -06:00
Mason Chang b1223497cf Bug 1145327 - Disable css-animations/print-no-animations.html on osx 10.10. r=dbaron 2015-03-20 11:53:41 -07:00
Kartikaya Gupta bd98be2c55 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Jeremy Chen 8610c13659 Bug 1140994 - Notify gaia to hide selection bubble when scrolling without APZ. r=roc 2015-03-16 22:09:00 -04:00
L. David Baron b64dc1a002 Bug 1010675 - Stop allowing button contents to overflow into the CSS padding and border (although still allow them to overflow into our internal focuspadding when the min-content width says the contents don't fit). r=dholbert
Note that this replaces the code that allows eroding the space with new
code that reduces the focusPadding value.

(Also, we previously didn't count the focusPadding towards what could be
eroded, which meant we wouldn't quite get to the edge of the padding and
border, because we weren't counting the extra for the focusPadding.)

The existing reftests that I'm changing from == to != are ones that were
specifically testing issues related to erosion of padding.

The change to 491180-{1,2}-ref.html is because we now *do* erode the
focusPadding, which is 3px in the horizontal dimensions (see the
button::-moz-focus-inner styles in forms.css), and that was the only
nonzero style on the button in 491180-{1,2}.html.

CLOSED TREE (per RyanVM)
2015-03-20 10:27:09 -07:00
Ryan VanderMeulen 00a19ca0b0 Backed out changesets f33123f726b6 and c2724e2f9de9 (bug 1010675) for B2G reftest failures.
CLOSED TREE
2015-03-20 12:25:49 -04:00
L. David Baron a55a5f0676 Bug 1010675 followup - fix reftest failure annotation to fix Mac OS X 10.6 reftest orange. No review. 2015-03-20 08:39:27 -07:00
Stéphane SCHMIDELY b271c86e15 Bug 1144619 - Variable 'nextX' is created in the wrong scope. r=dbaron 2015-03-19 21:00:03 +01:00
Alexandre Lissy 77d1e01b3c Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Alexandre Lissy 16ab34d6ec Bug 1144080 - Disable reftests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Xidorn Quan 6c553b0e05 Bug 1143535 - Fix condition of ruby leading/trailing whitespace trimming. r=bz a=kwierso
--HG--
extra : source : e3099e6a148be5c0e78e99686d313cf3b5eaa910
extra : amend_source : fce4db18aa4724df434f2f129d568b34896026db
2015-03-20 09:45:41 +11:00
Geoff Brown 09006b9294 Bug 1084614 - Clean up orphan servers before starting mochitests or reftests; r=kmoir 2015-03-19 11:01:01 -06:00
Boris Zbarsky dc24477d79 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 ed6d55e8d9 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 c3568f0392 Backed out changeset cb73c395a78d (bug 1135907) for crashtest failures due to assertions
--HG--
extra : rebase_source : 8244bb95c9a09d7da5587a43d598d602ea36b115
2015-03-19 10:40:42 +01:00
Xidorn Quan 96db36c21e Bug 1112474 part 2 - Fix ruby-position reftests with bsize adjustment. r=dholbert
--HG--
extra : rebase_source : 51c27b69f29ce299954ddafc6140a91fc508b917
extra : source : 5cb02c09512316d63f6a3fbda81d04a081cf2907
extra : histedit_source : 01eccfaa0faf1d92e45324e3bb296334fbd53449
2015-03-19 19:04:50 +11:00
Xidorn Quan a85af6a361 Bug 1112474 part 1 - Make utils of CSS Ruby reftests writing-mode aware. r=dholbert
--HG--
extra : rebase_source : 5a4be10876e45a8bb17edcca6e25be4dd5a31c0c
extra : source : 3d79017794b0718d7a382e7197e79544d00e25b4
2015-03-19 19:04:50 +11:00
David Anderson 8ebd1684f7 Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats)
--HG--
extra : rebase_source : f6b399fe5f877fa88613236778e971c1c41d5ea3
2015-03-17 14:04:36 -07:00
Morris Tseng 80129ca85d Bug 1143139 - Cancel all timer when SelectionCarets are terminated. r=roc 2015-03-17 21:31:00 +01:00
d39aa7d3f1 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
1079a8625f 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 0dbe29fdc0 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 509eb48a54 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 a2a5a162ea Bug 1141376 - Do not call OnSizeAvailable in nsImageFrame::Init. r=tn 2015-03-18 18:29:32 -07:00
Wes Kocher 7be54b949f Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-18 15:53:00 -07:00
Gregor Wagner fa698fe8a9 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Botond Ballo d70b1ea0e6 Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel
--HG--
extra : rebase_source : 109fe53588254256b5575e082f709a0cb71fe877
extra : source : d7db1f0cb75b689316da6671bed37d496d17e90c
2015-03-16 13:42:15 -04:00
Carsten "Tomcat" Book 47fe95d629 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 61a15823c0 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.

--HG--
extra : rebase_source : 5577ef1ee92591a58d1812130f2ad29e8ec18d32
2015-03-17 00:57:00 -04:00
Ting-Yu Lin b79c10f9e3 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.

--HG--
extra : rebase_source : 1622818b9cbbc82e02188ec7ea8ac7951ba6f634
2015-03-18 03:26:00 -04:00
Ting-Yu Lin 1afed065de 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.

--HG--
extra : rebase_source : d2cb9d4e2234f2b1f92cb7ff4a1730f1f408d275
2015-03-10 20:40:00 -04:00
L. David Baron 634de3488b 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 00a88de17f 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 8f015c4370 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