836155 Commits

Author SHA1 Message Date
James Graham
5562f02a7c Bug 1792090 - Move action module to remote/shared/webdriver r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D157970
2023-03-30 15:23:17 +00:00
Fred Chasen
6d0ebc445f Bug 1818819 - Enable support for forced-color-adjust property by default r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173766
2023-03-30 15:18:40 +00:00
Kagami Sascha Rosylight
67a1e4770e Bug 1538754 - Part 2: Add test for aborted fetch r=asuth
I had to split the existing test into 4 pieces because:

1. fetch() never resolves when ReadableStream never enqueues a data (https://bugzilla.mozilla.org/show_bug.cgi?id=1825373)
2. response.body.cancel() is not propagated to SW (https://bugzilla.mozilla.org/show_bug.cgi?id=1825388)

Differential Revision: https://phabricator.services.mozilla.com/D174000
2023-03-30 15:14:01 +00:00
Nika Layzell
0e64b40e0c Bug 1538754 - Consistently watch the nsIAsyncOutputStream for closure, r=asuth,saschanaz
Before these changes, there were a number of cases where it would be
possible for the pipe to be closed or otherwise encounter an error, and
for there to be a very large or potentially indefinite delay before that
error is reported to the ReadableStream.

This patch avoids changing too much of the structure of the existing
FetchStreamReader's design, while avoiding the potential pitfalls, and
ensuring that the stream is being consistently watched.

A more polished patch in the future may be able to perform a more
efficient and direct adaptation from a `ReadableStream` or
`WritableStream` to the `nsIAsyncInputStream` and `nsIAsyncOutputStream`
types, but that was not tackled here.

Differential Revision: https://phabricator.services.mozilla.com/D168481
2023-03-30 15:14:00 +00:00
Manuel Bucher
c69d4c6ee0 Bug 1825565 - Fix nsstring rust doc warnings r=emilio DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D174121
2023-03-30 15:00:27 +00:00
Manuel Bucher
3e41106efa Bug 1816149 - Fix Early Hints in the Firefox Profiler by not changing the channelId anymore r=necko-reviewers,jesup
The Firefox Profiler expects the channelId to not change. There is no
reason to change the channelId. It was a measure to associate the early
hint preload in devtools and profiler, but neither is the case right
now: Devtools currently don't show preloads at all and changing the
channelId messes up the profiler.

Differential Revision: https://phabricator.services.mozilla.com/D174116
2023-03-30 14:52:09 +00:00
Makoto Kato
f5090d66a1 Bug 1819814 - Call MediaSession.Delegate.onFullscreen correctly when entering full screen. r=geckoview-reviewers,calu
This is a race condition of full screen event and activated event of media
controller.

Media controller will dispatch activated event when full screen button is
clicked on controller. But since this depends on full screen event, if
GeckoView's media session receives this event before controller fires activated
event, `MediaSession.Delegate.onFullscreen` won't be called because
MediaSession.isActive() is false at this time.

So I would like to retry `GeckoView:MediaSession:Fullscreen` call when
entering full screen and controller isn't active yet.

Differential Revision: https://phabricator.services.mozilla.com/D173831
2023-03-30 14:26:13 +00:00
Robert Longson
6b7b637d36 Bug 1824804 - apply transform for clipPaths that are children of clipPaths r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D174107
2023-03-30 14:17:42 +00:00
Rob Wu
aee0e76790 Bug 1821303 - Add hasPostData bool to nsISHEntry r=smaug
To avoid unnecessary cloning of nsIInputStream, add a hasPostData
boolean attribute to tell whether a nsISHEntry has populated postData.

Differential Revision: https://phabricator.services.mozilla.com/D173237
2023-03-30 14:05:09 +00:00
Rob Wu
bcf7bee8ca Bug 1821303 - Detect POST in condition for allowAllRequests action r=rpl,peterv
Differential Revision: https://phabricator.services.mozilla.com/D173236
2023-03-30 14:05:08 +00:00
Rob Wu
4dffd715a6 Bug 1821303 - Add getter for activeSessionHistoryEntry to BC r=peterv
Add activeSessionHistoryEntry attribute to CanonicalBrowsingContext to
expose the existing implementation of
CanonicalBrowsingContext::GetActiveSessionHistoryEntry.

Differential Revision: https://phabricator.services.mozilla.com/D173235
2023-03-30 14:05:08 +00:00
Emilio Cobos Álvarez
3996ffdc28 Bug 1825451 - Add fuzz to a test on windows. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D174106
2023-03-30 13:54:59 +00:00
serge-sans-paille
e000a97464 Bug 1824519 - Make toolkit/crashreporter/test/ buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D173619
2023-03-30 13:48:35 +00:00
serge-sans-paille
dd3c5bba04 Bug 1824518 - Make mozglue/linker/tests buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D173618
2023-03-30 13:48:34 +00:00
serge-sans-paille
154451aa43 Bug 1824517 - Make tools/crashreporter/injector buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D173617
2023-03-30 13:48:34 +00:00
serge-sans-paille
3664d8774e Bug 1824516 - Make parser/htmlparser buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D173616
2023-03-30 13:48:34 +00:00
serge-sans-paille
c327880929 Bug 1824515 - Make js/xpconnect/loader/ buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D173615
2023-03-30 13:48:33 +00:00
serge-sans-paille
dd9aff0466 Bug 1824514 - Make xpfe/appshell buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D173614
2023-03-30 13:48:33 +00:00
serge-sans-paille
9a33f06436 Bug 1824513 - Make netwerk/protocol/file buildable outside of a unified build environment r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D173613
2023-03-30 13:48:33 +00:00
serge-sans-paille
73d0b47eaf Bug 1824512 - Make modules/libmar/src buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D173612
2023-03-30 13:48:32 +00:00
serge-sans-paille
c034919767 Bug 1824511 - Make intl/unicharutil/util buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D173611
2023-03-30 13:48:32 +00:00
serge-sans-paille
120505b927 Bug 1824510 - Make intl/locale buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D173610
2023-03-30 13:48:32 +00:00
serge-sans-paille
95a3a332df Bug 1824509 - Make intl/l10n buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D173609
2023-03-30 13:48:31 +00:00
serge-sans-paille
cd880dc521 Bug 1824508 - Make intl/components buildable outside of a unified build environment r=andi
Differential Revision: https://phabricator.services.mozilla.com/D173608
2023-03-30 13:48:31 +00:00
Joshua Marshall
af586cf84d Bug 1805613 - Dump worker info on shutdown hang r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D173430
2023-03-30 13:44:34 +00:00
Mark Banner
ad2898e48a Bug 1825522 - List PdfJsDefaultPreferences.sys.mjs in Generated.txt as it is a generated file. r=calixte
Differential Revision: https://phabricator.services.mozilla.com/D174101
2023-03-30 13:38:52 +00:00
Peter Van der Beken
777eb7cc23 Bug 1823148 - Correct some errors in dom/bindings/test/test_dom_xrays.html. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D172915
2023-03-30 12:56:37 +00:00
Peter Van der Beken
0ed3b3b9e5 Bug 1765992 - Fix WebIDL Xrays to properly deal with a static and non-static property with the same name. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D171705
2023-03-30 12:56:36 +00:00
Peter Van der Beken
5a70771354 Bug 1765992 - Support regular and static WebIDL operations with the same identifier on the same interface. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D171703
2023-03-30 12:56:36 +00:00
Ms2ger
2d692f5838 Bug 1765992 - Support regular and static WebIDL operations with the same identifier; r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D171216
2023-03-30 12:56:35 +00:00
ffxbld
fda4e5aac6 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D174105
2023-03-30 12:49:31 +00:00
Jens Stutte
1157486abd Bug 1814856 - Collapse QuotaManager::mShutdownStarted on gShutdown. r=dom-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D173533
2023-03-30 12:36:01 +00:00
Paul Bone
aae8ec291f Bug 1825467 - Add missing include r=cosmins
Differential Revision: https://phabricator.services.mozilla.com/D174086
2023-03-30 11:51:46 +00:00
Paul Bone
dcda564f85 Bug 1822451 - Add about:memory entries for PHC r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D173099

Depends on D173098
2023-03-29 11:08:17 +00:00
Paul Bone
845ba685dd Bug 1822451 - Update a function name in a comment r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D173098

Depends on D172655
2023-03-29 11:08:16 +00:00
Paul Bone
039c4531eb Bug 1822451 - Don't include PHC guard pages in explicit memory r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D172655
2023-03-29 11:08:16 +00:00
stransky
c7acbaf043 Bug 1803016 [Wayland] Don't commit wl_buffer if buffer scale doesn't match its size r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173814
2023-03-30 11:49:53 +00:00
Jonathan Watt
84688dc421 Bug 1824852. Ensure PrintedSheetFrame calls MoveOverflowToChildList before reflow. r=dholbert
The intention is to allow PrintedSheetFrame::Reflow to access the page style
prior to reflowing its child so that it can decide whether to apply page style
to the sheet (in the case of one page-per-sheet). This will happen in a
subsequent bug.

Differential Revision: https://phabricator.services.mozilla.com/D173773
2023-03-30 11:29:29 +00:00
Cosmin Sabou
f894363c34 Backed out 3 changesets (bug 1822451) for busting thunderbird builds and causing bug 1825467. CLOSED TREE
Backed out changeset 5c399ec3dae0 (bug 1822451)
Backed out changeset ac5d1057c562 (bug 1822451)
Backed out changeset 42250977529b (bug 1822451)
2023-03-30 14:30:22 +03:00
Cosmin Sabou
be9a5c48e4 Backed out changeset e5b65704ade8 (bug 1825467) for causing asan/tsan build bustages on nsMemoryReporterManager.cpp. 2023-03-30 14:23:02 +03:00
Tooru Fujisawa
81534688cc Bug 1825462 - Pass dummy propertyCountEstimate value to ImmutableScriptData::new_ from Frontend2. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D174048
2023-03-30 11:02:01 +00:00
Paul Bone
643ebe0644 Bug 1825467 - Add missing include r=CosminS
Differential Revision: https://phabricator.services.mozilla.com/D174086
2023-03-30 10:50:56 +00:00
Andreas Pehrson
70a1639e05 Bug 1817724 - Don't buffer frames in VideoCaptureAvFoundation. r=webrtc-reviewers,ng
This patch uses StateWatching to dispatch a task to process a frame as soon as
it comes in from the VideoCaptureAdapter frame event. This is done async so that
if multiple frames come in while one is being processed, we drop all but the
latest.

Differential Revision: https://phabricator.services.mozilla.com/D171963
2023-03-30 10:36:34 +00:00
Andreas Pehrson
3f1058cc63 Bug 1817724 - In VideoCaptureAvFoundation use MediaEvent to handle frames. r=webrtc-reviewers,ng
Hypothetically if the frame callback is doing something leading to crashes, this
patch should at least affect those symptoms, giving us more clues to where the
problem lies.

This patch changes away from calling the CamerasParent callback directly on the
frame queue, to notifying a MediaEvent owned by the VideoCaptureAdapter. The
frames are then handled on the video capture thread.

Differential Revision: https://phabricator.services.mozilla.com/D171962
2023-03-30 10:36:33 +00:00
Andreas Pehrson
dd4f9a828f Bug 1817724 - [libwebrtc] Restore changes to RTCCameraVideoCapturer.m. r=webrtc-reviewers,ng
Differential Revision: https://phabricator.services.mozilla.com/D171961
2023-03-30 10:36:33 +00:00
Andreas Pehrson
a4c00309de Bug 1817724 - Clean up and tighten VideoCaptureAvFoundation somewhat. r=webrtc-reviewers,ng
This patch mainly changes VideoCaptureAdapter to use an instance method to set
the capturer member under a mutex. It also moves the setting of this capturer
to start rather than init (and unsets it on stop). With this we shouldn't need
the prior fixes to RTCCameraVideoCapturer.m.

Some other cleanup happens as well:
- Constification of members
- Moving the RTCVideoFrame to webrtc::VideoFrame conversion to OnFrame()
- Optimizing away StartFrameRecording()
- Only calculating image type once

Differential Revision: https://phabricator.services.mozilla.com/D171960
2023-03-30 10:36:33 +00:00
Tooru Fujisawa
9bc760fc31 Bug 1825095 - Skip getBacktrace-invalid.js test on coverage. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D174071
2023-03-30 10:14:01 +00:00
Jared Wein
f6a209eafb Bug 1710910 - Reduce the size of the close icon for infobars and use the correct smaller close icon for tabs r=mstriemer,desktop-theme-reviewers,dao
* Original author was jaws, prathikshaprasadsuman got it reviewed and landed
* Update to non-hovered .tab-close-button width to avoid regressing bug 1818233 again.

Differential Revision: https://phabricator.services.mozilla.com/D115006
2023-03-30 10:03:50 +00:00
Nicolas Chevobbe
788931ce28 Bug 1825208 - [devtools] Fix pretty printing inline script on first line. r=devtools-reviewers,ochameau.
If a `<script>` is on the first line of the HTML file, we were miscalculating
its position in the HTML file because there is not previous line breaks.
A test case is added to fix this.

Differential Revision: https://phabricator.services.mozilla.com/D173929
2023-03-30 09:57:47 +00:00
Nicolas Chevobbe
ca983070d7 Bug 1824044 - [devtools] Avoid handling the same inline script twice in pretty printing. r=devtools-reviewers,bomsy.
While the root issue should be fixed on the server,
this patch will help reduce a frequent intermittent
and prevent showing erroneous result to users.

Differential Revision: https://phabricator.services.mozilla.com/D173660
2023-03-30 09:57:46 +00:00