Commit graph

796409 commits

Author SHA1 Message Date
Tim Giles
1f3536a4ce Bug 1771004 - Ignore Storybook generated files. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D147217
2022-05-25 18:32:43 +00:00
Mike Hommey
c54b3311fb Bug 1696504 - Bump macOS builds to SDK 11.0. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D131588
2022-05-25 18:28:19 +00:00
Cristian Tuns
9773ee73d1 Backed out changeset 6ad49f7d560a (bug 1756995) for causing mochitest failures on browser_firefoxview_tab.js CLOSED TREE 2022-05-25 14:27:30 -04:00
Sarah Clements
d9d9db7792 Bug 1767473 - Add additional functionality to closed tabs in Firefox View r=Gijs,sfoster
* add event listener and update list when a tab is closed
* add additional styling, favicon element and keyboard navigation support
* add tests

Differential Revision: https://phabricator.services.mozilla.com/D145906
2022-05-25 14:26:43 -04:00
Dimi
5bcb548c20 Bug 1771152 - Use documentElement.closest r=sgalich
mutation.target is HTMLDocument, which doesn't have closest function.
This patch uses mutation.target.documentElement instead.

Differential Revision: https://phabricator.services.mozilla.com/D147294
2022-05-25 18:13:51 +00:00
ahochheiden
129e18dbac Bug 1771016 - Updated ./mach doctor to check for erroneously enabled Artifact Builds r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D147219
2022-05-25 18:10:31 +00:00
Thomas Wisniewski
3cd6021ecc Bug 1770743 - have SmartBlock's GeoIP2 shim spoof USA as the country to work around site breakage; r=pbz,webcompat-reviewers,ksenia
Differential Revision: https://phabricator.services.mozilla.com/D147309
2022-05-25 17:56:01 +00:00
Emilio Cobos Álvarez
7789efcab7 Bug 1769774 - Stop tracking painted PresShells. r=mstange
After bug 1730284 we don't use it for throttling iframes, so the only
remaining use the test-only nsIDOMWindowUtils.paintCount. None of the
tests using it rely on the empty transaction case, so we should be able
to just remove this.

Differential Revision: https://phabricator.services.mozilla.com/D146589
2022-05-25 17:55:17 +00:00
Emilio Cobos Álvarez
14feea4bf2 Bug 1730284 - Use whether the embedder element intersects the viewport to decide whether to throttle in-process iframes. r=smaug
This is more likely to be understandable by developers, matches other
browsers more closely (see bug comments), and seems more in-line with
what we do for OOP iframes.

Add a pref to not do this throttling at all (which would match Chrome),
though this is probably good enough for now.

Differential Revision: https://phabricator.services.mozilla.com/D146574
2022-05-25 17:54:22 +00:00
Emilio Cobos Álvarez
9e0c44f14a Bug 1730284 - Factor out some IntersectionObserver code. r=smaug,sefeng
Differential Revision: https://phabricator.services.mozilla.com/D146573
2022-05-25 17:54:22 +00:00
Cathy Lu
803a4e8449 Bug 1721220 - Add BAD_STS_CERT error r=geckoview-reviewers,nika,agi,owlish
Differential Revision: https://phabricator.services.mozilla.com/D146234
2022-05-25 17:51:11 +00:00
Agi Sferro
0cf67ce1eb Bug 1759052 - Add a gv-junit webContentIsolationStrategy=0. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D146942
2022-05-25 17:44:51 +00:00
Dimi
0f1a8e152d Bug 1765442 - Store the reference of HTMLLabelElement.control when generating label maps r=sgalich
Accessing control via `label.control` requires a call to native HTMLLabelElement::GetLabeledElement.
And for unmapped label case, we call
`this._unmappedLabels.filter(label => label.control == element);`
for every input element in the form. This means if a form has 10 labels
and 10 elements, a `identifyAutofillFields` call to the form  may invoke up to 100 (10x10)
HTMLLabelElement::GetLabeledElement call.

This patch fixes this issue by storing the reference of the control elements in
`this._unmappedLabelControls` to reduce the number of HTMLLabelElement::GetLabeledElement calls
(10 HTMLLabelElement::GetLabeledElement calls in the foregoing example).

Differential Revision: https://phabricator.services.mozilla.com/D146669
2022-05-25 17:21:04 +00:00
Tom Schuster
19cb5cfdcb Bug 1770395 - Test more file types. r=dveditz
Differential Revision: https://phabricator.services.mozilla.com/D146923
2022-05-25 17:07:56 +00:00
Tom Schuster
b9f2fe59ee Bug 1770395 - Telemetry for file protocol script loads. r=freddyb
Differential Revision: https://phabricator.services.mozilla.com/D146902
2022-05-25 17:07:56 +00:00
Gijs Kruitbosch
404c3697a7 Bug 1770848, r=jaws,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D147116
2022-05-25 17:02:00 +00:00
Alexandre Poirot
215ceb2657 Bug 1770959 - [devtools] Use standard URL constructor instead of whatwg-url module. r=nchevobbe
And remove this module which is no longer used.

Differential Revision: https://phabricator.services.mozilla.com/D147194
2022-05-25 16:56:44 +00:00
Cristian Tuns
f475940c79 Backed out changeset b6894cf5a5c7 (bug 1767473) for causing mochitest failures on browser_firefoxview_tab.js CLOSED TREE 2022-05-25 13:27:03 -04:00
Cristian Tuns
e9a52cefa6 Backed out changeset 6fc99ee8219e (bug 1771152) for causing mochitest failures on browser_editAddressDialog.js CLOSED TREE 2022-05-25 13:17:13 -04:00
Emilio Cobos Álvarez
24252a4136 Bug 1766093 - Fix a test that was relying on a selectionchange event which no longer happens.
MANUAL PUSH: Trivial fix CLOSED TREE
2022-05-25 19:10:52 +02:00
Andreas Farre
2d57521473 Bug 1756995 - Optimize docshell load end session store collection. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D146207
2022-05-25 16:33:54 +00:00
Niklas Baumgardner
76b760360a Bug 1759192 - Site wrapper for Hulu. r=pip-reviewers,mhowell
Differential Revision: https://phabricator.services.mozilla.com/D146263
2022-05-25 16:08:04 +00:00
Edgar Chen
bc028b1f4e Bug 1524237 - Use Shmem for sending large string data in IPCDataTransfer; r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D146096
2022-05-25 15:53:39 +00:00
Ben Hearsum
7ee91ad8fa Bug 1751450: update all NSIS plugin DLLs with signed copies. r=mhowell
For posterity, these were signed through our adhoc-signing system. Relevant links:
0acb7a37c2
https://firefox-ci-tc.services.mozilla.com/tasks/VxWxraRRRbuHwOpKvxW8lg
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/VxWxraRRRbuHwOpKvxW8lg/runs/0/artifacts/public%2Fbuild%2Fnsis-plugins-signed.zip

Differential Revision: https://phabricator.services.mozilla.com/D147302
2022-05-25 15:21:13 +00:00
Emilio Cobos Álvarez
cf6ae78397 Bug 1766093 - Prevent text selection inside the video controls. r=Gijs
It seems we don't allow it generally...

I couldn't reproduce the bad effect on standalone pages (so there's
something about the YouTube markup or how they setup the event listeners
or some other interaction going on), but:

 * This fixes the issue and is extremely simple.
 * It doesn't prevent users from selecting around videos and pasting
   them into rich text editors.
 * We already apply user-select: none to top-level video documents.

So over-all it should be pretty safe.

Differential Revision: https://phabricator.services.mozilla.com/D147301
2022-05-25 15:03:41 +00:00
Dimi
23a28dbccb Bug 1771152 - Use documentElement.closest r=sgalich
mutation.target is HTMLDocument, which doesn't have closest function.
This patch uses mutation.target.documentElement instead.

Differential Revision: https://phabricator.services.mozilla.com/D147294
2022-05-25 15:01:36 +00:00
Sarah Clements
57597b3ce3 Bug 1767473 - Add additional functionality to closed tabs in Firefox View r=Gijs,sfoster
* add event listener and update list when a tab is closed
* add additional styling, favicon element and keyboard navigation support
* add tests

Differential Revision: https://phabricator.services.mozilla.com/D145906
2022-05-25 14:43:25 +00:00
Andrew Osmond
84415e0d42 Bug 1771154 - Ensure we readback the pixel data for offscreen WebGL-backed canvas 2D contexts. r=lsalzman
When we want to present with an OffscreenCanvas using a Canvas2D context
that is backed by a WebGL context via DrawTargetWebgl, we need to ensure
that any readbacks are done on the owning thread. As such, we need to
map in the surfaces before passing them to ImageBridge.

There are likely optimizations we can do here that don't involve
readback if the canvas doesn't fallback to software but for now this
patch focuses on making it work.

Differential Revision: https://phabricator.services.mozilla.com/D147297
2022-05-25 14:41:37 +00:00
Bernard Igiri
ab76eb51ad Bug 1766293 - Implement option to reset the home page r=fluent-reviewers,desktop-theme-reviewers,dao
Added text and button to set home page to default, and button undo this change.

Differential Revision: https://phabricator.services.mozilla.com/D146461
2022-05-25 13:17:14 +00:00
Emilio Cobos Álvarez
31e7dd1820 Bug 1771137 - Cleanup a bit top layer code. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D147282
2022-05-25 13:07:19 +00:00
David Parks
04d33d359a Bug 1768903: Do not hide Windows mouse cursor when typing ctrl-key sequences r=cmartin
Previously, we ignored cut-and-paste operations, similar to some other applications, but most ctrl-keys do something in the browser that makes hiding the cursor pointless or distracting (like ctrl-j opening the download window).

Differential Revision: https://phabricator.services.mozilla.com/D146506
2022-05-25 12:58:38 +00:00
Tooru Fujisawa
f4c7fb7636 Bug 1771110 - Fix JSM shim to use .sys.mjs. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D147276
2022-05-25 12:49:17 +00:00
André Bargull
7d1e7d1ad8 Bug 1765358 - Part 2: Correct a comment for ReportOutOfMemory. r=iain
The comment about running code is no longer relevant after bug 1277278, see
patch part 1 in bug 1277278.

Depends on D144012

Differential Revision: https://phabricator.services.mozilla.com/D144013
2022-05-25 12:44:43 +00:00
André Bargull
41e631f9ae Bug 1765358 - Part 1: Inline arguments object allocation for inlined arguments. r=iain
The ArgumentsObject for inlined arguments was always allocated through a VM-call,
which made it slower when compared to non-inlined arguments.

Differential Revision: https://phabricator.services.mozilla.com/D144012
2022-05-25 12:44:43 +00:00
Francesco Lodolo (:flod)
7088f400fe Bug 1771133 - Remove unused brand names from brand.dtd, r=eemeli
Differential Revision: https://phabricator.services.mozilla.com/D147279
2022-05-25 12:34:49 +00:00
Jon Coppeard
a7fd419ccc Bug 1771112 - Temporarily remove ChromeUtils.importModule API r=smaug
This removes the API and skips the tests. The implementation in
mozJSComponentLoader is not removed.

This patch will be backed out after the next merge.

Differential Revision: https://phabricator.services.mozilla.com/D147278
2022-05-25 12:12:18 +00:00
Michael Ratcliffe
301e954586 Bug 1770257 - Fix DevTools eslint react/prop-types errors batch 1 r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D147017
2022-05-25 11:53:29 +00:00
Jamie Nicol
556d4cfd0a Bug 1764589 - Remove vertex_array_object extension requirement for WebGL. r=gfx-reviewers,jgilbert
There are some Android devices which support GLES 2 but do not support
the vertex_array_object extension, and we therefore do not give them
WebGL 1.

This requirement was added in bug 1322746. as part of some changes to
GLBlitHelper which required VAOs. However, in bug 1396704 a fallback
path was added to GLBlitHelper which does not require VAOs. The WebGL
implementation can make use of the WebGLVertexArrayFake fallback path
on devices without VAO support, meaning this requirement can be
dropped.

Differential Revision: https://phabricator.services.mozilla.com/D145422
2022-05-25 11:38:01 +00:00
André Bargull
b12dadc254 Bug 1767834: Properly support "collation" as an option when creating an Intl.Collator object. r=platform-i18n-reviewers,gregtatum
We didn't set the "collation" property as a Unicode locale extension, so it
was effectively ignored.

Differential Revision: https://phabricator.services.mozilla.com/D145475
2022-05-25 11:26:46 +00:00
Butkovits Atila
795edee894 Bug 1770976 - update metadata at fetch/http-cache/304-update.any.js.ini. a=testonly. CLOSED TREE 2022-05-25 15:24:54 +03:00
stransky
6ead0fc00d Bug 1771104 [Wayland] Use global popup position only for popups of GDK_WINDOW_TYPE_HINT_POPUP_MENU type r=emilio
This is and updated workaround for https://gitlab.gnome.org/GNOME/gtk/-/issues/4308
When Gtk moves popups with gtk_window_move(), popup coordinates with GDK_WINDOW_TYPE_HINT_POPUP_MENU tyte are considered as 'global' i.e. relative to toplevel window.

Depends on D147266

Differential Revision: https://phabricator.services.mozilla.com/D147267
2022-05-25 09:55:30 +00:00
stransky
2f33c03883 Bug 1771104 [Wayland] Calculate a relative position for anchored popups r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D147266
2022-05-25 09:55:29 +00:00
Norisz Fay
984a9e037f Merge mozilla-central to autoland CLOSED TREE 2022-05-25 12:41:55 +03:00
Michael Ratcliffe
e32688c098 Bug 1770941 - Fix DevTools eslint react/prop-types errors batch 2 r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D147184
2022-05-25 09:35:03 +00:00
Norisz Fay
d2a8e14b56 Merge autoland to mozilla-central a=merge 2022-05-25 12:21:01 +03:00
moz-wptsync-bot
cef4be176d Bug 1770976 - [wpt-sync] Update web-platform-tests to 45c83f64e28827ca98d32da59061c4f45c0a7903, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 45c83f64e28827ca98d32da59061c4f45c0a7903
wpt-type: landing
2022-05-25 08:46:09 +00:00
moz-wptsync-bot
4d987ebe73 Bug 1770741 [wpt PR 34164] - Update wpt metadata, a=testonly
wpt-pr: 34164
wpt-type: metadata
2022-05-25 08:46:09 +00:00
Anders Hartvoll Ruud
9aabf43db8 Bug 1770741 [wpt PR 34164] - WPT for contain:inline-size / contain-intrinsic-size, a=testonly
Automatic update from web-platform-tests
WPT for contain:inline-size / contain-intrinsic-size

Bug: 1328066
Change-Id: Icc81a33cbbf7332a9299971860dd807d70dbe57a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3660167
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1006840}

--

wpt-commits: 45c83f64e28827ca98d32da59061c4f45c0a7903
wpt-pr: 34164
2022-05-25 08:46:09 +00:00
moz-wptsync-bot
2b012059e9 Bug 1770511 [wpt PR 34150] - Update wpt metadata, a=testonly
wpt-pr: 34150
wpt-type: metadata
2022-05-25 08:46:09 +00:00
Rune Lillesveen
006b0bdf7e Bug 1770511 [wpt PR 34150] - [@container] Test for size container inside foreignObject, a=testonly
Automatic update from web-platform-tests
[@container] Test for size container inside foreignObject

Legacy layout inside foreignObject means size containers inside
foreignObject do not work correctly.

Bug: 989916
Change-Id: I6ef33f8dea148fb057d2d3920807de909272d98d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3657494
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1006804}

--

wpt-commits: 10ac18296b5e3854010becd91db796d5fe405b1e
wpt-pr: 34150
2022-05-25 08:46:09 +00:00