Commit Graph

710256 Commits

Author SHA1 Message Date
Paul Adenot
2c64853b8e Bug 1638801 - mach vendor rust r=cubeb-reviewers,achronop
Differential Revision: https://phabricator.services.mozilla.com/D75776
2020-05-28 09:54:57 +00:00
Paul Adenot
6294bd3454 Bug 1638801 - Update cubeb-coreaudio-rs to 23cce. r=cubeb-reviewers,achronop
Differential Revision: https://phabricator.services.mozilla.com/D75775
2020-05-28 09:54:04 +00:00
Paul Adenot
536bed511e Bug 1628779 - Update audioipc to 1b27476950. r=cubeb-reviewers,kinetik
Differential Revision: https://phabricator.services.mozilla.com/D75336
2020-05-28 09:53:39 +00:00
Paul Adenot
7066867664 Bug 1628779 - Pass the audio rountrip latency to the echo canceller, and disable extended filter and delay agnostic AEC, on macOS Nightly. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D75335
2020-05-28 09:52:52 +00:00
Paul Adenot
10306294af Bug 1628779 - Add an entry in about:support for the roundtrip audio latency of default devices r=chunmin,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D75334
2020-05-28 09:52:25 +00:00
Paul Adenot
4bbaca0e14 Bug 1628779 - Add a method on DOMWindowUtils to query an estimate of the round trip latency of the default audio devices. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D75333
2020-05-28 09:51:30 +00:00
Paul Adenot
6b95c980a2 Bug 1628779 - Add a function to get an estimation of the roundtrip latency of the default devices. r=achronop
This is blocking, and will be used off-main-thread.

Differential Revision: https://phabricator.services.mozilla.com/D75332
2020-05-28 09:50:55 +00:00
Paul Adenot
3eb71b17bf Bug 1628779 - Update the latency periodically on main thread. r=achronop
We're doing it async, triggered during the stable state runnable, and then the
values are cached in atomic variables, so that the rendering thread can have the
info as well, for using during processing.

Differential Revision: https://phabricator.services.mozilla.com/D75331
2020-05-28 09:50:20 +00:00
Dimi Lee
25413bb019 Bug 1639718 - P3. Add testcase r=baku
Differential Revision: https://phabricator.services.mozilla.com/D76838
2020-05-28 09:51:32 +00:00
Dimi Lee
acbbeb5981 Bug 1639718 - P2. Protection features call OnBeforeBlockChannel before blocking the channel. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D76837
2020-05-28 09:51:23 +00:00
Dimi Lee
86d87ef93e Bug 1639718 - P1. Add ChannelClassifierService to support notifying/unblocking channel. r=baku
ChannelClassifierService notifies "urlclassifier-before-block-channel"
event when a channel is going to be blocked by protection features.

It also provides an API for receivers to "unblock" the channel.

Sample usage:
this.service = Cc["@mozilla.org/url-classifier/channel-classifier-service;1"].getService(
  Ci.nsIChannelClassifierService
);
if (this.service) {
  this.service.addListener({
    observe(aSubject, aTopic, aData) {
      switch (aTopic) {
        case "urlclassifier-before-block-channel":
          let channel = aSubject.QueryInterface(Ci.nsIUrlClassifierBlockedChannel);
          channel.unblock();
          break;
      }
    },
  })
}

Differential Revision: https://phabricator.services.mozilla.com/D76836
2020-05-28 09:51:15 +00:00
Tom Schuster
41946bdc30 Bug 1641297 - Optimize Array.isArray in CacheIR and Warp. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D77125
2020-05-28 09:35:18 +00:00
Liang-Heng Chen
87e713f0c9 Bug 1637516 - part 3: update tests; r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D75550
2020-05-28 08:55:04 +00:00
Liang-Heng Chen
3a1dec80b2 Bug 1637516 - part 2: make first-party domain support site; r=baku,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D75549
2020-05-28 08:54:31 +00:00
Liang-Heng Chen
0fc88a67c1 Bug 1637516 - part 1: refine functions for further update; r=timhuang,baku
Differential Revision: https://phabricator.services.mozilla.com/D75548
2020-05-28 08:53:13 +00:00
Daisuke Akatsuka
640c65ed86 Bug 1637641: Add test for the cache mechanism in ResourceWatcher. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D77015
2020-05-28 09:07:17 +00:00
Daisuke Akatsuka
602691271c Bug 1637641: Make multiple listeners can receive proper cached resources. r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D76447
2020-05-28 09:07:04 +00:00
Jan Varga
4acff3dff1 Bug 1621916 - Fix SimpleDB to ignore unknown files during initialization and usage calculation; r=dom-workers-and-storage-reviewers,ttung
SimpleDB files on disk now use a suffix, so unknown files can be filtered out.

Depends on D76700

Differential Revision: https://phabricator.services.mozilla.com/D76701
2020-05-25 15:57:54 +00:00
Jan Varga
6b9c3a93f9 Bug 1621916 - Extract profile creation from test_unknownFiles.js into make_unknownFiles.js and make it more sophisticated; r=dom-workers-and-storage-reviewers,ttung
A generated profile now matches real world profiles:
- contains directory metadata
- contains real quota client specific files
- contains unique non-empty unknown files (instead of empty foo.bar files)
- contains unique non-empty unknown directories (instead of empty foo dirs)

There's now only one origin directory which contains unknown files and
directories. All methods that take a principal are verified to work with the
origin direcrtory.

Depends on D76095

Differential Revision: https://phabricator.services.mozilla.com/D76700
2020-05-25 16:01:32 +00:00
Jan Varga
22dd0c4c8d Bug 1621916 - Update test_unknownFiles.js with unknown files for cache, sdb and ls quota client; r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D76095
2020-05-28 08:34:06 +00:00
Jan Varga
7735eac323 Bug 1621916 - Enhance test_unknownFiles.js to cover initTemporaryStorage method; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D75952
2020-05-26 08:24:49 +00:00
Jan Varga
93f51d3a5d Bug 1621916 - Convert test_unknownFiles.js to use quasi subtests; r=dom-workers-and-storage-reviewers,sg
Depends on D75950

Differential Revision: https://phabricator.services.mozilla.com/D75951
2020-05-28 07:58:56 +00:00
Jan Varga
ca29971168 Bug 1621916 - Convert test_unknownFiles.js to use async functions; r=dom-workers-and-storage-reviewers,sg
Depends on D75949

Differential Revision: https://phabricator.services.mozilla.com/D75950
2020-05-28 07:57:43 +00:00
Valentin Gosu
383d242cb2 Bug 1636891 - Move logging specifics from toolkit/library/rust/shared/lib.rs to the gecko_logger crate r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D76669
2020-05-28 07:46:40 +00:00
Mark Hammond
35a92088a5 Bug 1640791 - Expose allowSkippedRecord to a bridged engine and enable it for extension-storage. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D76785
2020-05-27 02:12:53 +00:00
Tom Tung
858e3093fb Bug 1601594 - P4 - Changes on window-similar-but-cross-origin-success.https.sub.html; r=annevk
We have window-domain-failure.https.sub.html so we don't need this test.

Github issue: https://github.com/whatwg/html/pull/4734

Differential Revision: https://phabricator.services.mozilla.com/D70350
2020-05-18 11:44:27 +00:00
Tom Tung
3ed464473c Bug 1601594 - P3 - Changes on window-iframe-messagechannel.https.html; r=annevk
Changes for using messagechannel to share the SharedArrayBuffer.

Github issue: https://github.com/whatwg/html/pull/4734

Differential Revision: https://phabricator.services.mozilla.com/D70349
2020-05-18 09:51:38 +00:00
Tom Tung
9eebac82a6 Bug 1601594 - P2 - Changes on window-domain-success.https; r=annevk
This test was used to verify that postMessaging to a same-origin-domain (but
not same-origin) iframe allows them to see each others' modification.

However, we now only allow same-origin to postMessage SharedArrayBuffer. And,
that means same-origin-domain are not allowed to do that. Therefore, this test
is rewrited to verify that postMessage SharedArrayBuffer from a
same-origin-domain iframe would result the receiver (parent) to get a message
error event.

Github issue: https://github.com/whatwg/html/pull/4734

Differential Revision: https://phabricator.services.mozilla.com/D70348
2020-05-18 09:41:31 +00:00
Tom Tung
ed2823830e Bug 1601594 - P1 - Using Origin as the key for DocGroup; r=farre,nika
Differential Revision: https://phabricator.services.mozilla.com/D70347
2020-05-25 12:51:29 +00:00
Tom Tung
839aba3410 Bug 1601594 - Move CrossOriginIsolated from nsGlobalWindowInner to BrowsingContext; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D75131
2020-05-25 12:51:53 +00:00
Dale Harvey
ab8d86b7da Bug 1627545 - Update FormAutoFill to new Region.jsm api. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D76949
2020-05-27 20:16:48 +00:00
Valentin Gosu
d51967f492 Bug 1640872 - Add more TRR logging r=necko-reviewers,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D76826
2020-05-28 06:58:04 +00:00
Florin Strugariu
346e44142a Bug 1633874 - Update taskcluster settings to the new raptor file structure r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D72946
2020-05-27 15:55:46 +00:00
Florin Strugariu
f4f4a10d68 Bug 1633413 - split raptor test manifest by testwebsite r=perftest-reviewers,AlexandruIonescu,sparky
Differential Revision: https://phabricator.services.mozilla.com/D72666
2020-05-27 15:55:21 +00:00
Florin Strugariu
e64e00f164 Bug 1633394 - Add option to run cold tests from command line r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D72665
2020-05-27 15:52:21 +00:00
Martin Stransky
bce2082606 Bug 1552128 [Linux] Allow to use frame extents in CSD mode when system titlebar is on, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D77207
2020-05-28 06:25:55 +00:00
Noemi Erli
3aba303ff4 Backed out changeset 8c662017aa7c (bug 1639347) for causing failures in browser_masterpassword.js 2020-05-28 09:38:25 +03:00
Csoregi Natalia
b4ad19225c Backed out 10 changesets (bug 1641090) for asan bustage on ProtocolFuzzer.h. CLOSED TREE
Backed out changeset 9c5e95745919 (bug 1641090)
Backed out changeset df8809d1542b (bug 1641090)
Backed out changeset 92cde6ee6ade (bug 1641090)
Backed out changeset 23d5d734d0bd (bug 1641090)
Backed out changeset 6af841322f4d (bug 1641090)
Backed out changeset 2ce016edb6fc (bug 1641090)
Backed out changeset a513d47956f9 (bug 1641090)
Backed out changeset 48bc9ce7afeb (bug 1641090)
Backed out changeset 173a1c2e3e55 (bug 1641090)
Backed out changeset c915cb660411 (bug 1641090)
2020-05-28 08:51:13 +03:00
Gerald Squelart
315b834a0e Bug 1586939 - Remove "_BASE" from most Base Profiler env-vars - r=gregtatum a=reland CLOSED TREE
Now both profilers are controlled by the same environment variables, e.g.
"MOZ_PROFILER_STARTUP" to run both profilers at startup.

The only remaining Base Profiler-specific commands are:
- MOZ_BASE_PROFILER_HELP, because the Base Profiler doesn't have the same
  capabilities as Gecko, so it may display different available features.
- MOZ_BASE_PROFILER_LOGGING, because the Base Profiler doesn't have access to
  MOZ_LOG (both the env-var and the C++ macros).

Differential Revision: https://phabricator.services.mozilla.com/D54449
2020-05-28 03:39:32 +00:00
Gerald Squelart
26045e2d2c Bug 1586939 - Skip LoadLibraryEx if we're likely to hit the crash in nvd3d9wrap{,x}.dll - r=gregtatum a=reland CLOSED TREE
This is a port of bugs 1607574, 1617188, 1635823 to the Base Profiler.

Differential Revision: https://phabricator.services.mozilla.com/D77014
2020-05-28 03:39:07 +00:00
Sam Foster
c7d245ef9a Bug 1639347 - Refactor the OSKeyStore reauthentication into a LoginHelper method, add canReauth method on OSKeyStore. r=MattN
* Move MP and OSKeyStore.ensureLoggedIn checks from AboutLoginParent to new requestReauth method on LoginHelper

Differential Revision: https://phabricator.services.mozilla.com/D67681
2020-05-28 05:10:46 +00:00
Razvan Maries
cfc05656e9 Backed out 2 changesets (bug 1586939) for build bustages on ProtocolFuzzer.h. CLOSED TREE
Backed out changeset 1f66a6a498e5 (bug 1586939)
Backed out changeset 6e1337767992 (bug 1586939)
2020-05-28 07:38:04 +03:00
Gerald Squelart
3f2fbaa757 Bug 1586939 - Remove "_BASE" from most Base Profiler env-vars - r=gregtatum
Now both profilers are controlled by the same environment variables, e.g.
"MOZ_PROFILER_STARTUP" to run both profilers at startup.

The only remaining Base Profiler-specific commands are:
- MOZ_BASE_PROFILER_HELP, because the Base Profiler doesn't have the same
  capabilities as Gecko, so it may display different available features.
- MOZ_BASE_PROFILER_LOGGING, because the Base Profiler doesn't have access to
  MOZ_LOG (both the env-var and the C++ macros).

Differential Revision: https://phabricator.services.mozilla.com/D54449
2020-05-28 03:39:32 +00:00
Gerald Squelart
ff560ee2fd Bug 1586939 - Skip LoadLibraryEx if we're likely to hit the crash in nvd3d9wrap{,x}.dll - r=gregtatum
This is a port of bugs 1607574, 1617188, 1635823 to the Base Profiler.

Differential Revision: https://phabricator.services.mozilla.com/D77014
2020-05-28 03:39:07 +00:00
Haik Aftandilian
0a19d8eeb2 Bug 1592416 - Right click opens context menu on wrong monitor or virtual desktop (mac OS Catalina) r=spohl
Add the NSWindowCollectionBehaviorMoveToActiveSpace behavior to nsCocoaWindow
popups so that they override the "Assign To" space setting and display on the
active space.

This also addresses bug 1589893 where, when "Assign To" space is used, popup
menus are not visible in full screen mode.

With mutiple displays, recreate the popup widget each time it is displayed
to workaround a problem where the re-shown popup appears on the "Assign To"
display instead of the current display.

Differential Revision: https://phabricator.services.mozilla.com/D75419
2020-05-28 04:00:02 +00:00
Axel Hecht
1343d506c0 Bug 1641184, use only the merge dir for repacks, r=nalexander
l10n-merge creates a full merge dir for a while now, let's
simplify the build logic to only read from that directory
during repacks and langpacks.

Differential Revision: https://phabricator.services.mozilla.com/D77023
2020-05-27 17:04:06 +00:00
alwu
889760fd05 Bug 1641154 - fix macro error. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D77115
2020-05-27 17:49:56 +00:00
Razvan Maries
b65c634b01 Backed out changeset 6c865ed1f998 (bug 1641389) for perma failures on test_animation_operators.html. CLOSED TREE 2020-05-28 05:43:40 +03:00
Kartikaya Gupta
7aa4fa01c1 Bug 1627012 - Add a mochitest. r=botond
Depends on D76815

Differential Revision: https://phabricator.services.mozilla.com/D76816
2020-05-27 22:11:20 +00:00
Kartikaya Gupta
e6e5e3357e Bug 1627012 - Move promiseOneEvent to apz_test_utils.js and generalize it slightly. r=botond
This is a useful function for non-fission tests too.

Depends on D76814

Differential Revision: https://phabricator.services.mozilla.com/D76815
2020-05-28 01:55:48 +00:00