Commit Graph

802156 Commits

Author SHA1 Message Date
Gregory Pappas
7fd84857a4 Bug 1854298 - Implement PrintingEnabled policy r=emilio,mkaply,Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188792
2023-10-03 21:48:34 +00:00
Emilio Cobos Álvarez
63f21964ab Bug 1799036 - Make top layer elements be fixed-pos containing blocks. r=dholbert
This is the most reasonable behavior to preserve our layout invariants.

Once https://github.com/w3c/csswg-drafts/issues/8040 gets resolved we
can reconsider this.

I think at the very least we should promote fixed-pos elements inside
the top layer to the top layer, but that has its own set of
implications.

Differential Revision: https://phabricator.services.mozilla.com/D189924
2023-10-03 21:04:07 +00:00
Mike Hommey
8ee7a34b5a Bug 1856547 - Remove revert-llvmorg-14-init-11890-gf86deb18cab6.patch. r=sergesanspaille
The patch it reverted was causing problems while running tests with
ASan, but, from a try push, it seems those are not happening anymore.
Presumably, the issue was either fixed on the workers (whatever that
might have been), or in newer versions of clang.
Either way, we're not using clang 14 for ASan builds either, so we can
remove the patch from clang 14 too.

Differential Revision: https://phabricator.services.mozilla.com/D189908
2023-10-03 21:12:32 +00:00
Mike Hommey
668226f05e Bug 1856532 - Upgrade builders to clang 17.0.2. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D189899
2023-10-03 20:48:31 +00:00
Cosmin Sabou
e078eda19f Backed out 2 changesets (bug 1856501, bug 1856547) for causing build bustages. CLOSED TREE
Backed out changeset 51c4bb967b9b (bug 1856547)
Backed out changeset 422c0919f370 (bug 1856501)
2023-10-03 23:56:20 +03:00
Cosmin Sabou
25407f0616 Bug 1784825 - Disable test_autocomplete_with_composition_on_input.html on apple_catalina due to frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D189974
2023-10-03 19:40:01 +00:00
Mike Hommey
a268ad87a4 Bug 1856547 - Remove revert-llvmorg-14-init-11890-gf86deb18cab6.patch. r=firefox-build-system-reviewers,sergesanspaille
The patch it reverted was causing problems while running tests with
ASan, but, from a try push, it seems those are not happening anymore.
Presumably, the issue was either fixed on the workers (whatever that
might have been), or in newer versions of clang.
Either way, we're not using clang 14 for ASan builds either, so we can
remove the patch from clang 14 too.

Differential Revision: https://phabricator.services.mozilla.com/D189908
2023-10-03 20:42:37 +00:00
Mike Hommey
472162b0d2 Bug 1856501 - Remove revert-llvmorg-14-init-14141-gd6d3000a2f6d.patch. r=firefox-build-system-reviewers,sergesanspaille
Some more recent fixes upstream unbroke cross-compiling the windows
compiler-rt, so we don't need the reversal patch anymore. We also don't
need it on clang 14 either because we don't build the windows
compiler-rt there.

Differential Revision: https://phabricator.services.mozilla.com/D189881
2023-10-03 20:23:23 +00:00
Morgan Rae Reschenberg
45d0be38d9 Bug 1791024: Make focus ring use Canvastext and Selecteditem when HCM is enabled r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D189849
2023-10-03 20:22:17 +00:00
Mike Hommey
b563d4c375 Bug 1856474 - Upgrade grcov to 0.8.19. r=marco
Differential Revision: https://phabricator.services.mozilla.com/D189870
2023-10-03 20:07:33 +00:00
Glenn Watson
b4cddb598a Bug 1850869 - Support pictures that require source and target masks for correctness r=gfx-reviewers,lsalzman
Rather than selecting all clips to be drawn in the source or target space,
allow them to be separate masks when required. In the common case, the spaces
match and so all masks get drawn on to the picture surface. In the rare case
of a mask that requires drawing in source surface space, _and_ a mask in a
parent non-aligned space, support rendering and applying them as separate masks.

Differential Revision: https://phabricator.services.mozilla.com/D189885
2023-10-03 19:51:18 +00:00
Cosmin Sabou
521536d252 Backed out changeset 2dbe440f2e2c (bug 1855277) for causing non-unified bustages on GpuProcessD3D11TextureMap.cpp. CLOSED TREE 2023-10-03 23:04:42 +03:00
Cosmin Sabou
0e271c24aa Bug 1856151 - Remove default expectation for sharedworker-module-data.http-rp/opt-in/websocket.https.html as it's passing. a=test-only 2023-10-03 21:58:51 +03:00
Cosmin Sabou
f84da7974f Backed out changeset 682429034ae9 (bug 1856151) for causing non-unified bustages on GpuProcessD3D11TextureMap.cpp. CLOSED TREE 2023-10-03 22:55:45 +03:00
Cosmin Sabou
8f4ad70f19 Bug 1855296 - Add brackets and quotation marks to skip-if condition to unbust decision task. a=bustage-fix 2023-10-03 22:52:41 +03:00
Tom Marble
9a7d7bef6b Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu
Differential Revision: https://phabricator.services.mozilla.com/D189845
2023-10-03 19:35:22 +00:00
Brad Werth
746e175fab Bug 1856452: Make NonDraggableView opaque region limited to its bounds. r=mstange
NonDraggableView responds to an undocumented selector
_opaqueRectForWindowMoveWhenInTitlebar to determine if mouse downs
within its bounds should drag the window. Since some of our
NonDraggableViews are used to represent the tabs, which should prevent
window dragging, we want to return an NSRect here which represents only
the view's visible bounds. Prior to this patch, we were returing [self
visibleRect], which is calculated by the ancestor clip chain. That's
mostly what we want, but it relies upon the NonDraggableView clipping to
its own bounds. There is a property that sort-of conveys this,
clipsToBounds, but as documented it implies that it only affects the
display of subviews. Since we are already overridding this undocumented
method, we just return the view's bounds  here instead of setting the
clipsToBounds property which implies that we are expecting to add
subviews to the NonDraggableViews. This keeps the complexity all in one
place.

Differential Revision: https://phabricator.services.mozilla.com/D189866
2023-10-03 19:14:23 +00:00
Nico Grunbaum
effbf1f2b8 Bug 1855369 - log underlying track when it exists;r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D189548
2023-10-03 19:13:23 +00:00
Mozilla Releng Treescript
5a5df30254 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
cs -> 96ccd54d96baaa065ad7209c83298de2e7f240d0
dsb -> e0ded4770b8e1ba57c8930692e5847a70eb2ee27
en-GB -> 2f83da43dad2a04ef000e67ecf1ca4da204ea6eb
es-CL -> 976d3f2112cc4caaf6addfc06fce1d80cc39a6c4
fr -> 2c308a50f0a8a93bc31f7c73ff61c492ae7d42f3
he -> c6d4d53284a69d921675500dfcc09a17b25fde78
hsb -> c7bd833d7d46ce19d6f6752b4faf85ccf6ef9996
hu -> 19147c745193378e2374de5d7eec55b9a208bcba
ia -> 6099eefa2bc7432c3e0914f82e3915e5ac7d3fea
it -> d673f7c0e935319c624e533dd33b618d7771ee1b
ka -> 6a549259bf04a8093a626168c4540bec9e4e19ca
nb-NO -> 3447a2ba99bb34ae0ed39ffabf3dde42c3fb2340
nn-NO -> 9f91aa4fe4ed5a5425c1f891903f2d251cb402a6
pt-BR -> c80171f15da9e69f679d3c5823551d95dbe97583
ru -> 1ac502a151c00325e43b26fc1cc76bc7bcccf7bd
sl -> 231f374f029b80fa9073992c18211eed4e3857a9
tg -> 7755cd8a802c951464295215b1e6b72cd7f3234a
zh-CN -> d2e3493403af8cf7b7149de7437619eb0b12854b
2023-10-03 19:03:16 +00:00
Cosmin Sabou
1d98a07452 Bug 1856151 - Remove default for sharedworker-module-data.http-rp/opt-in/websocket.https.html as it's passing. a=test-only 2023-10-03 21:58:51 +03:00
Greg Mierzwinski
4e38986eb3 Bug 1856379 - [perfdocs] Produce a lint error when no files were changed. r=perftest-reviewers,kshampur
This patch fixes an issue where the PerfDocLogger only produced an error when any file was changed which results in some odd behaviours. Now, when no files are changed, we produce a lint error that doesn't specify the file that contains the error. At the same time, a test is added for this.

Differential Revision: https://phabricator.services.mozilla.com/D189934
2023-10-03 18:56:34 +00:00
scottdowne
a55282b555 Bug 1847786 - Pocket newtab remove old remote layout switching code. r=gvn,mconley
Differential Revision: https://phabricator.services.mozilla.com/D185688
2023-10-03 18:53:02 +00:00
sotaro
9aecb73494 Bug 1855277 - Add a capability to upload yuv video to NV12 ID3D11Texture2D at WebRenderImageHost on Windows r=gfx-reviewers,lsalzman
TextureHostWrapperD3D11 is created in WebRenderImageHost::GetAsTextureHostForComposite() if possible.  TextureHostWrapperD3D11 usage could reduce ID3D11Texture2D usage compared to  Bug 1753373. And  its usage adds video overlay support of DRM protected video.

The TextureHostWrapperD3D11 wraps YUV BufferTextureHost and instead exposes DXGITextureHostD3D11 to WebRender. The DXGITextureHostD3D11 holds GpuProcessTextureId of ID3D11Texture2D. The ID3D11Texture2D is allocated and data updated in TextureUpdate thread.

If the ID3D11Texture2D is not ready, a wait happened by calling GpuProcessD3D11TextureMap::WaitTextureReady() in Render thread.

Differential Revision: https://phabricator.services.mozilla.com/D189882
2023-10-03 18:52:06 +00:00
Jan Varga
e29c1659aa Bug 1855138 - Add BackgroundParent::KillHardAsync method; r=nika,ipc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189482
2023-10-03 18:40:30 +00:00
Perry McManis
2dea4cb666 Bug 1856064 - test for reactivate product glean event r=shopping-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D189683
2023-10-03 18:25:15 +00:00
Cosmin Sabou
dfd378c440 Bug 1855588 - Temporarily disable test_windowOpen.html on !debug because of permafailures until a fix is in place. a=test-only. 2023-10-03 21:06:08 +03:00
Sandor Molnar
ab60af59a7 Backed out changeset 21db15048e15 (bug 1856018) for causing multiple failures/bustages CLOSED TREE 2023-10-03 20:41:43 +03:00
Alexandre Lissy
19adf5485a Bug 1856666 - run snap tests as cron r=releng-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D189958
2023-10-03 17:31:39 +00:00
Ryan VanderMeulen
f2f30ee072 Bug 1856664 - Clean up CCov mochitest-plain chunking. r=jmaher,taskgraph-reviewers,jcristau
Depends on D189953

Differential Revision: https://phabricator.services.mozilla.com/D189954
2023-10-03 17:06:30 +00:00
Ryan VanderMeulen
bb83818634 Bug 1856663 - Add more chunks for Android mochitest-plain. r=jmaher,taskgraph-reviewers,jcristau
Also drop the max runtime to 60min.

Differential Revision: https://phabricator.services.mozilla.com/D189953
2023-10-03 17:06:29 +00:00
Sandor Molnar
6dcdb22106 Bug 1827682 - Adjust requestStorageAccess-ABA.tentative.sub.https.window.js.ini manifest file. r=jgraham,intermittent-reviewers DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D189714
2023-10-03 17:04:09 +00:00
Michael Hughes
ed3473bfdf Bug 1855340 - Avoid installer pinning popping a confirmation dialog on Windows 11 Insider Preview. r=bhearsum,mhowell,mhughes
This confirmation dialog is introduced on Windows version 22621.2361.
This commit disables the pinning in the installer on versions newer
than that.  The onboarding process should do the pinning: in this
context, the confirmation dialog makes more sense.

Differential Revision: https://phabricator.services.mozilla.com/D189324
2023-10-03 16:49:09 +00:00
Emilio Cobos Álvarez
8bd872cf7c Bug 1856628 - Remove WakeLock::IsDocumentInvisible and related code. r=pip-reviewers,mhowell
This was added for bug 1659060 and bug 1679314, but it is effectively
superseded by bug 1755748, which makes document.hidden false if PiP is
used.

Covered by toolkit/content/tests/browser/browser_media_wakelock_PIP.js

Differential Revision: https://phabricator.services.mozilla.com/D189940
2023-10-03 16:08:59 +00:00
Emilio Cobos Álvarez
09b0938a70 Bug 1856018 - Make forgiving selectors serialize. r=dshin
As per resolution in https://github.com/w3c/csswg-drafts/issues/8356

Safari already does this. Expand the tests they tweaked to be useful
again (test that when non-forgiving parsing is used, then the selector
is invalid).

Differential Revision: https://phabricator.services.mozilla.com/D189666
2023-10-03 16:05:24 +00:00
Jonathan Sudiaman
1859ecc92c Bug 1855218 - Regression: "Show all the bookmarks folders" button resets changes to Location dropdown in bookmarking pane r=mak,places-reviewers
Fix bookmarks regression and add a test case. Also simplified the test file to use a single window. (New window is no longer required, now that we don't allow flipping between delayed/instant apply.)

https://treeherder.mozilla.org/jobs?repo=try&revision=8fd198b49afb038c1944d9ccccedbbe06d463517

Differential Revision: https://phabricator.services.mozilla.com/D189658
2023-10-03 16:04:13 +00:00
Kelly Cochrane
e17ae43c97 Bug 1855532 - Define page background-color variable for HCM in Firefox View r=sfoster,desktop-theme-reviewers,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189839
2023-10-03 15:44:59 +00:00
ganna
9246abd406 Bug 1844850 - Use moz-message-bar in the unified extensions panel. r=tgiles,hjones,fluent-reviewers,extension-reviewers,willdurand,bolsson,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D186718
2023-10-03 15:35:42 +00:00
Yannis Juglaret
9b3e8bcb17 Bug 1777960 - Patch msctf.dll to prevent a crash with ZoneAlarm Anti-Keylogger. r=gstoll,win-reviewers
Starting with Windows 11 22H2, Microsoft has made internal changes in
msctf.dll. The TF_Notify function, also known as CtfImmNotify from
imm32.dll, uses a new convention for its third argument. These changes
are incompatible with current versions of ZoneAlarm Anti-Keylogger,
resulting in crashes in our main process.

This patch converts messages forwarded by ZoneAlarm Anti-Keylogger to
the new convention. If we detect the product and an incompatible version
of msctf.dll, then we hook TF_Notify and detect any message using the
old convention, and convert it to the new convention.

Differential Revision: https://phabricator.services.mozilla.com/D189518
2023-10-03 15:24:47 +00:00
Matthew Gaudet
9452ae6fcb Bug 1855819 - Emit syntax error on use of lexical variable types in self-hosted code r=arai
Differential Revision: https://phabricator.services.mozilla.com/D189606
2023-10-03 15:23:59 +00:00
Matthew Gaudet
3528192108 Bug 1855819 - Replace use of let and const in self-hosted code with var r=arai
Patch mechanically produced with sed.

Differential Revision: https://phabricator.services.mozilla.com/D189608
2023-10-03 15:23:59 +00:00
Alexandre Poirot
1e33b4e3e0 Bug 1855910 - [devtools] Cover pausing on a pretty printed location on reload. r=perftest-reviewers,devtools-reviewers,sparky,nchevobbe
This will highlight all the slow operations happening on reloading a pretty printed location:
* re-pretty printing the source
* slow column breakpoint selectors when a breakpoint is set on a large file
* slow parser worker to compute symbols for scope on pause

Differential Revision: https://phabricator.services.mozilla.com/D189130
2023-10-03 15:16:38 +00:00
Yannis Juglaret
fb31406c49 Bug 1705042 - Disable IOInterposer if we detect an incompatible Symantec DLL. r=win-reviewers,gstoll
We are receiving crashes that show that our NtReadFile hook is
incompatible with a DLL from Symantec. The DLL installs its own hook
after ours has been applied, thereby breaking it. This patch is an
attempt to avoid these crashes, by disabling the IOInterposer if we
detect said DLL.

Differential Revision: https://phabricator.services.mozilla.com/D189832
2023-10-03 15:14:38 +00:00
Connor Sheehan
1aad85563c Bug 1856588: clarify --push-to-lando pushes stack plus one try commit r=zeid
The statement "pushed 3 commits" can be confusing because the user has
actually pushed 2 of their own commits, plus one try config commit. Clarify
this in the command output.

Differential Revision: https://phabricator.services.mozilla.com/D189944
2023-10-03 15:08:54 +00:00
Sarah Clements
992862ab46 Bug 1855827 - Fix submenu alignment r=reusable-components-reviewers,hjones
* Change setSubmenuAlign to take into account submenu panel width and parent panel width when setting alignment

Differential Revision: https://phabricator.services.mozilla.com/D189838
2023-10-03 14:42:14 +00:00
Emilio Cobos Álvarez
21b343ce87 Bug 1855836 - Make empty threshold list behavior match other browsers. r=smaug
Technically a broken test, but given other browsers' behavior and that
having no thresholds is useless, I don't think this edge-case is worth
fighting about.

See https://github.com/w3c/IntersectionObserver/pull/516 for the spec
change.

Differential Revision: https://phabricator.services.mozilla.com/D189764
2023-10-03 14:35:30 +00:00
Tomislav Jovanovic
f1395a051d Bug 1815314 - Tests for pageAction and browserAction persistent events r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D189876
2023-10-03 14:33:53 +00:00
Emilio Cobos Álvarez
258b1f54c6 Bug 1856398 - Import in-content vars in notification-message. r=hjones
Until the other bug is fixed.

Differential Revision: https://phabricator.services.mozilla.com/D189937
2023-10-03 14:18:10 +00:00
Sean Feng
753f5e878a Bug 1855838 - Allow JS validation failed requests to pass without data instead of raising errors r=farre,necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D189585
2023-10-03 13:53:44 +00:00
scottjehl
3d4c5c86b9 Bug 1836128 - Implement source media for media elements and reference/update relevant platform tests r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D189416
2023-10-03 13:52:06 +00:00
Ryan VanderMeulen
226753609d Bug 1856621 - Clean up and re-enable skipped tests in layout/generic/test/mochitest.ini. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D189938
2023-10-03 13:43:04 +00:00