Commit Graph

710282 Commits

Author SHA1 Message Date
Sebastian Hengst
e19ff60b6b Bug 1639540 - Set a test step of IndexedDB/structured-clone.any.worker.html?101-last as potential timeout. r=asuth DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D76461
2020-05-27 20:02:34 +00:00
Hubert Boma Manilla
d19ae69ede Bug 1641371 - Align the tracking protection info element r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D77160
2020-05-28 11:17:07 +00:00
Jan Varga
42f5cca14e Bug 1621916 - Fix IndexedDB to ignore unknown files in the client directory during initialization and usage calculation; r=dom-workers-and-storage-reviewers,sg,ttung
Differential Revision: https://phabricator.services.mozilla.com/D77073
2020-05-28 11:14:52 +00:00
Jean-Yves Avenard
ea9d7ebf6f Bug 1640009 - Hold a reference to VRManager singleton for the duration of the parent shutdown. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D77205
2020-05-28 07:32:57 +00:00
Emilio Cobos Álvarez
c6bcab8a5c Bug 1611204 - Fix IntersectionObserverEntry.isIntersecting to match other browsers. r=mstange
Note that no browser matches the spec (see
https://github.com/w3c/IntersectionObserver/issues/432), but that our
behavior is reasonably close to them. So do this to match them.

Differential Revision: https://phabricator.services.mozilla.com/D76603
2020-05-28 10:38:51 +00:00
Jean-Yves Avenard
6131e9fa5c Bug 1637869 - P7. Call DisconnectChildListeners when an error occurs. r=mattwoodrow
This will allow the DocumentChannel to be removed from the loading group and the docshell to stop waiting for for the ParentProcessDocumentChannel to do something.

Depends on D77201

Differential Revision: https://phabricator.services.mozilla.com/D77202
2020-05-28 07:42:35 +00:00
Jean-Yves Avenard
2746af48c3 Bug 1637869 - P6. Propagate proper error code when cancelling a channel. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D77201
2020-05-28 10:22:31 +00:00
Jean-Yves Avenard
710b7ac9c2 Bug 1637869 - P5. Fix test. r=mattwoodrow,marionette-reviewers,nika,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D76578
2020-05-28 04:07:15 +00:00
Jean-Yves Avenard
fc71e1daf1 Bug 1637869 - P4. Access pref via staticpref. r=mattwoodrow,necko-reviewers
It would otherwise triggers browser/base/content/test/performance/browser_preferences_usage.js

That pref would have been checked with every single load, a staticpref is O-1 .

Differential Revision: https://phabricator.services.mozilla.com/D76317
2020-05-28 04:07:15 +00:00
Jean-Yves Avenard
da36716654 Bug 1637869 - P3. Force about:credits to load in the content process. r=nika
It was apparently overlooked.

Yours truly doesn't even appear on that list :(

Differential Revision: https://phabricator.services.mozilla.com/D76316
2020-05-28 00:07:46 +00:00
Jean-Yves Avenard
66a61d942d Bug 1637869 - P2. Allow ParentProcessDocumentChannel to perform process switching. r=nika,mattwoodrow
The moves all decisions to perform a process switch into the DocumentLoadListerner. This removes the unnecessary need to go via a content process to start the load.

Differential Revision: https://phabricator.services.mozilla.com/D76315
2020-05-28 00:07:39 +00:00
Jean-Yves Avenard
3943449ac1 Bug 1637869 - P1. Cancel channel before resuming. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D76314
2020-05-28 00:07:24 +00:00
Tom Schuster
cc2cbba9b0 Bug 1640476 - Warp: Transpile Function.prototype.call. r=jandem
I changed the CacheIR code to specialize on the actual call target.
I think polymorphic targets are actually not totally common,
GDocs for example uses hasOwnProperty.call() a lot.

When we start supporting guardNotClassConstructor etc. this should
just start working as well though.

Differential Revision: https://phabricator.services.mozilla.com/D76620
2020-05-28 10:30:14 +00:00
Dale Harvey
c50fef3dc6 Bug 1641417 - Wait for region lookup to complete r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D77220
2020-05-28 09:52:22 +00:00
Csoregi Natalia
a743a4cfd7 Backed out 2 changesets (bug 1637641) for failures on browser_resources_client_caching.js. CLOSED TREE
Backed out changeset ce69538af12e (bug 1637641)
Backed out changeset b6fabe763177 (bug 1637641)
2020-05-28 13:24:55 +03:00
Jan Varga
d123d73b2d Bug 1621916 - Remove unused argument in Client::InitOrigin; r=dom-workers-and-storage-reviewers,sg
Depends on D77070

Differential Revision: https://phabricator.services.mozilla.com/D77072
2020-05-27 15:52:49 +00:00
Jan Varga
e51ae4f931 Bug 1621916 - Remove unnecessary local variables; r=dom-workers-and-storage-reviewers,sg
Depends on D77069

Differential Revision: https://phabricator.services.mozilla.com/D77070
2020-05-27 14:44:17 +00:00
Jan Varga
7d0c7ae8e0 Bug 1621916 - Rename GetDatabaseFilename to GetDatabaseFilenameBase; r=dom-workers-and-storage-reviewers,sg
The method returns a database filename without any extension, so the method name
needs to express that.

Depends on D77068

Differential Revision: https://phabricator.services.mozilla.com/D77069
2020-05-28 07:56:48 +00:00
Jan Varga
0eee7fd0c7 Bug 1621916 - Rename GetBaseFilename to GetFilenameBase to match rest of the code; r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D77068
2020-05-28 10:09:50 +00:00
Jan Varga
e7a857459c Bug 1621916 - Add unknown files for Cache API morgue directory and its subdirectories; r=dom-workers-and-storage-reviewers,ttung
Cache API is currently not consistent regarding unknown files. Some unknown
files are reported and ignored, other unknown files are reported and deleted or
just silently deleted without a warning.
Quota Manager, IndexedDB, SimpleDB and LocalStorage currently report and ignore
such files. We should try to unify this in future.

Differential Revision: https://phabricator.services.mozilla.com/D76718
2020-05-27 14:31:59 +00:00
Jan Varga
5183f79beb Bug 1621916 - Unify reporting of unknown files across quota manager, idb, sdb and ls quota client; r=dom-workers-and-storage-reviewers,ttung
Depends on D76703

Differential Revision: https://phabricator.services.mozilla.com/D76717
2020-05-26 07:02:07 +00:00
Jan Varga
68a6cbf429 Bug 1621916 - Fix IndexedDB to ignore unknown files in the files and journals directory during initialization and usage calculation; r=dom-workers-and-storage-reviewers,ttung
All unknown files in the files and journals directory are now properly filtered
out if the filename can't be converted to an integer.

Differential Revision: https://phabricator.services.mozilla.com/D76703
2020-05-26 07:22:12 +00:00
Jan Varga
e93eaffe2e Bug 1621916 - Run test_unknownFiles.js in multiple modes; r=dom-workers-and-storage-reviewers,ttung
The functionality needs to be verified for all initialization states (modes)
since some methods don't automatically trigger temporary storage initialization
which results in calling different quota client methods (for example
GetUsageForOrigin calls either Client::InitOrigin or Client::GetUsageForOrigin).

Depends on D76701

Differential Revision: https://phabricator.services.mozilla.com/D76702
2020-05-28 10:03:59 +00:00
Nicolas Chevobbe
e93fc6fed6 Bug 1635360 - Fix :screenshot --help command. r=davidwalsh.
This was regressed by Bug 766661, and it highlighted
that we're missing test coverage for this, so this
test is adding a test case to prevent future breakage.

Differential Revision: https://phabricator.services.mozilla.com/D76676
2020-05-27 14:42:29 +00:00
Paul Adenot
09fb043bf9 Bug 1628779 - Disable getting the input and output latency on Linux. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D76899
2020-05-28 09:55:44 +00:00
Paul Adenot
3ceba56d25 Bug 1631724 - Temporarily disable an assert inside the cubeb's resampler. r=achronop
Reenabling is tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1641234

Differential Revision: https://phabricator.services.mozilla.com/D77064
2020-05-28 09:55:21 +00:00
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