Commit Graph

834965 Commits

Author SHA1 Message Date
Nicolas Chevobbe
1de610bd27 Bug 1823399 - [devtools] Pass startColumn to createSource. r=devtools-reviewers,jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D173060
2023-03-21 17:27:50 +00:00
Nicolas Chevobbe
ba8cfd80fd Bug 1823399 - Add startColumn option to Debugger.Object.createSource. r=tcampbell.
Differential Revision: https://phabricator.services.mozilla.com/D173023
2023-03-21 17:27:49 +00:00
Nicolas Chevobbe
b0089a8144 Bug 1823335 - Pass script column to CompileOptions in ReparseSource. r=tcampbell.
Differential Revision: https://phabricator.services.mozilla.com/D172979
2023-03-21 17:27:49 +00:00
Nicolas Chevobbe
a1645740cc Bug 1815937 - Set ScriptLoadContext column number for inline scripts. r=smaug,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D170580
2023-03-21 17:27:48 +00:00
Kash Shampur
cf82aad467 Bug 1822697 - Temporarily disable extra profiler runs on Benchmark tests in CI. r=perftest-reviewers,sparky
This patch temporarily removes the `--extra-profiler-run` flag from the Browsertime Benchmark tests in CI.
Originally the logic was intended for pageload tests. Currently it is causing some issues (intermittent failures and useless profiles for benchmarks)
so in the mean time we can disable it before spending time on fixing the implementation.

Differential Revision: https://phabricator.services.mozilla.com/D173172
2023-03-21 17:08:39 +00:00
Cristian Tuns
387d191ab4 Backed out 6 changesets (bug 1820776, bug 1820434, bug 1822138, bug 1822038, bug 1821146, bug 1791835) for causing build bustages on WebTransportDatagramDuplexStream.cpp CLOSED TREE
Backed out changeset 4a866db45f1a (bug 1822038)
Backed out changeset 889174ce36fd (bug 1821146)
Backed out changeset 39f22b088301 (bug 1820434)
Backed out changeset c93fec9914f5 (bug 1822138)
Backed out changeset 914ee3f0f3ee (bug 1791835)
Backed out changeset 43beacf35d14 (bug 1820776)
2023-03-21 17:24:20 -04:00
Siya
feb5922d82 Bug 1761282 - Update sad/happy smiley faces to emoji. r=hjones,settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D172804
2023-03-21 17:04:48 +00:00
William Durand
6ebb86bc7e Bug 1820743 - Allow to move unified extensions button on the navbar. r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D171845
2023-03-21 16:55:11 +00:00
Brad Werth
8352fcb2c4 Bug 1778799: Fix intermittencies in test_videocontrols.html. r=Gijs
Presently, this test has three flaws that make it prone to intermittents:

1) It triggers events before waiting for them.
2) It requires events to arrive in a specific order, with no other events
arriving.
3) It triggers fullscreen enter and exit events very rapidly, with no
event protection to ensure an asynchronous transition is complete before
starting the next one.

This change fixes the first two issues by capturing all the events as they
arrive, and passively allowing unexpected events. As soon as the
waitForEvent promise is fulfilled, it resets all of these trackers so old
events won't accidentally fulfil new requests.

Additionally, if it is important that certain events don't arrive while
waiting for desired events, this adds a way to specify those forbidden
events. This is used to ensure that clicks that are supposed to trigger
fullscreen aren't instead triggering play or pause.

To address the third issue, this change adds a repeatUntilSuccessful
method that triggers a promise on each event loop until it resolves.
This is used on all the changes to fullscreen, which can be rejected by
the browser. The reasons for rejection vary, often related to which
browsing context is active, but these issues seem to go away after a
period of time. It's not clear that there's an event we can wait on that
will guarantee that the fullscreen request will succeed, so we instead
make the request repeatedly until it succeeds.

This change also takes the video out of fullscreen mode at the end of the
test.

Differential Revision: https://phabricator.services.mozilla.com/D172329
2023-03-21 16:47:00 +00:00
Yulia Startsev
9b5677e78a Bug 1822541 - Adjust expectations for beta tests on dynamic import in module workers; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D173139
2023-03-21 16:33:16 +00:00
Paul Zuehlcke
d7d2b63c2c Bug 1821738 - Extend cookie.banners.click.result to include cookie injection signals. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D172442
2023-03-21 16:31:14 +00:00
Gijs Kruitbosch
61b42d9caa Bug 1822854 - add marionette test for manual session restore while a pinned tab is present, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D173071
2023-03-21 16:29:06 +00:00
Gijs Kruitbosch
78ae8aa771 Bug 1822854 - ensure session store doesn't assume _tPos is set and has good stub info for recently restored tabs so we don't break manual session restore, r=dao
Either of these changes (ie dropping the setTabState call for batch restored
tabs, or ensuring the restoreTabs code correctly fills its array with dummy
entries) is sufficient here. I chose to do both because I think in both cases
the brokenness is not limited to this scenario or the issues at hand.

Specifically, the setTabState call was added in bug 1521346 to deal with
moved lazy tabs, but is now being invoked for session restore because of
the batchInsertingTabs optimization work. It doesn't actually need to be,
as far as I can tell, and the lacking _tPos in this case (because we don't
insert the tab into the tabstrip a few lines above) is what breaks things
inside _ensureNoNullsInTabDataList. Note that this _already_ was breaking
things in restoreTab(), which would assign into tabs[undefined] on the
window state object, so just dropping the call seemed better than wallpapering
the absence of _tPos.

The restoreTabs code, pre-patch, calls _ensureNoNullsInTabDataList but that
will never do anything, because right before calling it we change the array
length, so maxPos was always smaller than the size of the list. This meant
we still had empty slots in the array, which was also causing confusion down
the line.

I added the explicit exception for the broken _tPos in restoreTab so that we
notice any future issues with this more quickly. Doing so without any of the
other fixes broke the pre-existing browser_586068-apptabs.js test, so
hopefully that will catch any future changes that break the code's assumptions.

Differential Revision: https://phabricator.services.mozilla.com/D173070
2023-03-21 16:29:06 +00:00
Niklas Baumgardner
afd2db475b Bug 1811318 - Urlbar entry point for PiP. r=cmkm,pip-reviewers,desktop-theme-reviewers,dao,mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D170899
2023-03-21 16:26:05 +00:00
Dan Robertson
d560122c7e Bug 1823660 - Fix preference setting in tests. r=aryx
Ensure that dom.event.wheel-event-groups.enabled is set correctly in wheel
scroll tests.

Differential Revision: https://phabricator.services.mozilla.com/D173159
2023-03-21 16:24:39 +00:00
Randell Jesup
470a5513ed Bug 1822038: Handle WebTransport Bidirectional streams arriving before the first pull r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D172414
2023-03-21 16:09:10 +00:00
Randell Jesup
48c87c26ab Bug 1821146: Bind() IPC to worker's event target for WebTransport r=asuth
Also fixes the worker shutdown handling associated with this

Differential Revision: https://phabricator.services.mozilla.com/D172038
2023-03-21 16:09:10 +00:00
Randell Jesup
5cc3dd1a03 Bug 1820434: Isolate AsyncInputStream from InputToReadableStream for workers r=asuth
nsIAsyncInputStreams keep a reference to the callback object, causing
possible leaks which will result in assertions in workers.  Also use a
StrongWorkerRef to ensure the worker remains around until the
OnInputStreamReady callback occurs.

Differential Revision: https://phabricator.services.mozilla.com/D171810
2023-03-21 16:09:09 +00:00
Randell Jesup
aeb7bf6c9b Bug 1822138: We don't need to queue multiple datagrams for sending once connected r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D172459
2023-03-21 16:09:09 +00:00
Randell Jesup
49aa9ebbc7 Bug 1791835: Implement DOM API for datagrams in WebTransport r=saschanaz,smaug
This is the initial implementation without support for timeouts

Differential Revision: https://phabricator.services.mozilla.com/D170947
2023-03-21 16:09:08 +00:00
Randell Jesup
74ba2fecf7 Bug 1820776: Cleanup H3Session r=kershaw,valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D171900
2023-03-21 16:09:08 +00:00
Cristian Tuns
aa17c3a176 Backed out changeset d9e7b204d089 (bug 1820900) for causing bc failures in runtests.py CLOSED TREE 2023-03-21 16:25:12 -04:00
Cristian Tuns
a4c7b2f0e3 Backed out changeset dc84799cb093 (bug 1818998) for causing xpcshell failures in dom/base/test/unit_ipc/* CLOSED TREE 2023-03-21 14:53:58 -04:00
Mozilla Releng Treescript
469fa53b31 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
da -> 24316ce1c343f25b46646ac12089f5aa3ae9fb8d
de -> 4458a56a897cd1668101b8f8d01ccc2776f3acbb
ia -> 9c49840ea5eace47061383fa14c48a81916ea3d5
lo -> 9f642b135313a0e600421501b32b86e8e6405e60
2023-03-21 18:59:32 +00:00
Norisz Fay
435b38a835 Backed out changeset 4629c85e137b (bug 1777921) for causing multiple worker related failures CLOSED TREE 2023-03-21 19:36:26 +02:00
Norisz Fay
64ef41000a Backed out changeset fd2a3531261b (bug 1820359) for causing remote failures in browser_navigationEvents.js 2023-03-21 19:17:04 +02:00
Russell Chan
a349610e0a Bug 1821820 - Add support to open CFR using about:messagepreview r=omc-reviewers,barret
Differential Revision: https://phabricator.services.mozilla.com/D172835
2023-03-21 16:07:44 +00:00
Andrew Halberstadt
d8aab56346 Bug 1823701 - Add 'tomli' to mach wpt requirements, r=jgraham
Since we added a root `pyproject.toml` file, it triggered a code path in pytest
which tries to open the file to read configuration with `tomli`. For whatever
reason, this isn't vendored for wpt and we therefore get import errors.

Differential Revision: https://phabricator.services.mozilla.com/D173166
2023-03-21 15:48:40 +00:00
Jon Coppeard
45f3eca05d Bug 1822717 - Relax assertion about module request state when an error occurs r=yulia
ModuleErrored() can be called when we are in the compiling state too, if we are
parsing the module off-thread.

Differential Revision: https://phabricator.services.mozilla.com/D173160
2023-03-21 15:40:22 +00:00
Mike Conley
90a1df9a44 Bug 1823536 - Use the legacy migration wizard dialog for showing startup migration state after a profile refresh. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D173084
2023-03-21 15:29:01 +00:00
Byron Campen
b4ea94876f Bug 1699230: Decrease the SCTP MTU. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D172703
2023-03-21 15:23:47 +00:00
Randell Jesup
9b0b986c80 Bug 1818998: Convert nsSocketTransportService polling arrays to nsTArrays r=valentin,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D171043
2023-03-21 15:22:17 +00:00
Mike Conley
822b5881c3 Bug 1820790 - Generalize the 180 day history import limit, and apply it to IE and Edge (EdgeHTML) migrators. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D172718
2023-03-21 15:18:34 +00:00
Tom Schuster
7b3f9f5ef0 Bug 1822980 - Fix system ICU build error. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D172978
2023-03-21 15:13:23 +00:00
Nika Layzell
e5fbd5ef24 Bug 1820359 - Apply nsSegmentedBuffer limits at the segment level, r=xpcom-reviewers,mccr8
Previously this would be checked at the byte count level, which could
end up being less precise.

Differential Revision: https://phabricator.services.mozilla.com/D173051
2023-03-21 15:10:17 +00:00
Robert Longson
5d0eab08a3 Bug 1823477 - Create a DisplaySVGItem as a base class for SVG Painted Display Items r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D173056
2023-03-21 15:05:34 +00:00
Valentin Gosu
b1dfac72d9 Bug 1823358 - Add new network.trr.ohttp.uri pref r=keeler,necko-reviewers,jesup
Differential Revision: https://phabricator.services.mozilla.com/D172988
2023-03-21 14:51:48 +00:00
Jens Stutte
9f1bbb9836 Bug 1777921 - Assert that StrongWorkerRefs are not lazily released during final GC/CC. r=dom-worker-reviewers,smaug,asuth
Differential Revision: https://phabricator.services.mozilla.com/D150942
2023-03-21 14:43:48 +00:00
Andrew Halberstadt
20461d4e7d Bug 1823694 - [lint.ruff] Disable some warnings we don't actually want to enforce, r=linter-reviewers,andi
This disables:
PLR0911     too-many-return-statements
PLR0912     too-many-branches
PLR0913     too-many-arguments
PLR0914     too-many-return-statements
PLR2004     magic-value-comparison

This removes nearly 2000 warnings.

Differential Revision: https://phabricator.services.mozilla.com/D173156
2023-03-21 14:36:26 +00:00
Emilio Cobos Álvarez
6eec2e9f70 Bug 1823350 - Unify how we identify PiP windows on Linux/Windows. r=mconley,stransky
Also explicitly use titlebar=no on the PIP window, since we really don't
want a titlebar.

This way we don't end up without titlebars in other alwaysontop windows.

Differential Revision: https://phabricator.services.mozilla.com/D172992
2023-03-21 14:36:19 +00:00
Andrew Osmond
b8a3f6aaf8 Bug 1822413. r=media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D172637
2023-03-21 14:23:16 +00:00
Mike Conley
512d8ddaee Bug 1821127 - Make sure dragstart never bubbles up to the widget layer in test_mousecapture.xhtml. r=NeilDeakin
This test does things with synthesized mousedown and mousemove that runs the risk of starting
a drag operation.

Per https://searchfox.org/mozilla-central/rev/47aea2f603cc18144afcedbd604a418f11e90f9b/widget/nsBaseDragService.cpp#341-355,
to ensure these tests continue to function normally, we need to prevent any dragstart events from
reaching the widget layer, which is what this patch does.

Differential Revision: https://phabricator.services.mozilla.com/D172686
2023-03-21 14:22:28 +00:00
Tom Ritter
6e48c9a6d7 Bug 1815307: Cut over Touch Events to the RFP-per-target architecture r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D170893
2023-03-21 14:14:48 +00:00
Tom Ritter
101e6c51a2 Bug 1815307: Change wording in media error test r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D170892
2023-03-21 14:14:48 +00:00
Tom Ritter
4b30551afe Bug 1815307: Make all ShouldRFP functions take a RTPTarget r=timhuang
The default value for the target is Unknown, so all callsites
keep working.

We also add a Target value used for Document precomputation. This
value is enabled in RFP Lite mode, and allows us to precompute
ShouldRFP and cache it for faster computations later.  (The later
computations will still check the Target, but won't need to do the
other expensive checks.)

Differential Revision: https://phabricator.services.mozilla.com/D170891
2023-03-21 14:14:48 +00:00
Tom Ritter
f05d61003f Bug 1815307: Reconfigure the headers so types will be accessible in the right place without conflicts r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D170890
2023-03-21 14:14:47 +00:00
Tom Ritter
d43bc54a7d Bug 1815307: Lay the groundwork for the IsRFPEnabledFor function r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D170889
2023-03-21 14:14:47 +00:00
Tom Ritter
ebd5b77e14 Bug 1815307: Group RFP methods into logical sections r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D170888
2023-03-21 14:14:46 +00:00
Lata
4ee9882811 Bug 1820284 - Use moz-button-group in the Add new address r=hjones,credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D171914
2023-03-21 14:11:02 +00:00
Joel Maher
c710ce2144 Bug 1820900 - Run unittests on MSIX debug. r=bhearsum,ci-and-tooling,aryx
Differential Revision: https://phabricator.services.mozilla.com/D173080
2023-03-21 13:54:26 +00:00