Commit Graph

10150 Commits

Author SHA1 Message Date
Andreas Tolfsen
73ee3f8d9d Bug 1245153 - Rename frame-manager.js to frame.js; r=automatedtester
MozReview-Commit-ID: 3s6s2LccFac
2016-02-03 19:28:02 +00:00
Andreas Tolfsen
dbfee71802 Bug 1245153 - Rename actions.js to action.js; r=automatedtester
MozReview-Commit-ID: 58v7aMH2deS
2016-02-03 19:25:28 +00:00
Andreas Tolfsen
cfed1321e6 Bug 1245153 - Remove testing/marionette/ChromeUtils.js; r=automatedtester
This does not appear to be in use.

MozReview-Commit-ID: B4M335Lb1UM
2016-02-03 19:18:30 +00:00
Andreas Tolfsen
68f2b5133c Bug 1245153 - Rename interactions.js to interaction.js; r=automatedtester
MozReview-Commit-ID: F51ENbkcoR2
2016-02-03 19:15:54 +00:00
Andreas Tolfsen
ef3803b9b2 Bug 1245153 - Rename elements.js to element.js; r=automatedtester
MozReview-Commit-ID: KAGGXOHMvyM
2016-02-03 19:14:10 +00:00
Andreas Tolfsen
02dea22eb2 Bug 1245153 - Remove testing/marionette/atoms; r=automatedtester
MozReview-Commit-ID: 1aeRNnvqmcS
2016-02-03 19:00:46 +00:00
Andreas Tolfsen
65f61ab2a3 Bug 1245153 - Add event.js module and remove EventUtils.js and sendkeys.js from manifest; r=automatedtester
MozReview-Commit-ID: 9KqUpfp6KHG
2016-02-03 18:56:45 +00:00
Andreas Tolfsen
ee96a9bc80 Bug 1245153 - Employ new modules throughout Marionette; r=automatedtester
This change removes almost all the remaining uses of loadSubScript and
global scope pollution.  The only remaining use is for common.js, which
is resolved by a later bug for evaluating scripts.

MozReview-Commit-ID: 96h0yLElauq
2016-02-03 18:56:02 +00:00
Andreas Tolfsen
892f383cb0 Bug 1245153 - Convert interactions.js and elements.js to modules; r=automatedtester
To simplify the dependency chain and reduce the number of duplicate
functions in Marionette, a number of functions have been removed from
interactions.js and added to elements.js.  This makes them more easily
re-usable and works around a circular dependency issue.

MozReview-Commit-ID: TZc3VZzHqM
2016-02-03 18:54:23 +00:00
Andreas Tolfsen
bd58f14efd Bug 1245153 - Convert frame-manager.js to a module; r=automatedtester
MozReview-Commit-ID: HNCvHitE3Fh
2016-02-03 18:52:37 +00:00
Andreas Tolfsen
b200390cdf Bug 1245153 - Convert atoms.js to a module; r=automatedtester
Through some very clever hacking of the arguments to each of the atoms,
we are able to contain this in a JS module: Atoms normally extract their
arguments directly from the function scoped `arguments' variable, but
by explicitly naming `window' as the last argument in the functions'
prototype we are able to set the `window' variable used inside.

This is obviously a big hack, but it encapsulates the atoms and we are
moving away from atoms in the long term.

MozReview-Commit-ID: KGO77fjRN2d
2016-02-03 18:50:17 +00:00
Andreas Tolfsen
ff63613475 Bug 1245153 - Convert EventUtils.js to a module; r=automatedtester
testing/marionette/sendkeys.js has been merged into the
new testing/marionette/event.js module, together with
testing/marionette/EventUtils.js.

There is a lot of functionality still left in this module that we can
probably remove, as it is not in use by Marionette.

MozReview-Commit-ID: GrjNuK9VPjp
2016-02-03 18:47:08 +00:00
Andreas Tolfsen
8db2daad10 Bug 1245153 - Wrap errors before they are passed through the IPC channel; r=automatedtester
error.wrap acts as a no-op if it is passed a prototype which is already
of the WebDriverError prototypal chain.

MozReview-Commit-ID: Gd9kUEvsgNv
2016-02-03 18:44:55 +00:00
Andreas Tolfsen
76045c0faf Bug 1245153 - Add error.wrap to wrap Error prototypes; r=automatedtester
Generally, Error prototypes that are not based on WebDriverError must
be wrapped so that they can be serialised across the AsyncMessageChannel.

MozReview-Commit-ID: EtkpEOBhrST
2016-02-03 18:43:37 +00:00
Andreas Tolfsen
8825708b0c Bug 1245153 - error.isError must recognise built-in Error prototypes; r=automatedtester
Due to a previous programming error, error.isError only recognised
the base Error prototype.  It must also test for the other built-in
prototypes, such as TypeError et al.

MozReview-Commit-ID: HLkiOAg0Jl1
2016-02-03 18:41:37 +00:00
Joel Maher
de19c25978 Bug 1246174 - fix tp5o responsiveness calculation for reporting to perfherder. r=parkouss
MozReview-Commit-ID: 3MP9ugObja4
2016-02-10 18:32:16 -08:00
Edgar Chen
15b18cf517 Bug 1245398 - Use in-tree script for all mulet tests; r=ahal
MozReview-Commit-ID: AntB37HzGXa
2016-02-10 18:12:02 +08:00
nhirata
bf84e4e634 Bug 1244893 - Disable F/OTA updates to balrog. r=wcosta 2016-02-03 16:13:00 +01:00
Henrik Skupin
630c588705 Bug 1207038 - Backout workaround of bug 1156475 for Marionette shutdown hang. r=maja_zf
MozReview-Commit-ID: 8ZZGDA09ojo
2016-02-10 01:48:00 +01:00
Wes Kocher
2b848026d6 Backed out changeset e28540fe266a (bug 1246828) for xpcshell failures in test_TelemetrySession.js CLOSED TREE 2016-02-10 13:40:41 -08:00
Aki Sasaki
f8166ff1ff bug 1246991 - mozharness: mkdir_p(dest) before hg share. r=rail 2016-02-09 15:10:06 -08:00
Kyle Huey
f534f4aef3 Bug 1246828: Push QuotaManager shutdown back to profile-before-change2 2016-02-10 10:53:26 -08:00
Andrew McCreight
1e2782c28c Bug 1091917 - Stop ignoring failures to leak log on Windows. r=chmanchester 2016-02-10 10:29:20 -08:00
Armen Zambrano Gasparnian
94bf8a0308 Bug 1247076 - Marionette should block addons outside the profile from being installed. r=maja_zf
MozReview-Commit-ID: JXpRqneC7K9
2016-02-09 17:11:09 -05:00
Rail Aliiev
9e123c0366 Bug 1243048 - Stop tagging b2g repos as a part of merge day r=aki NPOTB DONTBUILD 2016-02-10 11:56:28 -05:00
Ben Kelly
caff126d2f Bug 1227344 Try to ensure script content is always different in update tests by using .clock(). r=jdm 2016-02-10 08:51:07 -08:00
Dustin J. Mitchell
8f8f6e302f Bug 1246947: revert use of caches for /tmp; a=bustage 2016-02-10 15:55:28 +00:00
Justin Wood
25bdb75c33 Bug 1245304 - Copy adjust-sdk-beta.token into mock env. r=hwine 2016-02-10 10:16:06 -05:00
Nick Thomas
8c5307f6f1 Bug 1242641 - GTK+3 still not working for buildbot builds on beta. r=rail
gtk3/setup.sh at unpack time in tooltool
2016-01-29 22:19:48 +13:00
James Graham
00b045dae7 Bug 1246946 - Upload reftest structured logs and error summaries to blobber (fixup), r=ahal
Fix mistake in Windows config.

MozReview-Commit-ID: pqpRyjlS1s
2016-02-10 15:15:58 +00:00
Andreas Tolfsen
5589c8c719 Bug 1246411 - Constructors must use new keyword; r=automatedtester
MozReview-Commit-ID: 4fl0Cl3mf5j
2016-02-06 18:20:07 +00:00
Andreas Tolfsen
fc090ea033 Bug 1246411 - Remove unreachable break statements; r=automatedtester
MozReview-Commit-ID: 7l0OEwIKoHS
2016-02-06 18:19:46 +00:00
Andreas Tolfsen
f11a0bf326 Bug 1246411 - Access to properties is better written using dot notation; r=automatedtester
MozReview-Commit-ID: KlmrhB8GKpY
2016-02-06 18:19:25 +00:00
Andreas Tolfsen
506bd48357 Bug 1246411 - Yield statements must be inside generator functions; r=automatedtester
MozReview-Commit-ID: HHFkvior8gI
2016-02-06 18:19:02 +00:00
Andreas Tolfsen
0a688aac01 Bug 1240789 - Remove head+tail in Marionette xpcshell manifest; r=automatedtester
Was originally there to work around a bug in the B2G on-device test
runner.  Can now safely be removed after bug 1240723 was landed.

MozReview-Commit-ID: EZGfvYcP9ER
2016-02-06 17:14:32 +00:00
Dustin J. Mitchell
0178b96d36 Bug 1246947: cache test workspaces to get SSD/ext4 performance; r=armenzg 2016-02-09 15:14:54 +00:00
James Graham
db8f042274 Bug 1246946 - Upload reftest structured logs and error summaries to blobber, r=ahal
MozReview-Commit-ID: 3L8t6lgs3U6
2016-02-09 19:00:23 +00:00
Carsten "Tomcat" Book
27564b1ff1 Merge mozilla-central to mozilla-inbound 2016-02-10 14:29:05 +01:00
Carsten "Tomcat" Book
67a51393f3 merge mozilla-inbound to mozilla-central a=merge 2016-02-10 11:47:34 +01:00
Phil Ringnalda
dd7f173d2c Back out edf118eb93d2 (bug 1227344) for multiple-update.https.html bustage 2016-02-09 21:22:54 -08:00
Ben Kelly
aec7a2026d Bug 1227344 Try to ensure script content is always different in update tests by using .clock(). r=jdm 2016-02-09 19:55:23 -08:00
Ehsan Akhgari
439d38c792 Bug 1237363 - Part 3: Add a test for a mochitest finishing without unregistering its service worker; r=jdm 2016-02-09 19:33:41 -08:00
Ehsan Akhgari
d7ae3a8410 Bug 1237363 - Part 2: Fail mochitests which register a service worker without unregistering it; r=jdm 2016-02-09 19:33:41 -08:00
Valentin Gosu
73f17fbac5 Bug 1042347 - %2e entered in URL bar not normalized leading to denormalized request r=mcmanus 2016-02-10 13:13:23 +01:00
Dave Townsend
ecab1de927 Bug 1142734: Stop using Timer.jsm to avoid replacing the browser window setTimout and clearTimeout functions. r=jsantell
jetpack-addon-harness.js runs in a browser window scope so it already has the
setTimeout functions available to it. Loading Timer.jsm overrides the DOM
timer functions with those from Timer.jsm. Any other code that used setTimeout
previously will have timer IDs from the DOM functions which don't match those
in Timer.jsm. If this other code attempts to clear a timer it can then end up
clearing an unrelated timer. In the intermittent failure here the
browser-thumbnails code manages to clear the timer that is waiting to resolve
the promise that makes tests continue.

I've also added an additional timer that throws an exception and so ends tests
if the add-on uninstall doesn't actually complete in a reasonable time as well
as removing the add-on listener.
2016-02-08 10:11:14 -08:00
Shruti Jasoria
8067e8d1c5 Bug 1125098 - Remove XML report functionality from Marionette test runner; r=maja_zf 2016-02-02 19:24:51 +05:30
Carsten "Tomcat" Book
8c842845b5 merge mozilla-inbound to mozilla-central a=merge 2016-02-09 12:02:38 +01:00
Armen Zambrano Gasparnian
a851b2978a Bug 1246176 - TaskCluster tier-2: Run web-platform-tests on m3.xlarge instances. CLOSED TREE. DONTBUILD. r=dustin 2016-02-05 13:51:38 -05:00
Armen Zambrano Gasparnian
40419c84c5 Bug 1246176 - Backout d1e6662456b2. DONTBUILD. r=backout 2016-02-08 14:56:08 -05:00
Ehsan Akhgari
41d35f9276 Bug 1042132 - Part 1: Port build-clang.py to Windows; r=rail
This is useful for deploying clang-cl to the infrastructure.
2016-02-08 14:55:27 -05:00
Myk Melez
76721b9467 Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco 2016-02-08 11:24:22 -08:00
Armen Zambrano Gasparnian
847f63a627 Bug 1246176 - TaskCluster web platform tests should not retry for infrastructures issues until bug 1246176 is fixed. DONTBUILD. r=garndt 2016-02-05 11:06:02 -05:00
Dustin J. Mitchell
a522eb8785 Bug 1246279: increase all firefox tests to a timeout of 90m; r=jmaher 2016-02-05 22:08:47 +00:00
Andrew Halberstadt
7fe6d4357c Bug 1034290 - Use structured log output for test results in reftest, r=jmaher
Structured logs bring many benefits. We can stop parsing the logs for magic strings, we
can modify the format without breaking things, and we can stream results into systems like
ActiveData. The structured logs originate primarily in reftest.js. StructuredLog.jsm is
used to generate the JSON-based log stream. Finally OutputHandler in the python harness
reads structured output from stdout, and formats it into human readable form.

MozReview-Commit-ID: G3ZLkMRl6p7
2016-02-05 15:44:20 -05:00
Makoto Kato
0734a9f69f Bug 1230428 - Add crashtest for WebSpeech synthesis. r=eeejay 2016-02-10 20:57:41 +09:00
Carsten "Tomcat" Book
d11a3d7608 Backed out changeset 200da85932e9 (bug 1230862) for valgrind perma failures 2016-02-10 11:04:50 +01:00
Carsten "Tomcat" Book
01e4d41105 Backed out changeset 8bbaec3ed0f0 (bug 1230862) 2016-02-10 11:04:33 +01:00
Julien Pagès
ebc5162b1d Bug 1230862 - use wptserve in-tree for talos. r=wlach 2016-02-02 15:51:41 +01:00
Julien Pagès
df45cd49c3 Bug 1230862 - Remove mozhttpd. r=wlach 2016-02-09 03:26:43 +01:00
Mike Conley
d696057c62 Bug 1055464 - Regression tests. r=Mossop 2016-02-05 16:28:53 -05:00
Mike Conley
fd6d107555 Bug 1055464 - Add RefreshBlocker front-end. r=Mossop 2016-02-05 15:01:38 -05:00
Aki Sasaki
6c89c41ab9 bug 1244781 - mozharness has 3 post_run listeners now. r=jlund 2016-02-02 14:11:05 -05:00
Aki Sasaki
835e6e282b bug 1244781 - silence mozharness pyflakes warnings. r=jlund 2016-02-02 10:31:06 -05:00
Aki Sasaki
9ad1daaaa2 bug 1244781 - stop running purge_builds in mozharness. r=jlund 2016-02-02 10:03:36 -05:00
Wes Kocher
e3ee918e80 Backed out changeset 7a673f59b2e9 (bug 1245559) for unexpected passes in radio.html 2016-02-09 17:26:52 -08:00
Ted Mielczarek
881677b477 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium, benwa
This commit contains a few things:
* Update our copy of google-breakpad to upstream c53ed143108948eb7e2d7ee77dc8c0d92050ce7c
* Get rid of all but one local patch, fold a few related local patches into one
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux
2016-01-27 09:39:53 -05:00
Chris Manchester
d097cefc6f Bug 1236382 - Add commonly used arguments to mach try, remove the extra arguments functionality. r=jgraham
Using nargs='*' in conjunction with nargs=REMAINDER creates an ambiguity when
the argument using nargs='*' is optional, it is not specified, and the user
intends their arguments to be interpreted as "extra" arguments. This commit
removes the nargs=REMAINDER argument for mach_try, and implements its most
common users from trychooser as a set of regular arguments to echo to
generated try syntax.

MozReview-Commit-ID: FOuDZxUfHu9
2016-01-04 14:07:11 -08:00
James Graham
7aa0d0d1e3 Bug 1245559 - Updated expected wpt results for win7 e10s, a=test-only 2016-02-03 23:18:43 +00:00
Tom Schuster
d3905830ed Bug 1246318 - Remove the enumerate trap from ES6 proxies. r=efaust 2016-02-10 00:12:24 +01:00
Boris Zbarsky
0a6a883298 Bug 1245554. Window's named properties object should not claim to have duplicates of a given property name if it has multiple iframes with that name. r=peterv
The web platform test was pretty buggy in a few ways:

1)  It claimed that "bar" should be non-writable and enumerable.  This
explicitly contradicts the spec:
http://heycam.github.io/webidl/#named-properties-object-getownproperty step 3
substep 8 sets [[Writable]] to true, and
https://html.spec.whatwg.org/multipage/browsers.html#named-access-on-the-window-object
explicitly says these properties are unenumerable.

2)  It claimed that "constructor" should be exposed on the named properties
object.  But the named property visibility algorithm obviously returns false
for that property name, so it should not be exposed.
2016-02-09 17:40:45 -05:00
Blake Kaplan
eb30538c24 Bug 1245723 - Make browser_bug680727 e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
Mike Hommey
8c353b6cbe Bug 1246874 - Unify GRE_BUILDID and MOZ_APP_BUILDID at the build system level. r=mshal 2016-02-10 07:39:30 +09:00
Armen Zambrano Gasparnian
937584d9d9 Bug 1244720 - TaskCluster tier2 jobs: bump wpt reftests from 60 to 90 minutes time out. DONTBUILD. r=dustin
MozReview-Commit-ID: B2pV2myV2FX
2016-02-08 14:35:16 -05:00
Julian Seward
6fd4dd05ad Bug 1246719 - mach mochitest --valgrind: use comma as separator for --valgrind-args. r=james@hoppipolla.co.uk. 2016-02-09 14:38:55 +01:00
Phil Ringnalda
3cd9dfa77b Merge m-c to m-i 2016-02-05 19:42:00 -08:00
Phil Ringnalda
5bb94631cf Merge m-i to m-c, a=merge 2016-02-05 18:41:47 -08:00
Chris Manchester
0ec5e340e1 Bug 1242083 - Add --setenv to the arguments accepted by mozharness to pass to the harness command, add a way to specify flavors an argument applies to. r=armenzg 2016-02-05 16:57:36 -08:00
Patrick McManus
5a2b210cd4 Bug 1241906 - test for suspended spdy3.1 channel r=hurley 2016-02-05 11:17:24 -05:00
Phil Ringnalda
b35dce3e2b Back out d1779fe421c3 (bug 1034290) for UnicodeDecodeErrors in things run by the reftest harness
CLOSED TREE
2016-02-05 08:18:47 -08:00
Felipe Gomes
1ec402929d Bug 1230196 - Allow release channel to run e10s. r=billm 2016-02-05 13:27:12 -02:00
Carsten "Tomcat" Book
1beba30864 Merge mozilla-central to fx-team 2016-02-05 11:55:08 +01:00
Phil Ringnalda
cb348d2293 Merge m-c to m-i 2016-02-04 19:26:14 -08:00
Hiroyuki Ikezoe
079396afd6 Bug 1239889 part 2 - Test for an animation target without a current document; r=birtles 2016-02-05 14:11:04 +11:00
Wes Kocher
589aa94db0 Backed out changeset 65e246baede4 (bug 1242641) for valgrind bustage CLOSED TREE 2016-02-04 11:42:34 -08:00
Armen Zambrano Gasparnian
871a4ea754 Bug 1244720 - Allow scheduling on try Wr-e10s jobs for TaskCluster Linux64 debug builds. tier-2. DONTBUILD. r=jmaher 2016-02-02 11:50:29 -05:00
Kris Maglione
ac8bdba0c1 Bug 1245671: Fix Assert.rejects on release builds with DOM promises. r=markh 2016-02-04 13:54:38 -08:00
Armen Zambrano Gasparnian
ed664f5210 Bug 1241297 - Bump timeout for TC Linux64 wpt tests and go from 12 chunks to 8 chunks. DONTBUILD. r=jmaher 2016-01-27 08:57:52 -05:00
Ben Kelly
e533580bf1 Bug 1244764 P4 Update cache wpt tests for new add()/addAll() behavior. r=ehsan 2016-02-04 07:59:52 -08:00
Yura Zenevich
bf4542e28a Bug 1244837 - only performing multiple attempts to retrieve an accessible object iff raisesAccessibilityExceptions capability is set to true. r=ato 2016-02-04 10:03:08 -05:00
Nick Thomas
ba72e3d8d0 Bug 1242641 - GTK+3 still not working for buildbot builds on beta. r=rail
gtk3/setup.sh at unpack time in tooltool
2016-01-29 22:19:48 +13:00
Joel Maher
7948e370cf Bug 710296 - turn on responsiveness for linux in Talos. r=parkouss 2016-02-03 13:15:04 -08:00
Thomas Zimmermann
487582fbe5 Bug 1194721: Add |Saturate| template for saturation arithmetics, r=nfroyd
|Saturate<T>| implements saturation arithmetics for arbitrary basic
types. Operations on its value won't over- or underflow the type's
range.
2016-02-04 12:35:12 +01:00
Carsten "Tomcat" Book
cbb9e706b1 Merge mozilla-central to mozilla-inbound 2016-02-04 12:05:03 +01:00
Carsten "Tomcat" Book
d172d7d9e2 merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +01:00
Paolo Amadini
a10c74bb84 Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-02-03 12:58:03 +00:00
Marco Bonardo
d4b2a19a2a Bug 1244723 - xpcshell should shutdown profile after all the registered cleanup functions, not before them. r=ted 2016-02-03 12:35:07 +01:00
Carsten "Tomcat" Book
7aac6ac635 merge mozilla-inbound to mozilla-central a=merge 2016-02-03 11:59:20 +01:00
Christoph Kerschbaumer
673cabc889 Bug 1195173 - Test asyncopen2 security checks for stylesheets (r=bz,ehsan) 2016-02-02 20:35:42 -08:00
Mark Hammond
430b98f0a5 Bug 1241715 - get Sync TPS tests working locally by tweaking observers listened for and the authentication setup. r=whimboo 2016-02-03 11:21:09 +11:00
Dave Townsend
42aedae55f Bug 1245712: Fix the XBL processor's handling of columns and leading and trailing whitespace. 2016-02-03 16:50:01 -08:00