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

533782 Коммитов

Автор SHA1 Сообщение Дата
Botond Ballo 979e3ee035 Bug 1359868 - Move the ComputePartialPrerenderArea() helper to nsLayoutUtils so it can be reused. r=mstange
MozReview-Commit-ID: GVRBUfYwOFP

--HG--
extra : rebase_source : 8e16daf7709cc107f21e3b8b0050df44e83089fb
2017-05-01 19:59:08 -04:00
Sebastian Hengst 94d0f5f35f Backed out changeset 97a3a6e6550b (bug 1356448) for frequently failing xpcshell's test_ChildScalars.js and test_ChildHistograms.js on Windows 7 VM debug. r=backout 2017-05-03 20:46:28 +02:00
Alexis Beingessner 6f404897d1 servo: Merge #16652 - Update to webrender's new bincode IPC (from Gankro:bincode-ipc-5); r=jdm
**DO NO MERGE YET**

This is the required update to Servo for my changes to webrender in https://github.com/servo/webrender/pull/1181

Source-Repo: https://github.com/servo/servo
Source-Revision: 74c36cb35ddac3bf7db9215d85b9d4d7a660197b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3f1a55f6dab59aa865e929b9fb36fb1572708bc1
2017-05-03 12:44:37 -05:00
Shane Caraveo fcfaefbb88 Bug 1357723 fix intermittent failure of tab close, r=kmag,mattw
MozReview-Commit-ID: 257gWUotCqE

--HG--
extra : rebase_source : 98bb3df2caa7ee41fd170ef4fa51f9ab0ae49879
2017-04-24 13:59:36 -07: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
Ted Campbell 4e110f1b5d Bug 1337773 - Use IonInIC for MIn and rename to MInCache r=jandem
MozReview-Commit-ID: 2Nl70H4MpPa

--HG--
extra : rebase_source : c8c54a4c32769e6bfd323f9acd7860d043f9656a
2017-04-17 13:31:12 -04:00
Ted Campbell 8e7ddb1ceb Bug 1337773 - Add IonInIC r=jandem
MozReview-Commit-ID: BmHPnJnMjVP

--HG--
extra : rebase_source : d8ca3f631dd2da0bfb5b87b4db1ceac323f6131d
2017-04-17 13:55:27 -04:00
Patrick McManus 26f948c0f3 Bug 1361495 - trigger winsock init early on STS to avoid main thread jank r=nwgh
MozReview-Commit-ID: 9HhHWBwF47Z

--HG--
extra : rebase_source : 63cc79d36fdf713ecb6e513fecd77fffa43bf182
2017-05-02 17:22:53 -04:00
Ted Campbell 43e26a60a0 Bug 1359952 - Add HasPropIRGenerator r=jandem
This combines InIRGenerator with HasOwnIRGenerator.

MozReview-Commit-ID: 7FQX5YmVrM7

--HG--
extra : rebase_source : 9b0e735e303f6fa57d4407bec5b81bc8307d365a
2017-04-27 12:11:17 -04:00
Ted Campbell d561466341 Bug 1359952 - Add ownProp flag to CanAttachDenseElementHole r=jandem
MozReview-Commit-ID: EvpCisLDTk2

--HG--
extra : rebase_source : ca652cb2e1c2ce2a208363bac7f283757afa5abf
2017-04-27 12:06:13 -04:00
Ted Campbell 46f8075f1a Bug 1359952 - Remove shape arg from TestMatchingReceiver r=jandem
MozReview-Commit-ID: L2EiAUvK5rW

--HG--
extra : rebase_source : 487d447a05a14952a9a4b6d5260b9309d7e601a2
2017-04-26 16:06:42 -04:00
Ted Campbell 786416aaf1 Bug 1359952 - Fix CacheIRCompiler handling of boolean results r=jandem
MozReview-Commit-ID: 5xeZQyprlpm

--HG--
extra : rebase_source : f3df3bae4ab544d2de5610134ad9399d161288ad
2017-04-21 14:21:36 -04: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
Sebastian Hengst 76d0313771 Backed out changeset 43f195f28f6a (bug 1054740) for failing test_quit_restart.py TestQuitRestart.test_in_app_restart_with_callback in Mn-e10s on OSX 10.10 opt. r=backout 2017-05-03 18:50:18 +02:00
Patrick Brosset 041d28fbec Bug 1361710 - Move the debugger client API doc to the tree; r=sole
MozReview-Commit-ID: JQ2dWN7wXsw

--HG--
extra : rebase_source : 97224e83bd4ea374c49dc6992a1d9bd08dee1a68
2017-05-03 15:35:17 +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
David Keeler 3caa6189aa bug 1349312 - part 2/2: add pyct.py and generate test certificate transparency information r=Cykesiopka,jcj
MozReview-Commit-ID: 9Htv04PfRzb

This introduces pyct.py with the capability of generating Signed Certificate
Timestamps for our test certificates. Also introduces a simple testcase that
should validate correctly under current CT requirements as well as one that does
not validate due to an insufficient number of SCTs.

(Note that "validate" in this case does not refer to the overall TLS handshake
result, because CT is not currently required. It more or less refers to the
value of certificateTransparencyStatus of the SSLStatus of the connection's
securityInfo - see nsISSLStatus.idl.)

--HG--
rename : security/manager/ssl/tests/unit/bad_certs/default-ee.key => security/manager/ssl/tests/unit/test_ct/default-ee.key
rename : security/manager/ssl/tests/unit/bad_certs/default-ee.key.keyspec => security/manager/ssl/tests/unit/test_ct/default-ee.key.keyspec
rename : security/manager/ssl/tests/unit/bad_certs/default-ee.pem => security/manager/ssl/tests/unit/test_ct/default-ee.pem
rename : security/manager/ssl/tests/unit/bad_certs/default-ee.pem.certspec => security/manager/ssl/tests/unit/test_ct/default-ee.pem.certspec
rename : security/manager/ssl/tests/unit/bad_certs/test-ca.pem => security/manager/ssl/tests/unit/test_ct/test-ca.pem
rename : security/manager/ssl/tests/unit/bad_certs/test-ca.pem.certspec => security/manager/ssl/tests/unit/test_ct/test-ca.pem.certspec
extra : rebase_source : 66c5a5e16eeb47c97972248d61a4f1cbadf59a49
2017-04-17 14:55:35 -07:00
David Keeler c138b8d0b6 bug 1349312 - part 1/2: patch CT implementation to include debug-only test logs r=Cykesiopka,jcj
MozReview-Commit-ID: Gay4bliuiDc

This modifies getCTKnownLogs.py to inject 3 debug-only Certificate Transparency
log keys and 2 organizations ("Mozilla Test Org 1" and "2") for use with
integration tests. Also updates CTKnownLogs.h as generated by the python script.

The debug logs use the "default", "secp256r1", and "alternate" keys that are
already present in our testing infrastructure (see pykey.py).

--HG--
extra : rebase_source : 3d4fc736f840cd080fab6b8c6c5b53cc9361abf2
2017-04-19 14:02:26 -07:00
Nick Alexander 744e5386aa Bug 1361418 - Remove Java Addons from Firefox for Android. r=sebastian
The Java Addons mechanism never got traction and is not Web Extensions
compatible.  Removing it simplifies the product and the build system.

MozReview-Commit-ID: ABUxkqqMISa

--HG--
extra : rebase_source : 346f88882774f072316714cf637a54d771d81a9a
2017-05-02 11:49:16 -07:00
Julian Descottes 416806165a Bug 1360894 - add type checkbox to devtools all-tools menu items;r=pbro
MozReview-Commit-ID: JtSUWaZm1vv

--HG--
extra : rebase_source : 8bcaa1784a38452e9aa6f20e7dd14f36ecad1c2e
2017-05-03 17:31:08 +02:00
Ralph Giles 1e2cce29f2 Bug 1358662 - Call VPXDecoder libvpx wrappers for WebM. r=jya
Use the new helper functions instead of calling libvpx directly.
This simplifies adding other codecs in the future.

MozReview-Commit-ID: 8VX0d5S50EE

--HG--
extra : rebase_source : 34be2118bc5d1bfcb6237d7fbe67d8fbc5ef1508
2017-04-24 15:08:50 -07:00
Ralph Giles dcb3a85e19 Bug 1358662 - Implement keyframe and framesize VPXDecoder helpers. r=jya
Encapsulate code from WebMDemuxer to query keyframe and frame
resolution inside VPXDecoder, so we have a clean wrapper for
all the libvpx functions we use.

MozReview-Commit-ID: ASRRhNl0A41

--HG--
extra : rebase_source : e0a27e946a60e0c33ecf4908f1e09436f836e123
2017-04-24 15:05:01 -07:00
Ralph Giles e7a03fe937 Bug 1358662 - Add Span support to MediaRawData. r=jya
MozReview-Commit-ID: A3bHPlk0MQi

--HG--
extra : rebase_source : 4d6bafa6e744d1dce2884a6fa25dd907739e66db
2017-04-21 16:12:55 -07:00
Ralph Giles 318e6f6af0 Bug 1358662 - Store VPXDecoder codec as an enum. r=jya
Use the enum we already have here instead of converting
to an int when we pass it around, giving us better
type checking.

MozReview-Commit-ID: Gj4xmtQnzw2

--HG--
extra : rebase_source : fc7769c9650c59f52bfd8611e6cabb8e5b6d7068
2017-04-24 15:02:54 -07:00
Ralph Giles 9032567bba Bug 1358662 - Store LastSeenFrame dimensions as an nsIntSize. r=jya
This simplifies the comparison and update logic.

MozReview-Commit-ID: A6YII8tlEUn

--HG--
extra : rebase_source : e225b34f91e12591d5872121e024ef29c63a11e0
2017-04-21 18:05:46 -07:00
Bas Schouten 76892628f3 Bug 1348320: Use UpdateSubResource on crashy intel device/OS version combinations. r=jrmuizel
MozReview-Commit-ID: EdDn4qy1ajP

--HG--
extra : rebase_source : fadec88a9586bc40e44d2f91aae5c9c5f8f59a5c
2017-05-01 01:11:24 +00:00
Josh Matthews 9b3fb791ae servo: Merge #16655 - Fix broken unit tests (from servo:jdm-patch-1); r=emilio
These are tests that only get run on TravisCI, apparently, so they were broken by be0139ff3c and 32c624e585 without anybody noticing.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3905b5af1804ad912c6e1854a0bcdfe9bda79065

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5ce8a16190b7183a08a169a97b5e9f9dd35cae6a
2017-05-03 09:47:44 -05:00
Jan Odvarko 33630ea136 Bug 1361708 - Update docs in readme.md; r=Honza
MozReview-Commit-ID: 3WPJCabyMNw

--HG--
extra : rebase_source : c93923a50e5ca273f9da8557452994b7a5e47bff
2017-05-03 15:26:57 +02:00
Andrew Swan d326378bfe Bug 1352204 Update non-MPC extension notification r=andym
MozReview-Commit-ID: E9hqJqySA3v

--HG--
extra : rebase_source : bf916d46ec21cb6594cd48308057291e214b97a6
2017-05-01 12:04:36 -07:00
Andrew Swan fa9bfefd8a Bug 1352204 Disallow non-MPC extensions on Nightly r=kmag
MozReview-Commit-ID: D1TrIrrwGcL

--HG--
extra : rebase_source : 23b28ce71c3bd297b42856db19ec62d9969a470b
2017-04-24 14:15:51 -07: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
Simon Sapin fd16ec7749 servo: Merge #16689 - Upgrade to html5ever 0.16 (from servo:m5e); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 8b41c7c137c78aab208fe2991c3ec951fe5f1386

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 234eca73c03f9e482a94c97e49ce5a78d077123e
2017-05-03 08:42:41 -05: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
Nihanth Subramanya a1b61bc267 Bug 1347543 - Use SVGs instead of PNGs for toolbar button icons. r=dao
MozReview-Commit-ID: EWgOI8x4Qdj

--HG--
extra : rebase_source : 1776100991adb88d6c42e6af74a1936211faf8a4
2017-04-28 21:47:07 +05:30
Milan Sreckovic 54676f22e1 Bug 1356448: Allow software backed compositor process in nightly. r=dvander
MozReview-Commit-ID: F7DFxLu1W9R

--HG--
extra : rebase_source : 6deefeebda970019c8ee8827b798d182d14bc3ee
2017-04-13 22:13:54 -04:00
Carsten "Tomcat" Book dab561c88c Backed out changeset 4d6cbe2ebbd1 (bug 1347543) for causing bc6 issues 2017-05-03 15:50:55 +02:00
Fischer.json 7b160b2e4c Bug 1358384 - Test the persistent-storage permission based on the pref-on/off state, r=johannh
The persistent-storage permission is still only pref-on on Nightly so this patch would test it only when it is pref-on.

MozReview-Commit-ID: Ei64cpJslgU

--HG--
extra : rebase_source : 1a2515a7c13675c80387c4e4628687ddbea64842
2017-04-21 00:04:53 +08: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 b6c5329234 Bug 1339293 - devtools sourceeditor: calculate indentSize depending on current position;r=gl
The TAB handler for the source editor used to add indentSize - 1 spaces, unless the caret
was on the beginning of a line. This only ever works if you are pressing TAB after writing
one character. Otherwise we should always calculate the necessary spaces based on the caret
position (modulo indentSize)

MozReview-Commit-ID: EdcM4IhhyMk

--HG--
extra : rebase_source : 99957d8683f172d65213052e36281a24c7dffd2a
2017-05-02 12:48:42 +02:00
Jed Davis 3c4e538953 Bug 1361238 - Re-allow accept4, used by accessibility. r=gcp
MozReview-Commit-ID: 3M3T3bkx4nP

--HG--
extra : rebase_source : b67332889615ae34cc67737da361f21ae545aeb4
2017-05-01 21:51:11 -06:00
Evan Tseng 3b5ae3c6dc Bug 1360846 - Ensure prefs are set before run the browser_performance.js tests, r=jaws
MozReview-Commit-ID: A8zPtLjTyFx

--HG--
extra : rebase_source : 4a1e20c0814c784b690a2a42272dcd740879e37c
2017-05-02 10:54:15 +08:00
Jan Beich 6c24868ec4 Bug 1360781 - Add Stylo dependencies for ./mach bootstrap on FreeBSD. r=froydnj
MozReview-Commit-ID: 3cD8frPKXnW

--HG--
extra : rebase_source : a2172145af1aec80eb6a67a0a9bd06ab0ec22130
2017-04-29 02:04:02 +00:00
Wei-Cheng Pan cd1468cb2b Bug 1345540 - Measure input event handling latency. r=bsmedberg,smaug, data-review?bsmedberg
MozReview-Commit-ID: 9mvwMewgIkJ

--HG--
extra : rebase_source : 659976746df68beddfc3281586d03b25a56e0ca0
2017-04-18 11:25:21 +08:00
Rob Thijssen 1f8833fb83 Bug 1321782 - re-enable jsreftest e10s on taskcluster Windows 7; r=jmaher
MozReview-Commit-ID: HPwphkZGhUD

--HG--
extra : rebase_source : 785d49b1620d66d0c142a7fbc77a82a47084a1d1
2017-05-03 14:01:06 +03:00