Commit Graph

44912 Commits

Author SHA1 Message Date
Ryan VanderMeulen
8d602517b5 Backed out 3 changesets (bug 1061364, bug 1117603) for B2G xpcshell permafail.
Backed out changeset aaf374ba062f (bug 1061364)
Backed out changeset 67fece279049 (bug 1117603)
Backed out changeset fe8ba59678a2 (bug 1117603)

CLOSED TREE
2015-03-24 09:13:06 -04:00
Geoff Brown
24b2cd5f48 Bug 1140148 - Update reftest manifests for Android 4.3 emulator; r=dminor 2015-03-24 06:51:45 -06:00
Brian Birtles
929ee03319 Bug 1061364 - Don't force transitions to refresh their style rule; r=dbaron 2015-03-24 18:13:38 +09:00
Cameron McCormack
d5e3314ffe Bug 1146199 - Return empty string from FontFace.family if the FontFace was constructed with an invalid family name. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack
09e31f980e Bug 1144450 - Part 5: Fix/add tests for not firing loadingdone/loadingerror when adding an already-loaded/error FontFace to a FontFaceSet. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack
fc1e3c1406 Bug 1144450 - Part 4: Replace uses of mReadyIsResolved with mStatus, as they're equivalent. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack
8f5e101baf Bug 1144450 - Part 3: Replace uses of mDispatchedLoadingEvent with mStatus, as they're equivalent. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack
3c7a55819e Bug 1144450 - Part 2: Don't replace a FontFaceSet's ready promise when there are no loading FontFaces. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack
498c37afe0 Bug 1144450 - Part 1: Fix a typo in test_font_loading_api.html. r=jdaggett 2015-03-24 19:34:32 +11:00
Brian Birtles
d9bedafede Bug 1117603 part 2 - Don't unregister from the refresh driver unless we are also queueing events; r=dbaron 2015-03-24 09:06:06 +09:00
Brian Birtles
b1f0188e81 Bug 1117603 part 1 - Don't assume style rules have been refreshed in GetAnimationRule; r=dbaron
Typically when GetAnimationRule is called, at least for CSS Animations, the
animation style rule will have been refreshed. However, in some cases such as
when the Web Animations API is used, the style rule will be marked as needing
to be refreshed outside of the usual flow. This rule will be refreshed when
nsAnimationManager::WillRefresh flushes animations but if the refresh driver
for the chrome document fires first, we will visit GetAnimationRule before
this happens.

This patch removes the assertion that expects animations to have been
refreshed by the time we reach GetAnimationRule causing it to update
the animation style rule as necessary.
2015-03-24 09:06:06 +09:00
David Anderson
c7317dc748 Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats)
--HG--
extra : rebase_source : 3225e248e7d870d41f74897ede54acb5c531a0c4
2015-03-23 12:34:21 -07:00
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