Commit Graph

14212 Commits

Author SHA1 Message Date
Henrik Skupin
7346feaa9c Bug 1323770 - Fix inappropriatelly skipped/disabled tests. r=maja_zf
Commenting out test methods is not the way how we should mark tests
as being skipped. The correct skip methods have to be used instead so
that the final results also show the correct skip count.

MozReview-Commit-ID: LKL4YQCyFko

--HG--
extra : rebase_source : 4c50596a6477e2afa0926b5dd787466d2b6ce89a
2016-12-21 17:34:59 +01:00
Henrik Skupin
feda197849 Bug 1323770 - Fix skip decorators for unit tests. r=maja_zf
Marionette's skip decorators are currently not conform with the ones from the
Python's unittest module, which require a reason as parameter. As such Marionette
should behave the same and should also require a reason for more detailed skip
messages. This is done by wrapping the actual decorator with another enclosing
method.

With the changes we also ensure that the wrapper has the same attributes as the
wrapped function by using functools.wraps(). This hasn't used so far and makes
debugging harder.

Further a couple of skip methods and classes were copied from the unittest module,
which should be better imported instead to reduce code duplication.

MozReview-Commit-ID: 6XT6M6cbCFW

--HG--
extra : rebase_source : 2fb8bce0f17eade182eb5f61479548d0f6ef8ecc
2016-12-29 09:22:00 +01:00
Henrik Skupin
35a7d605d5 Bug 1323770 - Marionette should not take screenshots for skipped tests. r=maja_zf
Taking screenshots for skipped tests is useless and should be avoided to
reduce the size of the test logs.

MozReview-Commit-ID: 9HPH7pSXTj9

--HG--
extra : rebase_source : 41ea609a285e037160b1be535dac35de643f31c1
2016-12-21 15:19:40 +01:00
Henrik Skupin
3b00d747cb Bug 1323770 - Moztest should forward correct test result. r=ahal
Registered callback handlers for tests should receive the correct
test status when the test has been finished, and not always "Error".

This change allows those callbacks to run specific code for individual
test results, eg. only do screenshots for failures.

MozReview-Commit-ID: FfbCRR0Jvjb

--HG--
extra : rebase_source : c73253acbb666ca62b23f806145c20f0a70c934c
2016-12-21 11:19:36 +01:00
Wes Kocher
2903c33754 Merge inbound to central, a=merge
MozReview-Commit-ID: 3AlcRAsPF0s
2016-12-28 16:08:44 -08:00
Ho-Pang
e4f7b97c15 Bug 1299209 - Part 3: Use the default pointerId if needed in EventUtils.js. f=sshih, r=smaug
--HG--
extra : rebase_source : 2b67489658ade21ed6304c4c2f0eb2f01155d47e
2016-12-27 03:18:00 -05:00
Mike Shal
d7a8d558f6 Bug 1325197 - Add logging around mach python-test; r=gps
In bug 1308472 we are seeing 'make -k check' fail intermittently with
the only apparent error message something like:

make: *** [check] Error 245

This debug should make it more clear which test (if any) is responsible
for setting the return code in 'mach python-test', and whether or not
'mach python-test' is actually reaching the end of the function.

MozReview-Commit-ID: 6IQrZQqs8ij

--HG--
extra : rebase_source : 4d2d4b8b139d7f16bda2b22ce79ab2c84e8fe4c7
2016-12-21 11:12:55 -05:00
Andrew Halberstadt
c1bee16c38 Bug 1325148 - Temporarily disable mochitest leakchecking for directories containing known leaks, r=jmaher
Leak checking in mochitest was failing to turn the jobs orange for a period of time. Several leaks slipped
through in the interim. In order to land the fix ASAP to avoid further bustage, these leaks are being
whitelisted. See the patch or the dependency graph of bug 1325148 for the list of leaks/bugs that are being
disabled.

While these bugs won't show up in treeherder, they are a priority to fix, as they could represent leaks that
are already landed in the code.

MozReview-Commit-ID: JY7Gpvswp4r

--HG--
extra : rebase_source : 0d75d80eccddca31a7d2d1c997a85efdb5a4858c
2016-12-21 16:22:50 -05:00
Andrew Halberstadt
148b884e2c Bug 1325148 - Use "error" level in mozleak when logging leak failures, r=jgraham
This fixes a regression when switching to the StructuredOutputParser in mozharness.
Previously, mozleak was relying on the string "TEST-UNEXPECTED-FAIL" to turn the jobs
orange, but it was doing so at the "warning" level. The StructuredOutputParser requires
the "error" level to set the appropriate tbpl_status.

MozReview-Commit-ID: 9u9mwqrkA6E

--HG--
extra : rebase_source : d31ece08232a87713702e713076071fa10fb8324
2016-12-21 14:02:04 -05:00
Al Tsai
6f69bab955 Bug 1299944 - use default runtests.py if objdir doesn't exists. r=gps
MozReview-Commit-ID: LCMslgCDkVS

--HG--
extra : rebase_source : c1c557a4f68e50a0ca8c435bb4b0581f7de0ab50
2016-12-27 17:33:15 +08:00
Henrik Skupin
07af072122 Bug 1243415 - Improve screenshot unit tests and add tests for chrome scope. r=ato
MozReview-Commit-ID: 4p62N4HgnvO

--HG--
extra : rebase_source : 04929b4c56f307cd8f6cec7a2190f2e15f9c2523
2016-12-14 21:40:58 +01:00
Henrik Skupin
f68eddf3dd Bug 1243415 - Check for a valid DOMWindow for screenshot in chrome scope. r=automatedtester
By the webdriver spec the code has to fail with a NoSuchWindowError if the
active window is no longer present.

MozReview-Commit-ID: HFl7yO5ErRn

--HG--
extra : rebase_source : d170e400c1624e680745e7023041413055ef9bd0
2016-12-07 21:47:44 +01:00
Henrik Skupin
c4fb446f19 Bug 1243415 - Add support to take full screenshots in chrome scope. r=automatedtester
MozReview-Commit-ID: 1FmWTEZzt7

--HG--
extra : rebase_source : 34ba86cdfcd400eb4f268a0b3d17be95b2f71c3d
2016-12-07 17:38:14 +01:00
Henrik Skupin
e4153d09c5 Bug 1243415 - Add hash format support for screenshots in chrome scope. r=automatedtester
MozReview-Commit-ID: Dp0vDyYTzX1

--HG--
extra : rebase_source : cf24b8e2a0768d65b420ebeef7ef08e1d553f4f8
2016-12-05 23:06:36 +01:00
Henrik Skupin
31b8911b4b Bug 1243415 - Add highlighting of elements for screenshots in chrome scope. r=ato,automatedtester
MozReview-Commit-ID: 317tqZWwdQf

--HG--
extra : rebase_source : 8e2af4bd68d619ee3e8f19e68dc8e07119d923c4
2016-12-05 21:19:46 +01:00
Henrik Skupin
260407fb18 Bug 1243415 - Make use of capture.js in chrome scope. r=automatedtester
The screenshot code in chrome scope is updated to use the generic capture module,
which is already used for content scope. By that change the code which captures
the canvas makes use of devicePixelRatio now. It means the screenshot will be
scaled depending on the screen configuration, eg. on Andoid this mostly 2.

MozReview-Commit-ID: EBKmJEKVXPQ

--HG--
extra : rebase_source : cd399eb3ee012516b218b9d1a5fd26422ebc9be0
2016-12-28 14:13:31 +01:00
Henrik Skupin
468d519037 Bug 1243415 - Remove B2G related code from screenshot methods. r=automatedtester
MozReview-Commit-ID: 1C0XXOX2zuf

--HG--
extra : rebase_source : 83861ee3f4527dd1bfbe9311a67c1302b42a17c6
2016-12-05 18:37:50 +01:00
Henrik Skupin
03cbd80428 Bug 1243415 - Capture methods should use the window as parameter. r=automatedtester
MozReview-Commit-ID: FfuCSPZtiex

--HG--
extra : rebase_source : fdbba7f7651ec650a5648211544a22480eb0eb3c
2016-12-05 18:27:15 +01:00
Henrik Skupin
e85126f365 Bug 1277090 - Update unit tests for getElementAttribute() changes. r=ato
MozReview-Commit-ID: 4eDpV2MzKLN

--HG--
extra : rebase_source : 696e218e39c360e26414f23f629d9f0904d07d2c
2016-12-12 20:45:58 +01:00
Henrik Skupin
26107073d9 Bug 1277090 - getElementAttribute() has to only return attributes. r=ato
Formerly getElementAttribute() has returned a mix of attributes and
properties. Since getElementProperty() has been added, there is no
need anymore for getElementAttribute() to return conflated data.

MozReview-Commit-ID: 29saWd9PsOX

--HG--
extra : rebase_source : e1dece7586c9b22320db406cfd60d211195f5f18
2016-12-14 22:26:34 +01:00
Henrik Skupin
0ed2e90726 Bug 1277090 - Make use of get_property() in firefox-ui tests where necessary. r=maja_zf
Given that Marionette supports the get_property() method, all the calls to
get_attribute() have to be audited and updated to get_property() if needed.
It's necessary because get_attribute() will only retrieve attributes from now on.

MozReview-Commit-ID: 8SmdNoiG8uP

--HG--
extra : rebase_source : 07a4b71baeaeac13bc29d9b0e1bcf6c4c611ee39
2016-12-20 17:34:18 +01:00
Phil Ringnalda
f0cfa5aa83 Backed out 3 changesets (bug 1272623) for negative-leaking
Backed out changeset 063782053b4a (bug 1272623)
Backed out changeset e2e4ab888d78 (bug 1272623)
Backed out changeset bf6b592e0700 (bug 1272623)
2016-12-27 20:26:16 -08:00
Masayuki Nakano
0a9fd95b42 Bug 1272623 part.3 HTMLEditRules::ReapplyCachedStyles() shouldn't set style to TypeInState if it's currently applied r=smaug
The target node of HTMLEditRules::ReapplyCachedStyles() may be styled with its parent.  When HTMLEditRules::ReapplyCachedStyles() is called, it shouldn't restore another style cache if it's already specified in current DOM tree.

MozReview-Commit-ID: DKCpQ8YyW7

--HG--
extra : rebase_source : 5aad5caeee98301a1ad0035b5d2efa3cd545a0d0
2016-12-28 09:04:59 +09:00
Sebastian Hengst
fedd79ebdb Backed out changeset ee7a21566602 (bug 1325148) for leaks in M(c3) and M-e10s(dt5) on Linux x64 asan. r=backout 2016-12-27 15:15:17 +01:00
Sebastian Hengst
084c47e5d9 Backed out changeset 95ad94f3ef4b (bug 1325148) 2016-12-27 15:14:13 +01:00
Andrew Halberstadt
09c052caa1 Bug 1325148 - Temporarily disable mochitest leakchecking for directories containing known leaks, r=jmaher
Leak checking in mochitest was failing to turn the jobs orange for a period of time. Several leaks slipped
through in the interim. In order to land the fix ASAP to avoid further bustage, these leaks are being
whitelisted. See the patch or the dependency graph of bug 1325148 for the list of leaks/bugs that are being
disabled.

While these bugs won't show up in treeherder, they are a priority to fix, as they could represent leaks that
are already landed in the code.

MozReview-Commit-ID: JY7Gpvswp4r

--HG--
extra : rebase_source : 6227c59df4ee3c0ffd9baf721c3081867c98899a
2016-12-21 16:22:50 -05:00
Andrew Halberstadt
88fcee124a Bug 1325148 - Use "error" level in mozleak when logging leak failures, r=jgraham
This fixes a regression when switching to the StructuredOutputParser in mozharness.
Previously, mozleak was relying on the string "TEST-UNEXPECTED-FAIL" to turn the jobs
orange, but it was doing so at the "warning" level. The StructuredOutputParser requires
the "error" level to set the appropriate tbpl_status.

MozReview-Commit-ID: 9u9mwqrkA6E

--HG--
extra : rebase_source : 4d975e481c8257b178a145497bc53eabc28ed182
2016-12-21 14:02:04 -05:00
Phil Ringnalda
b94a0cbd73 Merge m-i to m-c, a=merge 2016-12-24 16:51:17 -08:00
Wes Kocher
37e6ad7e9e Backed out 7 changesets (bug 1322938) for test_lowDiskSpace.html failures on android a=backout
Backed out changeset 1de6bfc4c973 (bug 1322938)
Backed out changeset 45b81607acd2 (bug 1322938)
Backed out changeset 2f3c2e660d28 (bug 1322938)
Backed out changeset d93937b3f80e (bug 1322938)
Backed out changeset 91c8b6d99e35 (bug 1322938)
Backed out changeset b6bdaf0dd932 (bug 1322938)
Backed out changeset 4b6ed4bb4263 (bug 1322938)
2016-12-23 20:55:55 -08:00
Tim Nguyen
b4cc065b02 Bug 1322938 - Put <dialog> element behind preference. r=smaug
MozReview-Commit-ID: 3thJ5B7Znwo
2016-12-23 16:01:50 +01:00
Tim Nguyen
6b747f9288 Bug 1322938 - Update <dialog> element Web Platform Tests expected results. r=smaug
MozReview-Commit-ID: LPpjDkNI6n8
2016-12-23 16:01:50 +01:00
Tom Schuster
5787df6a88 Bug 1255128 - Adjust webplatform ArrayBuffer test . r=bz 2016-12-24 00:13:39 +01:00
Hiroyuki Ikezoe
92a8f642ee Bug 1216844 - Implement KeyframeEffect::SetComposite(). r=boris,smaug
MozReview-Commit-ID: C9wHsriHgZ9

--HG--
extra : rebase_source : 85ddcf39ed54dd5add692421c10f3bfb6e9d3ceb
2016-12-14 08:51:44 +09:00
Hiroyuki Ikezoe
54503e5fd9 Bug 1311620 - Part 11: Implement shadow list addition. r=boris
MozReview-Commit-ID: DRShA4qUS8Q

--HG--
extra : rebase_source : 68f4aee6abff1ac11815b18e2aa15b9470111497
2016-12-24 20:05:34 +09:00
Hiroyuki Ikezoe
059eaa8ee8 Bug 1311620 - Part 10: Implement filter list addition. r=boris
MozReview-Commit-ID: 8bQWBVveP9L

--HG--
extra : rebase_source : 5c292ee6d4cf547263fa0114f642fecb28ac5b17
2016-12-24 20:04:56 +09:00
Hiroyuki Ikezoe
523ccaff51 Bug 1311620 - Part 9: Implement transform list addtion. r=boris.
MozReview-Commit-ID: 76b5eJ9FtWo

--HG--
extra : rebase_source : fd77fbeea96986c0a7fa484d067074e3f9f87677
2016-12-24 20:04:52 +09:00
Hiroyuki Ikezoe
2418629ef8 Bug 1311620 - Part 8: Implement color addition. r=boris
Actually this is the same as color accumulation.  Now we can pass test cases
that interpolation with overflowed values.

MozReview-Commit-ID: L4RqBhG5n3l

--HG--
extra : rebase_source : e80f1c135b33703dcda7c99df897aa7097030f05
2016-12-24 20:03:48 +09:00
Hiroyuki Ikezoe
c627be3142 Bug 1311620 - Part 7: addition result tests per properties. r=boris
This includes some failure test cases:

1) Color interpolation with overflowed colors.
Additive color needs to be with overflowed color components that are produced
by additive calculation. For example:

 an additive color animation between rgb(100, 100, 100) and rgb(200, 200, 200)
 on rgb(100, 100, 100) element should be an animation of colors;
 from rgb(200, 200, 200) to rgb(300, 300, 300).

This will be fixed in the next patch (part 8).

2) All transform tests.
Additive transform list has to be concatinated, it will be done in a subsequent
patch (part 9).

MozReview-Commit-ID: 5OoT6icVMcC

--HG--
extra : rebase_source : ad572953c6e986efb85faf07e385b8a8f3b3d968
2016-12-24 19:57:49 +09:00
Hiroyuki Ikezoe
8e88d9bc70 Bug 1311620 - Part 6: Fix test cases that checks keyframe composite is not specified but effect composite is specified. r=birtles
From spec <https://w3c.github.io/web-animations/#dom-keyframeeffectreadonly-getkeyframes>:

composite
    The keyframe-specific composite operation used to combine the values
    specified in this keyframe with the underlying value.
    This member will be absent if the composite operation specified on
    the keyframe effect is being used.

MozReview-Commit-ID: 8ob59Xv6DRL

--HG--
extra : rebase_source : cf88254e6acb1a2d56b7c50ef46db7ef3a692947
2016-12-24 19:55:09 +09:00
Hiroyuki Ikezoe
d339d422fb Bug 1311620 - Part 5: Implement effect composite(add). r=birtles
MozReview-Commit-ID: 7t6CD3VibNS

--HG--
extra : rebase_source : 3d683f945db1eac4c208daecc92750710df6c3d0
2016-12-24 19:54:42 +09:00
Hiroyuki Ikezoe
5201cc33f3 Bug 1311620 - Part 4: Implement keyframe composite(add). r=birtles
This patch also fixes expected computed offset values in frame at 0.5 offset for
add composite.

MozReview-Commit-ID: 8PNp237NoV4

--HG--
extra : rebase_source : 7bdf83741198fb81c6721cad1764e6464033c240
2016-12-24 19:54:27 +09:00
Hiroyuki Ikezoe
ade861d258 Bug 1311620 - Part 1: Test for effect/keyframe composite(add). r=birtles
MozReview-Commit-ID: ArJ6hsMNJ1y

--HG--
extra : rebase_source : bf02d1496160d2ff38755551cfb2f244f9dea6cd
2016-12-24 17:26:03 +09:00
Wes Kocher
1e19e7e80a Backed out 6 changesets (bug 1322938) for android failures in test_lowDiskSpace.html CLOSED TREE a=backout
Backed out changeset 8d9ed256d618 (bug 1322938)
Backed out changeset 0d04a7f9567b (bug 1322938)
Backed out changeset f3bed08a1f6f (bug 1322938)
Backed out changeset 2992c400da4d (bug 1322938)
Backed out changeset cf6c65628dd0 (bug 1322938)
Backed out changeset 4c88ef02c5d4 (bug 1322938)
2016-12-23 13:40:26 -08:00
Wes Kocher
60785fce6d Merge inbound to central, a=merge
MozReview-Commit-ID: I54WGOLqHI2
2016-12-22 18:37:07 -08:00
Joel Maher
f451a87ac2 Bug 1325348 - mochitest-media jobs failing as we need pywin32 package available. r=grenade
MozReview-Commit-ID: FguOHuckMsg
2016-12-22 10:54:47 -05:00
Carsten "Tomcat" Book
0aed7a4ac5 Merge mozilla-central to mozilla-inbound
--HG--
rename : testing/docker/base-build/HASH => taskcluster/docker/base-build/HASH
rename : testing/docker/base-test/HASH => taskcluster/docker/base-test/HASH
rename : testing/docker/centos6-build-upd/HASH => taskcluster/docker/centos6-build-upd/HASH
rename : testing/docker/centos6-build/HASH => taskcluster/docker/centos6-build/HASH
rename : testing/docker/decision/HASH => taskcluster/docker/decision/HASH
rename : testing/docker/image_builder/HASH => taskcluster/docker/image_builder/HASH
rename : testing/docker/recipes/tooltool.py => taskcluster/docker/recipes/tooltool.py
rename : testing/docker/tester/HASH => taskcluster/docker/tester/HASH
2016-12-22 16:25:35 +01:00
Brian Birtles
58a36d439c Bug 1325308 - Convert non-promise test to use regular test() function r=hiro
MozReview-Commit-ID: LYbY7gvkDGG

--HG--
extra : rebase_source : 2212df46d655b139cd1cb7a8b9ede2745937c4ce
2016-12-22 16:56:55 +09:00
Brian Birtles
7b5a217a36 Bug 1325308 - Fix expected computedOffset for 'a single keyframe sequence with string offset' test r=hiro
MozReview-Commit-ID: H2WeL1h7bDT

--HG--
extra : rebase_source : d038b3c0c17ac30c0a5c4ad28eb26e41f78c02c7
2016-12-22 16:55:30 +09:00
Shing Lyu
9837011850 Bug 1323399 - Fix the stylo-vs-gecko reftest harness. r=heycam
MozReview-Commit-ID: 7htc3KOGGl6

--HG--
extra : rebase_source : 5be95cd80d3997e5e3146e98c50b4395679c8f00
2016-12-14 15:44:39 +08:00
ctai
44a9ea25d4 Bug 1325053 - Enable video_008.htm. r=jwwang
This bug also fix test case video_008.htm.

MozReview-Commit-ID: 1onyh3K1R7v

--HG--
extra : rebase_source : 22c86e46ae6d99f038502f9fc020a7a8d2ea5ab9
2016-12-21 21:34:49 +08:00