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

714091 Коммитов

Автор SHA1 Сообщение Дата
Nika Layzell c37b54fe0d Bug 1646088 - Part 3: Add a test for slow process switches, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D79890
2020-06-18 18:51:58 +00:00
Nika Layzell 35d7a8696d Bug 1646088 - Part 2: Create ScriptableCPInfo in the constructor, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D79889
2020-06-18 18:51:56 +00:00
Nika Layzell 7c209a23b1 Bug 1646088 - Part 1: Keep processes alive during process switches, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D79888
2020-06-18 18:51:54 +00:00
Francesco Lodolo (:flod) 38047e5079 Bug 1647291 - Add "ie" to localization comment for browser data types r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D80445
2020-06-22 14:24:16 +00:00
Jean-Yves Avenard 4e20dd6e65 Bug 1646054 - P2. Always retain dispatch flags r=froydnj
When TaskQueue was first conceived; it was only used with AbstractThreads and with tail dispatch.
By default, AbstractThread::Dispatch dropped the flags , as it was dispatching all tasks via the tail dispatcher.

It was an oversight, there's no use-case where we wouldn't want the dispatch flags to be carried forward.

It also simplifies the code and TaskQueue's use.

Depends on D80351

Differential Revision: https://phabricator.services.mozilla.com/D80352
2020-06-22 13:55:23 +00:00
Jean-Yves Avenard ea34205395 Bug 1646054 - P1. Remove EventTargetWrapper class. r=froydnj
We also establish the intent of bug 1602167 on the TaskQueue object

Differential Revision: https://phabricator.services.mozilla.com/D80351
2020-06-22 13:55:21 +00:00
Noemi Erli e1d7f7bcaf Backed out changeset ed1fd081cc06 (bug 1642193) for causing wpt failures CLOSED TREE 2020-06-22 17:46:53 +03:00
Andrea Marchesini 7468c2f663 Bug 1642667 - Isolate alt-srv and connection pool per first-party when privacy.partition.network_state is set to true - part 2 - tests, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78083
2020-06-22 11:03:24 +00:00
Andrea Marchesini f8ef231ebd Bug 1642667 - Isolate alt-srv and connection pool per first-party when privacy.partition.network_state is set to true - part 1 - implementation, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78082
2020-06-11 22:01:51 +00:00
Emilio Cobos Álvarez 9541790d6a Bug 1646776 - Add some logging for sheet cache misses for the same URI. r=heycam
This makes it easy to see why your test is not failing without your
patch, for example ;)

Note that we log only when the URIs are the same, which
I think is a reasonable compromise in verbosity.

Differential Revision: https://phabricator.services.mozilla.com/D80288
2020-06-22 10:48:44 +00:00
Emilio Cobos Álvarez 570c737116 Bug 1646776 - Clean up HTMLLinkElement::CheckPreloadAttrs. r=smaug
This is just cleanup while I was going through this code.

Differential Revision: https://phabricator.services.mozilla.com/D80287
2020-06-21 19:50:28 +00:00
Alex Chronopoulos 1de9bc130a Bug 1493990 - Return a null device id when the device is the default one. r=jib.
When the default sink (sink-id equal to an empty string) has been requested,  null device-id is returned. The device-id is propagated all the way down to cubeb. When cubeb is configured with null device-id the default device is chosen. In addition to that, on default device change the new default will be followed. This aligns with the expected behavior for the default sink.

Differential Revision: https://phabricator.services.mozilla.com/D77810
2020-06-12 15:18:53 +00:00
Alex Chronopoulos 4e982cf82c Bug 1493990 - Enable sink change in the srcObject of HTMLMediaElement. r=padenot
The SetSinkId method of HTMLMediaElement has been enhanced to handle the sink change when the element is sourced with a MediaObject through the srcObject attribute. It makes use in the corresponding method of AudioStreamTrack taking into account the AudioOutput and Volume that has to be removed and re-added to the right track.

Differential Revision: https://phabricator.services.mozilla.com/D77809
2020-06-18 14:05:28 +00:00
Alex Chronopoulos a5751a189f Bug 1493990 - Enhance AudioStreamTrack to set output device and handle the connection between different graphs. r=padenot
A new method has been added in AudioStreamTrack to allow the change of the output device. Also, the methods that add/remove the AudioOutput or Volume have been enhanced to use the CrossGraphManager, when available, in order to set the AudioOutput or volume to the correct MediaTrack.

Differential Revision: https://phabricator.services.mozilla.com/D77808
2020-06-12 14:03:30 +00:00
Alex Chronopoulos 4a4c9eae75 Bug 1493990 - Create two new MediaTrack able to transfer the audio data between different threads. r=padenot.
The name of the two new tracks is CrossGraphTransmitter and CrossGraphReceiver. They are used together to transfer the audio data of the transmitter to the receiver which belongs to different MTG. In addition to that a CrossGraphManager class has been created that creates the connection between the transmitter and the receiver and can redirect to the correct track some operations like the volume change etc.

Differential Revision: https://phabricator.services.mozilla.com/D77807
2020-06-18 13:58:06 +00:00
James Graham bdb75d4b17 Bug 1646593 - Update metadata for ccov, r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D80443
2020-06-22 13:20:44 +00:00
Henri Sivonen 4b3e6115bf Bug 1644768 - Avoid OOM when serializing large 8-bit-code-unit text nodes. r=mbrodesser
Differential Revision: https://phabricator.services.mozilla.com/D79270
2020-06-22 12:49:38 +00:00
Dan Minor 1116efcc34 Bug 1646092 - Do not add ssrc-group to sdp on recvonly msections; r=bwc
Chrome will not accept sdp with ssrc-group:FID on recvonly msections, causing
calls to fail to be established between Firefox and Chrome when only a
microphone is present on the Firefox side.

Differential Revision: https://phabricator.services.mozilla.com/D80034
2020-06-22 12:32:16 +00:00
Emilio Cobos Álvarez ebb721dcf8 Bug 1647058 - Fix an off-by-one in an URL creation optimization. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D80401
2020-06-22 12:51:58 +00:00
Tom Schuster 14e11edbf8 Bug 1647114 - Actually don't unbox numbers when transpiling GuardToTypedArrayIndex. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D80396
2020-06-22 08:16:40 +00:00
VandanRogheliya 9150fd0d56 Bug 1645191 - Replace `browsertime-benchmark` with `benchmark` type. r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D80052
2020-06-22 12:01:59 +00:00
Tim Huang 1d1ef81356 Bug 1645997 - Use BrowsingContext to get the top-level window context in PermissionDelegateHandler.cpp r=baku
We used the Document::GetWindowContext() to get the window context
related to the doucment. But, this could return a nullptr if the
document is detached from the window or the docuemnt is destoried.

We move to use the BrowsingContext instead which won't return a nullptr
in these cases.

Differential Revision: https://phabricator.services.mozilla.com/D79897
2020-06-19 12:31:29 +00:00
Henri Sivonen 99d1a9e272 Bug 1643708 - Increase wait times for focus-restoration-in-different-site-iframes.html. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D80048
2020-06-22 10:36:38 +00:00
Nicolas Chevobbe 1e9044a708 Bug 1646633 - Fix intermittent on browser_storage_cache_error.js. r=jdescottes,ochameau.
This patch removes the browsingContextID getter in favor of creating a property
on the instance in the constructor.
The getter was an attempt to handle the fact that we can have multiple browsing
context over time, but it wasn't working that well, so we'll tackle that as
part of Bug 1625027.

Differential Revision: https://phabricator.services.mozilla.com/D80151
2020-06-22 11:36:32 +00:00
Csoregi Natalia d934cffb58 Bug 1640234 - Disabled browser_application_panel_target-switching.js on Linux and Windows. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D80431
2020-06-22 11:24:35 +00:00
Kershaw Chang 8b4b65b57c Bug 1642193 - Add new flags to see if premature abort events are already dispatched r=baku
Differential Revision: https://phabricator.services.mozilla.com/D78901
2020-06-19 12:32:25 +00:00
Bob Owen 9594760b33 Bug 1644575 part 2: Remove now unused SFNT* files and functions. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D80429
2020-06-22 12:19:56 +00:00
Bob Owen 96bf0011e8 Bug 1644575: Change SFNTData::GetUniqueKey to use a hash of head tables within the font data. r=jfkthame
This is used instead of hashing the first full name.

Differential Revision: https://phabricator.services.mozilla.com/D80412
2020-06-22 12:19:39 +00:00
Ted Campbell 46b9b28572 Bug 1642708 - Remove generated BinAST tests. r=arai CLOSED TREE
Remove the following directories:
  js/src/jsapi-tests/binast/
  js/src/jit-test/tests/binast/

These tests were largely auto-generated and can be reproduced in the future
using an updated encoder.
2020-06-17 18:37:44 -04:00
Noemi Erli bbe92cb7fa Backed out 7 changesets (bug 1642629) for causing multiple failures and crashes CLOSED TREE
Backed out changeset 325a298e5e11 (bug 1642629)
Backed out changeset 2195069a75c9 (bug 1642629)
Backed out changeset a076f17ed2da (bug 1642629)
Backed out changeset 073fe13cd98b (bug 1642629)
Backed out changeset 88dd02d36e0d (bug 1642629)
Backed out changeset 683b75cdd3c4 (bug 1642629)
Backed out changeset 33d6d6b9097d (bug 1642629)
2020-06-22 15:10:18 +03:00
Emilio Cobos Álvarez f81ececcb9 Bug 1646224 - Fix a typo in windows-only code.
MANUAL PUSH: a11y orange

CLOSED TREE
2020-06-22 13:13:27 +02:00
Corentin Arnould 5d8eb750cd Bug 1615130 - Fix uninitialized data. r=padenot
Values are set to 0 by default rather than uninitialized. It is useful when JSContext is null.

Differential Revision: https://phabricator.services.mozilla.com/D79986
2020-06-22 10:21:40 +00:00
Masayuki Nakano 8243db7082 Bug 1646296 - part 7: Make `WSRunScanner::InitializeRange*()` template methods r=m_kato
Depends on D79971

Differential Revision: https://phabricator.services.mozilla.com/D79972
2020-06-22 08:12:37 +00:00
Emilio Cobos Álvarez b9b9e38dd9 Bug 1646224 - Use mozilla::Length rather than nscoord to store font sizes. r=heycam,jfkthame
This avoids arbitrary precision loss when computing REM units and so on,
which is particularly important if we ever change the base of our app
units (but useful regardless).

Differential Revision: https://phabricator.services.mozilla.com/D79928
2020-06-22 09:45:40 +00:00
Tom Tung edecee7890 Bug 1645495 - Split up browser_timing_precision_cross_origin_isolated.js into different tests; r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D80364
2020-06-22 09:33:06 +00:00
Masayuki Nakano 196304c105 Bug 1646296 - part 6: Make `WSRunScanner::InitializeRange*()` stop using the loops which are rarely run twice and more r=m_kato
With the previous patches, we know that the loops in
`WSRunScanner::InitializeRangeStart()` and `WSRunScanner::InitializeRangeEnd()`
rarely run twice and more.  Therefore, we can make use recursive calls instead
of the loop.

Depends on D79970

Differential Revision: https://phabricator.services.mozilla.com/D79971
2020-06-22 06:05:16 +00:00
Simon Giesecke 8d168248fa Bug 1645386 - Use nsTObserverArray::NonObservingRange where possible instead of ForwardRange. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D79507
2020-06-22 08:21:24 +00:00
Simon Giesecke 3a2ac50dc4 Bug 1645360 - Rename RemoveElementsBy to NonObservingRemoveElementsBy. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D79488
2020-06-22 08:20:57 +00:00
Simon Giesecke f74c1b7be0 Bug 1645339 - Use range-based for with nsTObserverArray in layout/style. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D79506
2020-06-22 08:44:05 +00:00
Simon Giesecke f6501cbc98 Bug 1645339 - Use range-based for with nsTObserverArray in dom/debugger. r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D79500
2020-06-22 08:37:47 +00:00
Csoregi Natalia aec20399f5 Backed out changeset a0af6d53c082 (bug 1639284) for multiple failures e.g. browser_asrouter_whatsnewpanel.js CLOSED TREE 2020-06-22 12:20:39 +03:00
Nicolas Silva 7036817d6e Bug 1642629 - Recycle FrameVisibilityState's clip_chain_stack and surface_stack. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D80193
2020-06-22 08:51:10 +00:00
Nicolas Silva 178669f284 Bug 1642629 - Reserve items in SegmentBuilder before simple loops. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D80192
2020-06-22 08:50:50 +00:00
Nicolas Silva 7564409e4a Bug 1642629 - Recycle shared clips allocation in picture.rs. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D80178
2020-06-22 08:50:38 +00:00
Nicolas Silva de3b9e9e20 Bug 1642629 - Regroup recycled data structures into scratch buffers. r=gw
This change just restructures the recycling added in previouscommits.

Differential Revision: https://phabricator.services.mozilla.com/D80096
2020-06-22 08:54:49 +00:00
Nicolas Silva 65dd685282 Bug 1642629 - Recycle dirty_region_stack in FrameBuilder. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D79858
2020-06-22 08:54:49 +00:00
Nicolas Silva 64e4930c6f Bug 1642629 - Recycle a couple of vectors in PictureUpdateState. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D79857
2020-06-22 08:49:35 +00:00
Nicolas Silva ebb2b1e263 Bug 1642629 - Recycle the surface info vector in frame building. r=gw
This vector is usually small, but on some pages it can be fairly large (500+ in https://forum.xda-developers.com/redmi-note-3/development for example).

Differential Revision: https://phabricator.services.mozilla.com/D79855
2020-06-22 08:49:13 +00:00
Farooq AR 0884c9f3ce Bug 1636421 - Refactor response panel styles into separate file. r=Honza,bomsy
Depends on D80336

Differential Revision: https://phabricator.services.mozilla.com/D80337
2020-06-21 15:14:29 +00:00
Farooq AR 2aa84458db Bug 1636421 - Merge Message panel with the Response panel. r=Honza,bomsy
MessagesPanel is now MessagesView and it is now rendered in Response panel instead of TabboxPanel.

Depends on D80335

Differential Revision: https://phabricator.services.mozilla.com/D80336
2020-06-21 15:16:08 +00:00