Commit Graph

672164 Commits

Author SHA1 Message Date
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
arthur.iakab
5147f9a0ff Backed out changeset 43dbcbd6f57a (bug 1581934) for causing reftest failures on 1081185-1.html. 2019-09-24 06:17:53 +03:00
Vijay Budhram
3a85929651 Bug 1580115 - Fix fxa menu disconnected avatar r=eoger,markh
Differential Revision: https://phabricator.services.mozilla.com/D46799

--HG--
extra : moz-landing-system : lando
2019-09-24 02:53:02 +00:00
Timothy Nikkel
3311b640cc Bug 1582273. Pass scrollbar flags from gecko to webrender so it can identify them. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D46587

--HG--
extra : moz-landing-system : lando
2019-09-24 02:40:27 +00:00
Boris Zbarsky
6be46fda93 Bug 1582538. Fix mixin exposure set computation when interfaces that include it have no explicit exposure sets. r=saschanaz
We can remove this once [PrimaryGlobal] goes away, but for now we need to not
have this issue, which actually bit me when converting NavigatorLanguage to a
mixin.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 02:32:14 +00:00
Makoto Kato
2c7f1d861c Bug 1474978 - Add crashtest. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D46756

--HG--
extra : moz-landing-system : lando
2019-09-23 10:37:40 +00:00
Geoff Brown
b0e5901c93 Bug 1582884 - Enable some crashtests on Android; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D46784

--HG--
extra : moz-landing-system : lando
2019-09-24 01:12:09 +00:00
Geoff Brown
dcb380399e Bug 1582785 - Enable some xpcshell tests on Android; r=geckoview-reviewers,agi
Most of these tests have been disabled for a long time; they run well
in the current test environment.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 22:43:55 +00:00
Boris Chiou
470629b5d3 Bug 1567330 - Add offset shorthand. r=emilio,birtles
Also, update the serialization by the shorter perference because this is
a new feature and using older syntax doesn't make sense.

Besides, use `cssOffset` for web animation IDL attribute name.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 19:56:33 +00:00
Boris Zbarsky
89dd3cf285 Bug 1582857. Fix security checks around this-unwrapping. r=peterv,bholley
Differential Revision: https://phabricator.services.mozilla.com/D46692

--HG--
extra : moz-landing-system : lando
2019-09-24 01:02:25 +00:00
Andrew Osmond
c3f9baa23f 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-23 23:58:44 +00:00
Jeff Walden
569875ab12 Bug 1582348 - Implement steps 1 and 4 of InitializeWritableStream. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46398

--HG--
extra : moz-landing-system : lando
2019-09-23 23:58:13 +00:00
Jeff Walden
ef9d1b4371 Bug 1582348 - Add the most skeleton WritableStream class imaginable. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46397

--HG--
extra : moz-landing-system : lando
2019-09-23 23:57:58 +00:00
Jeff Walden
d05c6fe9fd Bug 1582348 - Add a realm creation option controlling whether WritableStream is enabled. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D46396

--HG--
extra : moz-landing-system : lando
2019-09-23 23:57:49 +00:00
Kristen Wright
a0a6bc7b26 Bug 1566315 - Create a job to run lintpref in the CI. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D46237

--HG--
extra : moz-landing-system : lando
2019-09-24 00:12:07 +00:00
Kristen Wright
570169ce06 Bug 1566315 - Add prefs to ignore_prefs r=njn
Adds prefs to `IGNORE_PREFS` so that they will be overlooked by lintpref. `devtools.console.stdout.chrome`, `devtools.console.stdout.content`, and `browser.dom.window.dump.enabled` make use of the `sticky` attribute, and `fission.autostart` makes use of the `locked` attribute within all.js.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 00:11:19 +00:00
Kristen Wright
26e2831215 Bug 1566315 - Linter for StaticPrefList.yaml r=njn,ahal,glandium
Linter that checks for duplicates between StaticPrefList.yaml and all.js. Also a starting point for other prefs linting tasks.

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

--HG--
extra : moz-landing-system : lando
2019-09-24 00:09:08 +00:00
arthur.iakab
76632198c8 Backed out changeset da5d5eb153f2 (bug 1582273) for causing tidy bustages. CLOSED TREE 2019-09-24 03:14:33 +03:00
Timothy Nikkel
3c9a0952b5 Bug 1582273. Pass scrollbar flags from gecko to webrender so it can identify them. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D46587

--HG--
extra : moz-landing-system : lando
2019-09-23 23:31:45 +00:00
Noemi Erli
ecdbbb2a1f Backed out 8 changesets (bug 1564549) for causing failures in browser_all_files_referenced.js CLOSED TREE
Backed out changeset a6b83802832c (bug 1564549)
Backed out changeset 7f38c6ddd009 (bug 1564549)
Backed out changeset 15a754fb192e (bug 1564549)
Backed out changeset 34441585469f (bug 1564549)
Backed out changeset aada27f6ad6e (bug 1564549)
Backed out changeset 103dbf465704 (bug 1564549)
Backed out changeset c38e72058869 (bug 1564549)
Backed out changeset aca91e9add16 (bug 1564549)
2019-09-24 02:38:39 +03:00
Edgar Chen
520d780d4c Bug 1582744 - Enable browser_use_counters.js test on Fission; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D46678

--HG--
extra : moz-landing-system : lando
2019-09-23 14:25:34 +00:00
Geoff Lankow
7a9ad64108 Bug 1582055 - Fix modules path in Mozmill test configuration. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D46262

--HG--
extra : moz-landing-system : lando
2019-09-23 13:28:26 +00:00
Agi Sferro
ffdab47977 Bug 1583378 - Remove unneded warning in do_QueryActor. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46870

--HG--
extra : moz-landing-system : lando
2019-09-23 22:32:37 +00:00
arthur.iakab
fa7fa3bd09 Backed out changeset 899aa346b320 (bug 1564920)for causing the logs to become to big to parse. 2019-09-24 01:39:40 +03:00
Nick Alexander
458fa264fe Bug 1582662 - Fix xpcshell test suites against artifact builds on try. r=chmanchester
Bug 1580996 cleaned up handling of `{application,platform}.ini` but
inadvertently populated `.ini` files from test archives into the
object directory.  That causes issues, especially on try.  Test INI
files should come from the local artifact build and not from the
upstream test archives.

Rather than re-instate the test at the time when processed test
archives are _unpacked_, the test is done as test archives are
packed/processed.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 21:47:42 +00:00
Jeff Walden
8c24c04c6c Bug 1583291 - Implement the left-shift operator in a manner that doesn't invoke C++ undefined behavior when the shift result would overflow int32_t. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46858

--HG--
extra : moz-landing-system : lando
2019-09-23 21:03:07 +00:00
Matt Howell
dd5dc8cac7 Bug 1578489 - New Windows installer icon. r=agashlin
This patch includes:
* The new icon file itself
* A modified Win32 SFX binary with the icon resource replaced and no other changes
* A rebuilt ARM64 binary (because rebuilding it is just as easy as resource hacking it)
* And I also took the opportunity to update the VC project to the 2019 toolchain
  and removed the requirement for a particular Windows 10 SDK version.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 22:00:43 +00:00
Noemi Erli
c539b288a4 Backed out changeset 0574bc97e2ac (bug 1582273) for causing wrench build bustages CLOSED TREE 2019-09-24 00:55:58 +03:00
Noemi Erli
c9d5b4e3b5 Backed out changeset 56c82d00c513 (bug 1581934) for reftest failures CLOSED TREE 2019-09-24 00:53:30 +03:00
Noemi Erli
d25e1fb1e7 Backed out 2 changesets (bug 1579522) for xpcshell failures in test_ModulesPing.js CLOSED TREE
Backed out changeset 229c49ee94df (bug 1579522)
Backed out changeset fb1c3bf44fb1 (bug 1579522)
2019-09-24 00:48:27 +03:00
Timothy Nikkel
75996b49cc Bug 1582273. Pass scrollbar flags from gecko to webrender so it can identify them. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D46587

--HG--
extra : moz-landing-system : lando
2019-09-23 21:41:18 +00:00
Ehsan Akhgari
5f56dea240 Bug 833723 - Part 2: Fix typo
Differential Revision: https://phabricator.services.mozilla.com/D46863

--HG--
extra : moz-landing-system : lando
2019-09-23 21:33:30 +00:00
Eitan Isaacson
b7427e24a9 Bug 1564549 - Remove AccessFu. r=geckoview-reviewers,yzen,snorp
Differential Revision: https://phabricator.services.mozilla.com/D45604

--HG--
extra : moz-landing-system : lando
2019-09-23 21:07:21 +00:00
Eitan Isaacson
c2f7e48643 Bug 1564549 - Remove event dispatching to dead code. r=geckoview-reviewers,snorp
Some of these should be implemented in the future.

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

--HG--
extra : moz-landing-system : lando
2019-09-23 21:07:18 +00:00
Eitan Isaacson
11dd6681cd Bug 1564549 - Implement clipboard actions natively. r=geckoview-reviewers,yzen,snorp
Differential Revision: https://phabricator.services.mozilla.com/D45602

--HG--
extra : moz-landing-system : lando
2019-09-23 21:07:08 +00:00