Commit Graph

14167 Commits

Author SHA1 Message Date
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
Henri Sivonen
90a759ae3f Bug 1225255 - Encode URL query string segments to bytes with HTML numeric character references for unmappable characters. r=valentin
MozReview-Commit-ID: HDJxSSZZYlw

--HG--
extra : rebase_source : e7fda143123a593b9d84ac4c924b9b1bef57f415
2016-07-15 14:49:22 +03:00
Phil Ringnalda
f66e96f7e9 Backed out changeset 9bc09c4c42c8 (bug 1322862) for frequent failures in test_navigation.py TestNavigate.test_go_back 2016-12-21 21:32:43 -08:00
Xidorn Quan
2eb9f6b181 Bug 1324988 - Enable some style system tests for stylo. r=gps
MozReview-Commit-ID: 5wRC8a1tgae

--HG--
extra : rebase_source : 47a0812e443cc5320c2585712f6f60338e2d8ad3
2016-12-21 15:11:12 +11:00
Phil Ringnalda
c97f1c6da6 Backed out 3 changesets (bug 1312739) for "'NoneType' object has no attribute 'startswith'" bustage in everything mochitest
CLOSED TREE

Backed out changeset 1f3f88337227 (bug 1312739)
Backed out changeset ecb1d15e8075 (bug 1312739)
Backed out changeset b2adce340421 (bug 1312739)
2016-12-21 20:19:24 -08:00
Andrew Halberstadt
0dae445678 Bug 1312739 - Use ALL_FLAVORS dict when running mochitest from an interactive loaner, r=jmaher
MozReview-Commit-ID: Kpxepe9KecV

--HG--
extra : rebase_source : f561c034408e1aedb9318fcc8457b961aeef1668
2016-12-20 11:24:33 -05:00
Andrew Halberstadt
0e7b157538 Bug 1312739 - Move mochitest 'ALL_FLAVORS' dict from mach_commands.py to mochitest_options.py, r=jmaher
Information in the ALL_FLAVORS dict is needed by interactive loaners (in the mach_test_package_commands.py
file). Because the normal mach_commands.py file doesn't get copied to the tests.zip, this commit refactors
ALL_FLAVORS into mochitest_options.py (which is copied to tests.zip) to avoid duplicating it. A side
benefit of moving ALL_FLAVORS to mochitest_options.py, is that mochitest_options.py itself can make use of
this dict. This means we no longer need to redefine the --flavor argument in the mach command.

The __init__.py file is added to turn the testing/mochitest directory into a python module. This allows
things like mach_commands.py to do things like 'from mochitest import runtests'. Mach commands are able to
find this module because the 'testing' directory is already added to sys.path in the mach bootstrap.

In the future, having mochitest as an importable module should help with running it from the srcdir. So this
is a change we should start making anyway. Unfortunately, we still need to import the main runtests.py file
from the objdir, as lots of things depend on the SCRIPT_DIR variable being in the objdir. We could probably
fix this with minimal work, but that is scope bloat for this bug.

MozReview-Commit-ID: KtWCk91bX0K

--HG--
extra : rebase_source : 4d5909f495a453b12e8301e98ed0394dcf5f2470
2016-12-20 10:50:43 -05:00
Andrew Halberstadt
94d7458277 Bug 1312739 - Fix marionette SEARCH_PATHS in mach_test_package_bootstrap.py, r=jmaher
In bug 1320073, the marionette package structure was refactored a bit. This made the SEARCH_PATHS
in the mach test package bootstrap outdated. While this didn't end up causing any errors due to
marionette also appearing in an activated virtualenv, it should still be fixed. Figured since I was
in the area, I would just piggy-back off this commit series rather than filing a new bug.

MozReview-Commit-ID: DCNz3xEVJfY

--HG--
extra : rebase_source : 5f019d2ca80e008e89c8b9bc93722534f103a58c
2016-12-20 14:08:21 -05:00
Ralph Giles
a0dc0e76e8 Bug 1325225 - Update vendored tooltool. r=dustin
Merge recent upstream changes. Adds a --version switch for setting
a version string on file records and fixes a help text typo.

MozReview-Commit-ID: KHB9AhOFZdz

--HG--
extra : rebase_source : f323d5f6a571e5ef99d6ab8e4c5ac8134b4135ba
2016-12-21 14:44:45 -08:00
Andreas Tolfsen
e4dda0a0d2 Bug 1322862 - Make __webDriverCallback et al. content safe; r=automatedtester
Properties created in a more privileged scope than content cause
permission denied errors when they are accessed from a less privileged
scope.  This is the case when we assign a document unload handler from
chrome to a sandbox with content privileges.  A permission denied error
will be thrown if this handler is inspected from the code evaluated
inside the sandbox.

By cloning the properties along with their functions and wrapping their
reflectors, we can ensure they can be safely inspected from content.

MozReview-Commit-ID: Hy5MYvdTsv8

--HG--
extra : rebase_source : c3950385dfeb3f3cfefa05e734d3eeeb1f1ada19
2016-12-10 16:15:53 -10:00
Mythmon
a443eb66e9 Bug 1308656 - Add shield-recipe-client as system add-on r=Gijs,rhelmer
MozReview-Commit-ID: KNTGKOFXDlH

--HG--
extra : rebase_source : 5b7ac9e5a1c004b1123b852e7b59729357a1dae8
2016-10-10 16:14:56 -07:00
Manish Goregaokar
6a9db075ab Bug 1324251 - Test updates for windows drive letters; r=valentin
MozReview-Commit-ID: 73qntNmXmAk

--HG--
extra : rebase_source : d23b187ee0805965013aa5633294b72102fe2ee3
2016-12-18 22:54:42 -08:00
Jonas Finnemann Jensen
984f8e2ad4 Bug 1325132 - Set correct docker image hashes; r=garndt
In bug 1324414 we added a HASH file containing the
image hash, but we accidentally set the wrong hashes.

MozReview-Commit-ID: GbX3dAppp7U

--HG--
extra : rebase_source : 3b1141a087583dbbbe918b7f433210092db29532
2016-12-21 19:36:24 +01:00
Andreas Tolfsen
3ea2cb4d67 Bug 1323982 - Remove web progress listener once sawLoad is seen; r=whimboo
The web progress `onStateChange` callback sometimes gets called multiple
times.

To ensure we do not end up removing the web progress listener multiple
times, causing an exception to be thrown if it has already been
removed, we remove the listener as part of the cleanup step when the
DOMContentLoaded event listener is removed.

MozReview-Commit-ID: Lm3sfjohyLR

--HG--
extra : rebase_source : ba63fe8af685f1dc88e62f01108e284f1b96bbe6
2016-12-16 14:07:05 +00:00
Carsten "Tomcat" Book
d1a09e06c8 Merge mozilla-central to autoland 2016-12-21 17:07:24 +01:00
Carsten "Tomcat" Book
e8b62ac15b merge mozilla-inbound to mozilla-central a=merge 2016-12-21 16:57:08 +01:00
Tom Tung
cedc3ddd38 Bug 1290933 - Part 3 - Update blink's WPT tests which are related to do not match non-GET requests. r=bkelly.
--HG--
extra : rebase_source : 4152571b4f130f82e878814fbccfeaffd19a9a88
2016-12-20 14:45:57 +08:00
Andrea Marchesini
7d3342df6b Bug 1324659 - AudioParam.minValue/maxValue, r=padenot 2016-12-21 10:53:38 +01:00
Andrea Marchesini
de7438cf52 Bug 1324352 - Implement BaseAudioContext, r=padenot 2016-12-21 10:52:50 +01:00
Phil Ringnalda
4f5f9f3222 Merge m-i to m-c, a=merge
MozReview-Commit-ID: EI1fU13SR79
2016-12-20 20:15:20 -08:00
Sebastian Hengst
ac153b5903 Backed out changeset 50a74758ee7d (bug 1324352) for failing webaudioeditor devtools tests like test/browser_audionode-actor-bypass.js. r=backout 2016-12-20 23:03:36 +01:00
Sebastian Hengst
2c02931295 Backed out changeset f350bbf9e636 (bug 1324659) 2016-12-20 23:02:44 +01:00
Wes Kocher
b5f33578be Merge m-c to inbound, a=merge 2016-12-20 11:47:17 -08:00
Wes Kocher
584a2f0f62 Merge inbound to central, a=merge
MozReview-Commit-ID: Cr9L1dhIzP2
2016-12-20 11:41:57 -08:00
Andrea Marchesini
f9c4996182 Bug 1324659 - AudioParam.minValue/maxValue, r=padenot 2016-12-20 20:20:41 +01:00
Andrea Marchesini
ad79ef8d0a Bug 1324352 - Implement BaseAudioContext, r=padenot 2016-12-20 20:20:41 +01:00
Carsten "Tomcat" Book
14b24ddfb5 Backed out changeset 83c4d145e937 (bug 1323916)
--HG--
extra : rebase_source : 4d356aa8982eb273052f422ba80c9bacc7c425ea
2016-12-20 14:46:00 +01:00
Alessio Placitelli
3313bae468 Bug 1315650 - Add a longer timeout for searchbar suggestions in tests. r=mak
MozReview-Commit-ID: 4dkkibfGFMv
2016-12-20 06:37:00 +01:00
Andreas Tolfsen
892dd1cb42 Bug 1324529 - Rename Marionette capability raisesAccessibilityExceptions to moz:accessibilityChecks; r=whimboo,yzen
This change renames the `raisesAccessibilityExceptions` capability to
`moz:accessibilityChecks` to conform with the format of extension
capabilities as defined in the WebDriver specification.

As this feature is not tested or used in the Firefox upgrade tests and
has limited deployment outside Mozilla, it is considered safe for this
to be a breaking change.

MozReview-Commit-ID: DRA16cWJDX0

--HG--
extra : rebase_source : 42fac27f655ce431ae68bbaeeec6a208d91e9033
2016-12-19 19:28:17 +00:00
Henrik Skupin
22418ad00d Bug 1324373 - Fix Javascript errors in Marionette's get_pref() method. r=ato
Given that all other code is using Components.interfaces it should also be
used in get_pref(). Further arguments is not iterable in older Firefox releases,
so we cannot use the unfolding - it would break Firefox UI update tests for
Firefox 45ESR -> 52ESR.

MozReview-Commit-ID: LZNdkW9XBvy

--HG--
extra : rebase_source : f01d9969fdefee944fa3dfc26113430ec1b32919
2016-12-20 10:30:39 +01:00
Andreas Tolfsen
8ff4e83b8c Bug 1324467 - Make copy of data to send to listener; r=automatedtester
The payload sent to the listener through `GeckoDriver#sendAsync` is
sometimes mutated if a `commandID` parameter is given.  Because `data`
is sometimes a reference to an object, the original object gets modified
with an additional `command_id` field.

To avoid this we copy the object before mutating it and pass it through
to the message manager.

MozReview-Commit-ID: HM2tnPqbAge

--HG--
extra : rebase_source : 6aa593973d82bdf4addd8003ce68df9ad3179a4a
2016-12-19 19:08:46 +00:00
Andrea Marchesini
4f29b70d10 Bug 1324537 - Implement the OfflineAudioCompletionEvent constructor, r=smaug 2016-12-20 10:41:30 +01:00
Masayuki Nakano
91321b54b4 Bug 1322736 part.4 Remove pref to enable BeforeAfterKeyboardEvent and permission to allow to handle the event r=smaug
MozReview-Commit-ID: BcYcN4soTvg

--HG--
extra : rebase_source : e0695f539426dfb39180a45c7fc0d64ba8d644f3
2016-12-16 16:50:17 +09:00
Stone Shih
c383970755 Bug 1323916 - [Pointer Event] Fix errors in pointer event test cases. r=smaug
MozReview-Commit-ID: KEayE2B7aKX
2016-12-13 14:05:10 +08:00
ctai
6155a2e4dd Bug 1323369 - Enable pause-remove-from-document-networkState.html. r=jwwang
MozReview-Commit-ID: 4QK7f3blHdf

--HG--
extra : rebase_source : 1d20f41a9b2e5d10fc866f3a1c24107bd79e7935
2016-12-12 16:10:28 +08:00
Sebastian Hengst
2b7a18a819 Backed out changeset a53f5aa00347 (bug 1308656) for syntax error in browser_dbg_searchbox-parse.js (line cut off). r=backout 2016-12-21 09:44:17 +01:00
Jonas Finnemann Jensen
1af303239b Bug 1324414 - Reference prebuilt docker images by HASH. r=dustin
This adds a HASH file next to the VERSION file in the image
context folders for prebuilt docker images. And uses the
HASH for referencing the image in the tasks created by
the decision task.

This way docker will validate the image hash when pulling it
in production. Thus, attackers won't be able to inject code
by compromising the remote docker registries we use to store
prebuilt images. Further more, this makes validation of the
Chain-Of-Trust artifacts easier as this eliminates the need
for whitelists and hash validation.

MozReview-Commit-ID: FD3B9MyeU9Q

--HG--
extra : rebase_source : e01cdbd0db06b36ba95dec3da936ee307a23aae7
2016-12-19 11:31:56 +01:00
Andrew Halberstadt
d93619e0ad Bug 1324047 - Update test runtimes data files, r=jgriffin
MozReview-Commit-ID: HuDOVFDQOmk

--HG--
extra : rebase_source : 80661fceed7ab19f67b70b039824db02c3842f8e
2016-12-19 12:10:39 -05:00
Andrew Halberstadt
2ef7e2e6e8 Bug 1324047 - Update testing/runtimes/writeruntimes.py for new e10s schema in ActiveData, r=jgriffin
At some point ActiveData stopped considering 'e10s' as a separate suite and instead stored this information
in the "run.type" field. This updates the writeruntimes.py script and mochitest runtime file resolving accordingly.

MozReview-Commit-ID: LSk2q0hafcm

--HG--
extra : rebase_source : 935942fb02f72d790464a30734ab153c2d56d5a9
2016-12-19 12:09:10 -05:00
Michelangelo De Simone
6a1106377a Bug 1313789 - Remove DOM/tethering and related code. r=jst
MozReview-Commit-ID: HskC7m1mW3o

--HG--
extra : rebase_source : 406bd859f54a8067156d24cd163b79cbfb39ae9a
2016-11-17 12:34:27 -08:00
Hiroyuki Ikezoe
8ba657ea57 Bug 1312301 - Part 11: Tests for interpolation as transformlist. r=boris
MozReview-Commit-ID: 7187bL666NW

--HG--
extra : rebase_source : 21ba0805603340704b9a68289edebd4c8be007ab
2016-12-20 19:15:24 +09:00
Hiroyuki Ikezoe
a39996e71b Bug 1312301 - Part 10: Move some utility functions into test_common.js. r=boris
MozReview-Commit-ID: IUaPSEt8Vg3

--HG--
extra : rebase_source : dddddeb3d459c7e4be10bf2d2680c4772cce7732
2016-12-20 19:13:51 +09:00
Hiroyuki Ikezoe
15d0df95f7 Bug 1312301 - Part 9: Tests for interpolation as color. r=boris
MozReview-Commit-ID: EtCyrSFx2mB

--HG--
extra : rebase_source : c233741d2164dace22b74abbbfa30da071375377
2016-12-20 19:13:50 +09:00
Hiroyuki Ikezoe
9902e60a46 Bug 1312301 - Part 8: Test properties that are animatable as length. r=boris
Some properies (e.g. outline-width) need prerequisite styles to compute
animating styles.

MozReview-Commit-ID: LB4eWIM07dY

--HG--
extra : rebase_source : adb02e1b373df21840f175e43f9fc8a249a69601
2016-12-20 19:13:50 +09:00