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

104423 Коммитов

Автор SHA1 Сообщение Дата
Norisz Fay a34775e64f Backed out changeset ba1330ed02c7 (bug 1741610) for causing assertion failures on Android CLOSED TREE 2021-12-15 16:45:53 +02:00
Eden Chuang 4146950108 Bug 1744025 - Replace include "mozilla/dom/WorkerPrivate.h" with include "mozilla/dom/WorkerScope.h" where WorkerPrivate->GlobalScope() is called. r=dom-worker-reviewers,smaug,jstutte
#include "mozilla/dom/WorkerScope.h" is removed from WorkerPrivate.h, where calling WorkerPrivate::GlobalScope() without include "WorkerScope.h" makes WorkerScope as an incomplete type.


Depends on 132800

Depends on D132800

Differential Revision: https://phabricator.services.mozilla.com/D133483
2021-12-15 13:48:19 +00:00
Jens Stutte f8f5e51849 Bug 1744025: Use CheckedUnsafePtr<WorkerPrivate> in WorkerEventTarget. r=dom-worker-reviewers,edenchuang
Depends on D132799

Differential Revision: https://phabricator.services.mozilla.com/D132800
2021-12-15 13:48:19 +00:00
Jens Stutte 5786ca5988 Bug 1744025: Use CheckedUnsafePtr<WorkerPrivate> in PerformanceWorker. r=dom-worker-reviewers,edenchuang
Depends on D132797

Differential Revision: https://phabricator.services.mozilla.com/D132799
2021-12-15 13:48:19 +00:00
Jens Stutte 901683b6bb Bug 1744025: Use CheckedUnsafePtr<WorkerPrivate> in Notification. r=dom-worker-reviewers,edenchuang
Depends on D132795

Differential Revision: https://phabricator.services.mozilla.com/D132797
2021-12-15 13:48:18 +00:00
Jens Stutte 2afbc37d6b Bug 1744025: Remove only assertion-relevant mWorkerPrivate from FetchBody. r=dom-worker-reviewers,edenchuang
Depends on D132711

Differential Revision: https://phabricator.services.mozilla.com/D132795
2021-12-15 13:48:18 +00:00
Jens Stutte 7265f63332 Bug 1744025: Use CheckedUnsafePtr<WorkerPrivate> in WorkerDebugger. r=dom-worker-reviewers,asuth
Depends on D132710

Differential Revision: https://phabricator.services.mozilla.com/D132711
2021-12-15 13:48:18 +00:00
Jens Stutte 90e24ac4f9 Bug 1744025: Use CheckedUnsafePtr<WorkerPrivate> in WorkerPrivate where possible. r=dom-worker-reviewers,asuth
Depends on D132709

Differential Revision: https://phabricator.services.mozilla.com/D132710
2021-12-15 13:48:17 +00:00
Eden Chuang fe725492f9 Bug 1744025: Use CheckedUnsafePtr<WorkerPrivate> in WorkerGlobalScopeBase. r=dom-worker-reviewers,asuth
Depends on D132708

Differential Revision: https://phabricator.services.mozilla.com/D132709
2021-12-15 13:48:17 +00:00
Jens Stutte 9a9a8e22bb Bug 1744025: Make WorkerPrivate support CheckedUnsafePtr. r=dom-worker-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D132708
2021-12-15 13:48:17 +00:00
Andreas Farre 37827b10de Bug 1741610 - Start LoginDetectionService on Android. r=agi,dimi
Differential Revision: https://phabricator.services.mozilla.com/D131357
2021-12-15 13:19:56 +00:00
lyavor 410fb6990f Bug 1745186 - HTTPS-First: Test http fallback of download attribute. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D133358
2021-12-15 13:12:39 +00:00
lyavor b843dcf4d1 Bug 1745146 - Add a test for https-first download from mixed content site. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D133354
2021-12-15 13:12:19 +00:00
Andrew Osmond 25fe6561f6 Bug 1740127 - Combine copy/swizzle/premultiply operations in ClientWebGLContext::GetFrontBufferSnapshot. r=jgilbert
The swizzling operations were showing up in talos profiles on Linux with
GLX and using OOP WebGL. If DMABuf has been disabled, similar performance
should be observed with EGL as well. This patch combines the necessary
copies, swizzling between RGBA and BGRA, and premultiplication operations
as much as possible for GetFrontBufferSnapshot.

It also has the advantage of unblocking the WebGL thread in the
compositor process sooner since it is a sync IPC call and moving that
work to the caller which would be blocked anyways.

Differential Revision: https://phabricator.services.mozilla.com/D130690
2021-12-15 12:15:36 +00:00
Cosmin Sabou 6d00fa1035 Merge mozilla-central to autoland. CLOSED TREE 2021-12-15 12:38:06 +02:00
Cristian Tuns 37859007e2 Backed out 2 changesets (bug 1745146, bug 1745186) for causing mochitest failures on browser_navigation.js CLOSED TREE
Backed out changeset 34fccebf9ad2 (bug 1745186)
Backed out changeset c37e7c0e25b2 (bug 1745146)
2021-12-15 05:34:41 -05:00
Cosmin Sabou 045a43b2c8 Backed out 2 changesets (bug 1712837) for causing an increase in crashes (bug 1735798). a=backout
Backed out changeset 51773d1ab7b5 (bug 1712837)
Backed out changeset 97b0a77e4ce7 (bug 1712837)
2021-12-15 12:24:03 +02:00
lyavor 315d8e83f5 Bug 1745186 - HTTPS-First: Test http fallback of download attribute. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D133358
2021-12-15 10:04:10 +00:00
lyavor 4068383d84 Bug 1745146 - Add a test for https-first download from mixed content site. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D133354
2021-12-15 09:55:50 +00:00
Boris Chiou a6ce72cb76 Bug 1741255 - Don't put the scroll animations into PendingAnimationTracker. r=hiro
Basically, we use the current target scroll position as the ready time for
scroll animations, so we don't need to wait until it gets painted.

In fact, it's unclear whether do we need play/pause pending status for
scroll animations, so we choose the natural way for now, and this should
match other browsers' behaviors.

Note:
We avoid puting the scroll animation into PendingAnimationTracker
in PlayNoUpdate() and Pause(). However, we may still "try" to remove
scroll animations from PendingAnimationTracker in some APIs just in
case if those APIs change the animations from using DocumentTimeline to
using ScrollTimeline. They should be revisited once we expose
ScrollTimeline to JS.

Differential Revision: https://phabricator.services.mozilla.com/D132750
2021-12-15 09:54:43 +00:00
Boris Chiou 318c1fdcc9 Bug 1746101 - Avoid making animations get removed after moving from 100% endpoint. r=hiro
Let's use the infinite iteration count and the alternative play direction
for now, so the scroll-linked animations will never be removed (and its play
state is always running) even if it reaches to the max scroll position.

Note:
1. We don't resolve finished promise at 100% now because it's unclear
   whether we should resolve it for scroll animations or not.
2. This is not a perfect solution. We are planning to use the specified
   timing in the future, so users can do more things on them, after the
   spec defines them well.

Differential Revision: https://phabricator.services.mozilla.com/D132751
2021-12-15 09:54:42 +00:00
Kelsey Gilbert 66a0be0cd7 Bug 1745308 - Only warn once if ClientWaitSync cannot return availability. r=gfx-reviewers,nical
This avoids spamming warnings across IPC that sometimes causes shmem
exhaustion.

Differential Revision: https://phabricator.services.mozilla.com/D133829
2021-12-15 09:39:57 +00:00
Kagami Sascha Rosylight 6c8b7ea189 Bug 1539884 - Part 3: Mark VisualViewport::Fire*Event as CAN_RUN_SCRIPT r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D133753
2021-12-15 09:35:52 +00:00
Kagami Sascha Rosylight 3c6e603006 Bug 1539884 - Part 2: Mark PostMessageEvent::Dispatch as CAN_RUN_SCRIPT r=masayuki
Depends on D133751

Differential Revision: https://phabricator.services.mozilla.com/D133752
2021-12-15 09:35:52 +00:00
Kagami Sascha Rosylight 1eff99ed25 Bug 1539884 - Part 1: Mark Document::DispatchContentLoadedEvents as CAN_RUN_SCRIPT r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D133751
2021-12-15 09:35:51 +00:00
Kelsey Gilbert c3603037db Bug 1746111 - (Re)serialize WebRTC frame SurfaceDescriptorBuffers for convert-and-upload on WebGLParent. r=gfx-reviewers,nika,lsalzman
Also generally de-inline (WebGLParent::TexImage not DispatchCommand)
TexImage(SurfaceDescriptor).

Differential Revision: https://phabricator.services.mozilla.com/D132851
2021-12-15 01:54:21 +00:00
alwu 02203173dc Bug 1741286 - add a probe to record hw-decoding support for videos in hd or higher resolution. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D131992
2021-12-14 22:43:31 +00:00
Nico Grunbaum 048171d4e1 Bug 1745868 - Restore MULTI_MONITOR_SHARING flag;r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D133764
2021-12-14 20:38:41 +00:00
Emilio Cobos Álvarez fb10218d24 Bug 1745529 - Skip DELTA_MODE_PAGE tests on Android since they fail but I can't repro.
MANUAL PUSH: Android orange fix CLOSED TREE DONTBUILD
2021-12-14 21:33:08 +01:00
Steve Fink 9ad68cbbe6 Bug 1739366 - Ignore malformed cloned error r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D130405
2021-12-14 19:31:08 +00:00
Emilio Cobos Álvarez 71f30bf571 Bug 1745529 - Use default action target to compute scroll amount. r=masayuki
This avoids pages having different scroll amount if there are overflow:
hidden elements with different font sizes.

Running through try to see if there's any test to adjust or I need to
write one.

Differential Revision: https://phabricator.services.mozilla.com/D133671
2021-12-14 18:23:41 +00:00
Gabriele Svelto e2286f8bbf Bug 1745950 - Remove the string-based KeepAliveIfHasListenersFor() implementation and convert all callers to use the atoms-based one instead r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D133748
2021-12-14 16:54:50 +00:00
Noemi Erli 32999573e3 Backed out changeset c0f7fb9a866c (bug 1745529) for causing mochitest failures in test_moz_mouse_pixel_scroll_event.html CLOSED TREE 2021-12-14 18:56:46 +02:00
Emilio Cobos Álvarez f13595acc8 Bug 1745233 - Update CSSOM for layer rules to the spec. r=firefox-style-system-reviewers,layout-reviewers,boris
Pretty mechanical.

Tests are in https://wpt.live/css/css-cascade/layer-rules-cssom.html
which (with a fix for @import tests which I'll submit separately) we
pass.

Sync for that is bug 1743936.

Differential Revision: https://phabricator.services.mozilla.com/D133387
2021-12-14 15:39:38 +00:00
Emilio Cobos Álvarez 74d515b966 Bug 1745529 - Use default action target to compute scroll amount. r=masayuki
This avoids pages having different scroll amount if there are overflow:
hidden elements with different font sizes.

Running through try to see if there's any test to adjust or I need to
write one.

Differential Revision: https://phabricator.services.mozilla.com/D133671
2021-12-14 15:34:12 +00:00
Paul Adenot f80d2b4827 Bug 1745912 - Use the same type in IDL and implementation file for MediaTransportHandler. r=pehrsons
Depends on D133733

Differential Revision: https://phabricator.services.mozilla.com/D133737
2021-12-14 14:21:16 +00:00
Paul Adenot 282dc29832 Bug 1745912 - Fix static-analysis warnings in MediaTransportHandler.cpp. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D133733
2021-12-14 14:21:16 +00:00
Tom Schuster dc323d0d9a Bug 1596772 - Make nsICanvasRenderingContextInternal::GetParentObject off-screen compatible. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D133571
2021-12-14 14:21:10 +00:00
Paul Adenot dd157dc0a0 Bug 1745176 - Add profiler markers to MediaTransportHandler.cpp. r=pehrsons,gerald
Initial patch by Michael Froman <mfroman@mozilla.com>.

Differential Revision: https://phabricator.services.mozilla.com/D133348
2021-12-14 13:40:52 +00:00
Andreas Pehrson afe759ffb4 Bug 1745707 - Rewrite ids in the RTCRtpReceiver::GetStats() path. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D133637
2021-12-14 12:52:25 +00:00
Andreas Pehrson a7e4636aee Bug 1745707 - Put id-rewriting into the id generator. r=ng
As the id generator is already a shared resource, this seems like a natural fit.

Differential Revision: https://phabricator.services.mozilla.com/D133636
2021-12-14 12:52:25 +00:00
Andreas Pehrson 0742b38c97 Bug 1745707 - Test for opaque id in receiver getStats. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D133635
2021-12-14 12:52:25 +00:00
Norisz Fay 333caceb64 Backed out 5 changesets (bug 1742865, bug 1744397) for causing wpt failures on attr-meta-http-equiv-refresh/parsing.html CLOSED TREE
Backed out changeset 7b01edc5a0e0 (bug 1744397)
Backed out changeset 41abd4b7d2c0 (bug 1744397)
Backed out changeset 634641e3a05a (bug 1744397)
Backed out changeset 6e7755177481 (bug 1744397)
Backed out changeset e9fc94b33da9 (bug 1742865)
2021-12-14 13:25:58 +02:00
Yulia Startsev 8e87e45a45 Bug 1745626 - Dynamic import should always try to unblock onload event in DOM context; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D133629
2021-12-14 10:53:58 +00:00
Peter Van der Beken bfbe9b27fe Bug 1744397 - Simplify refresh code: pass around delay as an unsigned int. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132863
2021-12-14 10:14:00 +00:00
Peter Van der Beken a538f42b2d Bug 1744397 - Simplify refresh code: clean up meta refresh code in nsDocShell. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D132862
2021-12-14 10:13:59 +00:00
Timothy Nikkel 73d8151318 Bug 1744468. Make drawSnapshot request high quality scaling by default. r=aosmond
Most of the time this is just going to going to request the same frame that we used when painting to the screen. So it should be higher quality and faster in the common case.

This isn't the default for drawWindow or drawSnapshot. I know that it would be a waste to request high quality scaling without sync decode because if that triggers new decoding by the time the frame is ready it's too late to use it. drawSnapshot only supports syncdecoding so far, so that's not an issue, and we could disable this is async decoding was requested in the future.

Anything else I'm missing?

Differential Revision: https://phabricator.services.mozilla.com/D133567
2021-12-14 09:43:52 +00:00
Dragana Damjanovic 1fd7957fc0 Bug 1744006 - Replace dom.securecontext.whitelist_onions with dom.securecontext.allowlist_onions and dom.securecontext.whitelist with dom.securecontext.allowlist r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D133660
2021-12-14 05:20:08 +00:00
Butkovits Atila b2c1e9bbef Backed out changeset de1608e5f69b (bug 1735076) for causing failures at browser_searchbar_openpopup.js. CLOSED TREE 2021-12-14 07:29:46 +02:00
Andrew Sutherland 3a1ac85eb4 Bug 1740534 - Improve global consistency. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D133379
2021-12-14 03:44:18 +00:00