Commit Graph

618485 Commits

Author SHA1 Message Date
alwu
710e33671f 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 22:23:40 +00:00
Ryan VanderMeulen
8d7fac8246 Bug 1498727 - Update pdf.js to version 2.0.928. r=bdahl
--HG--
extra : rebase_source : 10a09946095ad9e3b871a0b016363ae9060d1add
2018-10-12 18:03:02 -04:00
Brian Grinstead
62df0fa1b2 Bug 1498713 - Use .children for context menu test helper instead of .childNodes to fix tests in browser.xhtml;r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D8604

--HG--
extra : moz-landing-system : lando
2018-10-12 21:12:55 +00:00
Daosheng Mu
56c58b6d06 Bug 1497787 - MacIOSurface should only be access at VRSession thread. r=kip
MozReview-Commit-ID: FmWOuctM3yH

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

--HG--
extra : moz-landing-system : lando
2018-10-12 21:54:09 +00:00
Mike Hommey
148c9de331 Bug 1498450 - Avoid the footgun from @depends-function comparison r=froydnj
While we do have some uses of @depends-function comparison in some
templaces, related to host/target, we ought to be using `is` comparisons
rather than `==` anyways, so we switch those, and prevent other kinds of
comparisons being used at all.

This unveils the one noted in
https://phabricator.services.mozilla.com/D7713?id=21357#inline-30414
(and surprisingly only that one), that we remove entirely since it was
doing nothing in practice. Bug 1492305 will have to add it back in a
proper form.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 13:44:08 +00:00
Hiroyuki Ikezoe
c38ab87983 Bug 1498294 - Watch GUID_DEVINTERFACE_HID device changes instead of GUID_DEVINTERFACE_MOUSE. r=masayuki
It seems some touchscreen devices are recognized as an HID not a mouse, so
for such devices we need to use GUID_DEVINTERFACE_HID instead.

I've confirmed that WM_DEVICECHANGE is received when a mouse is
connected/disconnected on a Thinkpad even if we use GUID_DEVINTERFACE_HID here.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 13:45:24 +00:00
Tim Nguyen
53b1b96828 Bug 1497969 - Add a way to emulate :focus-within pseudo-class. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D8275

--HG--
extra : moz-landing-system : lando
2018-10-12 21:56:44 +00:00
Erica Wright
d3826b0a61 Bug 1495583 - Add a button to restore the default value for network.trr.uri preference. r=flod,jaws
This adds a button to the preferences UI to restore the default value for network.trr.uri preference.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 21:34:50 +00:00
Ed Lee
16de201664 Bug 1498462 - Add Personalization v2, RichText snippets and bug fixes to Activity Stream r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D8588

--HG--
extra : moz-landing-system : lando
2018-10-12 19:13:39 +00:00
Kearwood "Kip" Gilbert
e2ae575ca7 Bug 1473399 - Enable VR Service thread by default. r=daoshengmu
--HG--
extra : source : 81c3640eaebc47516247f546b2203ec550fdd37a
extra : amend_source : 5b3cb943e467e35c475cf147b3f7686293a03045
2018-10-11 11:17:52 -07:00
David Major
d6200d9646 Bug 1427808 - Remove the now-unused win64-clang-cl-st-an toolchain. r=froydnj 2018-10-12 07:15:00 -04:00
David Major
1a22e4f876 Bug 1427808 - Static analysis builds no longer need to force the use of link.exe. r=froydnj 2018-10-12 07:14:00 -04:00
David Major
9745eb7dc7 Bug 1427808 - Make static analysis builds use the main win64-clang-cl toolchain. r=froydnj 2018-10-12 07:14:00 -04:00
David Major
56fefe876b Bug 1427808 - Fix libs for clang-plugin build. r=froydnj 2018-10-12 07:14:00 -04:00
Jared Wein
d38a852ff0 Bug 1480532 - Remove 'Reload All Tabs' from tab context menu. r=Felipe
I left off the part about adding Reload Tabs to the All Tabs menu since the specs don't mention how this would appear with the New Container Tab menuitem and the Tab Manager project has been split off from the multiselect tabs project.

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

--HG--
extra : moz-landing-system : lando
2018-10-12 21:16:44 +00:00
Jared Wein
db73173d1f Bug 1496338 - Tab bar context menu should read 'Bookmark Selected Tab...' if only one tab is selected. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D8267

--HG--
extra : moz-landing-system : lando
2018-10-12 21:15:34 +00:00
Sylvestre Ledru
dd5741407b Bug 1498586 - Add clang-format off to avoid the reformatting of the data structures r=Ehsan
Too hard/impossible for the tool to format correctly these structs

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

--HG--
extra : moz-landing-system : lando
2018-10-12 20:48:24 +00:00
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