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

699999 Коммитов

Автор SHA1 Сообщение Дата
Molly Howell e35b796e72 Bug 1626020 followup - fix a default browser ping field name to match the schema. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D69869

--HG--
extra : moz-landing-system : lando
2020-04-06 20:39:14 +00:00
Chris Martin 64e1fb7a45 Bug 1540776 - Have parent send color profile to child during launch r=aosmond,jld,jfkthame,florian
For Win32k lockdown, we need to remove the content processes' ability to
call GetICMProfileW(). Since it needs this to retrieve the output color
profile, a new synchronous call is added that allows it to request the
parent process to read this file on its behalf.

The contents of the file are now being cached as well, as this should help
ease some of the increased parent process I/O caused by the children not
being able to do this in their process anymore.

For performance reasons, during launch this information is passed directly
to the child through the SetXPCOMProcessAttributes call

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

--HG--
extra : moz-landing-system : lando
2020-04-02 15:42:15 +00:00
Dzmitry Malyshau 5004affc0e Bug 1602133 - WebGPU presentation r=jgilbert,webidl,smaug,aosmond
This change adds support for CanvasContext presenting WebGPU via CPU readback.
The presentation is handled mostly on GPU process side by managing a list of staging buffers
and copying the contents into a WR external image (backed by an external buffer).

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

--HG--
extra : moz-landing-system : lando
2020-04-06 20:10:03 +00:00
sonakshi c2aaee8a41 Bug 1584797 - Remove unused aProxyService parameter from applyFilter method r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D69679

--HG--
extra : moz-landing-system : lando
2020-04-06 20:21:03 +00:00
Tim Huang b830bc1c17 Bug 1626194 - Set the hasStoragePermission for the dummy channel which is used when access cookies in a document. r=dimi,baku
When we access cookies in a document, we will create a dummy channel for
it if the real channel is not available. For example, accessing cookies
in an 'about:blank' page in an iframe. In this case, we need to set the
hasStoragePermission to this dummy channel since this channel won't be
opened. We will get the flag from the parent document since this channel
is created by the url of the document's NodePrincipal. And it will be
the same as the principal of the parent document since it is an 'about:blank'
page. So, we can use the flag in the parent document directly because
they are supposed to be the same.

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

--HG--
extra : moz-landing-system : lando
2020-04-03 19:01:07 +00:00
Brian Grinstead 63ceb92c53 Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in imported stylesheets r=mossop
This was generated with

```
cp .gitignore .rgignore
rg -l -g '*.{css}' '"chrome://global/skin/"' | xargs sed -i "" 's/"chrome:\/\/global\/skin\/"/"chrome:\/\/global\/skin\/global.css"/g'
```

Depends on D67687

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

--HG--
extra : moz-landing-system : lando
2020-03-25 15:41:15 +00:00
Brian Grinstead 30b9da5519 Bug 1623992 - Automated rewrite from chrome://global/skin/ to chrome://global/skin/global.css in markup r=marionette-reviewers,perftest-reviewers,mossop,whimboo,sparky
This was generated with

```
cp .gitignore .rgignore
rg -l -g '*.{html,xhtml}' 'href="chrome://global/skin/"' | xargs sed -i "" 's/href\="chrome:\/\/global\/skin\/"/href\="chrome:\/\/global\/skin\/global.css"/g'
```

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

--HG--
extra : moz-landing-system : lando
2020-04-03 22:23:23 +00:00
Kartikaya Gupta 45d7b965a3 Bug 1627779 - Bump fuzz number up slightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D69857

--HG--
extra : moz-landing-system : lando
2020-04-06 19:40:32 +00:00
Glenn Watson 76a0c60d29 Bug 1627588 - Fix picture cache tiles being evicted too eagerly. r=nical
The picture cache code retains a set of tiles that are currently
off-screen but might be needed again soon, depending on how the
page is scrolled.

However, off-screen tiles were being skipped during draw processing,
which meant that the texture cache request method was not being
called on these tiles. This would often result in the texture
cache eagerly evicting these seemingly unused surface tiles.

This patch re-arranges the occlusion and visibility processing
code for tiles, so that if a tile has been retained in the
picture cache grid, the texture surface is always requested,
even if that tile is currently off-screen. This prevents the
texture cache from evicting tiles that we want to retain for now.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 15:01:29 +00:00
Mike Conley 7df8d357d9 Bug 1184701 - Adjust some newtab unit tests for new Screenshots behaviour. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D69850

--HG--
extra : moz-landing-system : lando
2020-04-06 19:44:28 +00:00
Mike Conley 41a18ec892 Bug 1184701 - Use moz-page-thumb protocol for about: pages when using the privileged about content process. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D68449

--HG--
extra : moz-landing-system : lando
2020-04-06 19:44:28 +00:00
Mike Conley a98dabe6ec Bug 1184701 - Make the moz-page-thumb protocol work in the privileged about content process. r=haik,valentin
Differential Revision: https://phabricator.services.mozilla.com/D68281

--HG--
extra : moz-landing-system : lando
2020-04-06 17:46:52 +00:00
Bas Schouten 3c7916f406 Bug 1627741: Expect an idle token only if we're actually using cross-process idle scheduling. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D69846

--HG--
extra : moz-landing-system : lando
2020-04-06 17:25:06 +00:00
Kearwood Gilbert 9136ce65cf Bug 1614496 - Implement WebXR Core Module DOM Interfaces r=jgilbert,daoshengmu,webidl,smaug,baku,imanol
Implement DOM interfaces for the WebXR Core Module. Additional work to implement the WebXR Core Module are marked with TODO (Bug #) comments within the patch and must be landed before enabling the dom.vr.webxr.enabled flag.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 19:33:32 +00:00
Emilio Cobos Álvarez 96fed90622 Bug 1627644 - Handle null loading principal in page-icon protocol handler. r=mak
This restores previous behavior. Will file a bug for the debug-build crash and
so on.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 19:32:04 +00:00
Emilio Cobos Álvarez 6ca6048ef0 Bug 1627707 - Minor cleanup in LoadInfoToLoadInfoArgs. r=ckerschb
No need for temporaries, we can just construct the object in place.

Depends on D69829

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

--HG--
extra : moz-landing-system : lando
2020-04-06 18:57:47 +00:00
Emilio Cobos Álvarez 6124e9dbe2 Bug 1627707 - Deindent most of CHECK_PRINCIPAL_CSP_AND_DATA. r=ckerschb
It's just a nested if which can be written with &&.

Depends on D69828

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

--HG--
extra : moz-landing-system : lando
2020-04-06 18:57:44 +00:00
Emilio Cobos Álvarez 4b9fdf3d73 Bug 1627707 - Rename LoadInfo::LoadingPrincipal to GetLoadingPrincipal as it can return null. r=ckerschb
Mostly a matter of:

  rg -l '\->LoadingPrincipal' | xargs sed -i 's/->LoadingPrincipal/->GetLoadingPrincipal/g'

And then clang-format. But I tweaked manually nsHttpChannelAuthProvider (move
the variable where it's used, don't take a useless strong ref),
AddonContentPolicy (move the declaration of the variable to the if condition),
and BackgroundUtils (same).

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

--HG--
extra : moz-landing-system : lando
2020-04-06 18:57:36 +00:00
Junior Hsu 16105eda36 Bug 1601671 - let system proxy in PACMan resolves HTTPS for websocket, r=michal
Differential Revision: https://phabricator.services.mozilla.com/D68110

--HG--
extra : moz-landing-system : lando
2020-04-06 19:11:33 +00:00
Michal Novotny f0ada99e6a Bug 1627635 - Websocket connects to DIRECT instead of Proxy-HTTP/HTTPS with SystemProxySettings on Linux r=valentin
Fix nsUnixSystemProxySettings::GetProxyForURI() so it assigns the result to aResult instead of appending to it.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 16:37:53 +00:00
Bogdan Tara 40fdcf8307 Backed out 2 changesets (bug 1621726) for web platform test failures CLOSED TREE
Backed out changeset ebe18133a194 (bug 1621726)
Backed out changeset c43c38de33b2 (bug 1621726)
2020-04-06 22:03:02 +03:00
Bogdan Tara 7f7cc68c64 Backed out changeset 377a757c583d (bug 1602133) for webgpu related bustages CLOSED TREE 2020-04-06 21:59:57 +03:00
Dzmitry Malyshau 3791cb767b Bug 1626827 - Force WR picture tasks to fit into max target size r=Bert
this is an attempt to handle tasks outside of the device bounds,
that belong to surfaces not establishing raster roots.

I suspect that the scaling we are now setting up in adjust_scale_for_max_surface_size
doesn't work properly, since the function was assumed to only affect the raster-rooted
surfaces. But it does fix the crash we have.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 00:06:13 +00:00
Dzmitry Malyshau 4c3a924336 Bug 1602133 - WebGPU presentation r=jgilbert,webidl,smaug,aosmond
This change adds support for CanvasContext presenting WebGPU via CPU readback.
The presentation is handled mostly on GPU process side by managing a list of staging buffers
and copying the contents into a WR external image (backed by an external buffer).

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

--HG--
extra : moz-landing-system : lando
2020-04-02 19:55:01 +00:00
Aaron Klotz 71237bdc28 Bug 1620145: Part 2 - Add AndroidProcessPriority.cpp to hal; r=gsvelto,geckoview-reviewers,snorp
This patch is pretty straightforward: it translates Gecko priority levels
into GeckoView priority levels and then sends it up to GV's
`GeckoProcessManager` via JNI.

We do assume that the process is content, but if we try to do that on a
non-content process, it's just a no-op. We can expand this coverage to other
process types later as necessary.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 18:10:22 +00:00
Aaron Klotz f89f996931 Bug 1620145: Part 1 - Support content process prioritization in GeckoView; r=geckoview-reviewers,agi
We change a few things in this patch:

* We modify `ServiceAllocator` to support multiple bindings:
    * Since Android distinguishes unique bindings via unique `ServiceConnection`
      objects, we add a `Binding` class that provides that bare-bones
      distinction but just forwards the `ServiceConnection` callbacks to its
      `InstanceInfo` owner.
    * Each `InstanceInfo` represents one content process instance, and it holds
      references to between 0 and 3 `Binding` objects, one for each possible
      priority level.
    * After changing the current priority level of an `InstanceInfo`, we call
      the `updateBindings` method to add or drop bindings as necessary to
      effect the correct level.
    * We add code to support the new `Context.updateServiceGroup` API starting
      with Android 10. Essentially it describes to Android the relative
      importance of multiple services running within the same priority level
      (think of it like how we rank our P2 bugs).
* We add `GeckoProcessManager.setProcessPriority` to receive prioritization
  changes from Gecko and wire that into the `ServiceAllocator`. We start new
  processes with `PriorityLevel.BACKGROUND` and then Gecko subsequently adjusts
  as necessary.
* Once this lands we must also set `dom.ipc.processPriorityManager.enabled=true`
  to experiment with e10s-multi.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 18:10:15 +00:00
Boris Chiou 3830098b51 Bug 1625970 - Compare isSet flags between first value and others for text-decoration related HTML properties. r=masayuki
underline and strike use `text-decoration` property, which is a
shorthand and may include other longhand property values, e.g.
`text-decoration-color`. In order to set `aAll` flag correctly, we
should not just compare the computed values between `firstValue` and
`theValue`. This patch makes the HTMLStyleEditor more independent of
the serializations of the computed values on text-decoration.

If https://github.com/w3c/editing/issues/241 is accepted, we can just
replace `text-decoration` with `text-decoration-line` and drop this
patch.

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

--HG--
extra : moz-landing-system : lando
2020-04-04 09:29:08 +00:00
emcminn 2410779f6c Bug 1625913 - Added fix for card images to activity-stream.css r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D69426

--HG--
extra : moz-landing-system : lando
2020-04-06 18:00:52 +00:00
Edgar Chen f8e3c1a6a9 Bug 1615732 - Don't dispatch xul command event on Mac if it is from mouse event with ctrl key is pressed; r=Gijs,NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D68735

--HG--
extra : moz-landing-system : lando
2020-04-06 13:15:30 +00:00
Edgar Chen 0de61803a3 Bug 1615732 - Don't handle click event on Mac when ctrl key is pressed; r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D68775

--HG--
extra : moz-landing-system : lando
2020-03-30 12:53:42 +00:00
Edgar Chen 002ef4c5f0 Bug 1615732 - Don't show menu on Mac when ctrl key is pressed; r=NeilDeakin
On Mac, ctrl-click will send a context menu event from the widget, so we don't
want to bring up the panel when ctrl key is pressed.

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

--HG--
extra : moz-landing-system : lando
2020-03-30 11:20:45 +00:00
Edgar Chen 7e26f04dd1 Bug 1615732 - Don't show download panel on Mac when ctrl key is pressed; r=Gijs
On Mac, ctrl-click will send a context menu event from the widget, so we don't
want to bring up the panel when ctrl key is pressed.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 01:03:00 +00:00
Edgar Chen 9e5dc0120e Bug 1615732 - Don't show menu panel on Mac when ctrl key is pressed; r=Gijs
On Mac, ctrl-click will send a context menu event from the widget, so we don't
want to bring up the panel when ctrl key is pressed.

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

--HG--
extra : moz-landing-system : lando
2020-03-17 00:55:04 +00:00
Edgar Chen feb7fe3776 Bug 1615732 - Don't show page action panel on Mac when ctrl key is pressed; r=Gijs
On Mac, ctrl-click will send a context menu event from the widget, so we don't
want to bring up the panel when ctrl key is pressed.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 17:42:04 +00:00
Edgar Chen 8ea93cf7b3 Bug 1615732 - Don't treat control-left-click on mac as a right-click; r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D62968

--HG--
extra : moz-landing-system : lando
2020-04-01 05:53:43 +00:00
Chun-Min Chang 34ff7578a8 Bug 1627376 - Update cubeb-coreaudio to ea9e5aa. r=padenot
Pick commits:
- ea9e5aa: Implement a API to get `groupd_id` with special case handling (#69)
- d67d4d2: Revise prepush when deleting branch (#76)
- e5b0f97:  Stop test immediately when error happens (#77)
- 98e59e5: Migrate from travis-ci.org to travis-ci.com

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

--HG--
extra : moz-landing-system : lando
2020-04-06 12:43:21 +00:00
Bogdan Tara d623691c7b Bug 40545 - Fix prettier errors on browser_selectpopup.js and SelectChild.jsm CLOSED TREE 2020-04-06 21:32:59 +03:00
Bogdan Tara eddea671e7 Backed out 6 changesets (bug 1425450) for hazard failure complaining about nsWrapperCacheInlines CLOSED TREE
Backed out changeset c57ac2e125e8 (bug 1425450)
Backed out changeset 4238c59af7bb (bug 1425450)
Backed out changeset 2a00272e72ba (bug 1425450)
Backed out changeset 3e4a52d596bb (bug 1425450)
Backed out changeset 5da68de67491 (bug 1425450)
Backed out changeset efac091a3ba4 (bug 1425450)
2020-04-06 21:22:51 +03:00
Matthew Gaudet 1ba1c0956d Bug 1627369 - Remove code that prepared FunctionBox for deferral of Functions to after BCE r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D69643

--HG--
extra : moz-landing-system : lando
2020-04-06 17:14:51 +00:00
Kartikaya Gupta 721e617cf9 Bug 1589046 - Terminate momentum panning once we reach a point where there is uncomsumed scroll. r=botond
This prevents OS-produced momentum panning events from having an effect after
the user sees the momentum panning "end" due to scrolling as far as possible.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 17:18:20 +00:00
Kartikaya Gupta 16f21d1f89 Bug 1589046 - Propagate the return value from AttemptScroll to DispatchScroll and CallDispatchScroll. r=botond
No functional changes here.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 17:18:12 +00:00
Molly Howell 4867c151b5 Bug 1619122 - List more supported file types in our Applications registry key. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D68062

--HG--
extra : moz-landing-system : lando
2020-04-04 03:35:09 +00:00
Emilio Cobos Álvarez ce71033ca1 Bug 40545 - Fix the empty-label attribute case in the select popup. r=chutten
And rename GetRenderLabel to GetRenderedLabel, as it's a slightly more
descriptive name IMHO.

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

--HG--
extra : moz-landing-system : lando
2020-04-06 16:43:17 +00:00
Matthew Gaudet 489fbcf473 Bug 1627374 - Eliminate FunctionEmitter dependence on JSFunction* r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D69645

--HG--
extra : moz-landing-system : lando
2020-04-06 17:14:49 +00:00
Morgan Reschenberg 945f2ee931 Bug 1618705: Construct column containers and list them as children of our table accessible. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D67900

--HG--
extra : moz-landing-system : lando
2020-04-06 16:51:11 +00:00
Morgan Reschenberg 1407b0c42b Bug 1627311: Remove actions from mozLinkAccessible to avoid duplication in mozAccessible. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D69601

--HG--
extra : moz-landing-system : lando
2020-04-03 21:58:01 +00:00
Paul Adenot b9553474f1 Bug 1625912 - Lower the duration of the rendered buffers in Web Audio benchmark. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D69774

--HG--
extra : moz-landing-system : lando
2020-04-06 16:58:20 +00:00
Aaron Klotz 4cac9b3eb9 Bug 1627354: Part 5 - Update wrench to build using Android 29; r=kats
Depends on D69634

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

--HG--
extra : moz-landing-system : lando
2020-04-04 03:15:57 +00:00
Aaron Klotz 914c70e06f Bug 1627354: Part 4 - Update junit tests to reflect changes caused by the upgrade to platform 29; r=agi
Differential Revision: https://phabricator.services.mozilla.com/D69634

--HG--
extra : moz-landing-system : lando
2020-04-04 03:15:57 +00:00
Aaron Klotz cbad7b5792 Bug 1627354: Part 3 - Update mozboot and wpt SDK dependencies; r=jgraham,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D69633

--HG--
extra : moz-landing-system : lando
2020-04-04 03:15:56 +00:00