Commit Graph

312 Commits

Author SHA1 Message Date
Andrew Comminos
b5ad1a9975 Bug 1169666 - Mark reftests failing due to scrollbar transparency random on GTK3. r=karlt 2015-06-19 07:51:00 -04:00
Ms2ger
d5fa7d0cfe Bug 1171440 - Stop using for-each loops in reftest.js; r=dbaron
--HG--
extra : commitid : 2mj8f35nTBx
2015-06-05 11:23:14 +02:00
Mason Chang
1ab5797256 Bug 1169956. Backout bug 1073209 for tiled image regressions on OS X. r=jrmuizel 2015-06-04 15:59:11 -07:00
David Anderson
b2eb29a9c5 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
Kartikaya Gupta
5b6ed7c5d7 Bug 1164218 - Allow running individual mochitests and reftests in chaos mode. r=roc,froydnj 2015-06-04 13:44:55 -04:00
Andrew Comminos
065394444c Bug 1170158 - Apply GTK2 reftest exceptions to GTK3. r=karlt 2015-06-02 13:47:00 -04:00
Mason Chang
30c8ca5402 Bug 1073209 - Eliminate usage of CreateSamplingRestrictedDrawable on OS X. r=jrmuizel 2015-04-20 08:38:43 -07:00
Markus Stange
dee805a312 Bug 1142211 - Add layerization testing mechanisms to reftest. r=roc
This adds support for class="reftest-opaque-layer" and for
reftest-assigned-layer="some-layer-name" to the reftest harness.

From reftest/README.txt:

Opaque Layer Tests: class="reftest-opaque-layer"
================================================

If an element should be assigned to a PaintedLayer that's opaque, set the class
"reftest-opaque-layer" on it. This checks whether the layer is opaque during
the last paint of the test, and it works whether your test is an invalidation
test or not. In order to pass the test, the element has to have a primary
frame, and that frame's display items must all be assigned to a single painted
layer and no other layers, so it can't be used on elements that create stacking
contexts (active or inactive).

Layerization Tests: reftest-assigned-layer="layer-name"
=======================================================

If two elements should be assigned to the same PaintedLayer, choose any string
value as the layer name and set the attribute reftest-assigned-layer="yourname"
on both elements. Reftest will check whether all elements with the same
reftest-assigned-layer value share the same layer. It will also test whether
elements with different reftest-assigned-layer values are assigned to different
layers.
The same restrictions as with class="reftest-opaque-layer" apply: All elements
must have a primary frame, and that frame's display items must all be assigned
to the same PaintedLayer and no other layers. If these requirements are not
met, the test will fail.
2015-03-11 14:51:59 -04:00
Alexandre Lissy
c87d8ae9ed Bug 1138444 - Add Mulet detection for reftests. r=jgriffin
--HG--
extra : rebase_source : 5b50f02fe229b8d0dfaaba3924061dc6b985f3b8
2015-03-03 03:20:00 -05:00
Kartikaya Gupta
4ebb7ef7d1 Bug 1130455 - Remove the mozasyncpanzoom attribute. r=roc
This attribute used to force APZ to be used on content processes even if the
overall APZ pref was false. However, this has a couple of problems, which cancel
each other out:
- If the pref is false, the APZ machinery is never created, and so it's
  impossible to have content processes "using" APZ.
- The reftest harness checks for the pref and ignores mozasyncpanzoom when
  evaluating the "asyncPanZoom" condition in reftest manifests.
Therefore, any reftests which were skip-if(!asyncPanZoom) would never run unless
the pref was set, and in those cases the mozasyncpanzoom attribute would not be
needed at all, as APZ is already enabled with the pref.
However, the mozasyncpanzoom attribute would cause some parts of the child
process code to behave as though APZ was enabled, which is incorrect. Removing
this attribute and relying solely on the pref corrects that.
2015-02-26 08:47:00 -05:00
L. David Baron
42aec8e460 Bug 1121327 patch 1 - Make the OSX variable in the reftest condition sandbox be an integer (1006, 1010) so that it scales for 10.10, and undefined for non-Mac rather than 0. r=ted.mielczarek
Using undefined has the advantage that we can use < and > tests with the
OSX variable.  (We currently have no such tests in the tree, perhaps
partly because they didn't work with non-OSX being 0.)
2015-01-15 15:07:50 -08:00
Christoph Kerschbaumer
cc96f3ae3c Bug 1087735: Make JS callers of ios.newChannel call ios.newChannel2 in layout/ (r=dbaron) 2014-10-24 14:58:25 -07:00
Mike Hommey
541c80f735 Bug 948278 - Avoid piggy-backing into the build system for the reftest addon. r=ted
This makes the reftest addon use the httpd server as a js module instead of
a XPCOM component.
2014-12-16 15:07:01 +09:00
Kartikaya Gupta
239293451e Bug 1109263 - Clamp the reftest drawWindow call to the canvas. r=dbaron
In some cases the area reported by MozAfterPaint can be extremely large. Since
that area determines what we pass to drawWindow, we could end up trying to
drawWindow an area that is too large for drawWindow to handle. Instead, this
patch clamps that area to the canvas size so that we don't unnecessarily try to
paint (and fail at painting) the whole invalid area.
2014-12-10 07:50:47 -05:00
Bill McCloskey
61098bacba Bug 1090627 - [e10s] Ensure hasTestPlugin is true in reftests (r=roc) 2014-11-03 07:10:28 -08:00
Markus Stange
4a9b04adc7 Bug 1087293 - Remove unused nsIFrameLoader::renderMode. r=kats 2014-10-23 22:45:14 +02:00
Bobby Holley
a94527ccc8 Bug 1082450 - Remove exposedProps from reftest harness. r=gabor 2014-10-15 15:05:09 +02:00
L. David Baron
22fec013ea Bug 1054163 - Replace numbered reftest manifest file errors with more descriptive error messages. r=dholbert
--HG--
extra : transplant_source : %0C%F1%20%BEB%03%01%8E%FC%95%AC%24%11%EE%09W%5Bs%AC%93
2014-08-17 21:21:21 -07:00
Markus Stange
637219fcf9 Bug 1050229 - Use matchMedia when computing the value for the windowsDefaultTheme reftest variable. r=ehsan 2014-08-08 12:46:48 +02:00
Ehsan Akhgari
7d3ab121f1 Bug 1044243 - Remove unused Fennec reftest sandbox variables; r=ted 2014-07-25 17:10:39 -04:00
Bill McCloskey
803109b939 Bug 1001039 - Disable plugin tests in desktop e10s (r=roc) 2014-07-26 12:22:13 -07:00
Bill McCloskey
6f37484071 Bug 1001039 - Disable APZ tests in desktop e10s (r=roc) 2014-07-26 12:21:57 -07:00
Carsten "Tomcat" Book
ff26ea326c merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
CJKu
8886b7fbdd Bug 1000722 - Many B2G reftests fail after enabling OOP, because partial drawWindow calls are drawing too small an area. r=dbaron 2014-06-18 21:39:00 -04:00
Ed Morley
e801b5be57 Backed out changeset e56739ee253b (bug 1000722) for causing failures in outer-svg-border-and-padding-01.svg; CLOSED TREE 2014-06-24 15:38:23 +01:00
cku@mozilla.com
bef8d52506 Bug 1028092 - "Dump testing log when testing pass but we expect testing fail." r=ahal 2014-06-20 02:51:00 +02:00
CJKu
8bad6db994 Bug 1000722 - Many B2G reftests fail after enabling OOP, because partial drawWindow calls are drawing too small an area. r=dbaron 2014-06-18 21:39:00 +02:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Kershaw Chang
71f5d5e40e Bug 1013094 - Rename browser.manifestURL and browser.homescreenURL, r=fabrice 2014-05-27 18:01:01 +08:00
Benoit Jacob
458b23dd1c Bug 1004483 - Adjust WebGL reftest.list for the fact that Skia blending doesn't handle superluminant pixels - r=jrmuizel 2014-05-15 11:50:16 -04:00
Landry Breuil
19853ae90f Bug 981780: disable some dom/media webrtc tests if webrtc isnt enabled r=drno 2014-05-09 14:41:25 -04:00
Ryan VanderMeulen
4c51cdc449 Backed out changesets 33e91919b06b and a3a67e1ded26 (bug 981780) for OSX bustage.
CLOSED TREE
2014-05-09 15:26:13 -04:00
Landry Breuil
c02fa98236 Bug 981780: disable some dom/media webrtc tests if webrtc isnt enabled r=drno 2014-05-09 14:41:25 -04:00
Robert O'Callahan
6a9101204b Bug 998206. Add --shuffle option to runreftests.py and 'mach reftest'. r=dbaron
--HG--
extra : rebase_source : 8270c601ad8d5afe4b598e78ed8d84a3c1385f1f
2014-03-03 18:13:01 +13:00
Ed Morley
c95190797a Bug 991134 - Output an additional failure line for loadfailed: null failures to make bug 789751 and bug 720452 TBPL starable; r=dbaron 2014-04-17 01:13:38 +01:00
Robert O'Callahan
f3b7b2a6fa Bug 975931. Part 7: Enable APZC in reftests. r=dbaron
--HG--
extra : rebase_source : 74c33e5b5f4e8aa59199e488cb7606527d7beaec
2014-02-24 20:17:58 +13:00
L. David Baron
a22aa08933 Bug 789602 followup: unbreak printing of REFTEST IMAGE with != test failures, which the initial patch incorrectly put before the REFTEST TEST-UNEXPECTED-FAIL line. 2014-02-16 16:05:09 -08:00
Bill McCloskey
f68b403891 Bug 960783 - Support "new out-of-process window" menu item in nightly (r=felipe,bsmedberg,trevor,ted) 2014-02-11 09:01:08 -08:00
Andrew Halberstadt
1cf91fdbe1 Bug 916350 - Make it possible to run reftests on b2g desktop, r=jgriffin,ted 2014-01-24 10:34:01 -05:00
Andrew Halberstadt
d43f476473 Bug 958533 - Add b2g desktop to the reftest sandbox, r=jgriffin 2014-01-23 16:02:22 -05:00
Wes Kocher
fa809234df Backed out changeset 31ef6f1090fd (bug 916350) for android reftest bustage on a CLOSED TREE 2014-01-21 15:37:02 -08:00
Andrew Halberstadt
65b190d25f Bug 916350 - Make it possible to run reftests on b2g desktop, r=jgriffin,ted 2014-01-21 17:25:20 -05:00
Nathan Froyd
ca52f0f989 Backout 2c24dc80aa00 (bug 916350) for Android reftest/crashtest orange on this CLOSED TREE 2014-01-20 20:08:43 -05:00
Andrew Halberstadt
9ba71d3248 Bug 916350 - Make it possible to run reftests on b2g desktop, r=jgriffin,ted 2014-01-20 17:44:44 -05:00
Bill McCloskey
bc4112895d Bug 673569 - Let each frame script have its own anonymous scope (r=smaug,Waldo,mrbkap,bsmedberg) 2013-11-23 21:32:45 -08:00
Andrew Halberstadt
01181b7de3 Bug 922680 - Add ability to run b2g emulator reftests oop, r=jgriffin 2013-12-03 17:02:39 -05:00
Chris Peterson
cf1496031d Bug 757726 - Part 6a: Add support for cloaking plugin names in navigator.plugins and navigator.mimeTypes enumeration. r=johns sr=bsmedberg 2013-10-31 22:19:09 -07:00
Nathan Froyd
78171b6e28 Bug 859339 - blur reftests that don't need focus; r=dbaron
This patch opens a second window during non-remote reftests.  This second
window is used purely as a place to place focus when tests don't need
focus themselves.  Unfocusing the reftests windows when tests don't require
focus means that tests that ought to have needs-focus cause failures more
consistently.

We don't use a second window for remote reftests.  Even though we
theoretically could (on desktop platforms, for instance), our primary
remote reftest use-cases are for Android and B2G.  And those platforms do
not support multiple windows.
2013-07-29 12:33:44 -04:00
Fabrice Desré
a8f153f2de Bug 894927 - Use xhtml instead of xul for b2g main window. r=ochameau
--HG--
rename : b2g/chrome/content/shell.xul => b2g/chrome/content/shell.html
2013-08-28 14:35:34 -07:00
Georg Fritzsche
613349b082 Bug 899080 - Test fixup part 1 - Always enable test-plugins for reftests. r=jmaher 2013-09-04 16:05:31 +02:00