Commit Graph

10150 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
f353f8fb7d Backed out changeset 53b0b5b29776 (bug 1243435) 2016-02-17 15:00:51 +01:00
chaithanya
fc5de7beb5 Bug 1243435 - Remove unused prefs toolkit.telemetry.prompted / toolkit.telemetry.notifiedOptOut from test suite. r=Dexter 2016-02-16 05:11:00 +01:00
Carsten "Tomcat" Book
a34e30bba2 merge fx-team to mozilla-central a=merge 2016-02-17 12:07:39 +01:00
Dave Townsend
9834fef458 Bug 1245916: Import more head files for xpcshell tests. r=pbrosset
xpcshell tests used to use head_*.js files so this adds those for global
discovery.

MozReview-Commit-ID: BOsoGIpwdgu
2016-02-05 13:23:40 -08:00
Dave Townsend
8872900b27 Bug 1245916: Add additional default globals. r=felipe
This defines a few additional globals but also turns on the browser environment
for everything in browser and toolkit. This may lead to some false negatives
but we have lots of code that runs in a browser context so in the name of
getting rules turned on I think this is a useful step.

MozReview-Commit-ID: BdWouZGK6d
2016-02-05 12:12:30 -08:00
Dave Townsend
9d4c7a1cd4 Bug 1245916: Add additional browser window scripts to eslint globals. r=felipe
This adds more of the scripts that browser.js relies on and also makes
browser-chrome head files import the browser.js globals.

The MOZ_JSDOWNLOADS block in contentAreaUtils only seems to hide a single
function, I don't see any need to keep hiding that now we're on by default.

MozReview-Commit-ID: 5zvF3JtJrZG
2016-02-05 12:16:39 -08:00
Dave Townsend
00ec37e011 Bug 1245916: XBL bindings should support global declarations in comments. r=miker
To properly lint XBL files we need to support things like import-globals-from
and other ESlint comment directives so we have to pass comments through to the
code blocks that ESlint parses. Unfortunately the way the XBL processor works
now is by passing a separate code block for every method/property/etc. in the
XBL and ESlint doesn't retain state across the blocks so we would have to prefix
every block with every comment. Instead this change makes us output just a
single block that roughly looks like this:

<comments>
var bindings = {
  "<binding-id>": {
    <binding-part-name>: function() { ... }
  }
}

This has some interesting bonuses. Defining the same ID twice will cause a lint
failure. Same for the same field in a binding. The line mapping is a little
harder and there are still a few lines that won't map directly back to the
original file but they should be rare cases. The only downside is that since
some bindings have the same binding declared differently for different platforms
we have to exclude those from linting for now.

MozReview-Commit-ID: CAsPt5dtf6T
2016-02-05 12:13:34 -08:00
Dave Townsend
b2422a25f1 Bug 1245916: Unify eslint global discovery rules. r=pbrosset
While working on turning on no-undef I discovered that the various rules we
have for defining globals are a little inconsistent in whether the files they
load recurse through import-globals-from directives and none of them imported
eslint globals directives.

I think we're better off putting all this global parsing code in a single place
rather than spread across multiple rules. Have one rule to turn it on for
parsed files and one function to load globals from other files and make them
share most of the code so we won't get inconsistent. If we find us needing to
turn on/off individual features we can figure out a way to do that in the
future.

This patch does that, the globals.js file does all global parsing with a shared
object that receives events from the AST, either through from an ESlint rule
or from a simple AST walker using estraverse.

MozReview-Commit-ID: 9KQZwsNNOUl
2016-02-05 11:37:50 -08:00
Xidorn Quan
a23fc75e40 Bug 1218706 followup 2 - Mark some dir-isolation web-platform tests expected-fail on Win7.
MozReview-Commit-ID: 5pAMJPAYGNl
2016-02-17 13:14:59 +08:00
Brian Birtles
ef4e40f023 Bug 1244414 - Create iframe element from script to avoid racing with the load event; r=bz 2016-02-17 13:38:31 +09:00
Xidorn Quan
5a4d9021f3 Bug 1218706 followup - Mark some dir-isolation web-platform test expected pass.
MozReview-Commit-ID: IABqEq2wFYi
2016-02-17 10:33:12 +08:00
Chris Cooper
1f2659018b Bug 1236954 - partner repack script changes to read properties from buildprops.json (NPOTB, DONTBUILD); r=jlund
Adds --require-buildprops option used by the standalone builder. When this option is
specified, a partner property must be present in the buildprops.json file. This limits
the repack operation to that single partner.
2016-01-25 15:20:41 -05:00
Jordan Lund
f3ff07ed59 Bug 1246074 - add partials template config for mozharness beetmover, DONTBUILD r=rail 2016-02-06 13:46:13 -08:00
Gregory Szorc
cbe2e4e86c Bug 1248658 - Remove make targets for running mochitests; r=ted
These have been deprecated in favor of mach commands for years. Let's
stop pretending to support them by removing them.

MozReview-Commit-ID: 4fX6SZN18EQ
2016-02-16 13:48:04 -08:00
Mike Shal
4cc6d16b6c Bug 1217987 - Append bucket prefix for staging post_upload.py; r=nthomas 2016-02-10 20:32:35 -05:00
Ralph Giles
4274261777 Bug 1245170 - Upload rust builds to tooltool. r=dustin
Update the gecko-rust-build docker container to upload the
constructed toolchain to tooltool when running on taskcluster,
so it can be used in normal gecko builds (buildbot as well as tc)

Also include a mac build script (which can't run in taskcluster
currently) and a python script for launching the build task from
a local checkout. This is based on Ted's script for building
breakpad's minidump_stackwalk utility.

Matches contents of https://github.com/rillian/rust-build
commit 407c6854e91541341508e96e6a2781434535b7a5
tag v0.2.0
2016-02-16 13:30:19 -08:00
Nick Thomas
5d1c8cbbb5 Bug 1248255 - Android l10n single-locale repacks can't find tooltool.py, r=Callek 2016-02-17 09:48:05 +13:00
Geoff Brown
ecefc94bfd Bug 1238611 - Use PIE version of gdbserver for JimDB (x86); r=jmaher 2016-02-16 13:15:59 -07:00
Armen Zambrano Gasparnian
76cfb19eeb Bug 1247382 - Improve TaskCluster Linux64 debug test names. DONTBUILD. r=jmaher
* e10s to be just before the chunk info (suite_name-e10s-{{chunk}})
* include {{chunk} for chunked jobs

TODO: We need to follow up by making the gecko decision task impose the naming

MozReview-Commit-ID: 77T9q0sAIWg
2016-02-12 14:10:59 -05:00
Xidorn Quan
df7f54827f Bug 1248316 - Clear Win10 intro page url for mochitest. r=Gijs
MozReview-Commit-ID: 7m7VWYWXcnM
2016-02-16 09:24:44 +08:00
ISHIKAWA, Chiaki
3716397205 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Jacek Caban
451f557a86 Bug 1216681 - Cross compilation fixup. 2016-02-15 16:44:39 +01:00
Ryo Motozawa
4a530b94aa Bug 1244586 part 2 - Remove entry in testing/web-platform/meta/web-animations/animatable/animate.html.ini. r=birtles 2016-02-15 09:34:47 +09:00
Ryo Motozawa
592ac1b813 Bug 1244586 part 1 - Add KeyframeEffect constructor in dom/webidl/KeyframeEffect.webidl. r=smaug,birtles 2016-02-15 09:34:47 +09:00
Phil Ringnalda
e9eb744f4c Merge m-i to m-c, a=merge 2016-02-13 19:18:53 -08:00
Phil Ringnalda
7893b1733f Merge f-t to m-c, a=merge 2016-02-13 19:14:08 -08:00
Carsten "Tomcat" Book
7ffe91262a Backed out changeset 88735739af7a (bug 1244893) for causing failing Initial decision task for mozilla-central 2016-02-12 17:11:52 +01:00
Nick Alexander
0e038f6ce7 Backed out 2 changesets (bug 1247170) for decision task failures. r=bustage
On a CLOSED TREE.

Backed out changeset 2b079941a33c (bug 1247170)
Backed out changeset 123c802d928a (bug 1247170)

MozReview-Commit-ID: Bt504gHC8iP
2016-02-12 15:25:06 -08:00
Phil Ringnalda
8f831dd761 Back out ff446e81eaf5 (bug 1216681) for Linux PGO bustage
CLOSED TREE
2016-02-11 20:27:36 -08:00
Nick Alexander
d8b4946dcd Bug 1247170 - Part 2: Add "android-gradle-build-dependencies" Taskcluster job. r=dustin
MozReview-Commit-ID: I6rgyqci67J
2016-02-09 22:04:32 -08:00
Nick Alexander
3a85632c8c Bug 1247170 - Part 1: Add "android-gradle-build" Docker image. r=dustin,sebastian
We can't run Docker-in-Docker, so this is a clone of
https://hub.docker.com/r/sonatype/nexus, modified to run additional
commands.  Sonatype Nexus officially supports the Oracle JDK but the
OpenJDK appears to work as well, so we use it.

This bakes a build.sh and Gradle-specific dependencies into the docker
image.  This makes sense in a future where the dependencies this
fetches are baked into the image used to build Fennec.  It makes less
sense right now, when the dependencies are uploaded to tooltool and
subsequently consumed.  It's not critical that we get this right
immediately.

The actual build.sh script runs the Gradle wrapper for a special
dependency project.  The wrapper installs Gradle itself, downloads a
large number of Gradle dependencies, and uses Jake Wharton's
https://github.com/JakeWharton/sdk-manager-plugin/ to download and
install the Android SDK.  (We could use |mach bootstrap|, but that
doesn't (yet) support non-interactive use, and I want to try to use
the SDK Manager more generally.)  These outputs are then packaged for
further use: right now, they're exposed as artifacts, but eventually
we'll upload them directly to tooltool.

MozReview-Commit-ID: 7upsk1ANuxN
2016-02-12 10:06:57 -08:00
Nick Alexander
5f375e64e3 Bug 1119520 - Add opt-in Gradle build mode for mobile/android. r=gps
Opt-in by adding --enable-gradle-mobile-android-builds.

Gradle dependencies (including the Android-Gradle plugin) are assumed
to be present.  Local developers will fetch them from the jcentral
repository.

Android-specific Maven dependencies are shipped as "extras" with the
Android SDK, and should be found automatically by the Android-Gradle
plugin.

MozReview-Commit-ID: 966XgddWgEu
2016-02-12 10:06:40 -08:00
Gijs Kruitbosch
f179b8f8c0 Bug 1244259 - wait for SafeBrowsing to have added MozEntries in initial runs of talos perf testing, r=jmaher,gcp
MozReview-Commit-ID: Dvs5RQyhfpy
2016-02-12 08:47:31 +00:00
Nick Alexander
c3d8dfd062 Bug 1247375 - Part 1: Add TaskCluster job building Fennec with --disable-compile-environment. r=dustin
MozReview-Commit-ID: 4FDevhlYnUC
2016-02-02 18:09:44 -08:00
Nick Alexander
1486d49a18 Bug 1247170 - Part 2: Add "android-gradle-build-dependencies" TaskCluster job. r=dustin
MozReview-Commit-ID: I6rgyqci67J
2016-02-16 11:11:42 -08:00
Nick Alexander
c364697323 Bug 1247170 - Part 1: Add "android-gradle-build" Docker image. r=dustin,sebastian
We can't run Docker-in-Docker, so this is a clone of
https://hub.docker.com/r/sonatype/nexus, modified to run additional
commands.  Sonatype Nexus officially supports the Oracle JDK but the
OpenJDK appears to work as well, so we use it.

This bakes a build.sh and Gradle-specific dependencies into the docker
image.  This makes sense in a future where the dependencies this
fetches are baked into the image used to build Fennec.  It makes less
sense right now, when the dependencies are uploaded to tooltool and
subsequently consumed.  It's not critical that we get this right
immediately.

The actual build.sh script runs the Gradle wrapper for a special
dependency project.  The wrapper installs Gradle itself, downloads a
large number of Gradle dependencies, and uses Jake Wharton's
https://github.com/JakeWharton/sdk-manager-plugin/ to download and
install the Android SDK.  (We could use |mach bootstrap|, but that
doesn't (yet) support non-interactive use, and I want to try to use
the SDK Manager more generally.)  These outputs are then packaged for
further use: right now, they're exposed as artifacts, but eventually
we'll upload them directly to tooltool.

MozReview-Commit-ID: 7upsk1ANuxN
2016-02-16 11:11:34 -08:00
Chris Manchester
f8fea1d1d5 Bug 1216681 - Add a windows version of fileid to extract a guid from windows binaries. r=jimm,ted
This patch introduces a small utility program to extract a guid from a shared library
or executable on windows to identify the correct symbol file to read in fix_stack_using_bpsyms.py.
In order for this to work correctly on windows, the library name provided by
MozDescribeCodeAddress needs to be a full path, so the LoadedImageName field
from the IMAGEHLP_MODULE64 structure is used here instead of the ModuleName
field.
2015-10-29 13:25:03 -07:00
Deepthi Venkitaramanan
85f24f2b8c Bug 1244328 - Merge the functionality of DOMSettableTokenList into DOMTokenList and make everything that used to refer to DOMSettableTokenList refer to DOMTokenList instead. r=bzbarsky 2016-02-11 17:50:42 -05:00
Mike Hommey
8df73c7616 Bug 1204516 - Ignore missing directories when changing ownership of cache directories in build.sh. r=dustin 2016-02-12 07:14:16 +09:00
Bill McCloskey
f82726535b Bug 1246787 - [webext] Add schema storage.json (r=kmag) 2016-02-11 13:04:31 -08:00
James Graham
13a951a5b6 Bug 1245559 - Updated expected wpt results for win7 e10s, a=testonly
MozReview-Commit-ID: 1WRnPOpNRKf
2016-02-11 19:22:54 +00:00
Dustin J. Mitchell
78d6d7565a Bug 1242979: Install Valgrind on mochitest-valgrind test nodes; r=jseward
MozReview-Commit-ID: 3uCJfWkLCuQ
2016-02-11 16:47:54 +00:00
Carsten "Tomcat" Book
8b1607e1c3 Backed out 18 changesets (bug 1245153) for multiple test failures
Backed out changeset 18d54b8d4ae8 (bug 1245153)
Backed out changeset 98b6d0c053c0 (bug 1245153)
Backed out changeset c29a348930a4 (bug 1245153)
Backed out changeset f79252e92acc (bug 1245153)
Backed out changeset 9f3f1c358e47 (bug 1245153)
Backed out changeset 3b9e9a027fa7 (bug 1245153)
Backed out changeset 6da8099573f3 (bug 1245153)
Backed out changeset 63a56310a1b5 (bug 1245153)
Backed out changeset 5fe42d498a2a (bug 1245153)
Backed out changeset b3be2d2f3ac1 (bug 1245153)
Backed out changeset ad5bf32d8fef (bug 1245153)
Backed out changeset 68a6dda373d2 (bug 1245153)
Backed out changeset 6ebd9fde50c0 (bug 1245153)
Backed out changeset e41a5b41859a (bug 1245153)
Backed out changeset 048d70070751 (bug 1245153)
Backed out changeset eff85dc0eaa9 (bug 1245153)
Backed out changeset dc6460e0f336 (bug 1245153)
Backed out changeset 36526a2e8b00 (bug 1245153)
2016-02-11 17:05:41 +01:00
Olivier Yiptong
7e25621c4a Bug 1246695 - Fix e10s TART newtab race condition on newtab change r=mconley
MozReview-Commit-ID: KiG5KIQov1t
2016-02-02 23:10:09 -05:00
Armen Zambrano Gasparnian
6db565bf65 Bug 1244720 - Enable more green TaskCluster tier-2 jobs. r=dustin
MozReview-Commit-ID: KUtz8LbWrDE

Enable the following jobs on try and trunk trees:
* Crashtest e10s
* Jetpack
* JsReftests e10s
* Mochitest devtools-chrome
* Reftests
* Reftests e10s
* Web platform reftests e10s
* Xpcshell
2016-02-01 16:45:37 -05:00
Andrew Halberstadt
dc80535fa1 Bug 1231784 - Fix toolkit/mozapps/update/chrome tests, r=rstrong
MozReview-Commit-ID: GdkkHzxrjAh
2016-01-27 11:36:16 -05:00
Andrew Halberstadt
8fa1fe045f Bug 1231784 - Install specialpowers and mochikit extensions at runtime via AddonManager.loadTemporaryAddon(), r=jgriffin
MozReview-Commit-ID: 9I56x6Vnbf7
2016-01-25 09:55:57 -05:00
Armen Zambrano Gasparnian
bfabeca697 Bug 1247382 - Improve naming of TaskCluster Linux64 debug jobs. DONTBUILD. r=jmaher
MozReview-Commit-ID: 3QLSUofHvi5
2016-02-10 15:19:39 -05:00
Andreas Tolfsen
a71035026a Bug 1245153 - Make EventUtils.js use aWindow argument for sub-calls consistently; r=jmaher
EventUtils.js previously allowed you to override the Window object
reference through passing it as an optional argument to its functions.
This change fixes certain uses of implicit globals that reside on Window.

MozReview-Commit-ID: EJT8iIs85ej
2016-02-08 13:59:40 +00:00
Andreas Tolfsen
308098741f Bug 1245153 - Lint testing/marionette/frame.js; r=automatedtester
There should be no functional changes here.

MozReview-Commit-ID: 360y6vHYuC3
2016-02-03 19:41:03 +00:00