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

96854 Коммитов

Автор SHA1 Сообщение Дата
Dorel Luca 9ca588da3e Backed out changeset 13bb2d007f1f (bug 1622846) for Build bustage on android. CLOSED TREE 2020-10-19 19:28:27 +03:00
Bryce Seager van Dyk 8449f6d2b3 Bug 1671477 - Add profile markers and logs to help diagnose failures in WMF decoding. r=alwu
We have reports of VPx WMF failures in the wild causing performance issues, but
it can be hard to detect these failures. Having explicit markers in the profiler
with more information will make it easier to see if users are running into these
issues if they can provide profiles. I've also added logs to enrich cases where
we will use logging to debug.

Driveby fix a comment that says we're asserting when we no longer are.

Differential Revision: https://phabricator.services.mozilla.com/D93672
2020-10-19 14:41:11 +00:00
Dorel Luca b77a4cd190 Backed out changeset b64cb312c05b (bug 1671477) for Build bustage on Android. CLOSED TREE 2020-10-19 19:23:29 +03:00
Andreas Pehrson 8b6f27b098 Bug 1582294 - Implement MediaStreamTrackSource::HasAlpha for HTMLCanvasElement sources. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D92900
2020-10-16 19:20:20 +00:00
Andreas Pehrson d1aeaca86a Bug 1582294 - Implement MediaStreamTrackSource::HasAlpha for MediaDecoder sources. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D92899
2020-10-19 15:35:29 +00:00
Andreas Pehrson d5227f851c Bug 1582294 - Set up HTMLMediaElement to convey video track alpha channel when playing a MediaStream. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D92898
2020-10-19 15:35:13 +00:00
Byron Campen [:bwc] 7c4942b547 Bug 1626278: Shutdown MediaTransportHandlerSTS on profile-change-net-teardown. Also add some logging. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D93655
2020-10-19 15:13:55 +00:00
Byron Campen [:bwc] c3182f0329 Bug 1626278: Remove transports from main, just like we do under normal circumstances. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D93262
2020-10-15 20:31:13 +00:00
Byron Campen [:bwc] f6dd76e473 Bug 1626278: Ensure that pcid is unique. r=mjf
This fixes a failure in browser_WebrtcGlobalInformation.js on windows opt.

Differential Revision: https://phabricator.services.mozilla.com/D93261
2020-10-15 20:31:10 +00:00
Byron Campen [:bwc] e6969a8105 Bug 1626278: Move sigslot stuff to STS, and ensure we disconnect before releasing our ref to the MediaTransportHandler. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D90626
2020-10-15 20:27:35 +00:00
Byron Campen [:bwc] caa58b2223 Bug 1626278: Stash for ICE logs, and move log filtering into a single place. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D89677
2020-10-15 20:27:53 +00:00
Byron Campen [:bwc] 789c175c1a Bug 1626278: Filter stats for closed PeerConnections the same way we do for live ones. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88498
2020-10-15 20:18:10 +00:00
Byron Campen [:bwc] 02a62e624e Bug 1626278: Add a stats stash to WebrtcGlobalInformation, to avoid stats from being lost when a content process goes away. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88497
2020-10-15 20:15:48 +00:00
Byron Campen [:bwc] 6fabb4ea9d Bug 1626278: Simplify/promisify PWebrtcGlobal. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D88496
2020-10-15 20:18:08 +00:00
Byron Campen [:bwc] ba4aa19c91 Bug 1626278: Use NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_DESTROY to ensure that MediaTransportHandler stays around long enough to finish pending stats queries. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D87180
2020-10-15 20:08:05 +00:00
Dzmitry Malyshau 84fe9a5693 Bug 1622846 - WebGPU new mapping API r=webidl,jgilbert,smaug
This PR updates wgpu to 64ae59072d
It has a number of things (API updates, correctness fixes, etc), but the biggest part is the new mapping API.

Differential Revision: https://phabricator.services.mozilla.com/D92636
2020-10-19 15:08:55 +00:00
Simon Giesecke 64de9bfc62 Bug 1671897 - Fix test naming. r=janv,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94013
2020-10-19 15:00:55 +00:00
Bryce Seager van Dyk 76c3e94c96 Bug 1671477 - Add profile markers and logs to help diagnose failures in WMF decoding. r=alwu
We have reports of VPx WMF failures in the wild causing performance issues, but
it can be hard to detect these failures. Having explicit markers in the profiler
with more information will make it easier to see if users are running into these
issues if they can provide profiles. I've also added logs to enrich cases where
we will use logging to debug.

Driveby fix a comment that says we're asserting when we no longer are.

Differential Revision: https://phabricator.services.mozilla.com/D93672
2020-10-19 14:41:11 +00:00
Simon Giesecke 855223cb72 Bug 1671897 - Add QM_DIAGNOSTIC_ASSERT_UNREACHABLE and define QM_*_ASSERT_UNREACHABLE only when the assert level is active. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D93923
2020-10-19 12:43:13 +00:00
smolnar d7f403a6cc Backed out 2 changesets (bug 1631476) for causing reftest failures. CLOSED TREE
Backed out changeset 22d52c012fd0 (bug 1631476)
Backed out changeset ca9c321d4225 (bug 1631476)
2020-10-19 14:54:05 +03:00
Butkovits Atila fa26555988 Backed out changeset d2a1d34fe1f2 (bug 1671897) for causing bustage on TestQuotaCommon.cpp. CLOSED TREE 2020-10-19 13:38:34 +03:00
Simon Giesecke 4307cfe954 Bug 1663924 - Use IDB_TRY in DatabaseOperationBase::DeleteObjectStoreDataTableRowsWithIndexes. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D93781
2020-10-19 10:09:21 +00:00
Simon Giesecke 215a605883 Bug 1663924 - Use IDB_TRY in DatabaseOperationBase::UpdateIndexValues. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D92782
2020-10-19 10:09:07 +00:00
Simon Giesecke 2a6638554f Bug 1663924 - Replace output parameters of KeyPath::Parse by return value. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D91167
2020-10-19 10:08:54 +00:00
Simon Giesecke 5dc92a10e3 Bug 1663924 - Refactor DatabaseConnection::UpdateRefcountFunction::WillCommit. r=dom-workers-and-storage-reviewers,ttung
Convert DatabaseFunction class into lambda expression, and make more use of IDB_TRY.

Differential Revision: https://phabricator.services.mozilla.com/D91297
2020-10-19 10:08:33 +00:00
Simon Giesecke 7f38fd0f09 Bug 1671897 - Add QM_DIAGNOSTIC_ASSERT_UNREACHABLE and define QM_*_ASSERT_UNREACHABLE only when the assert level is active. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D93923
2020-10-19 09:29:58 +00:00
smolnar eba1c00fcf Backed out 2 changesets (bug 1346880) for causing audio failures. CLOSED TREE
Backed out changeset 7c0018c583b5 (bug 1346880)
Backed out changeset 4e7a614b30f8 (bug 1346880)
2020-10-19 13:07:51 +03:00
Edgar Chen 8091754168 Bug 1669673 - Part 3: Wrap manual wpt pointerevent_drag_interaction-manual.html into mochitest test; r=smaug
Depends on D93296

Differential Revision: https://phabricator.services.mozilla.com/D93295
2020-10-19 09:22:45 +00:00
Edgar Chen 8d1634d001 Bug 1669673 - Part 1: setPointerCapture shoult not make a draggable element to be undraggable; r=smaug
See https://w3c.github.io/pointerevents/#the-pointercancel-event.

Differential Revision: https://phabricator.services.mozilla.com/D93294
2020-10-16 15:28:12 +00:00
Andreas Pehrson 9501bbf843 Bug 1631476 - Don't let CanvasRenderingContext2D::EnsureTarget lead to frame capture. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D93066
2020-10-19 07:48:32 +00:00
Christoph Kerschbaumer 390f3eecff Bug 1671720: HTTPS-Only Mode: Query if channel is auth only if we can query nsIHttpChannelInternal. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D93910
2020-10-19 09:05:12 +00:00
Paul Adenot 307c6e1733 Bug 1346880 - Test that a muted tab that plays audio via the Web Audio API is really muted using PulseAudio monitoring devices. r=pehrsons,alwu
Differential Revision: https://phabricator.services.mozilla.com/D93653
2020-10-19 08:45:04 +00:00
Paul Adenot fb3387d796 Bug 1346880 - Always initialize an AudioChannelAgent when initializing an AudioContext. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D92644
2020-10-19 08:45:04 +00:00
Kagami Sascha Rosylight 1aea01d4ff Bug 1615296 - Part 1: Remove MOZ_CAN_RUN_SCRIPT_BOUNDARY from Selection::Collapse r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D93598
2020-10-16 22:22:48 +00:00
Michael Kaply f0ac540cc4 Bug 1279647 - Switch titlebar and tooltip separators to emdash. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D93620
2020-10-15 20:00:28 +00:00
Dorel Luca 2aec5b3017 Backed out changeset ebe668f9d3dd (bug 1671477) for Build bustages. CLOSED TREE 2020-10-16 23:33:54 +03:00
Bryce Seager van Dyk cc05c909ab Bug 1671477 - Add profile markers and logs to help diagnose failures in WMF decoding. r=alwu
We have reports of VPx WMF failures in the wild causing performance issues, but
it can be hard to detect these failures. Having explicit markers in the profiler
with more information will make it easier to see if users are running into these
issues if they can provide profiles. I've also added logs to enrich cases where
we will use logging to debug.

Driveby fix a comment that says we're asserting when we no longer are.

Differential Revision: https://phabricator.services.mozilla.com/D93672
2020-10-16 19:28:36 +00:00
Simon Giesecke dca2f401ab Bug 1671345 - Fix invalid C++ code w.r.t. parameter pack expansion in lambda capture in IDBResult.h. r=dom-workers-and-storage-reviewers,asuth
Also remove workaround for XGILL_PLUGIN.

Differential Revision: https://phabricator.services.mozilla.com/D93648
2020-10-16 15:45:20 +00:00
Emilio Cobos Álvarez 9cad68877b Bug 1670876 - Add support for printing selection in shadow dom. r=nordzilla
Recursive the things all :^)

The fix to the "corresponding node" bits in Document.cpp should be
pretty straight-forward. The fix in nsPrintJob is a bit more subtle:

The way printing selection works is literally "select everything else,
then call Selection.deleteFromDocument on that". We need to do the same
with shadow DOM, which involves skipping over shadow trees, and dealing
with selecting bits in ancestor trees as needed.

Note that for multi-range-selection case this technically relies on the
order of the ranges being shadow-tree-inclusive. We don't support
multi-range selection in shadow dom well, afaict, but I've added a
comment to the code to that effect.

Differential Revision: https://phabricator.services.mozilla.com/D93357
2020-10-16 17:36:37 +00:00
Bogdan Tara 2df6edfdf1 Backed out 3 changesets (bug 1669673) for test_pointerevent_drag_interaction-manual.html failures
Backed out changeset 3150ac63c05e (bug 1669673)
Backed out changeset 6bc4e4281e96 (bug 1669673)
Backed out changeset a28ad4aebb13 (bug 1669673)
2020-10-16 18:24:21 +03:00
Edgar Chen 6ecb24d4d2 Bug 1669673 - Part 3: Wrap manual wpt pointerevent_drag_interaction-manual.html into mochitest test; r=smaug
Depends on D93296

Differential Revision: https://phabricator.services.mozilla.com/D93295
2020-10-15 23:08:28 +00:00
Edgar Chen fd2c481654 Bug 1669673 - Part 1: setPointerCapture shoult not make a draggable element to be undraggable; r=smaug
See https://w3c.github.io/pointerevents/#the-pointercancel-event.

Differential Revision: https://phabricator.services.mozilla.com/D93294
2020-10-16 12:27:55 +00:00
smolnar de60aa270b Bug 1638396 - add backed changes test_file_os_delete.html CLOSED TREE 2020-10-16 16:59:37 +03:00
smolnar a3756e9077 Backed out changes to dom/indexedDB/test/browser_* from bug 1638396 because they depend on a preference which is disabled by default. CLOSED TREE 2020-10-16 16:31:20 +03:00
Simon Giesecke 1517059ce0 Bug 1638396 - Generate keys per database. r=dom-workers-and-storage-reviewers,jcj,janv
Differential Revision: https://phabricator.services.mozilla.com/D77020
2020-10-16 11:09:36 +00:00
Simon Giesecke 10ec0e2f11 Bug 1638396 - Integrate blob encryption in private browsing mode. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D75588
2020-10-16 10:50:03 +00:00
Simon Giesecke 62839c5f60 Bug 1638396 - Enable support for IndexedDB in private browsing mode. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D75586
2020-10-16 10:50:01 +00:00
Bob Owen e9515cbc26 Bug 1654477 P5: Add crashtest to trigger texture handle open failures. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D93674
2020-10-16 10:57:16 +00:00
Johann Hofmann 24583a21f2 Bug 1623920 - Restrict window.stop with nsDocShell::IsNavigationAllowed. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D72113
2020-10-16 09:31:31 +00:00
Masayuki Nakano 053daa2052 Bug 1627924 - Make `HTMLEditor::HideGrabberInternal()` reset dragging state r=emilio
When the grabber to move absolutely positioned element is disabled,
`HTMLEditor::HideGrabberInternal()` is called to delete it.  However,
it does not reset dragging state.  Therefore, `mousemove` event listener
will try to handle drag even after the grabber is removed.

This patch makes `HideGrabberInternal()` reset the dragging state to
make the event listener stop handling the drag action.

However, I hit a buggy assertion in `EventStateManager`.  It tries to
set active state to parent of the grabber (in this case, absolutely positioned
element).  However, editable element in `contenteditable` cannot have
active state.  Therefore, `leaf` becomes `nullptr`, but `newleaf` is the
absolutely positioned element.  Therefore, this patch adds this condition
into the `MOZ_ASSERT`.

Differential Revision: https://phabricator.services.mozilla.com/D93632
2020-10-16 02:34:15 +00:00