Commit Graph

672248 Commits

Author SHA1 Message Date
Martin Stransky
4caaf616b9 Bug 1578380 - Export WaylandDMABUF TextureType, r=sotaro
Depends on D46839

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

--HG--
extra : moz-landing-system : lando
2019-09-24 11:06:22 +00:00
Martin Stransky
fff901abba Bug 1578380 - [Wayland] Enable build of WaylandDMABUFTextureClientOGL/WaylandDMABUFTextureHostOGL, r=sotaro
Depends on D46837

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

--HG--
extra : moz-landing-system : lando
2019-09-24 11:05:59 +00:00
Martin Stransky
ca30adf76e Bug 1578380 - [Wayland] Implement WaylandDMABUFTextureHostOGL, r=sotaro
WaylandDMABufSurface is used as a backend for WaylandDMABUFTextureHostOGL.
Pixel data of WaylandDMABufSurface are located at GPU memory and are
binded from WaylandDMABUFTextureClientOGL.

WaylandDMABufSurface can be binded as EGLImage so EGLImageTextureSource is used.

Depends on D46836

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

--HG--
extra : moz-landing-system : lando
2019-09-24 11:05:36 +00:00
Martin Stransky
8fb3c364ae Bug 1578380 - [Wayland] Implement WaylandDMABUFTextureClientOGL, r=sotaro
WaylandDMABufSurface is used as a backend for WaylandDMABUFTextureClientOGL.
Pixel data of WaylandDMABufSurface are located at GPU memory and can be
shared by processes.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 11:05:14 +00:00
Ted Campbell
6a90d39a93 Bug 1583408 - Handle uncompleted scripts correctly in LCov code. r=nbp
When a JSScript is partially initialized we must detect this and not
generate coverage information. This incomplete script may still have an
entry in the ScriptLCovMap. The existing collectCodeCoverageInfo code
handled this correctly but the new CollectScriptCoverage function did
not.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 10:25:27 +00:00
Jan de Mooij
dd45434783 Bug 1583104 part 2 - Optimize pushCallArguments a bit by handling statically known number of Values without looping. r=iain
Depends on D46748

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

--HG--
extra : moz-landing-system : lando
2019-09-24 11:24:49 +00:00
Jan de Mooij
36069ca00d Bug 1583104 part 1 - Remove now always-false isJitCall argument from pushCallArguments. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D46748

--HG--
extra : moz-landing-system : lando
2019-09-23 18:18:36 +00:00
Paul Adenot
91571117b5 Bug 1582222 - Disable rt threads for Linux for now. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D46570

--HG--
extra : moz-landing-system : lando
2019-09-24 11:23:25 +00:00
Michael Ratcliffe
eddee9e154 Bug 1580631 - [Inactive CSS] Tooltip should hang off to right side in LTR mode r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D46284

--HG--
extra : moz-landing-system : lando
2019-09-24 11:21:46 +00:00
Andreas Farre
3238beb123 Bug 1575051 - Remove nsIDocShellTreeItem.findWithName. r=kmag
This also allows us to remove TabGroup::FindItemWithName, which is a
big step towards removing TabGroup entirely.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 10:58:47 +00:00
Nihanth Subramanya
d8c6227be4 Bug 1575859 - Fix state label for cookie list items with exceptions. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D44302

--HG--
extra : moz-landing-system : lando
2019-09-24 10:40:07 +00:00
Andrew Osmond
9793f08b9b Bug 1581934 - Restore the calculation for a more precise picture local rect. r=kvark,gw
As it turns out, the difference between the snapped local rect and the
unsnapped local rect was not just that the former contained snapped
primitives and the latter contained unsnapped primitives, but also that
the former took into account surface inflation for primitives, the
entire clip chain instead of just the primitive's local clip, and
removal of culled primitives. As such, the picture's rects can be wildly
different, even if snapping has been taken care of earlier, and parts of
WebRender have come to rely upon this more accurate representation of a
picture.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 10:34:00 +00:00
Oana Pop Rus
3144f81e55 Backed out changeset cb1b6afa9f33 (bug 1574469) for multiple failures in nsICookieManager.remove on a CLOSED TREE 2019-09-24 13:10:07 +03:00
Oana Pop Rus
a22fdc5e79 Backed out 8 changesets (bug 1578380) for causing build bustages in ContentClient.cpp on a CLOSED TREE
Backed out changeset 28c2e884d20a (bug 1578380)
Backed out changeset 373c4563e9fd (bug 1578380)
Backed out changeset 3fdbc241d63a (bug 1578380)
Backed out changeset 754865b2810f (bug 1578380)
Backed out changeset b80b7e186f02 (bug 1578380)
Backed out changeset 3a8abb5d7a43 (bug 1578380)
Backed out changeset 2b52c3d15b7b (bug 1578380)
Backed out changeset ca57727c3aad (bug 1578380)
2019-09-24 13:06:55 +03:00
Jan de Mooij
6a90fbe433 Bug 1583216 - Remove TrackPropertiesForSingletonScopes. r=tcampbell
This has been unnecessary/dead since bug 1522051 removed singleton CallObjects.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 18:16:05 +00:00
Martin Stransky
9e0c208645 Bug 1578380 - [Wayland] Use ContentClientDoubleBuffered() on Wayland with DMABuf texture backend enabled, r=sotaro
Depends on D46843

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

--HG--
extra : moz-landing-system : lando
2019-09-24 09:10:58 +00:00
Martin Stransky
8488e4e871 Bug 1578380 - [Wayland] Provide gfxPlatformGtk::IsX11Display() and gfxPlatformGtk::UseWaylandDMABufSurfaces(), r=sotaro
Let's use single Wayland configuration point at gfxPlatformGtk instead of various GDK_IS_X11_DISPLAY() calls.
Also provide info about enabled DMABuf surfaces when Wayland backend is used.

Depends on D46842

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

--HG--
extra : moz-landing-system : lando
2019-09-24 09:36:41 +00:00
Martin Stransky
d9e67b0424 Bug 1578380 - [Wayland] Use WaylandDMABufSurface as ref-counted and store GLContext, r=jhorak
Depends on D46841

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

--HG--
extra : moz-landing-system : lando
2019-09-24 09:39:29 +00:00
Martin Stransky
e968a933f9 Bug 1578380 - [Wayland] Use WaylandDMABUF texure backend on Wayland when DMABuf is enabled, r=sotaro
Depends on D46840

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

--HG--
extra : moz-landing-system : lando
2019-09-24 09:10:11 +00:00
Martin Stransky
ca4ef20521 Bug 1578380 - Export WaylandDMABUF TextureType, r=sotaro
Depends on D46839

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

--HG--
extra : moz-landing-system : lando
2019-09-24 09:09:58 +00:00
Martin Stransky
7952620478 Bug 1578380 - [Wayland] Enable build of WaylandDMABUFTextureClientOGL/WaylandDMABUFTextureHostOGL, r=sotaro
Depends on D46837

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

--HG--
extra : moz-landing-system : lando
2019-09-24 09:09:41 +00:00
Martin Stransky
204c7a601e Bug 1578380 - [Wayland] Implement WaylandDMABUFTextureHostOGL, r=sotaro
WaylandDMABufSurface is used as a backend for WaylandDMABUFTextureHostOGL.
Pixel data of WaylandDMABufSurface are located at GPU memory and are
binded from WaylandDMABUFTextureClientOGL.

WaylandDMABufSurface can be binded as EGLImage so EGLImageTextureSource is used.

Depends on D46836

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

--HG--
extra : moz-landing-system : lando
2019-09-24 09:09:28 +00:00
Martin Stransky
491e19bd05 Bug 1578380 - [Wayland] Implement WaylandDMABUFTextureClientOGL, r=sotaro
WaylandDMABufSurface is used as a backend for WaylandDMABUFTextureClientOGL.
Pixel data of WaylandDMABufSurface are located at GPU memory and can be
shared by processes.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 09:09:11 +00:00
Olli Pettay
beb759c519 Bug 1582655, try to make browser_test_feature_preferencereads.js less racy and let browser_test_feature_jsallocations.js to run a bit longer, r=whawkins
Differential Revision: https://phabricator.services.mozilla.com/D46865

--HG--
extra : moz-landing-system : lando
2019-09-24 09:23:35 +00:00
monikamaheshwari
045149d49a Bug 1565746 - blocked status can not be sorted together r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D46904

--HG--
extra : moz-landing-system : lando
2019-09-24 09:22:10 +00:00
Paul Zuehlcke
b7de7aec93 Bug 1574469 - Removed block param from nsICookieManager::Remove. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D45848

--HG--
extra : moz-landing-system : lando
2019-09-19 17:10:58 +00:00
Paul Zuehlcke
7dbb6cb72e Bug 1574473 - Updated nsContentBlocker::TestPermission to use LegacyTestPermissionFromURI. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D46180

--HG--
extra : moz-landing-system : lando
2019-09-19 17:06:29 +00:00
Alex Chronopoulos
ac0da8b368 Bug 1582743 - Update dav1d from upstream to commit c0865f3. r=TD-Linux
Differential Revision: https://phabricator.services.mozilla.com/D46762

--HG--
extra : moz-landing-system : lando
2019-09-23 18:02:33 +00:00
Gabriele Svelto
5be5470fba Bug 1582078 - Fix the .mozbuild creation prompt r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D46267

--HG--
extra : moz-landing-system : lando
2019-09-24 00:54:23 +00:00
Paul Zuehlcke
2189ac4496 Bug 1574469 - Implemented nsPermissionManager::LegacyTestPermissionFromURI for nsIURI queries with origin attributes. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D45847

--HG--
extra : moz-landing-system : lando
2019-09-19 17:07:22 +00:00
lloan
919f374e9e Bug 1582440 - Test continues to time out when merging Gecko 71 to Beta. r=Honza
Turning on search feature for test

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

--HG--
extra : moz-landing-system : lando
2019-09-24 08:09:34 +00:00
Nicolas Silva
9b0314ab6a Bug 1582459 - Improve the clipping and segment documentation. r=kvark
Adds a module documentation in segment.rs giving an overview of the role of primitive segments and how they interact with clipping. Also reformatted the clip.rs documentation to play well with rustdoc.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 08:07:13 +00:00
Johann Hofmann
ac725e0bf7 Bug 1583233 - Add MOZ_DBG support for nsIPrincipal. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D46796

--HG--
extra : moz-landing-system : lando
2019-09-24 07:56:40 +00:00
Henri Sivonen
ac75f8e389 Bug 1578677 - Support --enable-rust-simd for standalone SpiderMonkey builds. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D46144

--HG--
extra : moz-landing-system : lando
2019-09-24 00:26:55 +00:00
championshuttler
d80122b971 Bug 1428715 - Create setup.cfg for universal wheels in mozscreenshot. r=ahal
Depends on D46717

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

--HG--
extra : moz-landing-system : lando
2019-09-24 05:59:57 +00:00
championshuttler
58487351c3 Bug 1428715 - Bump mozscreenshot to v1.0.0 and update classifiers. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D46717

--HG--
extra : moz-landing-system : lando
2019-09-24 05:59:57 +00:00
shindli
bfa22f415b Backed out 9 changesets (bug 1580659) for causing linting failure in /builds/worker/checkouts/gecko/dom/plugins/base/nsNPAPIPluginInstance.cpp CLOSED TREE
Backed out changeset b8c46aaec410 (bug 1580659)
Backed out changeset fd31977767d5 (bug 1580659)
Backed out changeset 8b9f61694270 (bug 1580659)
Backed out changeset 276827f54c71 (bug 1580659)
Backed out changeset ecb2bf9fb452 (bug 1580659)
Backed out changeset b712f15af619 (bug 1580659)
Backed out changeset c25bfc8b31b1 (bug 1580659)
Backed out changeset 20cfcd96a40e (bug 1580659)
Backed out changeset e92ff4ac7f43 (bug 1580659)
2019-09-24 09:50:42 +03:00
Mark Banner
ab0ed8162d Bug 1583147 - When right-clicking a one-off search button, correctly disable the set as default option for the default engine. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D46766

--HG--
extra : moz-landing-system : lando
2019-09-23 19:11:00 +00:00
Alastor Wu
ded1136dc6 Bug 1580659 - part8 : trimming public methods of AudioChannelAgent. r=chunmin
To hide some functions from `AudioChannelAgent` to avoid an access from `AudioChannelAgentCallback` (eg. media element, audio destination node...), and only allow `AudioChannelService` to use those functions.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 20:36:12 +00:00
alwu
3aa62361f8 Bug 1580659 - part7 : make AudioChannelAgent's 'WindowVolumeChanged()' consistent with other 'WindowXXXChanged()'. r=Ehsan
Now other `WindowXXXChanged()` would receive the change directly from their input parameter, we should make `WindowVolumeChanged()` consistent with them, instead of asking `AudioChannelService` again.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 18:59:27 +00:00
Alastor Wu
b3e82e167d Bug 1580659 - part6 : remove input config parameter from 'NotifyStartedPlaying()'. r=Ehsan
After applying patch4, now we would pull the change from `AudioChannelService` everytime after starting the agent, so we don't need to rely on letting `NotifyStartedPlaying()` to modify the config and use it to update our state.

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

--HG--
extra : moz-landing-system : lando
2019-09-18 00:03:14 +00:00
Alastor Wu
eaf6b8ef6e Bug 1580659 - part5 : stop audio capturing explicitly. r=chunmin,karlt
As we start audio capturing explicitly, we should also take responsibility to stop audio capturing when we don't need it.

We were hiding too many details on `AudioChannelAgent` before, which allow us hard to know who and where we handle audio capturing.

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

--HG--
extra : moz-landing-system : lando
2019-09-21 02:21:58 +00:00
Alastor Wu
17d1e17425 Bug 1580659 - part4 : pulling the intial update after starting AudioChannelAgent. r=chunmin
Instead of calling those callback functions seperately, we could provide a function to pull those changes at once after starting the agent.

In addition, `WindowXXXChanged` are callback functions of `nsIAudioChannelAgentCallback`, so they should only be called by `AudioChannelAgent`, to indicate receiving the change from `AudioChannelService`. We should not call them directly.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 17:44:21 +00:00
Alastor Wu
fc77b7c3ab Bug 1580659 - part3.5 : suspend nsNPAPIPluginInstance should not affect its muted state. r=karlt
The suspend state and muted state are two different things, so changing the suspended state should not affect on the muted state.

As nsAPI doesn't provide suspending API, both muting and suspending are actually sharing the same implementation, which is to mute/unmute nsAPI.

Although we have used two separate variables to store muted and suspended state, in order to make them independent, we still don't want to unexpectedly unmute nsAPI when resuming from suspended state.

Therefore, before unmuting nsAPI, we should consider both states.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 22:22:15 +00:00
Alastor Wu
f74da16941 Bug 1580659 - part3 : call 'WindowAudioCaptureChanged()' explicitly. r=chunmin,karlt
Previously `AudioChannelService` called `WindowAudioCaptureChanged()` implicitly whenever we added the agent to the service [1], which made the audio capturing callback happen before finishing registration.

There are two drawbacks,
(1) it's hard to be aware of that the audio capturing callback would be called before finishing `AudioChannelAgent::NotifyStartedPlaying()` [2], which causes unclear call flow.

(2) If someone checks `AudioChannelAgent::IsPlayingStarted()` [3] inside audio capturing callback, then we would find that the `mIsRegToService` is false even if we have registered the agent to `AudioChannelService` because `mIsRegToService` is updated in the last line in the `AudioChannelAgent::NotifyStartedPlaying()`, but the audio capturing callback could be executed before that.

[1] https://searchfox.org/mozilla-central/rev/a777ff11b6d700a698c61e5bd17e73b044304494/dom/audiochannel/AudioChannelService.cpp#723
[2] https://searchfox.org/mozilla-central/rev/a777ff11b6d700a698c61e5bd17e73b044304494/dom/audiochannel/AudioChannelAgent.cpp#144
[3] https://searchfox.org/mozilla-central/rev/a777ff11b6d700a698c61e5bd17e73b044304494/dom/audiochannel/AudioChannelAgent.cpp#285

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

--HG--
extra : moz-landing-system : lando
2019-09-18 21:59:32 +00:00
Alastor Wu
9f046cf28c Bug 1580659 - part2 : remove redundant checking. r=chunmin
We have already had the same checking in `AudioCaptureStreamChange()`, so we can remove the checking in `AudioCaptureStreamChangeIfNeeded()`.

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

--HG--
extra : moz-landing-system : lando
2019-09-17 23:04:12 +00:00
alwu
8c34182874 Bug 1580659 - part1 : use AudioChannelAgent directly. r=chunmin
`nsIAudioChannelAgent` was created a common interface for a usage of in both js and C++ before, now we have no any JS code would use `nsIAudioChannelAgent`, it's only used in C++ code.

Therefore, in a coming refactoring (bug1580662), we will remove `nsIAudioChannelAgent` and use `AudioChannelAgent` as the only interface. Here we can make these classes start to reference `AudioChannelAgent`, instead of `nsIAudioChannelAgent`.

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

--HG--
extra : moz-landing-system : lando
2019-09-16 19:44:37 +00:00
Emilio Cobos Álvarez
45f30e1d19 Bug 1575138 - Don't bother scheduling a reconstruct on <slot>s that have no fallback. r=smaug
So basically what's going on is that we remove all children from the popup here:

  https://searchfox.org/mozilla-central/rev/153feabebc2d13bb4c29ef8adf104ec1ebd246ae/browser/base/content/browser-places.js#687

This makes us schedule a reconstruct of the slot, in case it has fallback
content:

  https://searchfox.org/mozilla-central/rev/153feabebc2d13bb4c29ef8adf104ec1ebd246ae/dom/base/ShadowRoot.cpp#616

Then we insert frames for the items. They get inserted right away, because we
don't support lazy frame construction for XUL:

  https://searchfox.org/mozilla-central/rev/153feabebc2d13bb4c29ef8adf104ec1ebd246ae/layout/base/nsCSSFrameConstructor.cpp#6507

If this was normal HTML content, the insertion would've been lazy, and no
reconstruct would've happened.

The right fix is to support lazy frame construction for XUL. Now that there's
very little XBL it should be possible. This fixes it but it's a kind-of stop-gap
solution.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 00:03:39 +00:00
Steve Fink
94cbc867b3 Bug 1582847 - Compute typeInfo.RootedPointers before they are needed by addGCType r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D46661

--HG--
extra : moz-landing-system : lando
2019-09-23 18:23:37 +00:00
abowler2
c05e6ab3d9 Bug 1555310 - remove unused variables in MockProvider r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D46546

--HG--
extra : moz-landing-system : lando
2019-09-23 22:11:18 +00:00