Commit Graph

762455 Commits

Author SHA1 Message Date
Butkovits Atila
9d17bf1f4b Backed out changeset 19efa711bd54 (bug 1714749) for causing assertion failures at foundWebScheme. CLOSED TREE 2021-07-07 04:40:29 +03:00
Butkovits Atila
2ec5e2abd7 Backed out changeset 4731ed823f03 (bug 1717486) for causing mochitest failures at browser_all_files_referenced.js. CLOSED TREE 2021-07-07 04:22:27 +03:00
Drew Willcoxon
7315b8f72e Bug 1718158 - Change "Google suggestions" to "Google Suggestions" for Firefox Suggest. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D118776
2021-07-07 00:44:03 +00:00
Mike Hommey
856ee10cba Bug 1719226 - Fix clang bustage r=bustage-fix. CLOSED TREE 2021-07-07 03:15:49 +03:00
Butkovits Atila
8ab3b2e926 Bug 1713410 - disable test_bug1113600.html on Win10_QR_Debug for frequent failures. r=intermittent-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D118941
2021-07-06 23:43:28 +00:00
Scott
de5573cf6d Bug 1719352 - Some newtab css changes to generated css files. r=emcminn,amy
Differential Revision: https://phabricator.services.mozilla.com/D119228
2021-07-06 23:38:42 +00:00
Karl Tomlinson
ebbb65d72e Bug 1493982 accept only sinkIds exposed via enumerateDevices() r=jib
and reject with NotFoundError otherwise.

Depends on D118444

Differential Revision: https://phabricator.services.mozilla.com/D118445
2021-07-06 23:37:33 +00:00
Karl Tomlinson
832509f1a5 Bug 1493982 move GetSinkDevice() to MediaDevices for access to device exposure history r=jib
Depends on D118443

Differential Revision: https://phabricator.services.mozilla.com/D118444
2021-07-06 23:37:32 +00:00
Karl Tomlinson
e73a2aa7e8 Bug 1493982 limit speaker exposure in enumerateDevices() to those granted by selectAudioOutput() and getUserMedia() r=jib
selectAudioOutput() grants are per-device, but getUserMedia() grants expose all
speakers associated with any microphone.

When exposed, speaker devices have labels even when there is no active capture device.

Differential Revision: https://phabricator.services.mozilla.com/D118443
2021-07-06 23:37:32 +00:00
Brendan Dahl
6c5dfd93a9 Bug 1719380 - Update pdf.js to version 2.10.263 r=pdfjs-reviewers,marco
Differential Revision: https://phabricator.services.mozilla.com/D119237
2021-07-06 23:03:03 +00:00
Karl Tomlinson
492a29965e Bug 1493982 add mCanExposeMicrophoneInfo and set from getUserMedia() r=jib
This will be used to limit exposure of audio output devices by group id.
Exposure of microphone devices is not yet limited but covered by bug 1528042.

Depends on D118441

Differential Revision: https://phabricator.services.mozilla.com/D118442
2021-07-06 23:02:53 +00:00
Karl Tomlinson
90b1258738 Bug 1493982 track explicitly granted audio output devices r=jib
Depends on D118440

Differential Revision: https://phabricator.services.mozilla.com/D118441
2021-07-06 23:02:53 +00:00
Kajal Sah
6bd28604ba Bug 1717486 Creates browser/components/screenshots directory.r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D118573
2021-07-06 22:45:56 +00:00
Matt Woodrow
3af88f56b7 Bug 1617469 - Wait for the scroll position to change in bug298622 test. r=smaug DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D119142
2021-07-06 22:37:55 +00:00
Toshihito Kikuchi
67f9ed45ff Bug 1701368 - Part7: Add GTest to test nsAvailableMemoryWatcher. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D117675
2021-07-06 22:31:00 +00:00
Toshihito Kikuchi
ee072f14eb Bug 1701368 - Part6: Tab unloading precedes memory pressure events. r=gsvelto
This is the main part to address bug 1701368.

Before this patch, `nsAvailableMemoryWatcher` directly broadcasted a memory-pressure
event when we enter into a low-memory situation and `TabUnloader` unloaded a tab in
response to the memory-pressure message.  We want to decouple `TabUnloader` from
memory-pressure listeners because unloading a tab may solve a low-memory situation
alone.

With this patch, if `nsAvailableMemoryWatcher` detects a low-memory situation,
it invokes `TabUnloader` synchronously via an XPCOM interface.  If `TabUnloader`
unloads a tab, we don't do any further action.  If there is no discardable tab,
`TabUnloader` notifies back `nsAvailableMemoryWatcher` via another XPCOM interface,
so that `nsAvailableMemoryWatcher` can notify of a memory-pressure event.

Differential Revision: https://phabricator.services.mozilla.com/D117673
2021-07-06 22:30:59 +00:00
Toshihito Kikuchi
02f0a6ddd5 Bug 1701368 - Part5: Convert nsAvailableMemoryWatcher to an XPCOM object. r=gsvelto
This patch introduces an XPCOM object which is represented by the single instance of
`nsAvailableMemoryWatcherBase` so that `nsAvailableMemoryWatcher` can synchronously
access `TabUnloader`.

We currently implement a watcher class for Windows only.  For other platforms, what
we need to do is to define a class inherinting `nsAvailableMemoryWatcherBase` and
a simple factory method `CreateAvailableMemoryWatcher()` returning an instance of
that class.

Differential Revision: https://phabricator.services.mozilla.com/D118393
2021-07-06 22:30:59 +00:00
Toshihito Kikuchi
b2ce1b976f Bug 1701368 - Part4: Make the nsAvailableMemoryWatcher timer commit-space driven. r=gsvelto
This patch removes dependency on the available physical memory.
With this patch, `nsAvailableMemoryWatcher` triggers `OnLowMemory` when the available
commit space is low, and triggers `OnHighMemory` when the available commit space is
no longer low.

The key part of this change is the `if` block in `nsAvailableMemoryWatcher::Notify`,
where we use a single condition `IsCommitSpaceLow()` to declare either Low or High.

After this change, `OnLowMemory` is called not only in the main thread but also in
a worker thread.  So `StartPollingIfUserInteracting` also needs a lock to protect
`mPolling`.

Differential Revision: https://phabricator.services.mozilla.com/D117672
2021-07-06 22:30:59 +00:00
Toshihito Kikuchi
b3df452cb8 Bug 1701368 - Part3: Remove the MemPressure_Ongoing request. r=gsvelto
We had `NS_DispatchMemoryPressure` and `NS_DispatchEventualMemoryPressure`
to dispatch a memory-pressure event which took `MemPressure_New` and
`MemPressure_Ongoing` to translate into "low-memory" and "low-memory-ongoing"
message respectively.

With that model, we could end up sending a wrong message if somebody
called the API with `MemPressure_Ongoing` without sending `MemPressure_New`.
To avoid that, this patch removes `MemPressure_Ongoing` and makes
the API decide whether it should dispatch a "new" event or "ongoing" event.

Differential Revision: https://phabricator.services.mozilla.com/D119122
2021-07-06 22:30:58 +00:00
Toshihito Kikuchi
6ba57254e3 Bug 1701368 - Part2: Clean up nsAvailableMemoryWatcher. r=gsvelto
1. Use `nsAutoHandle` instead of a raw `HANDLE`
2. Add a dtor with `MOZ_ASSERT`
3. Prevent double init
4. Cache `nsAvailableMemoryWatcher::mObserverSvc`

Differential Revision: https://phabricator.services.mozilla.com/D117670
2021-07-06 22:30:58 +00:00
Toshihito Kikuchi
44c4164368 Bug 1701368 - Part1: Extract nsAvailableMemoryWatcher as AvailableMemoryWatcherWin.cpp. r=gsvelto
This patch splits `nsAvailableMemoryWatcher` into 1) an nsISupports-derived class
`nsAvailableMemoryWatcherBase` and 2) a platform-specific class `nsAvailableMemoryWatcher`,
taking out the 2) part as a new file AvailableMemoryWatcherWin.cpp without any change.

Test cases for `nsAvailableMemoryWatcher` will be added by a subsequent patch.

Differential Revision: https://phabricator.services.mozilla.com/D117669
2021-07-06 22:30:57 +00:00
Butkovits Atila
c57b13331c Backed out changeset 2e42adcd4838 (bug 1719352) for causing failures on browser_parsable_css.js. CLOSED TREE 2021-07-07 01:33:57 +03:00
Gavin Lazar Suntop
b9dfc2a792 Bug 1710950 - fixing arrow keys r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D117684
2021-07-06 21:03:38 +00:00
Butkovits Atila
70afe12e43 Backed out changeset afe1754751ff (bug 1710950) for causing failures at browser_parsable_css.js. CLOSED TREE 2021-07-07 01:26:37 +03:00
Scott
41005ea220 Bug 1714749 - Fixing Pocket icon state. r=gvn,mconley
Differential Revision: https://phabricator.services.mozilla.com/D117703
2021-07-06 22:07:03 +00:00
Mike Hommey
93e5ce3fe2 Bug 1719228 - Remove unused docker images and Debian packages. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D119138
2021-07-06 21:47:11 +00:00
Mike Hommey
6def90d273 Bug 1719228 - Build binutils with the toolchain sysroot. r=firefox-build-system-reviewers,andi
This allows to use the same toolchain docker images as other toolchains,
based on Debian buster.

While here, use the default max-run-time, which is more than enough for
this toolchain.

Differential Revision: https://phabricator.services.mozilla.com/D119137
2021-07-06 21:47:11 +00:00
Mike Hommey
5d89676954 Bug 1719228 - Build GCC with the toolchain sysroot. r=firefox-build-system-reviewers,andi
Because GCC is built in stages, the final stage is built with
intermediate stages's GCC, which handles the sysroot correctly, so we
end up with headers and libraries with the expected compatibility.
This allows to use the same toolchain docker images as other toolchains,
based on Debian buster.

Differential Revision: https://phabricator.services.mozilla.com/D119136
2021-07-06 21:47:10 +00:00
Mike Hommey
51effea05b Bug 1719226 - Remove old workarounds when building clang. r=firefox-build-system-reviewers,andi
- we needed -gcc-toolchain to pick C/C++ standard headers from the right
version of GCC, but we now have them in the toolchain sysroot (bug
1719207), so we can use that instead.
- we needed LD_LIBRARY_PATH when clang was built on an older version of
Debian, but that was changed in bug 1694775.

Differential Revision: https://phabricator.services.mozilla.com/D119135
2021-07-06 21:47:10 +00:00
Mike Hommey
3c173089ef Bug 1719226 - Properly print cmake error files. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D119134
2021-07-06 21:47:10 +00:00
Mike Hommey
899af76508 Bug 1719225 - Don't build binutils as part of gcc. r=firefox-build-system-reviewers,andi
We have a separate binutils toolchain already, and the only remaining
use of the binutils part of the the GCC toolchain is for the gold plugin
headers for clang, which we can add to the toolchain sysroot.

Differential Revision: https://phabricator.services.mozilla.com/D119133
2021-07-06 21:47:09 +00:00
Paul Zuehlcke
0e06dbdd71 Bug 1718091 - Added clearDataFromBaseDomain to GeckoView StorageController. r=geckoview-reviewers,agi,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D118829
2021-07-06 21:21:10 +00:00
Paul Zuehlcke
22b0fb8a58 Bug 1712170 - Update preferences siteData dialog to list entries by base domain. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D116863
2021-07-06 21:11:00 +00:00
Paul Zuehlcke
6e2aca1f84 Bug 1711869 - Part 4: Update site data removal confirmation dialog for SiteDataManager base domain changes. r=johannh,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D116862
2021-07-06 21:10:59 +00:00
Paul Zuehlcke
aeffb2f87e Bug 1711869 - Part 3: Update site identity for SiteDataManager base domain changes. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D116861
2021-07-06 21:10:59 +00:00
Paul Zuehlcke
7a4cd97907 Bug 1711869 - Part 2: Update pageinfo security for SiteDataManager base domain changes. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D116860
2021-07-06 21:10:58 +00:00
Paul Zuehlcke
03054d7ef0 Bug 1711869 - Part 1: Refactor SiteDataManager to key sites by base domain. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D116859
2021-07-06 21:10:58 +00:00
Paul Zuehlcke
da24464574 Bug 1713139 - Clear partitioned storage for session storage and legacy localStorage implementation. r=dom-storage-reviewers,johannh,asuth
Differential Revision: https://phabricator.services.mozilla.com/D116607
2021-07-06 21:10:58 +00:00
Paul Zuehlcke
38e07b9a08 Bug 1705036 - Added QuotaCleaner deleteByBaseDomain. r=johannh,dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D116130
2021-07-06 21:10:57 +00:00
Scott
dc7a8dec32 Bug 1719352 - Some newtab css changes to generated css files. r=amy,emcminn
Differential Revision: https://phabricator.services.mozilla.com/D119228
2021-07-06 21:10:43 +00:00
Gavin Lazar Suntop
11becc3b48 Bug 1710950 - fixing arrow keys r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D117684
2021-07-06 21:03:38 +00:00
Butkovits Atila
785829138d Backed out 7 changesets (bug 1701368) for causing build bustages on TestMemoryPressure.cpp. CLOSED TREE
Backed out changeset 3be9f410b666 (bug 1701368)
Backed out changeset 907317341862 (bug 1701368)
Backed out changeset 38fb1e114a53 (bug 1701368)
Backed out changeset f3a475931a13 (bug 1701368)
Backed out changeset 98046adfc310 (bug 1701368)
Backed out changeset d773413513cf (bug 1701368)
Backed out changeset feca7daa9c96 (bug 1701368)
2021-07-07 00:21:34 +03:00
Andrei Oprea
78dea6a3f6 Bug 1718031 - Intermittent [tier2] TV toolkit/components/nimbus/test/browser/browser_remotesettingsexperimentloader_remote_defaults.js r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D118946
2021-07-06 20:22:37 +00:00
Glenn Watson
519642aea1 Bug 1717207 - Fix incorrect sub_slice_index assignment in some cases. r=gfx-reviewers,kvark
Previously, the child primitives of off-screen surfaces were not
being atomically treated as a single unit. This meant that the
primitives may be assigned to different sub-slices, under certain
edge case conditions.

As a short term fix, let the picture cache code know when an off
screen surface is being processed during primitive dependency
updates. This ensures that all child primitives within a surface
will be assigned to the same sub-slice.

Differential Revision: https://phabricator.services.mozilla.com/D119052
2021-07-06 20:22:32 +00:00
Butkovits Atila
90cdad3ef1 Backed out changeset a0e84f443e91 (bug 1713693) for causing build bustage. CLOSED TREE 2021-07-06 23:19:49 +03:00
Thomas Wisniewski
a0c2587813 Bug 1713693 - Add a SmartBlock shim for Doubleclick; r=denschub,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D119099
2021-07-06 19:59:33 +00:00
Julian Descottes
5bf1798fbc Bug 1701004 - [devtools] Use a dedicated commands instance for the eyedropper menu item r=nchevobbe
Depends on D119170

Differential Revision: https://phabricator.services.mozilla.com/D119173
2021-07-06 19:22:24 +00:00
Julian Descottes
1a686aacb4 Bug 1719256 - [devtools] initialize HighlighterTestActor with the correct inspector ID r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D119170
2021-07-06 19:22:24 +00:00
Butkovits Atila
0da24cf66f Backed out changeset 21e5a34cf792 (bug 1713693) for causing build bustages. CLOSED TREE 2021-07-06 22:29:35 +03:00
Toshihito Kikuchi
7868eaa3d1 Bug 1701368 - Part7: Add GTest to test nsAvailableMemoryWatcher. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D117675
2021-07-06 18:59:10 +00:00