Граф коммитов

731075 Коммитов

Автор SHA1 Сообщение Дата
Andrew Sutherland 6ee5f4b5c1 Bug 1669355 - Refactor MIME type warnings into base class. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D93906
2020-10-19 07:00:41 +00:00
Paul Adenot 664e8f7256 Bug 1671612 - Fix `runtest.py` for python3. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D93758
2020-10-20 13:04:31 +00:00
Kershaw Chang c21369d346 Bug 1668828 - Don't set cos flag if transaction is already closed r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94081
2020-10-20 12:59:31 +00:00
Marco Bonardo a3414a5108 Bug 1668284 - Unknown content type change settings label is no longer accurate. r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D94027
2020-10-20 12:34:45 +00:00
Valentin Gosu f15c08ee26 Bug 1619673 - Disable appcache in release r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D70716
2020-10-20 12:14:16 +00:00
Gabriele Svelto 2352a082d4 Bug 1665411 - Use first-fit mutexes on macOS r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D93319
2020-10-20 12:07:30 +00:00
Simon Giesecke 3aad2857c8 Bug 1663924 - Use IDB_TRY in ObjectStoreAddOrPutRequestOp::DoDatabaseWork. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D93788
2020-10-20 12:01:15 +00:00
Simon Giesecke dbc8347366 Bug 1663924 - Use IDB_TRY in ObjectStoreAddOrPutRequestOp::RemoveOldIndexDataValues. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D93787
2020-10-20 09:29:07 +00:00
Simon Giesecke 4e200ca96a Bug 1663924 - Use IDB_TRY in CreateIndexOp::InsertDataFromObjectStoreInternal. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D93786
2020-10-20 08:48:03 +00:00
Simon Giesecke 4ece4c5bc4 Bug 1663924 - Use IDB_TRY in DatabaseMaintenance::CheckIntegrity. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D93785
2020-10-20 08:47:14 +00:00
Simon Giesecke d518908cb3 Bug 1663924 - Use IDB_TRY in DatabaseMaintenance::FullVacuum. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D93784
2020-10-20 08:43:48 +00:00
Simon Giesecke 8308ac553b Bug 1663924 - Use IDB_TRY in DatabaseMaintenance::DetermineMaintenanceAction. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D93783
2020-10-20 08:41:56 +00:00
Simon Giesecke ecba8fc786 Bug 1663924 - Use IDB_TRY in FactoryOp::OpenDirectory. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D93782
2020-10-20 08:40:21 +00:00
Simon Giesecke 20d4d34dcb Bug 1663924 - Use IDB_TRY in Maintenance::DirectoryWork. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D92781
2020-10-20 08:35:14 +00:00
Simon Giesecke f92973bd13 Bug 1663924 - Replace output parameters by return values on GetInfo* methods. r=dom-workers-and-storage-reviewers,ttung
This also changes all methods that use a pair of group/origin or a tuple of
suffix/group/origin input/output parameters to use a single GroupAndOrigin
resp. QuotaInfo struct input parameter or return value. Also, several types
having a pair or 3-tuple of such data members are changed to use these structs
instead.

Differential Revision: https://phabricator.services.mozilla.com/D91131
2020-10-20 11:46:31 +00:00
Simon Giesecke ee9d340a76 Bug 1663924 - Replace output parameter of ObjectStoreHasIndexes by return value. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D91161
2020-10-20 09:25:00 +00:00
Simon Giesecke aeaaa49f72 Bug 1664143 - Use IDB_TRY in Create*Tables and use a ExecuteSimpleSQLSequence helper function. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D89617
2020-10-20 08:33:20 +00:00
Sylvestre Ledru 71abba1805 no bug - Remove old DXR references r=andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D94076
2020-10-20 11:59:25 +00:00
Henrik Skupin 7246bb5cd7 Bug 1671622 - [wdspec] Fix browser context checks for "Switch To Parent Frame" if current browsing context is already the top-level one. r=webdriver-reviewers,jgraham
Tests for proposed WebDriver changes:
https://github.com/w3c/webdriver/issues/1544

Differential Revision: https://phabricator.services.mozilla.com/D93763
2020-10-20 10:38:48 +00:00
Andrew Osmond 38752f6def Bug 1656211 - Force recompositing frames on GTK when popup window configuration changes. r=nical
Similar to bug 1280653, it appears that GLX invalidates the back buffer
while we are drawing. The only indication we get of this are resize and
configure events from X. We suppress the configure event for popups for
various reasons, so this patch explicitly generates a forced recomposite
of the frame. It does it immediately so that most of the time it should
beat the presentation of the buffer and avoid displaying of the bad
frame to the user; popups generally are not complicated and should have
plenty of budget to perform the second composite.

Differential Revision: https://phabricator.services.mozilla.com/D93862
2020-10-19 07:44:59 +00:00
Csoregi Natalia da10e9b814 Backed out 7 changesets (bug 1639153) for spidermonkey bustage. CLOSED TREE
Backed out changeset a24b2ff5a2f1 (bug 1639153)
Backed out changeset cd503f8f9a72 (bug 1639153)
Backed out changeset 270961083337 (bug 1639153)
Backed out changeset db39bf2058e1 (bug 1639153)
Backed out changeset a072d5ee2511 (bug 1639153)
Backed out changeset e8164759f391 (bug 1639153)
Backed out changeset 69b8eca9b1ef (bug 1639153)
2020-10-20 14:56:07 +03:00
Dmitry Bezhetskov 261b840716 Bug 1639153 - Part 8: Adapt Cranelift-based Wasm to use ABI-2020. r=lth
This patch makes use of the new "Baldrdash2020" ABI support in Cranelift
to support the "ABI 2020" refactor in the Wasm compiler.

Differential Revision: https://phabricator.services.mozilla.com/D93190
2020-10-20 09:31:30 +00:00
Dmitry Bezhetskov 848d575266 Bug 1639153 - Part 7: Remove Frame::tls. r=lth
We remove Frame::tls and fix prologue/epilogue. Runtime, Ion and Baseline are ready for this move already.

Differential Revision: https://phabricator.services.mozilla.com/D83064
2020-10-12 08:08:41 +00:00
Dmitry Bezhetskov 48e09b6723 Bug 1639153 - Part 5: Remove remaining uses of Frame::tls. r=lth
Here we remove remaining uses of Frame::tls. There are many places where
we use it: in debug frames, in profiling frames, in jit activation, etc.
All these places require short fixes to use our new scheme for getting
tls, so I gathered them together.

Depends on D83045

Differential Revision: https://phabricator.services.mozilla.com/D83051
2020-10-20 10:24:47 +00:00
Dmitry Bezhetskov 08c174ff4e Bug 1639153 - Part 4: Untie frame iteration from Frame::tls. r=lth
Here we replace usage of Frame::tls in frame iteration with GetNearestEffectiveTls.
We also maintain current tls for frame iteration object to not to call GetNearestEffectiveTls everytime.

Depends on D83044

Differential Revision: https://phabricator.services.mozilla.com/D83045
2020-10-20 10:24:40 +00:00
Dmitry Bezhetskov 600b56e2a5 Bug 1639153 - Part 3: Implement the algorithm for obtaining tls and use it for wasm signal handling. r=lth
This is the third part of series of patches to Frame without tls pointer.
Here we preserve initial tls in all entry stubs and then use it to find a proper tls instance for a given frame.

To find the TlsData* for specific frame we start from a entry stub's tls
and then track tls through all possible cross-instance calls. This logic
is implemented in GetNearestEffectiveTls procedure.

Then, we use this new procedure to make singal handling free from Frame::tls.

Depends on D82888

Differential Revision: https://phabricator.services.mozilla.com/D83044
2020-10-20 10:24:32 +00:00
Dmitry Bezhetskov baaa8df286 Bug 1639153 - Part 2: Preserve callee and caller tls'es. r=lth
This is a followup patch for removing Frame::tls.
Now, we are preserving caller's and callee's tls'es for all possible cross-instance calls in the previously allocated abi slots.
We also use preserved tls values to restore the caller's tls in Ion. Baseline doesn't need this because it restores the caller tls from its private stack slot after the call.

Depends on D82881

Differential Revision: https://phabricator.services.mozilla.com/D82888
2020-10-20 10:24:19 +00:00
Dmitry Bezhetskov b00f5bbc29 Bug 1639153 - Part 1: Reserve two slots after stack arguments for the future tls preservation. r=lth
We are going to remove Frame::tls and support trampolines for indirect calls, so we need to get rid of using Frame::tls.
In this and the followup patches I will iteratively remove all dependencies of Frame::tls and remove it eventually.

In this patch I changed wasm ABI to allocate two stack slots after stack args to preserve caller's and callee's tls'es in the near future.

Differential Revision: https://phabricator.services.mozilla.com/D82881
2020-10-20 10:24:07 +00:00
Valentin Gosu 75e57b5355 Bug 1672127 - Fix browser_fall_back_to_https.js to use actual host r=ckerschb
Adds secureonly.example.com:443 to server-locations.txt - this host is only available on HTTPS.
Regenerates certs using `./mach python build/pgo/genpgocert.py` command.
Sets network.dns.native-is-localhost pref in test so we don't trigger assertion.

Differential Revision: https://phabricator.services.mozilla.com/D94005
2020-10-20 10:26:41 +00:00
Simon Giesecke 598b5e38b3 Bug 1633469 - Propagate failure of Dispatch in GetSubscriptionCallback::OnPushSubscription. r=jstutte
Differential Revision: https://phabricator.services.mozilla.com/D94077
2020-10-20 09:19:07 +00:00
Marco Bonardo 07da59cdfc Bug 1637745 - Test. r=Gijs
Depends on D80345

Differential Revision: https://phabricator.services.mozilla.com/D80346
2020-10-20 09:05:59 +00:00
Nicolas Silva 41bda13c88 Bug 1671289 - Improve WebRender's integrated profiler. r=gw
In a (large-ish) nutshell:

 - Consolidate all counters under a single type.
 - Counters are all arranged in an array and referred to via index.
 - All counters can be displayed as average+max (float/int), graph, and change indicator.
 - Specify what to show and in what form via a pref.
 - All counters and visualizations support not having values every frame.
 - GPU time queries visualization is easier to read relative to the frame budget:
  - If the maximum value is under 16ms, the right side of the graph is fixed at 16ms.
  - If the maximum value is above 16ms, draw a vertical bar at 16ms.
 - Added a few new profile counters:
  - Total frame CPU time (from API send to the end of GPU command submission).
  - Visibility, Prepare, Batching and Glyph resolve times.

The main change is how profile counters are represented. Instead of having different types for different visualizations, every counter is represented the same way, tracking average/max values over half a ms and optionally recording a graph over a number of frames. Counters are stored in a vector and referred to via index (See constants at the top of profiler.rs).
The main motivation for this storage is to facilitate adding counters without having to think too much about where to store them and how to pass them to the renderer.

The profiler's UI is defined by a string with with a single syntax:
 - Comma separated list of tokens (leading and trailing spaces ignored), which can be:
  - A counter name:
   - If prefixed with a '#' character, the counter is shown as a graph.
   - If prefixed with a '*' character, the counter is shown as a change indicator
   - By default (counter name without prefix), the counter is shown as average and max over half a second.
  - A preset name:
   - A preset is a builtin UI string in the same syntax that can be nested in the main UI string.
   - Presets are defined towards the top of profiler.rs and can also refer to other presets.
  - An empty token adds a  bit of vertical space.
  - A '|' token begins a new column.
  - A '_' token begins a new row.

Differential Revision: https://phabricator.services.mozilla.com/D93603
2020-10-20 08:54:04 +00:00
Valentin Gosu db3e003790 Bug 1672115 - Fix genpgocert.py r=keeler
Error:
```
$ ./mach python build/pgo/genpgocert.py
Traceback (most recent call last):
  File "build/pgo/genpgocert.py", line 208, in <module>
    certificateStatus = constructCertDatabase(build, certdir)
  File "build/pgo/genpgocert.py", line 99, in constructCertDatabase
    openssl = distutils.spawn.find_executable("openssl")
AttributeError: module 'distutils' has no attribute 'spawn'
```

Differential Revision: https://phabricator.services.mozilla.com/D94006
2020-10-20 08:34:02 +00:00
Julian Descottes c745b4fa8e Bug 1671973 - [devtools] Add a test to check that DevTools forceReload bypasses the cache r=nchevobbe
This is a test for the bug fix that landed in https://bugzilla.mozilla.org/show_bug.cgi?id=1671959

A new test is added, forked from devtools/client/framework/test/browser_toolbox_window_reload_target.js
Most of the testReload helper from the original test is moved to the head.js of the folder.

The new test relies on a simple sjs file which simply prints the value of the cache-control header.

Differential Revision: https://phabricator.services.mozilla.com/D94041
2020-10-20 07:53:48 +00:00
Cameron McCormack 2183a1b4d7 Bug 1671860 - Add tests for other historical SVG interfaces. r=longsonr
Differential Revision: https://phabricator.services.mozilla.com/D94066
2020-10-20 07:18:08 +00:00
Cameron McCormack 7a0a9c4766 Bug 1671860 - Check that SVGCursorElement is not implemented. r=boris
The <cursor> element was removed from the SVG 2 spec and from Blink
~four years ago, and was never implemented in Gecko.

Differential Revision: https://phabricator.services.mozilla.com/D93903
2020-10-20 07:18:08 +00:00
Andreas Pehrson ce0e1a41eb Bug 1671931 - Remove some `using` keywords and set up typedefs in VideoOutput.h. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D94055
2020-10-19 23:14:41 +00:00
Andreas Pehrson 648a59a37c Bug 1671931 - Let VideoOutput roll its own FrameID generator. r=bwc
There is a case where two VideoOutputs are feeding the same VideoFrameContainer
with data: VideoStreamTrack::AddVideoOutput(VideoFrameContainer) and
VideoStreamTrack::AddVideoOutput(FirstFrameVideoOutput) in HTMLMediaElement.
This is racy since they both call VideoFrameContainer::NewFrameID().

These VideoOutputs use different ProducerIDs however, so it makes sense for them
to also use separate FrameID generators.

Differential Revision: https://phabricator.services.mozilla.com/D94054
2020-10-19 23:14:34 +00:00
Valentin Gosu 56e20d4de5 Bug 1324247 - Strip whitespace from hash in URL setters r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D93472
2020-10-16 07:11:55 +00:00
Valentin Gosu 1756a71ac0 Bug 1324247 - Strip whitespace from queries in URL setters r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D93471
2020-10-16 07:11:42 +00:00
Valentin Gosu 64c7493cd9 Bug 1660968 - Remove uses of GetInProcessScriptableTop in WebSocketImpl::GetLoadingPrincipal r=baku
This change also simplifies the code a bit.
Also, as BrowsingContext::GetOpener returns null when there's no opener,
we don't have to check whether the opener and innerWindow are the same.

Differential Revision: https://phabricator.services.mozilla.com/D93219
2020-10-19 12:07:00 +00:00
Mihai Alexandru Michis 25d5a4443a Backed out changeset 08f400e9b07d (bug 1671535) for causing reftest failures in image-10bits-rendering-90-video.html
CLOSED TREE
2020-10-20 10:29:53 +03:00
Jean-Yves Avenard 8d26b4c087 Bug 1671888 - Add VP9 HDR refrest. r=mattwoodrow
The purpose for those reftest at present isn't to verify that our image conversion is correct (it isn't), just that decoding produce something not completely broken

Differential Revision: https://phabricator.services.mozilla.com/D94065
2020-10-20 04:19:10 +00:00
Jean-Yves Avenard 59304c981e Bug 1671535 - Add 10 bits reftest with filter applied. r=mattwoodrow
This allows to test our readback implementation across platforms.

Differential Revision: https://phabricator.services.mozilla.com/D93716
2020-10-20 04:24:58 +00:00
Cosmin Sabou 9057e3c41b Backed out changeset 7a41ed3a5447 (bug 1671535) as requested by jya for pushing the wrong version. 2020-10-20 07:22:21 +03:00
Matthew Gregan e8e81448ef Bug 1669408 - Enable AudioIPC for 32-bit Windows. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D92541
2020-10-06 05:02:31 +00:00
Cosmin Sabou b8fd79f461 Backed out 5 changesets (bug 1644624, bug 1671555) for windows shippable bustage.
Backed out changeset fee83fc16940 (bug 1644624)
Backed out changeset afb2a7ff532c (bug 1671555)
Backed out changeset 609ac687f7e3 (bug 1644624)
Backed out changeset d91db0801099 (bug 1644624)
Backed out changeset ce09ad625b53 (bug 1644624)
2020-10-20 06:52:09 +03:00
Jean-Yves Avenard de1260940f Bug 1671535 - Add 10 bits reftest with filter applied. r=mattwoodrow
This allows to test our readback implementation across platforms.

Differential Revision: https://phabricator.services.mozilla.com/D93716
2020-10-20 01:25:59 +00:00
Jean-Yves Avenard 383d41acab Bug 1671863 - Skip reftest on mingw platform. r=heycam
The RDD doesn't start on MinGW and so the AV1 decoder isn't available.

Differential Revision: https://phabricator.services.mozilla.com/D93909
2020-10-20 02:46:28 +00:00
Ted Campbell 4745b6c613 Bug 1672065 - Fix lineno/column for synthesized JS class constructors. r=arai
Ensure that different ways of generating class constructors use a consistent
definition of lineno/column that points to the `class` token.

For runtime-generated constructors, we ensure the SrcNotes location is
synchronized before emitting ClassConstructor/DerivedConstructor opcodes.
This ensures the `pc` lookup at runtime computes the right value.

For synthesized constructors (that are currently required if fields are
used), we now use the class start position instead of the class end position
for consistency with the runtime-generated versions.

Differential Revision: https://phabricator.services.mozilla.com/D94058
2020-10-19 23:29:54 +00:00