Commit Graph

618451 Commits

Author SHA1 Message Date
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
Felipe Gomes
3faedbfe89 Bug 1498032 - Part 0. Move the removeUnknownPolicies function into macOSPoliciesParser.jsm. r=spohl
This just simplifies things a bit for the next patch

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

--HG--
extra : moz-landing-system : lando
2018-10-11 19:07:50 +00:00
Mike Conley
90e282026f Bug 1497901 - Make some tests work if Activity Stream runs in its own content process. r=Felipe
The separate Activity Stream content process is currently pref-able, and I'd like to make sure
that the tree is green with it enabled and disabled. This patch makes it so that tests that
browse from about:home/about:newtab to some other page or back work properly even if there
are process flips.

Based on work originally by Jay Lim (:imjching) <jay@imjching.com>.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 21:13:31 +00:00
Ed Lee
704e5da4d0 Bug 1498314 - Add simplified onboarding, CFR installing and bug fixes to Activity Stream r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D8443

--HG--
rename : browser/components/newtab/content-src/asrouter/templates/NewsletterSnippet/NewsletterSnippet.jsx => browser/components/newtab/content-src/asrouter/templates/SubmitFormSnippet/SubmitFormSnippet.jsx
rename : browser/components/newtab/content-src/asrouter/templates/NewsletterSnippet/NewsletterSnippet.schema.json => browser/components/newtab/content-src/asrouter/templates/SubmitFormSnippet/SubmitFormSnippet.schema.json
rename : browser/components/newtab/content-src/asrouter/templates/NewsletterSnippet/_NewsletterSnippet.scss => browser/components/newtab/content-src/asrouter/templates/SubmitFormSnippet/_SubmitFormSnippet.scss
rename : browser/components/newtab/test/unit/asrouter/templates/NewsletterSnippet.test.jsx => browser/components/newtab/test/unit/asrouter/templates/SubmitFormSnippet.test.jsx
extra : moz-landing-system : lando
2018-10-11 20:30:28 +00:00
Andreas Pehrson
f5f6f6fdb4 Bug 1377146 - Remove AudioStreamTrack and VideoStreamTrack from js. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D8063

--HG--
extra : moz-landing-system : lando
2018-10-11 15:36:11 +00:00
Gijs Kruitbosch
d36a59550f Bug 1497921 - make sure the window in which we try to show the ExtensionControlledPopup can show popups, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D8240

--HG--
extra : moz-landing-system : lando
2018-10-12 11:29:39 +00:00
Andreas Farre
1c24ffbd60 Bug 1480198 - Suppress leaks with nsDocShell::Create on the stack. r=mccr8
Since nsDocShell is no longer created when nsComponentManagerImpl is
on the stack we now expose leaks tracked in Bug 1495659.

Depends on D7400

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

--HG--
extra : moz-landing-system : lando
2018-10-12 12:28:24 +00:00
Andreas Farre
9c89776534 Bug 1480198 - Check for allowed patterns deeper in LSAN stack. r=jgraham
Add the property lsan-max-stack-depth to enable configuring how many
stack frames we allow LSANLeaks to record.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 11:43:38 +00:00
Jan Henning
f7c1dea30f Bug 1493864 - Assign site notifications to a dedicated notification channel. r=jchen
Bug 1378445 made those audible and we want to preserve the behaviour.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 12:08:51 +00:00
Emilio Cobos Álvarez
42fac17ba2 Bug 1498445 - Stop creating a style attribute for invalid property values. r=smaug
This matches all other browsers, and the spec.

Added an explicit test for this, and a test that tests what
cssstyledeclaration-mutationrecord-002.html wanted to test, which is that
changing an existing declaration doesn't generate a mutation record.

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

--HG--
rename : testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-002.html => testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-005.html
extra : moz-landing-system : lando
2018-10-12 09:07:00 +00:00
Kartikaya Gupta
6655893930 Bug 1497789 - Keep the qualified pref off for automated testing. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D8285

--HG--
extra : moz-landing-system : lando
2018-10-12 03:42:05 +00:00
Sebastian Hengst
2dea9f7687 Bug 1491434 - Add apphelp.dll to talos xperf whitelist. r=jmaher
This gets accessed in beta simulations since xperf has been enabled on Windows 10.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 10:49:50 +00:00
Csoregi Natalia
de7b5dcc69 Merge mozilla-central to autoland. CLOSED TREE 2018-10-12 13:18:41 +03:00
Marco Bonardo
856e00c5d0 Bug 1498493 - Fix misuse of livemarks in distribution.js. r=Gijs
Removes the addLivemark call from distribution.js, instead creates a bookmark pointing to the site uri.
Note, bookmarks in distribution are not tested, as such this one doesn't have a test as well.
Fixes a possible intermittent failure in test_distribution.js.
Removes a livemarks test that was no more run.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 10:05:34 +00:00
Julien Wajsberg
0e86c07238 Bug 1498331 - Supports the case where EventEmitter.off is called with more than 3 arguments r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D8445

--HG--
extra : moz-landing-system : lando
2018-10-12 08:39:32 +00:00
Alex Chronopoulos
19cced53c0 Bug 934425 - Enable the pref for wpt https test for setSinkId and update it to expect NotAllowedError. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D5877

--HG--
extra : moz-landing-system : lando
2018-10-12 08:46:31 +00:00
Alex Chronopoulos
68734745fb Bug 934425 - Web platform http test for setSinkId. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D5876

--HG--
extra : moz-landing-system : lando
2018-10-12 08:46:22 +00:00
Alex Chronopoulos
42e1c2a80b Bug 934425 - Add mochitest for setSinkId. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D5875

--HG--
extra : moz-landing-system : lando
2018-10-12 08:45:17 +00:00