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

618468 Коммитов

Автор SHA1 Сообщение Дата
Kearwood "Kip" Gilbert 06f22ca88b Bug 1466700 - Refactor gfxVROculus.cpp to use gfxVRExternal interface, r=daoshengmu
Tags: #secure-revision

Bug #: 1466700

Differential Revision: https://phabricator.services.mozilla.com/D8177
2018-07-13 17:16:35 -07:00
Daniel Varga d4fb1d5267 Backed out changeset 10dc6af46fbf (bug 1496281) for build bustage at builds/worker/workspace/build/src/dom/media/mediasink/AudioSink.cpp on a CLOSED TREE
--HG--
extra : amend_source : a30e9518eff0f50fbd746af15a3468b3b54b0215
2018-10-13 00:04:06 +03:00
Daniel Varga 68568e039c Backed out changeset 620be2ce2c8c (bug 1498687) for browser-chrome failures at browser/extensions/webcompat-reporter/test/browser/browser_report_site_issue.js 2018-10-13 00:02:51 +03:00
Tom Prince be7ea11457 Bug 1498028: [mozharness] Only set UPDATE_CHANNEL on nightly builds; r=aki
There is currently a bunch of branch-specific configuration to set non-nightly
builds to have the default update channel on release branches. This allows us
to get rid of that configuration.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 20:54:05 +00:00
alwu 7c15bc0720 Bug 1496281 - do not create audio stream if audio has ended. r=jya
We should not init the audio steam when the audio queue is marked as finished.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 20:43:22 +00:00
Ethan Glasser-Camp 44280cf5ff Bug 1467550: update no-op version ID, r=lina
Differential Revision: https://phabricator.services.mozilla.com/D8575

--HG--
extra : moz-landing-system : lando
2018-10-12 16:45:18 +00:00
Martin Stransky 53bbcc32fb Bug 1498356 - Move border and padding from -moz-window-titlebar* to -moz-window-button-box on GTK backend, r=dao
This is based on patch by Mike Conley (:mconley)

The left/right toolbox placement can be adjusted later as we know at toolkit level where the buttons are
so we can set border/padding accordingly.

Depends on D8529

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

--HG--
extra : moz-landing-system : lando
2018-10-12 16:16:50 +00:00
Martin Stransky 6a1af65492 Bug 1498356 - Remove padding/border from -moz-window-titlebar*, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8529

--HG--
extra : moz-landing-system : lando
2018-10-12 16:16:57 +00:00
Coroiu Cristina dd67a9014b Backed out changeset 7c1aecbca3dd (bug 1498278) for causing leaks at at mozilla::extensions::ChannelWrapper::Get
--HG--
rename : browser/extensions/webcompat/injections.js => browser/extensions/webcompat/webextension/background.js
rename : browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css => browser/extensions/webcompat/webextension/injections/css/bug0000000-dummy-css-injection.css
rename : browser/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js => browser/extensions/webcompat/webextension/injections/js/bug0000000-dummy-js-injection.js
rename : browser/extensions/webcompat/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js => browser/extensions/webcompat/webextension/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js
rename : browser/extensions/webcompat/injections/js/bug1457335-histography.io-ua-change.js => browser/extensions/webcompat/webextension/injections/js/bug1457335-histography.io-ua-change.js
rename : browser/extensions/webcompat/injections/js/bug1472075-bankofamerica.com-ua-change.js => browser/extensions/webcompat/webextension/injections/js/bug1472075-bankofamerica.com-ua-change.js
rename : browser/extensions/webcompat/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js => browser/extensions/webcompat/webextension/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js
rename : browser/extensions/webcompat/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js => browser/extensions/webcompat/webextension/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js
2018-10-12 23:12:07 +03:00
Mike Conley b6f44860e8 Bug 1498687 - Make webcompat-reporter WebExtension load about:blank instead of about:newtab in the reporter tab. r=twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D8596

--HG--
extra : moz-landing-system : lando
2018-10-12 19:57:49 +00:00
Michael Kaply 2579de19e9 Bug 1493973 - Don't block devtools when block chrome URLs r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8591

--HG--
extra : moz-landing-system : lando
2018-10-12 19:48:19 +00:00
Tom Prince d87eae1334 Bug 1473416: [release] Allow staging releases to build partials from http://ftp.stage.mozaws.net/; r=sfraser
The partial generation code checks the URLs of the source versions. To allow
building partials from staging releases, allow the staging CDN when generating
partials.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 17:53:20 +00:00
Daniel Varga d51fae3043 Backed out changeset f536c1abf26e (bug 1466700) for causing build bustage at /build/build/src/gfx/vr/service/OculusSession.cpp
--HG--
extra : rebase_source : 1a2e33bbba56a6abc9806624b9944a1f1b4d81e2
2018-10-12 22:29:20 +03:00
Daniel Varga 8c72d0afd7 Backed out changeset 81c3640eaebc (bug 1473399) for causing build bustage on /build/build/src/gfx/vr/service/OculusSession.cpp
--HG--
extra : rebase_source : 502939b5087c85d851979aecf1928b1036700de4
2018-10-12 22:27:53 +03:00
Michael Kaply b5927ee580 Bug 1498223 - Always add security devices at startup if they aren't there. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8574

--HG--
extra : moz-landing-system : lando
2018-10-12 19:25:58 +00:00
Alex Gaynor 8c784a6c6d Bug 1498247 - Part 3 - switch from using the deprecated env::home_dir() to the dirs crate; r=jgraham
Depends on D8578

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

--HG--
extra : moz-landing-system : lando
2018-10-12 17:26:21 +00:00
Alex Gaynor c01581a74e Bug 1498247 - Part 2 - cargo vendor; r=jgraham
Depends on D8577

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

--HG--
extra : moz-landing-system : lando
2018-10-12 17:29:14 +00:00
Alex Gaynor b796049372 Bug 1498247 - Part 1 - Add a dependency on dirs for getting the home directory; r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D8577

--HG--
extra : moz-landing-system : lando
2018-10-12 17:24:43 +00:00
Brian Grinstead 92e2947f5b Bug 1476769 - Migrate tabpanels to a Custom Element r=dao
Differential Revision: https://phabricator.services.mozilla.com/D8458

--HG--
extra : moz-landing-system : lando
2018-10-12 17:52:09 +00:00
Dave Townsend 3cc72cc409 Bug 1497960: Make ProfileAge return the same instances for the same profile directory and preload times.json to avoid data races. r=janerik
ProfileAge now returns a promise that resolves to an instance that has already
loaded its times.json. This makes multiple attempts to update data in times.json
safer.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 18:10:20 +00:00
Tom Prince ae39d1fb49 Bug 1498629 - pin pipenv version temporarily to avoid bug r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D8576

--HG--
extra : moz-landing-system : lando
2018-10-12 18:00:56 +00:00
Drew Willcoxon 3ecf1f3476 Bug 1495614 - Don't highlight the search engine alias when the urlbar input doesn't match the first heuristic result r=mak
Differential Revision: https://phabricator.services.mozilla.com/D8479

--HG--
extra : moz-landing-system : lando
2018-10-12 13:45:37 +00:00
Jan-Ivar Bruaroey 56a06bbe68 Bug 1498237 - switch test_fingerprints.html to use video instead of audio. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D8583

--HG--
extra : moz-landing-system : lando
2018-10-12 18:06:29 +00:00
Dennis Schubert e4d812b56a Bug 1498278 - Import WebExtension sources for the WebCompat GoFaster Addon to Desktop. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D8422

--HG--
rename : browser/extensions/webcompat/webextension/background.js => browser/extensions/webcompat/injections.js
rename : browser/extensions/webcompat/webextension/injections/css/bug0000000-dummy-css-injection.css => browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css
rename : browser/extensions/webcompat/webextension/injections/js/bug0000000-dummy-js-injection.js => browser/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js => browser/extensions/webcompat/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1457335-histography.io-ua-change.js => browser/extensions/webcompat/injections/js/bug1457335-histography.io-ua-change.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1472075-bankofamerica.com-ua-change.js => browser/extensions/webcompat/injections/js/bug1472075-bankofamerica.com-ua-change.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js => browser/extensions/webcompat/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js => browser/extensions/webcompat/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js
extra : moz-landing-system : lando
2018-10-12 15:37:37 +00:00
Coroiu Cristina 4224edc453 Backed out 2 changesets (bug 1488439) for build bustage at /build/src/dom/plugins/ipc/PluginProcessParent.cpp on a CLOSED TREE
Backed out changeset 74b2087ee696 (bug 1488439)
Backed out changeset 85575fc37555 (bug 1488439)
2018-10-12 21:00:41 +03:00
Ryan VanderMeulen e250c2109d Bug 1496059 - Make Windows MSVC builds Tier 1. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D8457

--HG--
extra : moz-landing-system : lando
2018-10-12 17:45:01 +00:00
Ryan VanderMeulen 7e602920f0 Bug 1496059 - Run Windows MSVC builds on all branches. r=froydnj
Also removes the signing jobs since they're not needed anymore.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 17:44:53 +00:00
Ryan VanderMeulen 17c3deee2a Bug 1496059 - Turn off tests for Windows MSVC builds. r=froydnj,ahal,jmaher
Also removes the signing jobs since they're not needed anymore.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 17:44:51 +00:00
Ryan VanderMeulen 0ce7041e6c Bug 1496059 - Don't use PGO for Windows opt-msvc builds now that they're not being shipped. r=froydnj
This is a straight revert of bug 1474756.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 17:44:43 +00:00
David Parks a9f44e7927 Bug 1488439: Part 2 - Patch GetFileAttributesW for appdata parent folders in sandboxed plugin process (r=bobowen,jmathies)
Flash analyzes the parents of the path to its appdata folder on Windows using GetFileAttributesW.  If it runs into an error, it makes some internal decisions that cause it to break DRM video.  Our new sandbox hardening causes GetFileAttributesW to return an error for some components of the path.  This patch alters the behavior of GetFileAttributesW so that it always reports FILE_ATTRIBUTE_DIRECTORY for any path that both 1) would otherwise return an error and 2) is an ancestor of the appdata folder.  This may not always be 100% accurate (for instance, if the folder is a reparse point) but restores video functionality.

Depends on D7532

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

--HG--
extra : moz-landing-system : lando
2018-10-12 17:41:29 +00:00
Edwin Gao b4f0f75efe Bug 1197370 - Add chown method to adb.py, refactor chmod r=bc
Behavior changes:

- added method for ADBDevice class called chown
- when initializing ADBDevice class, check if recursive flag is supported (similar to chmod -R)

Other changes:
- handling for situation where recursive is desired but -R flag is not supported is in place
- changed behavior above situation to mirror chmod (creation of temporary file based on `self.ls` output, then executing script on device using adb

Unit Tests:
- unit tests to exercise attributes and common paths created. Would need further expansion of tests at some point.
- additional mocking fixtures created.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 16:58:35 +00:00
Andrew Halberstadt e36de7239c Bug 1494069 - [lint] Explicitly list out objdirs rather than depend on 'obj*' in the global exclude, r=rwood
When using globs in exclude directorives, FileFinder will return every *file*
that gets matched. This is can be thousands of files in the case of an objdir.
While we now collapse these files down to highest possible directories, this
collapse operation can still take a noticeable amount of time (0.6s). This
simply scans topsrcdir for files that start with 'obj' to avoid the glob.

This also moves the '_activate_virtualenv' call to the top of the function
because in CI, this will cause an objdir to be created (to store the
virtualenv). If this happens *after* calculating the global excludes, we won't
catch it since it doesn't exist yet. This will result in the objdir's
virtualenv being linted and erroneous failures.

Depends on D7739

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

--HG--
extra : moz-landing-system : lando
2018-10-12 15:57:44 +00:00
Andrew Halberstadt f4c851912d Bug 1494069 - [mozlint] Collapse exclude paths into their smallest possible set, r=egao
Often we specify globs in our exclude patterns, e.g:

    exclude:
        - **/node_modules
        - obj*

However, these globs get expanded out to *every* file that matches them. This
can sometimes be thousands or even tens of thousands of files.

We then pass these paths on to the underlying linters and tell them to
exclude them all. This causes a lot of overhead and slows down performance.

This commit implements a "collapse" function. Given a set of paths, it'll
collapse them into the smallest set of parent directories that contain the
original set, and that don't contain any extra files.

For example, given a directory structure like this:

    a
    -- foo.txt
    -- b
       -- bar.txt
       -- baz.txt
    -- c
       -- ham.txt
       -- d
          -- spam.txt

Then the following will happen:

     >>> collapse(['a/foo.txt', 'a/b/bar.txt', 'a/c/ham.txt', 'a/c/d/spam.txt'])
     ['a/foo.txt', 'b/bar.txt', 'c']

Since all files under directory 'c' are specified by the original set (both
'c/ham.txt' and 'c/d/spam.txt'), we can collapse it down to just 'c'. However
not all files under 'b' are specified (we're missing 'a/b/baz.txt'), so we
can't collapse 'b' (and by extension also can't collapse 'a').

If we had included 'a/b/baz.txt':

     >>> collapse(['a/foo.txt', 'a/b/bar.txt', 'a/b/baz.txt', 'a/c/ham.txt', 'a/c/d/spam.txt'])
     ['a']

In both cases, the smallest set of paths that contains the original set (and
only the original set) is computed.

The collapse function has a little bit of overhead but it's not too bad.
For example collapsing all files matched by '**/node_modules' takes ~0.015s.
Collapsing two full objdirs, takes ~0.6s. But a follow up commit is planned to
make sure we stop using 'obj*' to reduce that overhead.

Depends on D7738

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

--HG--
extra : moz-landing-system : lando
2018-10-12 15:57:42 +00:00
David Parks 1ad569c6b1 Bug 1488439: Part 1 - Replace Windows temp folder in sandboxed plugin process (r=bobowen,erahm)
The sandbox blocks GetTempFileName's prior response, causing the system to end up searching a number of (inaccessible) folders to use as a replacement for the temp folder.  This patch provides a path to a new folder on the command line for the plugin process.  This new temp folder, specific to this plugin process instance, is then communicated to the system via the TEMP/TMP environment variables.  This is similar to what is done for the content process but avoids nsDirectoryService, which doesn't exist in plugin processes.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 17:40:10 +00:00
Cosmin Sabou edbc4c6715 Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
extra : amend_source : 85893d4f90b3faf7e1cc6b214501c41a9837bd96
2018-10-12 20:35:52 +03:00
Jan-Ivar Bruaroey 7d40419bc8 Bug 1497390 - Remove support for legacy mozAutoGainControl and mozNoiseSuppression constraints. r=bzbarsky,achronop a=reland
Differential Revision: https://phabricator.services.mozilla.com/D8053

--HG--
extra : amend_source : 99bbce10577ac5fb2c32a869d74e52b0f4f02142
2018-10-12 20:25:07 +03:00
Csoregi Natalia 3f52bdba74 Merge inbound to mozilla-central. a=merge 2018-10-12 19:56:32 +03:00
Csoregi Natalia 86dc471972 Merge autoland to mozilla-central. a=merge 2018-10-12 19:55:37 +03:00
Sebastian Hengst b219f1c732 Backed out changeset 419218259bc1 (Bug 1497390) for frequently failing mda's dom/media/tests/mochitest/identity/test_fingerprints.html (bug 1498326). a=backout 2018-10-12 19:50:42 +03:00
Alex Chronopoulos d5435d7c3a Bug 1498519 - Update cubeb from upstream to 4559815. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D8527
2018-10-12 13:31:18 +03:00
Csoregi Natalia 28fe656de6 Merge inbound to mozilla-central. a=merge 2018-10-12 13:14:37 +03:00
Csoregi Natalia 6f50d37687 Merge autoland to mozilla-central. a=merge 2018-10-12 13:13:46 +03:00
Csoregi Natalia f00a0ea9cc Backed out 3 changesets (bug 1494069) for blocking 1498215. a=backout
Backed out changeset 9752f179b9c3 (bug 1494069)
Backed out changeset fe0fb280dbfc (bug 1494069)
Backed out changeset a2956764213e (bug 1494069)
2018-10-12 13:11:04 +03:00
Patrick Brosset 5deff44e6f Bug 1497521 - Force the new flexbox inspector ON before running its tests; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D8089

--HG--
extra : moz-landing-system : lando
2018-10-12 05:04:39 +00:00
Brindusan Cristian 989c05aa9a Backed out changeset d44ae1668a70 (bug 1494685) as per emilio's request. 2018-10-12 05:33:38 +03:00
Emilio Cobos Álvarez dfeadd509a Bug 1494685 - Add a reftest. r=kats
Probably not the most reliable test to catch this (as it depends on
the font and such) but still fails here and I'd like WPT to have a test-case
for this. I'm looking into adding a WR test-case ATM, though fighting with
it way too much.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 02:04:27 +00:00
Andrew McCreight 53217795fe Bug 1493237 - Use a test-only non-nsISupports wrapper cached WebIDL class in a weak map test r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D8134

--HG--
extra : moz-landing-system : lando
2018-10-11 23:02:10 +00:00
divyansh a5939cf925 Bug 1478694 - Ensure that WebExtensions alarms set in the past are fired immediately. r=rpl
Bug 1478694 - Ensure that WebExtensions alarms set in the past are fired immediately.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 19:22:21 +00:00
Wes Kocher ac5fd36c61 Bug 1496627 - Make sure fennec is granted all the permissions it needs to run wpt r=gbrown
Without this, the user must manually install fennec with expanded permissions with `adb install -g <apk>`.

With this patch, `./mach wpt` on its own handles everything from emulator setup to test running.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 22:07:45 +00:00
Felipe Gomes 7d4ee76a9d Bug 1498032 - Support flat policies on Mac. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D8302

--HG--
extra : moz-landing-system : lando
2018-10-11 21:36:56 +00:00