Граф коммитов

15924 Коммитов

Автор SHA1 Сообщение Дата
Iris Hsiao 0b748916e8 merge mozilla-inbound to mozilla-central a=merge 2017-05-08 11:11:20 +08:00
Wes Kocher 6cc5532059 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 3HXDLRcpc9c
2017-05-05 14:20:47 -07:00
Ben Hearsum d27afef6b0 bug 1358601: set up CI builds and tests for DevEdition on mozilla-beta - fix build configuration and signing of DevEdition-on-beta builds. r=aki,rail
MozReview-Commit-ID: 2oaCCHJWU8W
2017-05-05 16:56:57 -04:00
Boris Zbarsky f2d9eb6a36 Bug 1358469. Revert our web-incompatible change to rel=noreferrer targeting behavior. r=mystor 2017-05-05 13:20:42 -04:00
Carsten "Tomcat" Book fdc689ba16 merge mozilla-inbound to mozilla-central a=merge 2017-05-05 15:17:26 +02:00
Mike Hommey 0896160558 Bug 1356700 - Don't set MOZ_AUTOMATION from mozharness configurations. r=mshal
It is set at buildbot level since bug 1011352, and now at taskcluster level.

--HG--
extra : rebase_source : 163692a9581ac79b680cc229d5fe1d44423583ee
2017-04-15 07:36:04 +09:00
Iris Hsiao 76dc3f1ddf Backed out changeset 85bc6a5f7c73 (bug 1345990). a=backout
CLOSED TREE

--HG--
extra : amend_source : 277b042c5bca1a62d81359ea965e2da100f6eefd
2017-05-05 10:20:42 +08:00
Iris Hsiao c206e9ec3c Backed out changeset 34f24ca08fac (bug 1345990) for mochitest bc testing uncaught exception at BrowserTestUtils.jsm
CLOSED TREE
2017-05-05 10:20:29 +08:00
Sebastian Hengst 4d6b15c05a Backed out changeset cbd3b49c0c29 (bug 1345990) for failing M(c2)'s test_modal_windows.html on Android opt. r=backout 2017-05-06 11:29:09 +02:00
Sebastian Hengst 55ee875568 Backed out changeset 4cc80402cf1c (bug 1345990) 2017-05-06 11:27:33 +02:00
Blake Kaplan 331a401c00 Bug 1345990 - Allow creation of new tabs in their own processes. r=mconley
This uses XPCOM to replace the default process selector with one that always
asks for a new process and then put the old one back again. This comes with a
test to prove that it works.

MozReview-Commit-ID: Bq6KP4VzP7W

--HG--
extra : rebase_source : 4d22d07c6ccfb42718c65fd80cd8a0e20d02f72c
2017-04-26 17:52:20 -07:00
Blake Kaplan 17849d2e28 Bug 1345990 - Switch to an options object for BTU.openNewForegroundTab. r=mconley
MozReview-Commit-ID: HkFXpiWICge

--HG--
extra : rebase_source : e3b31a5df25ac7df0c67ee35915a62169703e1af
2017-04-26 17:08:32 -07:00
Henrik Skupin 2c6b09cf46 Bug 1362528 - Let getWindowHandles and getChromeWindowHandles return list of strings r=ato
By the webdriver spec both commands have to return a list of strings for the
window handles. Right now those are numbers.

MozReview-Commit-ID: 5Gn624BaVI1

--HG--
extra : rebase_source : 400acb7a0cc4bc1b1bf09934959a63da1bb5a28c
2017-05-05 22:21:51 +02:00
David Burns 7d9e71c048 Bug 1361987 - Move setWindowRect to not return from a generator. r=ato
setWindowRect is using `return` from a generator which is not valid
javascript. This now populates the response before it is returned to
the client.

MozReview-Commit-ID: 6vSadp59Nrt

--HG--
extra : rebase_source : d642771dd2308c21d1e3398b7387b4ae4e5ffeea
2017-05-05 20:29:04 +01:00
David Burns eda4f81db7 Bug 1361987 - Move maximizeWindow call to not use a return in a generator. r=ato
The maximizeWindow call in Marionette uses return which is not valid javascript.
This change update the response that is then picked up by the server before
returning to the remote end.

MozReview-Commit-ID: JJzsTHba0AK

--HG--
extra : rebase_source : 8b64aa37c7391d60a9de3276cef89a5564bbcd37
2017-05-05 14:49:41 +01:00
Justin Wood a900ff41d5 Bug 1265537 - Adjust Windows TC Builds to generate simple package names, adjust tests to use them. r=grenade
MozReview-Commit-ID: AgCTrIMXEdd

--HG--
extra : rebase_source : 9e35daebc08d884bc0ed1235f832abd8309b9ffb
extra : source : 3bb90c64e2a86f92334bc0b9045ee1ff20e243e9
2017-05-02 22:16:21 -04:00
Carsten "Tomcat" Book 6ae9b7bb71 Merge mozilla-central to autoland
--HG--
rename : browser/base/content/gcli_sec_bad.svg => devtools/client/themes/images/gcli_sec_bad.svg
rename : browser/base/content/gcli_sec_good.svg => devtools/client/themes/images/gcli_sec_good.svg
rename : browser/base/content/gcli_sec_moderate.svg => devtools/client/themes/images/gcli_sec_moderate.svg
2017-05-05 15:27:55 +02:00
Henrik Skupin 28439aac69 Bug 1362051 - Update tests have to set MOZ_MARIONETTE environment variable. r=ato,maja_zf
To allow update tests to use source builds of Firefox before bug 1355888
was landed, the MOZ_MARIONETTE environment variable has to be be
pre-emptively set. Otherwise Marionette will not be activated after
the update has been applied.

MozReview-Commit-ID: Hqb6SjYtOPR

--HG--
extra : rebase_source : 10f9b4d2545198fc95294381ec1db63f1445c736
2017-05-04 22:10:50 +02:00
Armen Zambrano G. cdf7027693 Bug 1362142 - Mozharness to distinguish Windows archictecture properly. r=aki
We currently use:
> '64' in platform.architecture()[0] # architecture() returns (bits, linkage)

Unfortunately, that is the Python binary byte size.
https://docs.python.org/2/library/platform.html
> platform.architecture(executable=sys.executable, bits='', linkage='')
>
>    Queries the given executable (defaults to the Python interpreter binary)
>    for various architecture information.
>
>    Returns a tuple (bits, linkage) which contain information about the bit
>    architecture and the linkage format used for the executable.

Instead we should be using machine()
> platform.machine()
>
>    Returns the machine type, e.g. 'i386'. An empty string is returned if the
>    value cannot be determined.

My sampling size:
* win10   - AMD64
* win7    - x86
* Linux64 - x86_64
* MacOSX  - x86_64

MozReview-Commit-ID: HVBRHUGP1J2

--HG--
extra : rebase_source : 729f581dfa8244e3055cc0c383760444850ccdfa
2017-05-04 15:16:50 -04:00
Dão Gottwald 39669a550b Bug 1054740 - Stop reusing tabs when restoring windows since at this point it's counterproductive rather than a useful optimization. r=mikedeboer
MozReview-Commit-ID: EuM08mEhDqZ

--HG--
extra : rebase_source : 43fc0410045f0efe48db2ae14d56994a90bded5f
2017-05-04 14:26:32 +02:00
Armen Zambrano G. d9ebaa23e6 Bug 1361462 - Python3 support for Mozharness r=aki,rwood
This adds support for fetching Python3 zip files
for Talos for Windows 32-bit and 64-bit.

MozReview-Commit-ID: KpYXQrfwRBY

--HG--
extra : rebase_source : e31530c45ab24e98a2b0ac6d51d7956b204df5b0
2017-05-04 16:47:45 -04:00
Armen Zambrano G. d035037d96 Bug 1361462 - Mozharness' tooltool should create directories if missing r=aki
MozReview-Commit-ID: 5HjD7smfCZx

--HG--
extra : rebase_source : dc0c0654644a7b96b64c838a00d9bc34e7b58ef9
2017-05-05 09:10:07 -04:00
Armen Zambrano G. 855bc5a8c1 Bug 1361462 - Add tooltool_cache for Windows Talos jobs r=aki
MozReview-Commit-ID: LUNJuFMgwm8

--HG--
extra : rebase_source : a6c9f21aa8ef033d34f8ad18d54a803e25581760
2017-05-04 16:01:48 -04:00
Honza Bambas a1b64b4694 Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01:00
Justin Wood e1ab4d2be9 Backout Bug 1337861 (Enforce MOZ_BUILD_DATE) due to Bug 1360550. r=catlee a=catlee
Bug 1360550 resulted in the buildid the Linux builds had being different than the directory they were uploaded to. This had fallout affects for QA's firefox-ui tests and presumably anything using mozdownload.

MozReview-Commit-ID: 7xbEihhDF1N

--HG--
extra : rebase_source : 5b857887722e172695eb1f0fb12361fc89c24f80
2017-05-04 12:51:06 -04:00
Sebastian Hengst 1609e49868 merge mozilla-central to mozilla-inbound. r=merge a=fix-for-buildbot-bridge-on-osx 2017-05-04 17:49:38 +02:00
Wander Lairson Costa be9d05d81d Bug 1350413 part 1: move macosx64/opt build to buildbot-bridge. r=dustin
Because of bug 1338651, we need to stick to BBB macosx64 builds for now.

MozReview-Commit-ID: AwQc5r6ikUN

--HG--
extra : transplant_source : %97%1B%95H%D8L1%87%84h%F4%89%0D%283w%98%7E%2C%F4
2017-05-02 16:12:51 -03:00
Iris Hsiao e71485e5b0 merge mozilla-inbound to mozilla-central a=merge 2017-05-04 11:18:36 +08:00
Sebastian Hengst 532800137b Backed out changeset db9f3b377504 (bug 1054740) for failing Marionette's test_prefs.py TestPreferences.test_clear_pref, at least on Linux in non-e10s mode. r=backout on a CLOSED TREE 2017-05-03 23:15:56 +02:00
Wes Kocher 4e89a77541 Merge m-c to autoland, a=merge
MozReview-Commit-ID: F7qkNALe0WT
2017-05-03 13:52:24 -07:00
Wes Kocher 21203b47b5 Merge inbound to m-c a=merge
MozReview-Commit-ID: JgXkqrOwl3N
2017-05-03 13:40:24 -07:00
Nick Alexander 0bfebf0c87 Bug 1361545 - Add "skin" flavorDimension for Photon mobile work. r=sebastian,bustage-fix
This is pretty straight-forward.

Sadly, this will require local developers to add a "skin" product
flavor to their invocations, like:

./mach gradle app:assembleLocalAustralisDebug

In addition, this shows how many different variants of the Gradle
product flavor are embedded into our automation configurations.  I
can't solve that at this time.

Since I was here, I took the time to rename "automation" to
"official", which makes "localAustralis" the default in Android
Studio, avoiding a common issue with new builders producing an APK
that doesn't include omni.ja in the IDE.

MozReview-Commit-ID: CtU7zFpNCob
2017-05-03 19:20:58 +02:00
Sebastian Hengst fcaaea05db Backed out changeset 289c6a3f7886 (bug 1361545) for busting Android gradle builds. r=backout 2017-05-03 19:19:52 +02:00
Nick Alexander 571de094b3 Bug 1361545 - Add "skin" flavorDimension for Photon mobile work. r=sebastian
This is pretty straight-forward.

Sadly, this will require local developers to add a "skin" product
flavor to their invocations, like:

./mach gradle app:assembleLocalAustralisDebug

In addition, this shows how many different variants of the Gradle
product flavor are embedded into our automation configurations.  I
can't solve that at this time.

Since I was here, I took the time to rename "automation" to
"official", which makes "localAustralis" the default in Android
Studio, avoiding a common issue with new builders producing an APK
that doesn't include omni.ja in the IDE.

MozReview-Commit-ID: CtU7zFpNCob

--HG--
extra : rebase_source : 477ef683f850ff11cfa128e17855666bb7758a7a
2017-05-02 15:27:37 -07:00
Dão Gottwald 1d352d917c Bug 1054740 - Stop reusing tabs when restoring windows since at this point it's counterproductive rather than a useful optimization. r=mikedeboer
MozReview-Commit-ID: LhJDs9GSxuK

--HG--
extra : rebase_source : 96cb427ada78ee70368f6cb1d4cad4811681c454
2017-05-03 21:57:06 +02:00
Michal Novotny 133308dd0d Bug 1361435 - Remove references to unused pref network.http.bypass-cachelock-threshold, r=mcmanus
Removes references to now unused pref that was added in bug 868441 and removed in bugs 913807 and 1054572. It also removes some leftovers from http channel which have not been removed in those 2 bugs.
2017-05-04 17:37:42 +02:00
André Bargull f21754e0f3 Bug 1317383 - Part 5: Update expected results for wpt typedarray and wasm tests. r=bbouvier
--HG--
extra : rebase_source : 47be2308322e996fa8bef359d5f1b523fac9801e
2017-05-02 14:21:04 -07:00
Andrea Marchesini 40a6c939ee Bug 1330900 - Enable WPT for <script nomodule>, r=annevk
Enabling means set dom.moduleScripts.enabled to true
2017-05-04 10:24:13 +02:00
Andrew Swan 79a787c063 Bug 1352204 Fix test issues with non-MPC extensions r=kmag
Continue to allow non-multiprocessCompatible extensions in automation.
There are a ton of places that would need to be changed, many of which
will be changing soon anyway with the non-webextensions change in 57
so this is mostly the expedient route to keeping the tree green.

MozReview-Commit-ID: EZZoDVdhLfy

--HG--
extra : rebase_source : f83472bc1c88dd0deadbe485d9002499027ff07f
2017-05-03 08:02:51 -07:00
Henrik Skupin 891449384c Bug 1357634 - Use 'beforeunload' to detect a possible page load. r=ato
Using only the different unload events to detect a page load is
unreliable because of a possible delay in starting the navigation,
which could be triggered by a slowness of the application.

By using 'beforeunload', an event will be received much earlier,
and the unload timer can be extended to a couple more seconds to
wait for the navigation request to start.

If a website has it's own 'beforeunload' listener registered,
a tab modal dialog will be opened by Firefox, and Marionette
returns from the currently active command immediately to allow
the test to handle the dialog.

MozReview-Commit-ID: 6ZUYtFJSSnz

--HG--
extra : rebase_source : 3f7b9d9d0067ed7c65a3bb8774f0a5ae8bc702c2
2017-04-28 10:27:12 +02:00
Andreas Tolfsen c6333df5ad Bug 1355888 - Clarify that -marionette flag works cross platform; r=whimboo
Windows systems only accept singled-dashed -marionette, whereas Unix
platforms accept both that and double-dashed --marionette.  This makes
the documentation true for all supported platforms.

MozReview-Commit-ID: IG7ir2HVoHo

--HG--
extra : rebase_source : f3b2740e47f373e5f784d131f1844f82b4c56990
2017-04-13 15:22:40 +01:00
Andreas Tolfsen 29483db42b Bug 1355888 - Remove unused DEFAULT_PORT constant; r=whimboo
MozReview-Commit-ID: 3lkxXFM7Jz0

--HG--
extra : rebase_source : 2ee28babb8ef080542b7b16bbf2a6e9b852b1a9c
2017-04-13 15:09:30 +01:00
Andreas Tolfsen a0995b33db Bug 1355888 - Remove marionette.enabled pref from wptrunner; r=jgraham
MozReview-Commit-ID: IzASL0SBCsR

--HG--
extra : rebase_source : 2614e902138a6e370c024be0680458e61388d344
2017-04-13 15:09:11 +01:00
Andreas Tolfsen cf773b33a8 Bug 1355888 - Mark marionette.enabled pref in client as a deprecated; r=whimboo
To preserve backwards compatibility for in-app restarts using
Services.startup.quit(eRestart), we want to continue using the
marionette.enabled preference in the Python client until the patch
introducing the MARIONETTE environment variable (preceding this) makes
it into an official release.

This is due to the fact that the Marionette Python client is being
used for upgrade tests, and it is needs to stay compatible with all
release trains.

MozReview-Commit-ID: KstsJRu4lIP

--HG--
extra : rebase_source : 01a00549a9c8b57fd65aad8cd68ef04fdcca981d
2017-04-13 15:08:49 +01:00
Andreas Tolfsen 8216b2843e Bug 1355888 - Remove marionette.enabled pref; r=maja_zf,whimboo
There are no current use cases for starting and stopping the Marionette
server at runtime through a preference.  Since it is possible for
arbitrary addons to modify any preference, we are removing it to reduce
the potential attack surface for Marionette.

This effectively leaves only three ways of starting Marionette:
By passing the -marionette flag to the Firefox binary at startup,
setting the MOZ_MARIONETTE environment variable, and by calling
server.TCPListener#start(), which is an internal chrome API.

MozReview-Commit-ID: 9zKsV8ufySU

--HG--
extra : rebase_source : c0914f2ab99229d507830bbf9704e82bd83b1883
2017-04-13 15:08:14 +01:00
Andreas Tolfsen f67d69a55f Bug 1355888 - Add env var MOZ_MARIONETTE to start server; r=maja_zf,whimboo
This patch introduces a new environment variable, MOZ_MARIONETTE, which
if set will start the Marionette remote control server.  This is meant
to be analogous to passing the -marionette flag to the Firefox binary.

When the server is started, we set the environment variable to
preserve Marionette's enabled state across internal restarts.
When Services.startup.quit(eRestart) is called, Firefox is restarted
without the original command line flags it was started with, which means
we lose track of whether Marionette was enabled.  By setting
MOZ_MARIONETTE in-process, we preserve the knowledge of this state.

This approach is in line with how state is preserved across in-app
restarts in toolkit/xre/nsAppRunner.cpp:4761 (XRE_PROFILE_*), and for
how MOZ_APP_RESTART and XUL_APP_FILE works.

MozReview-Commit-ID: Dcb34m6FoZh

--HG--
extra : rebase_source : 98515c702dfd8eaad01f7eab06d33124ce14b15c
2017-04-15 01:50:29 +01:00
Julian Descottes 3953540654 Bug 1183962 - stop installing webide button in menu or navbar automatically;r=jryans
MozReview-Commit-ID: CACgml3Xijf

--HG--
extra : rebase_source : 6fc322700f3d2113c813f2a33c09abc3ba865405
2017-05-02 22:56:40 +02:00
Gregory Szorc abd52a84b9 Bug 1361436 - Emit build stats immediately after build; r=ted
The "generate-build-stats" mozharness action collects a bunch of build
system metrics, including build_resources.json, ctors count, and
installer size and reports them by writing special messages that
log parsers read.

Before this commit, this mozharness action occurred sometime after
"build." But relative ordering to other actions was not consistent
and appears to be significantly cargo culted.

4e61e69a383c (bug 1304508) changed the "check" mozharness action to
invoke `mach build check` instead of `make` directly. An unintended
consequence of this is that `mach build` replaced the
build_resources.json file from the build itself with one measuring
`make check`. This made the "build time summary" metric take a nose
dive.

This commit works around the issue introduced by 4e61e69a383c by
reordering the mozharness actions so "generate-build-stats" follows
immediately after the "build" action. Not only does it now occur
before the "check" action, but it also occurs before uploading and
other actions.

I'm not sure why "generate-build-stats" is its own action and not
part of "build" itself. As the diff shows, numerous instances of
"generate-build-stats" are commented out, which means we aren't
collecting metrics. "generate-build-stats" is also missing from a
handful of mozharness configs, including Windows Clang builds. I'm
not sure what the history is (it is likely varied and almost certainly
involves a fair amount of cargo culting), but I think it is a bug that
we aren't collecting build metrics for every build. I would like to
fix this. And moving "generate-build-stats" immediately after "build"
should make that transition easier.

MozReview-Commit-ID: 7jNTVWRvMnh

--HG--
extra : rebase_source : 0b5fd1f462caa5c283ba7e1b693fdc5b8b948add
2017-05-02 14:32:52 -07:00
Jessica Jong 6469b8fbc1 Bug 1358448 - Add wpt for cases when moving radio out of or into a form. r=smaug
MozReview-Commit-ID: AdXVNfg1eyw

--HG--
extra : rebase_source : 53b31c45f9f3ce11b9d5ad68f464ccd9e21bc197
2017-05-02 23:01:00 +02:00
Wes Kocher e141e24ffb Merge m-c to autoland, a=merge
MozReview-Commit-ID: 1peTFbNMVnU
2017-05-02 17:38:11 -07:00