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

794251 Коммитов

Автор SHA1 Сообщение Дата
Kagami Sascha Rosylight 2b5d45e396 Bug 1768189 - Part 6: Apply modernize-concat-nested-namespaces to dom/bindings/RootedDictionary.h ... r=andi
Depends on D145739

Differential Revision: https://phabricator.services.mozilla.com/D145740
2022-05-09 20:41:05 +00:00
Kagami Sascha Rosylight ccd8a17bd4 Bug 1768189 - Part 5: Apply modernize-concat-nested-namespaces to dom/base/nsNodeInfoManager.h ... r=andi
Depends on D145738

Differential Revision: https://phabricator.services.mozilla.com/D145739
2022-05-09 20:41:05 +00:00
Kagami Sascha Rosylight 469b0c1c65 Bug 1768189 - Part 4: Apply modernize-concat-nested-namespaces to dom/base/TimeoutHandler.h ... r=andi
Depends on D145737

Differential Revision: https://phabricator.services.mozilla.com/D145738
2022-05-09 20:41:04 +00:00
Kagami Sascha Rosylight f8e0f2c6da Bug 1768189 - Part 3: Apply modernize-concat-nested-namespaces to dom/base/MessageListenerManager.h ... r=andi
Depends on D145736

Differential Revision: https://phabricator.services.mozilla.com/D145737
2022-05-09 20:41:04 +00:00
Kagami Sascha Rosylight 0dea82ac15 Bug 1768189 - Part 2: Apply modernize-concat-nested-namespaces to dom/base/DOMMozPromiseRequestHolder.h ... r=andi
Depends on D145735

Differential Revision: https://phabricator.services.mozilla.com/D145736
2022-05-09 20:41:03 +00:00
Kagami Sascha Rosylight 93477884e9 Bug 1768189 - Part 1: Apply modernize-concat-nested-namespaces to docshell/base/BrowsingContextWebProgress.h ... r=andi
Differential Revision: https://phabricator.services.mozilla.com/D145735
2022-05-09 20:41:03 +00:00
Luca Greco 6035e48afd Bug 1759300 - Cancel suspend on idle if the extension EventPage has StreamFilter instances still active. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D145257
2022-05-09 20:33:28 +00:00
Morgan Reschenberg 4e6096c73d Bug 1735101: Cache char, line coordinate info to support computing TextBounds and CharBounds in the parent process r=Jamie
Depends on D144767

Differential Revision: https://phabricator.services.mozilla.com/D143527
2022-05-09 20:30:27 +00:00
Kris Maglione 2506454b92 Bug 1729005: Recursively block parsing for parser blocking scripts. r=hsivonen
Bug 1333990 added the ability to have multiple parser blockers at the same
time, so we no longer need to guard against recursively blocking. What's more,
if we do, and skip calling `BlockParser` while it's blocked for another reason,
we still call `UnblockParser` when we receive script data, at which point we
crash.

This patch moves the XHTML parser's behavior closer in line with the HTML
parser's.

The only way I've seen this manifest as a bug is when we have an XHTML
document with a top-level <script> element, and an extension with content
scripts that cause us to block parsing when we see that top-level element and
need to wait for them to compile.

Differential Revision: https://phabricator.services.mozilla.com/D145513
2022-05-09 20:08:08 +00:00
Molly Howell a2c42daeef Bug 1765049 - Filter out illegal paths. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D145518
2022-05-09 19:27:08 +00:00
Connor Sheehan f8376594fe Bug 1768223: encoding subprocess output to utf-8 before use r=ahochheiden DONTBUILD
Since we don't encode the output, the resulting value is a `bytes`
and therefore using `"="` to split results in a `TypeError`.
Add a specified encoding to force a `str` and fix the exception.

Differential Revision: https://phabricator.services.mozilla.com/D145881
2022-05-09 18:46:43 +00:00
Marian-Vasile Laza 9bce1e6f3a Backed out changeset c5bb436ae1c9 (bug 1767200) for causing bc failures on browser_downloads_context_menu_delete_file.js. CLOSED TREE 2022-05-09 22:05:56 +03:00
Kagami Sascha Rosylight 172e33c1a3 Bug 1768486 - Disable window.sidebar by default r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D145891
2022-05-09 18:37:45 +00:00
Katherine Patenio 5e87539c25 Bug 1768201 - add seek forward and backward key shortcuts for pip on netflix. r=pip-reviewers,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D145840
2022-05-09 18:30:47 +00:00
mcheang eeb4a961fa Bug 1759207 - Display infobar when App provided default engine is removed on start-up. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D142361
2022-05-09 18:16:26 +00:00
stransky 9e36a7b2ef Bug 1756598 [Linux] Make GL context creation thread safe r=sotaro,jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D144284
2022-05-09 17:52:11 +00:00
Dimi 43e6a3ef7b Bug 1762879 - Move the timeout value to head.js r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D145703
2022-05-09 17:52:08 +00:00
Boris Chiou 9e67353d2a Bug 1768206 - Update wpt expectation for Animation.timeline setter in beta and release channels. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D145799
2022-05-09 17:49:42 +00:00
Lee Salzman da0a4a7b13 Bug 1768094 - Add more vecN_scalar friend operators to avoid some implicit conversions. r=gfx-reviewers,nical
It seems that where there is an expression of the form vecN_scalar OP float, and
friend operators OP(vecN_scalar, vecN_scalar) or OP(vecN, Float) are defined, the
compiler can't appropriately decide which implicit conversions to use to dispatch
to one operator or the other and considers them ambiguous. Add a few more friend
operators that catch these vecN_scalar OP float cases where they were missing
definitions.

Differential Revision: https://phabricator.services.mozilla.com/D145824
2022-05-09 17:45:38 +00:00
Emilio Cobos Álvarez ddadb3e680 Bug 1764435 - Fix scrollbar drawing when scrollbars are on the left. r=spohl
Our scrollbar drawing code had various RTL checks for the writing mode.

These checks were busted since bug 1554571 (where the writing-mode of
the scrollbar frames and so on is reset). However, they also wouldn't be
correct (we allow to customize scrollbar position via pref).

Instead, look at the scrollable frame to really know if the scrollbar is
on the right or not. Compute that once in Theme.cpp and pass it around
light we were doing for the "is horizontal" bit.

Differential Revision: https://phabricator.services.mozilla.com/D145865
2022-05-09 17:09:24 +00:00
Shane Hughes 56aefaf2cb Bug 1767200 - Fix Delete File on history downloads. r=Gijs
My previous patch for bug 1755570 contained an oversight that caused
problems when deleting history downloads' target files. This patch just
adds a minimal data removal method to the history download prototype,
so the DownloadElementShell methods can execute without exceptions.

Differential Revision: https://phabricator.services.mozilla.com/D145279
2022-05-09 16:23:22 +00:00
Harveer Singh f0a0926294 Bug 1740902: Remove obsolete dom.storage.abort_on_sync_parent_to_child_messages preference and related logic. r=janv,dom-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D144244
2022-05-09 16:21:05 +00:00
Norisz Fay 1ec39fabd8 Backed out changeset 8683cac48ade (bug 1763432) for causing browser-chrome failures on browser_colorwayCloset.js CLOSED TREE 2022-05-09 19:41:46 +03:00
Norisz Fay 3ab130ec64 Backed out 15 changesets (bug 1743834, bug 1765554) for causing bug 1768473
Backed out changeset 41d154330f7f (bug 1743834)
Backed out changeset f09bb9e00c17 (bug 1743834)
Backed out changeset 569b8d3a9fcd (bug 1743834)
Backed out changeset 9c37cd8faac3 (bug 1765554)
Backed out changeset 4c12bdcae40a (bug 1743834)
Backed out changeset 1155d1d6db79 (bug 1743834)
Backed out changeset ee700aa90a1b (bug 1743834)
Backed out changeset 150ecd10e53a (bug 1743834)
Backed out changeset 4076e2055960 (bug 1743834)
Backed out changeset 966ceb9947fa (bug 1743834)
Backed out changeset f604fe0f8d02 (bug 1743834)
Backed out changeset 61ec6368ddcd (bug 1743834)
Backed out changeset c0a1eaca1d90 (bug 1743834)
Backed out changeset 798e05478220 (bug 1743834)
Backed out changeset b92a638392da (bug 1743834)
2022-05-09 19:39:59 +03:00
Mike Kaply c649e0cec2 Bug 1754773 - Use new domain policy message for policy blocking. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D144834
2022-05-09 16:04:54 +00:00
Kagami Sascha Rosylight fdb6e6f9d3 Bug 1764771 - Disable IDBMutableHandle support by default r=janv,smaug
Differential Revision: https://phabricator.services.mozilla.com/D143728
2022-05-09 15:57:50 +00:00
Cosmin Sabou 15c8f0e6cb Bug 1767257 - Fix webrender bustages. r=bas CLOSED TREE 2022-05-09 18:55:43 +03:00
James Graham 4c7c19000e Bug 1767074 - Don't bind wptserve to external ip address for android, r=jdescottes
This used to be used to get access to the server from the host, but
hasn't been needed since we set up port forwarding using adb.

Differential Revision: https://phabricator.services.mozilla.com/D145135
2022-05-09 15:33:30 +00:00
Amy Churchwell 35d1aa7295 Bug 1763432 - Add colorway closet theme selector. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D145160
2022-05-09 15:23:52 +00:00
Bas Schouten ef6615b08f Bug 1767257: Migrate existing WebRender telemetry probes to use Glean directly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D145315
2022-05-09 15:23:11 +00:00
Emilio Cobos Álvarez 4ea22f7d19 Bug 1767815 - Remove shadow from windows tooltips. r=dao
Looks fairly ugly in HiDPI, and release doesn't have shadows either, so it's
probably fine.

This allows me to clean-up -moz-window-shadow, as with bug 1768278 this is the
last use in the tree.

Differential Revision: https://phabricator.services.mozilla.com/D145819
2022-05-09 15:10:24 +00:00
Luca Greco f700ba83e8 Bug 1767336 - Record extension startupCache time to load as a Glean metric mirrored into a telemetry scalar. r=chutten,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D145419
2022-05-09 14:46:42 +00:00
Luca Greco 12f8599415 Bug 1767336 - Record telemetry related to extension startupCache data size and read errors names. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D145331
2022-05-09 14:46:41 +00:00
Dmitrij Feller f5e797a969 Bug 1766725 - Fix the mRawStarTime typo in PerformancePaintTiming.r=sefeng
Differential Revision: https://phabricator.services.mozilla.com/D145128
2022-05-09 14:33:23 +00:00
Byron Campen 3a6dbeb8f4 Bug 1586109: Move RTCRtpTransceiver to c++. r=mjf,emilio
Differential Revision: https://phabricator.services.mozilla.com/D145679
2022-05-09 14:30:41 +00:00
William Durand a49109c1e3 Bug 1768428 - Check that `c_compiler` is defined in `wasm_verify_serialization_for_size`. r=rhunt
`c_compiler` appears to be undefined when we use artifact + debug mode.

Differential Revision: https://phabricator.services.mozilla.com/D145868
2022-05-09 14:26:57 +00:00
Masayuki Nakano 24cff0637d Bug 532712 - Add automated tests of white-space conversions in the mail editor mode r=m_kato
Probably, the editor's bug has already been fixed in bug 1724650 which makes
`HTMLEditor` and `WhiteSpaceVisibilityKeeper` handle white-spaces of
`white-space: pre-*` correctly.  Therefore, once Thunderbird or some other
MUAs which uses Gecko as its mail composer specify `white-space: pre-wrap`,
at least the editor will work as users expected.

This patch just adds automated tests for avoiding the regressions in Gecko-side.

Differential Revision: https://phabricator.services.mozilla.com/D145817
2022-05-09 14:21:02 +00:00
Cosmin Sabou fa2ede0aba Backed out changeset 50ba61f5cf8c (bug 1767257) for causing webrender bustages. CLOSED TREE 2022-05-09 17:31:06 +03:00
Ben Hearsum 81cdef5cba Bug 1767589: check for S_FALSE where appropriate in PinCurrentAppToTaskbar r=rkraesig
Differential Revision: https://phabricator.services.mozilla.com/D145652
2022-05-09 13:53:46 +00:00
ffxbld 8717524b50 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D145877
2022-05-09 13:47:59 +00:00
Bas Schouten 5f53bddb5e Bug 1767257: Migrate existing WebRender telemetry probes to use Glean directly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D145315
2022-05-09 13:46:51 +00:00
Emilio Cobos Álvarez a0a64c2947 Bug 1767889 - Set both picture-uri and picture-uri-dark when setting desktop background in GSettings. r=stransky
Clean up a bit the code while at it.

Differential Revision: https://phabricator.services.mozilla.com/D145559
2022-05-09 13:38:38 +00:00
Cosmin Sabou 56702f5f93 Backed out 6 changesets (bug 1726465) for causing several browser-chrome failures. CLOSED TREE
Backed out changeset 74016350f302 (bug 1726465)
Backed out changeset e7dd44d08121 (bug 1726465)
Backed out changeset 25865657dd3c (bug 1726465)
Backed out changeset f874f1a56157 (bug 1726465)
Backed out changeset 2fea5a6446f3 (bug 1726465)
Backed out changeset 0f96ac926aac (bug 1726465)
2022-05-09 17:01:17 +03:00
Mathieu Leplatre 55a0b4f06d Bug 1767458 - Remove performance counters r=gbeckley
Differential Revision: https://phabricator.services.mozilla.com/D145416
2022-05-09 13:21:08 +00:00
Paul Adenot 8573aebfe4 Bug 1743834 - Trigger the audibility event at the beginning of the initialization of an audio stream, when un-muting. r=alwu
The initialization itself can take some time and this audibility event is used
to prioritize the process, that will soon become audible, on at least Windows,
so it's better to get prioritized slightly ahead of time.

We should eventually untie audibility from priorities, but this hasn't happened
yet. Instead, we should make it so silent audio for an extended period of time
causes a shutdown of the cubeb stream, it's a lot more efficient.

Differential Revision: https://phabricator.services.mozilla.com/D145328
2022-05-09 13:20:54 +00:00
Paul Adenot 6900b5e9d0 Bug 1743834 - After unmuting, re-initialize the AudioSink asynchronously. r=alwu
On Windows (in particular, but also not quick on other OS, depending on the
hardware being used), opening a system-level audio stream (using cubeb)
can be very long. It's a blocking call from the MDSM thread. The MDSM can't
query the clock and update video frames while the stream is being opened,
resulting in the video freezing.

On the other hand, we don't want the clock starting to increase while first
starting the media, it's better to block the MDSM in this case.

This patch changes `AudioSinkWrapper::StartAudioSink` to have two modes:
- A synchronous mode for the first opening (and therefore for seeking, etc.)
- An asynchronous mode to use when the stream is unmuted: the AudioSinkWrapper
will continue to use a clock based on the system clock, until the system-level
audio stream is effectively opened, at which point it will switch to using it
for the clock.

This new mode does the initialization on a background thread, but starts the
system-level audio stream from the MDSM thread (it's fast enough and simplifies
the code a lot).

The promises are created synchronously, because this is what the MDSM expects,
but they are rejected in case of failure.

Finally, an edge case is handled: if the stream is stopped while it's being
opened asynchronously. This is detected, and instead of starting the
system-level audio stream, the stream is shut down.

Differential Revision: https://phabricator.services.mozilla.com/D145000
2022-05-09 13:20:54 +00:00
Paul Adenot e2faa2f92c Bug 1743834 - Split initialization and start in AudioSinkWrapper. r=alwu
No change in functionality, this is to prepare for the next patch that will do
the initialization asynchronously because it's expensing and blocking.

Differential Revision: https://phabricator.services.mozilla.com/D144999
2022-05-09 13:20:53 +00:00
Paul Adenot 7a75d02824 Bug 1765554 - Relax clock monotonicity assertion on Windows, for investigation. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D144195
2022-05-09 13:20:52 +00:00
Paul Adenot 78c87cfbc3 Bug 1743834 - Assert the media clock monotonicity with MOZ_ASSERT. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D143823
2022-05-09 13:20:52 +00:00
Paul Adenot db8b7abf47 Bug 1743834 - When no packet are in the queue when shutting down the AudioStream, try our best to provide timing data. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D141992
2022-05-09 13:20:52 +00:00