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

585472 Коммитов

Автор SHA1 Сообщение Дата
Tim Taubert afe259f21f Bug 1409202 - Web Authentication - Restrict to selected tabs in the active window r=jcj
Summary:
This patch restricts any calls to navigator.credentials.* methods to selected
tabs. Any active WebAuthn request will be aborted when the parent chrome
window loses focus, or the <browser> is backgrounded.

Reviewers: jcj

Reviewed By: jcj

Bug #: 1409202

Differential Revision: https://phabricator.services.mozilla.com/D688

--HG--
extra : amend_source : 112378a1ab2e883d7603e8a28ff3f8e944d57b5f
2018-03-10 06:43:20 +01:00
Jed Davis 6c8bcd4625 Bug 1440206 - Allow brokered access to a subset of connect() in the Linux content sandbox. r=gcp
This is to support WebGL with hybrid graphics drivers that connect to
a secondary X server for GL (Primus and VirtualGL), without allowing
access to arbitrary sockets.  In addition to local X11 connections,
Primus needs to connect to the Bumblebee daemon (otherwise it will exit
the calling process).

The broker support is limited to AF_UNIX, to non-datagram sockets (see
bug 1066750), and to pathname addresses.  Abstract addresses could
theoretically be handled but there isn't currently a compelling reason
to, and the broker very much assumes it's dealing with a C-style string
referring to a filesystem path and not an arbitrary byte sequence
(including NULs).

At a higher level: If the GPU X server is remote then it won't work,
but it won't work anyway because WebGL requires features that aren't
supported by indirect GLX.  If the GPU X server is local but the browser
is inside a chroot, it will fail to connect unless /tmp/.X11-unix is
bind-mounted into the chroot; hopefully this use case is not common.

MozReview-Commit-ID: IvI2jYDRZZ2
2018-03-09 19:31:23 -07:00
Kit Cambridge ad185ffab5 Bug 1444552 - Store bookmark creation dates as milliseconds in the mirror. r=tcsc
MozReview-Commit-ID: 8xaMl3sfUm7

--HG--
extra : rebase_source : e29287c6221ee629f14c3684cbf8adc6b40d088f
2018-03-09 15:30:17 -08:00
Matthew Noorenberghe d868f6b1b1 Bug 1443632 - Change screenshots tour action button back to an <a>. r=kitcambridge
MozReview-Commit-ID: DeEWxnurLty

--HG--
extra : rebase_source : fb3fefac449644b8b83286c92d13ebd677a41055
2018-03-09 17:58:18 -08:00
Zibi Braniecki 6f768169f5 Bug 1444564 - Fix a typo in Preferences main.xul. r=gandalf
MozReview-Commit-ID: 5X8crQ5dXb1

--HG--
extra : rebase_source : 6083a1e4488bb654a05be0f2d94770cb52ca67d0
2018-03-09 17:12:44 -08:00
Dmitry 8beab7f02b servo: Merge #20252 - Extract text emphasis style (from NeverHappened:extract_text_emphasis_style); r=upsuper
<!-- Please describe your changes on the following line: -->
Extracted the text-emphasis-style property out of the inherited_text.mako.rs.
This is a part of #19015

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] `./mach cargo-geckolib check` does not report any errors
- [X] These changes fix #19940 (github issue number if applicable).

<!-- Either: -->
- [X] These changes do not require tests because it's a refactoring

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: aa8fb3a2044c03301e23aa9ffbee1161b9bd092c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6a5f107261e45aabaa20bdf3e50d603e6f002ea0
2018-03-09 19:20:10 -05:00
Bogdan Tara eaec7bede8 Backed out 2 changesets (bug 1223726) for failing devtools/client/styleeditor/test/browser_styleeditor_fetch-from-netmonitor.js a=backout on a CLOSED TREE
Backed out changeset a95b0b28ca16 (bug 1223726)
Backed out changeset 6adb35cc708e (bug 1223726)
2018-03-10 02:44:19 +02:00
Emilio Cobos Álvarez bef3768170 servo: Merge #20262 - constellation: Make setting up the WebGL state fallible (from emilio:webgl-fallible); r=jdm
This fixes a regression caused by the glutin update.

We now are creating EGL contexts in Linux Wayland, instead of X context, so the
GLContextFactory assumption of one GL back-end per platform is broken.

This just works around it, for now, but in general I think not relying on
available WebGL state is a good thing, and we do that already for WebVR anyway.

Source-Repo: https://github.com/servo/servo
Source-Revision: 95f9e14e67766b36a8b72e62925a34b1818be2c8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0029f2ac9735f2645084e572e5f560f4348fa577
2018-03-09 18:24:56 -05:00
Shane Caraveo 25d47480bb Bug 1443749 only reload sidebar when the url has changed r=kmag
Regression from bug 1398713.  Before that, we reloaded the entire webext-panel.xul if the
sidebar changed.  This verifies we don't reload unecessarily as well as discards
the browser to force a runtime disconnect for the extension if it does change.

MozReview-Commit-ID: LuYxmj9mSb7

--HG--
extra : rebase_source : 9839d7b96195f2323328d1a37c3d946032bbb652
2018-03-09 16:30:49 -06:00
Kris Maglione a25db8235e Bug 1444502: Remove support for installing unpacked extensions. r=aswan
This retains support for installing unpacked dictionaries, since Hunspell only
supports loading dictionaries from ordinary filesystem paths.

Unpacked extensions are no longer supported on production, except during
development. WebExtensions have no support for the unpacked flag at all, and
specially signed legacy extensions are forbidden from using it, so there's no
point in maintaining support for this install code. Or, more importantly, for
running a nearly complete duplicated set of tests in order to exercise it.

MozReview-Commit-ID: 1fKVgSelJQ8

--HG--
extra : rebase_source : a2e9086a3d050b66eab9c17fff9c2f7189911832
extra : amend_source : da8f6425ec74a824a3d19f13bb4eb51980cd64c1
2018-03-09 12:45:59 -08:00
Jim Blandy 2e586e022b Bug 1438121: Add jit-test async-livecache.js. r=fitzgen
MozReview-Commit-ID: Jbe1GMPGwKj

--HG--
extra : rebase_source : 60ff2bd3f06bf6cb7b0056efe187a6e2c9bb4c1a
extra : amend_source : 7af0b2cf8165ef689e2ed8248763b64ee5183141
2018-03-09 16:47:58 -08:00
Brindusan Cristian 280c6da8b0 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-10 23:54:27 +02:00
ffxbld ed71279488 No bug, Automated blocklist update from host bld-linux64-spot-302 - a=blocklist-update 2018-03-09 12:00:12 -08:00
ffxbld 1ab76f70a0 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-03-09 12:00:09 -08:00
ffxbld 1c25759cc3 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-03-09 12:00:05 -08:00
Daniel Holbert 296a409c95 Bug 1444481 part 3: #include nsStringFwd.h rather than nsString.h in some layout/style headers. r=xidorn
These files only use references to string types, e.g. "nsAString&", so they
only need forward-declarations of these types -- not the full definition.

Note that the last file here (nsStyleUtil.h) already has an #include for
nsStringFwd.h, which is why that files change is just a pure removal (of the
unnecessary nsString.h #include).

MozReview-Commit-ID: 9sLSyeBS49M

--HG--
extra : rebase_source : 683a2c621f7b7cae754f129effabd9defe7ba665
2018-03-09 11:55:12 -08:00
Daniel Holbert db1f9ead22 Bug 1444481 part 2: Replace unneeded #includes in nsStyleConsts.h with more specific ones (and add missing headers to nsStyleCoord.h). r=xidorn
nsStyleConsts.h doesn't use anything from gfxRect.h or nsFont.h, so this patch
removes those #includes from it. However, it does need some other headers that
it was pulling in indirectly via those #includes, which I'm now making it
*directly* #include. Specifically, it needs:
 - inttypes.h for "uint8_t"
 - gfxFontConstants.h for NS_FONT_WEIGHT_BOLD and related constants.

On its own, the above changes cause build errors in nsStyleCoord.h, because
that other header has an #include for nsStyleConsts.h, which it was
inadvertently depending on (very indirectly) to provide some definitions (via
the aforementioned removed #includes). So we need to give nsStyleCoord.h some
new #includes to directly provide what it needs & keep it
compiling. Specifically:
 - mozilla/gfx/Types.h for the mozilla::Side type
 - nsISupportsImpl.h for the NS_INLINE_DECL_THREADSAFE_REFCOUNTING macro

MozReview-Commit-ID: BDlaIIOQiPE

--HG--
extra : rebase_source : a16f85f030330ff009461c4d48028327cc4ba0cf
2018-03-09 11:53:22 -08:00
Daniel Holbert 408bfa9bf0 Bug 1444481 part 1: Add some needed #includes to ComputedTimingFunction.h and FrameMetrics.h. r=xidorn
(This is a helper patch -- I'm splitting this into its own patch since it's
changing files in other directories, and also so that the main patches here
can be a bit more direct.)

Without this change, the other patches in this series would cause compile
failures in the headers that I'm fixing up here (because the other patches will
be removing #includes from some headers that these files were inadvertently
depending on).

As of this patch, ComputedTimingFunction.h will now be including:
 - nsDebug.h to provide NS_ASSERTION
 - nsStringFwd.h to provide a forward-declaration for "nsAString&"
 - Assertions.h to provide MOZ_ASSERT
 - Maybe.h to provide Maybe<ComputedTimingFunction>
(I think it's been leaning on nsTimingFunction.h's include of nsString.h to
indirectly provide these.)

FrameMetrics.h will now be including:
 - PLDHashTable.h to provide PLDHashNumber
(I think it's been leaning on nsStyleCoord.h/nsStyleConsts.h to indirectly
provide this.)

MozReview-Commit-ID: AoFoEe9GisK

--HG--
extra : rebase_source : 63c69343acaf42511ebdeb0238f4385a0c6345a5
2018-03-09 11:52:02 -08:00
Jim Blandy 4103e8702d Bug 1438121: Final Part 6: Omitted doc fix requested in review. DONTBUILD r=fitzgen
MozReview-Commit-ID: FXQM85VAnfA

--HG--
extra : rebase_source : baacbcbe3f2e71276f2c5457b191e3156129fcaa
extra : histedit_source : 1f55ff3fa8546434c52109c6a0b1f69344ebd380
2018-03-09 11:40:46 -08:00
Andreea Pavel a3a0c1c649 Merge mozilla-inbound to mozilla-central. a=merge on a CLOSED TREE 2018-03-09 21:33:50 +02:00
J.C. Jones 964fda6aa9 Bug 1441550 - Make CERT_VALIDATION_SUCCESS_BY_CA telemetry opt-out in release r=chutten,keeler a?merwin
Like PAGELOAD_IS_SSL, it is very useful for the ecosystem to monitor
CERT_VALIDATION_SUCCESS_BY_CA for release populations. See websites like
https://crt.sh/mozilla-certvalidations for examples.

This patch does a few of the things requested in Bug 1369747 like adding
alert emails and a bug_numbers field. It also sets "releaseChannelCollection"
to "opt-out".

MozReview-Commit-ID: FMHOTqvaJKy

--HG--
extra : rebase_source : b7b94ed8d00bbc923040477caaa35228b688e9fe
2018-03-09 10:19:00 -07:00
Kris Maglione f0ad458573 Bug 1444338: Make sure weak progress listener is not collected too early. r=mconley
MozReview-Commit-ID: GAwko5pkcc8

--HG--
extra : rebase_source : c058cea151a22b3eb12e8feb35f2af90c35486a8
2018-03-09 08:44:37 -08:00
Petr Sumbera ac991196ef Bug 1439885 - Fix RelocationOverlay for big-endian machines in JavaScript : GC. r=sfink 2018-03-09 08:33:57 -08:00
Jan de Mooij 02c732460b Bug 1425580 part 20 - Clean up wasm call LIR instructions a bit. r=bbouvier 2018-03-10 12:34:34 +01:00
Jan de Mooij 81ba2e7314 Bug 1425626 - Properly allow overrecursion in bug1416727.js jit-test. r=me 2018-03-10 12:27:27 +01:00
Jonathan Kew 243822d04c Bug 1443095 - Update graphite2 library to release 1.3.11 (plus upstream commit 6e24eb7e to fix leak). r=jrmuizel 2018-03-10 10:43:38 +00:00
Noemi Erli 8dfb05971f Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-10 12:15:32 +02:00
Geoff Brown 6a32698d7b Bug 1440714 - Add ADBDevice.get_file() to pull and read a remote file; r=bc 2018-03-09 09:27:08 -07:00
Geoff Brown 302c5c717b Bug 1440714 - Add ADBAndroid.get_top_activity() to determine the focused app; r=bc 2018-03-09 09:27:08 -07:00
Geoff Brown 336d7b09b0 Bug 1440714 - Add -r option to ADBAndroid.install_app(); r=bc 2018-03-09 09:27:08 -07:00
Kris Maglione 044012d3fe Bug 1315887: Temporarilly disable browser_ext_locationBarExternalLoad for surge in intermittents. r=me
MozReview-Commit-ID: 9Vb5nQ9lwpq
2018-03-09 08:21:36 -08:00
Omar 94fac0f818 Bug 1443833 - Remove unused gBrowser.tabContextMenu property. r=dao
MozReview-Commit-ID: 6dJuanIFMxy
2018-03-09 17:10:16 +01:00
Johan Lorenzo 30431214a3 Bug 1444391 - google-play-strings: Use release strings on mozilla-release r=bhearsum,mtabara a=release
MozReview-Commit-ID: aHR8CwNyqI

--HG--
extra : histedit_source : 8591eeb97e344c8c579562c17356b48d4fd201b7
2018-03-09 16:28:27 +01:00
Simon Fraser 5e74c3f641 Bug 1444333 Fix missing task requirement for periodic file updates r=callek
Reviewers: Callek

Reviewed By: Callek

Bug #: 1444333

Differential Revision: https://phabricator.services.mozilla.com/D699
2018-03-09 15:00:02 +00:00
Benjamin Bouvier 44540b0fd1 Bug 1442656: Implement wasm testing functionalty for two-tiered compilation; r=luke
--HG--
extra : rebase_source : 8c89f1e1f535e34f6bd6883da870b22f05aa2fbf
2018-03-09 16:13:23 +01:00
Emilio Cobos Álvarez 742aeb5c12 Bug 1434692: followup: Mark the test as failing on the old style system. r=me
MozReview-Commit-ID: GyMjByQ96VU
2018-03-09 16:11:41 +01:00
Yura Zenevich 6c64f2f9fd Bug 1428430 - added enable, disable, highlighter, picker a11y functionality. r=pbro, ochameau
MozReview-Commit-ID: 7QsY75oJCtW
2018-03-09 10:01:55 -05:00
Nathan Froyd 84c5746150 Bug 1444174 - point people away from Cargo.toml for opt-level settings of Rust code; r=nalexander
For people who don't know how our Rust opt-level setup works--or for
people who did know and repeatedly forget--it would be good to have some
documentation in Cargo.toml pointing at the correct place.
2018-03-09 09:31:17 -05:00
Mihai Tabara 1f26261cf5 Bug 1444131 - Strip whitespaces in bouncer check partials processing transforms. r=jlorenzo
MozReview-Commit-ID: 5cM1NUL2N5I
2018-03-09 14:06:32 +00:00
Dorel Luca 150521bb4b Backed out changeset 798a47cd74d5 (bug 1441391) for build bustages. CLOSED TREE 2018-03-09 14:49:02 +02:00
mmr 9cae88d7a9 Bug 1443425: Removed unused variable shellGrip. r=emilio
Reviewer note: `shell` is already a strong reference, so no need for it.

MozReview-Commit-ID: 8IbcFOZxoAz
2018-03-09 12:16:39 +01:00
Emilio Cobos Álvarez ac276d4193 Bug 1434692: Add a WPT test for calc font-variation-settings. r=dholbert
Summary:
Along with other internal tests. Tests for font-feature-settings exist, they're
not synced yet.

Reviewers: dholbert

Reviewed By: dholbert

Bug #: 1434692

Differential Revision: https://phabricator.services.mozilla.com/D544

MozReview-Commit-ID: BfGSZMh9Hss
2018-03-09 12:15:09 +01:00
Daniel Stenberg fd2336dfd3 bug 1441391 - TRR: restart failed NS confirms in TRR-only mode r=valentin
MozReview-Commit-ID: FHw3Zx07iFG

--HG--
extra : rebase_source : baa674f1a488c6ee5383a4f72c66bb595285db60
2018-03-09 09:05:48 +01:00
Dão Gottwald ed5f1e7927 Bug 1443404 - Fix browser_urlbarFocusedCmdK.js intermittent failure. r=Gijs
MozReview-Commit-ID: AA31YY6nUPc

--HG--
extra : rebase_source : 61f810b2dbd85846496b941bf999342efdde4515
2018-03-09 11:24:06 +01:00
Emilio Cobos Álvarez 117d05d6e5 No bug - update euclid and revendor rust dependencies. r=me on a CLOSED TREE
MozReview-Commit-ID: ANUBjeuvuNU
2018-03-09 13:01:42 +01:00
Anthony Ramine 6e940dc689 servo: Merge #20254 - Some random improvements to derived style code (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 664efab4a33264c07d68013a0ac3585544556b72

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 66cf55f6a0082367265b9940ece86e76ce450fcc
2018-03-09 05:58:22 -05:00
Ken VanDine 4bdff4292f Bug 1444140 - xdg-utils shouldn't be bundled in the firefox snap r=jlorenzo
MozReview-Commit-ID: CI6j8lxxA1T

--HG--
extra : rebase_source : da0e99aa8d494044269051c50531e5018cad8aca
2018-03-09 10:56:44 +00:00
Julian Descottes 075d71cbcc Bug 1441703 - Define all DAMP tests in a single file;r=ochameau
MozReview-Commit-ID: 5XLDwdfGyTh

--HG--
extra : rebase_source : e5342314a99ded5d09c0c2225a8b3de2d7630015
2018-03-09 09:05:20 +01:00
Julian Descottes 43ae2eade9 Bug 1441703 - Split DevTools performance test damp.js;r=ochameau
MozReview-Commit-ID: Jwfe7RLxEg2

--HG--
rename : testing/talos/talos/tests/devtools/addon/content/pages/custom/panels-in-background/panels-in-background.html => testing/talos/talos/tests/devtools/addon/content/pages/custom/panels-in-background/index.html
extra : rebase_source : cebfd6265d88a1d5ea5135d200d115f7e5c71c94
2018-03-09 09:03:11 +01:00
J. Ryan Stinnett e1e870db9e Bug 1442312 - Wait for addon reload to finish in tests. r=jdescottes
In about:debugging's browser_addon_reload.js test, we would request a reload
without waiting for it to reply.  This led to the RDP connection closing before
the reply could be sent, triggering later errors.

For better test correctness, we now emit an event on reply and the test waits to
receive it before proceeding.

MozReview-Commit-ID: Jfps7MJ6Pzo

--HG--
extra : rebase_source : 2287c729062e3ed9a1f4527b192a672cff8c18c6
2018-03-08 19:05:32 -06:00