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

801875 Коммитов

Автор SHA1 Сообщение Дата
André Bargull 91f0cd47d6 Bug 1773266: Correctly handle zero count when inlining slice for inline arguments. r=iain
Don't assume non-zero number of actual arguments means `count` must be larger than zero.

Differential Revision: https://phabricator.services.mozilla.com/D148649
2022-07-18 11:13:07 +00:00
Jens Stutte 416238d1b5 Bug 1777198 - Cancel content JS execution on quit-application-granted or on normal content process shutdown. r=smaug
We want to signal content processes to cancel content JS unconditionally on shutdown.
In the case of parent shutdown this has to happen as early as "quit-application-granted", given that both extensions and session storage shutdown rely on the possibility to interact with content processes (which is not possible when they are inside long running JS).
In addition in the case of a normal child shutdown we cancel content JS execution, too.
For now we put this behind the pref "dom.abort_script_on_child_shutdown" which remains default off.

Depends on D150539

Differential Revision: https://phabricator.services.mozilla.com/D150598
2022-07-18 10:56:41 +00:00
Jens Stutte 033351d249 Bug 1777198 - Have a long running content JS shutdown hang test. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D150539
2022-07-18 10:56:40 +00:00
Hubert Boma Manilla 15ba96c004 Bug 1764349 - [devtools] Add clear functionality for network resources r=ochameau
Enable clearing of network resources on all layers(frontend, resource layer, server) when the
user click the clear button.

Differential Revision: https://phabricator.services.mozilla.com/D148694
2022-07-18 10:13:58 +00:00
Emilio Cobos Álvarez b3e37c1628 Bug 1767358 - Clean-up logging in uriloader/exthandler. r=Gijs
This allows logging in static functions. Also add missing includes.

Differential Revision: https://phabricator.services.mozilla.com/D151920
2022-07-18 10:07:02 +00:00
Gijs Kruitbosch 2660d2c8a6 Bug 1768671 - force append '.pdf' for pdf blob downloads displayed inline if it's missing, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D151890
2022-07-18 09:53:31 +00:00
Tooru Fujisawa 9948edffdf Bug 1779927 - Reuse existing ChromeUtils.defineESModuleGetters when converting lazy getters. r=Standard8
When converting lazy getter calls, if the previous/next statement is
`ChromeUtils.defineESModuleGetters`, add properties into it, instead of
converting the lazy getter call into `ChromeUtils.defineESModuleGetters`
or creating new `ChromeUtils.defineESModuleGetters` call.

Differential Revision: https://phabricator.services.mozilla.com/D151980
2022-07-18 09:22:39 +00:00
Jari Jalkanen e354e38307 Bug 1759152 - Expose file system to workers. r=dom-storage-reviewers,jesup,janv
Depends on D149983

Differential Revision: https://phabricator.services.mozilla.com/D140862
2022-07-18 09:18:27 +00:00
smolnar 21276b3980 Backed out changeset a137e696f06a (bug 1779935) for causing wpt failures in html/canvas/offscreen/fill-and-stroke-styles/2d.gradient.interpolate.alpha.worker.html CLOSED TREE 2022-07-18 11:11:06 +03:00
smolnar bd8c576702 Backed out 2 changesets (bug 1529337) for awaiting decision on implementing other CSP 3 features
Backed out changeset 12cd014c46e8 (bug 1529337)
Backed out changeset f1489d7cf1a1 (bug 1529337)
2022-07-18 11:09:25 +03:00
Bogdan Szekely a5bbfdd85a Backed out 2 changesets (bug 1779180, bug 1779043) for causing mochitest failures on test_css-logic-media-queries.html
CLOSED TREE

Backed out changeset 95e34a0fbb39 (bug 1779043)
Backed out changeset 0931519b4ef2 (bug 1779180)
2022-07-18 10:37:32 +03:00
Dimi 305704be14 Bug 1775233 - P2. Update testcases to accept credit card forms with only one credit card number field (without autocomplete=cc-number) r=sgalich
Differential Revision: https://phabricator.services.mozilla.com/D151807
2022-07-18 07:11:55 +00:00
Dimi b609fbb39e Bug 1775233 - P1. Consider credit card sections that contain only a credit card number field to be valid cc sections r=sgalich
Before this patch, we consider credit card sections with only one cc-number
field to be valid sections ONLY IF its cc-number field has
"autocomplete=cc-number". In other words, if we infer the field is
a cc-number field because of our detection heuristic, the section
is considered to be invalid.

In this patch, we remove the "autocomplete=cc-number" constrain, which
means as long as a credit card section has a cc-number field, it is a
valid cc section.

Differential Revision: https://phabricator.services.mozilla.com/D151806
2022-07-18 07:11:55 +00:00
Nicolas Chevobbe cd5945b68a Bug 1779043 - [devtools] Fix jumping to media query in inline sheets. r=jdescottes.
We directly pass the editor stylesheet in the `location` parameter that is passed
to `jumpToLocation`.

`jumpToLocation` wasn't covered in any test, so we modify `browser_styleeditor_media_sidebar.js`
to add coverage for it.
This is also testing Bug 1779180 which is in the same stack.

Differential Revision: https://phabricator.services.mozilla.com/D151597
2022-07-18 07:05:18 +00:00
Nicolas Chevobbe 597135d899 Bug 1779180 - [devtools] Replace usages of InspectorUtils.getRuleLine with InspectorUtils.getRelativeRuleLine. r=jdescottes.
For <style> elements, `getRelativeRuleLine` gives us the position of the rule
inside a stylesheet, when `getRuleLine` gives the position of the rule relatively
to the whole HTML source.
The former is more accurate for us when we want to display such line number in
DevTools UI (for example in the StyleEditor media query sidebar).

Test will be added in next patch of this queue.

Differential Revision: https://phabricator.services.mozilla.com/D151596
2022-07-18 07:05:18 +00:00
smolnar 5ecfe80ddd Backed out changeset dd96cc22ca4d (bug 1759152) for causing gtest crashes. CLOSED TREE 2022-07-18 10:03:51 +03:00
Mozilla Releng Treescript ca9d6b12d8 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
de -> 35859bdbfdb312f6c6672bd80dd2395d92261e7b
es-MX -> 15eaf0fbb07a259eaa5bf21d36e69d1148f7da41
it -> f56ae3ad6a9bff1166a647453e17c8c3b66b7673
nl -> b1b05ca9a5293042f91cfd8067d97ae7b8812664
sv-SE -> 587bd874ac99f242a13454d4aa555537151b1817
tg -> 619bad436d6e17c624c08b9f3823610b72e45f80
zh-TW -> 0a1d69e10853951d3203ad1e7acf5c175e4beba6
2022-07-18 06:59:00 +00:00
Mark Banner d6d4e667aa Bug 1779944 - Change js/xpconnect/tests/unit/api_script.js to use unix line endings. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D151983
2022-07-18 06:56:57 +00:00
Jari Jalkanen 848caa7913 Bug 1759152 - Expose file system to workers. r=dom-storage-reviewers,jesup,janv
Depends on D149983

Differential Revision: https://phabricator.services.mozilla.com/D140862
2022-07-18 06:22:14 +00:00
Andreea Pavel 4f2fe8d8d8 Bug 1481802 - update disabling condition to include all linux builds r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D151966
2022-07-18 05:45:46 +00:00
Mozilla Releng Treescript 433fee9aac no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
de -> 292128bcc7e9b123a8cb5740e4324e0da0cd6133
ja -> bb569142a5c4cc64373d3faa04aa9ac07ba9f2af
ja-JP-mac -> b7b995721f6f79f32a51c0c54b8c8ffbbad96044
kab -> 81b70d6b92427a78caa2688447a973739db8605d
nn-NO -> c2fa8324213c43e29d71ecba521078b78fb589c3
pa-IN -> af1d5e70aa94cb3971486f55eb74139eacd93302
ru -> 309f535d142a6fb5f6f3bb20a5877691848c660c
sl -> 37246d4d8c1b4167b7c1c2ae93b997f892677d18
sr -> 537d8fb763e1f4101820505c0df38169b5e4a29c
tg -> 721dae751d30b69c91403446a4ef6db31aca9cac
2022-07-17 19:02:28 +00:00
Iulian Moraru 5e7070f988 Backed out changeset 89d291a9ee9b (bug 1737043) for causing xpcshell failures on test_URIFixup_check_host.js. CLOSED TREE 2022-07-17 20:47:23 +03:00
Andrew Osmond 15890255a7 Bug 1779935 - Ensure GradientCache lookup and insertion are atomic. r=gfx-reviewers,lsalzman
There are potential races between insertion of the same gradient into
the cache on different threads, as well as acquiring a strong reference
to the GradientStops object racing with the expiration timer.

Differential Revision: https://phabricator.services.mozilla.com/D151981
2022-07-17 17:11:09 +00:00
Gijs Kruitbosch 393bdf2f46 Bug 1737043 - add a suggestion for 'example.com' in the network error page for 'example', r=mak,eemeli,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D129156
2022-07-17 16:48:44 +00:00
criss 3cb31675ae Merge autoland to mozilla-central. a=merge 2022-07-17 12:02:14 +03:00
Mozilla Releng Treescript e414ed367f no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
eo -> 65cf5ba1850ad4477c6c5f30f361f72e305969d3
ka -> 81423ab2033f48c9740565a1e93efc0c81a5c263
nn-NO -> cc1f90d7a3d11b30085ece47fed4a33dd628d382
2022-07-17 06:59:03 +00:00
Thomas Wisniewski 9abebe821e Bug 1760279 - have our Google Analytics/Tag Manager shim call the original dataLayer's push method if it has successfully loaded, so page's custom JS stored in GTM can run; r=ksenia,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D151971
2022-07-16 23:29:51 +00:00
Mozilla Releng Treescript 48f5edbe59 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
el -> 2807d97336cd29b3f4393bdbce46c8436ed6e57f
eo -> 498f54cedfe3da8317e4892a9da9228c89af7512
eu -> bec3a3199f2cdd4fef94a593fce14faa39eed0dd
fr -> 5a5b98476022533b453a5f643995bfc8229ecdf1
it -> 81e4f9700836a6a74c6ddc9db0fe453d28cd875e
oc -> 68335aebb083bffe2f10542ad35a434dca0cc046
pl -> 20ee43e3625264b324d5d236525215e67a3c0aee
ru -> b6dce2a33b4ce07f12151605421315b39d10a17e
tg -> d19cd8a478aec6656016ef144f34b80405d734ec
2022-07-16 19:05:03 +00:00
Doug Thayer ded0196a2a Bug 1773310 - Don't run native menu code if headless r=mstange
So, the problem was just that in LoadNativeMenus, we do our cleanup of the
sLoadNativeMenusListeners list. However, we were also early exiting from that
function if we're in headless mode. We have no good reason to be in that
function to begin with if we're in headless mode though, so I just hoisted
the check out to an earlier point.

Differential Revision: https://phabricator.services.mozilla.com/D151929
2022-07-16 16:25:30 +00:00
Doug Thayer 46492ad747 Bug 1773310 - Init sHiddenWindowLoadedNativeMenus to false r=mconley,mstange
Differential Revision: https://phabricator.services.mozilla.com/D151528
2022-07-16 16:25:30 +00:00
Norisz Fay d76006360b Merge autoland to mozilla-central a=merge 2022-07-16 12:20:05 +03:00
Mozilla Releng Treescript b169bc9b41 no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD
be -> b947d6043de94b612e4e95dc566324f077a1c6e7
eu -> 41027f34281a8b2676601d54b744d2a9b666ebb0
ja -> 60eb149d13041af5264fec3fd77922dc57b280c9
ja-JP-mac -> 6f101bafd6b7ef1f46ba63af22cd3118ba19a879
uk -> 9ff132a30b7c1446984004546a85c55fb90c7bb8
2022-07-16 06:57:34 +00:00
Norisz Fay 21261127e8 Backed out changeset b94861755266 (bug 1779829) for causing build bustages on ProtocolFuzzer.h CLOSED TREE 2022-07-16 09:39:57 +03:00
Updatebot b9b38ddcc4 Bug 1779862 - Update opus to c9d5bea13e3cb7381bfa897a45d8bab4e7b767a7 r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D151965
2022-07-16 06:17:06 +00:00
Jim Blandy 25bd35bb65 Bug 1779829: Replace `Shmem::PrivateIPDLCaller` with `friend` specifiers. r=nika
Instead of using the public member type `PrivateIPDLCaller` to
restrict access to certain `Shmem` member functions, make them
`private`, and designated `IProtocol` and `ITopLevelProtocol` as
friends of `Shmem`.

Differential Revision: https://phabricator.services.mozilla.com/D151952
2022-07-15 22:42:04 +00:00
Dan Robertson 01442549da Bug 1777324 - Move reftest README to firefox source documentation. r=tnikkel
Move the README for the layout reftests to the firefox source documentation.

Differential Revision: https://phabricator.services.mozilla.com/D150630
2022-07-15 21:40:22 +00:00
Bernard Igiri 4b6eaac0e3 Bug 1776221 - Added auto update of Colorway CTA on theme change r=sfoster
With this fix changing the Colorway theme should automatically update the Colorway CTA in Firefox View. Additionally, the Colorways portion of firefoxview.mjs has been migrated to colorways-card.mjs and restructured to match the style of the rest of the Firefox View codebase.

Differential Revision: https://phabricator.services.mozilla.com/D150878
2022-07-15 21:36:56 +00:00
Butkovits Atila c8899947b3 Merge mozilla-central to autoland. CLOSED TREE 2022-07-16 00:36:49 +03:00
Olli Pettay 676de90efc Bug 1779808 - Add a JS helper to check if a document is the current active document of a browsing context, r=emilio
This should get tested as part of bug 1692468 and others.

This is exposing https://searchfox.org/mozilla-central/rev/99c3ccc2f02c5fff7c9850f7a0770ee92cc693f6/dom/base/Document.cpp#12730 to privileged JS.

If one wants to check if an element in a data document (document.implementation.createHTMLDocument().body for example) is in a window which is active,
something like element.ownerGlobal?.document.isActive() should work.

Differential Revision: https://phabricator.services.mozilla.com/D151951
2022-07-15 21:30:04 +00:00
Andreea Pavel 239c58bf0e Merge autoland to mozilla-central a=merge 2022-07-16 00:29:09 +03:00
Andrew Halberstadt 3c131b2865 Bug 1779646 - [docs] Re-structure the 'how-to' section of taskgraph docs, r=taskgraph-reviewers,aki
This links directly to the taskgraph howto section in most cases:
https://taskcluster-taskgraph.readthedocs.io/en/latest/howto/index.html

Then removes documentation that duplicates that section.

Jira: RELENG-709

Differential Revision: https://phabricator.services.mozilla.com/D151937
2022-07-15 20:58:34 +00:00
Andrew Halberstadt 5e36818adc Bug 1779646 - [docs] Re-structure/remove taskgraph documentation that duplicates standalone docs, r=taskgraph-reviewers,aki
Lots of this documentation has been migrated to:
https://taskcluster-taskgraph.readthedocs.io/en/latest/index.html

Rather than maintain two sets of parallel docs, this refactors the Gecko docs
to point to the taskgraph ones where appropriate.

Jira: RELENG-709

Differential Revision: https://phabricator.services.mozilla.com/D151935
2022-07-15 20:58:33 +00:00
Andrew Halberstadt 1ac8426830 Bug 1779646 - [docs] Remove 'taskcluster/docs/task-graph.rst', r=taskgraph-reviewers,aki
This was an import from MDN that I don't think was providing much value.

Jira: RELENG-709

Differential Revision: https://phabricator.services.mozilla.com/D151934
2022-07-15 20:58:33 +00:00
Andrew Halberstadt ddf5db77a4 Bug 1779646 - [docs] Re-write landing page for Taskcluster / Taskgraph documentation, r=taskgraph-reviewers,aki
Jira: RELENG-709

Differential Revision: https://phabricator.services.mozilla.com/D151933
2022-07-15 20:58:32 +00:00
Cathy Lu df9bafbf73 Bug 1734394 - Make Geckoview use the session store collector r=geckoview-reviewers,agi,farre,peterv
When the session storage prefs are enabled, GeckoSession updateSessionState will provide the bundle of information, including zoom, scroll, and form data, to the delegate. Currently works for Fission and on Fenix.

Differential Revision: https://phabricator.services.mozilla.com/D148215
2022-07-15 20:44:55 +00:00
Tom Ritter 5601c9d71d Bug 1737829: Add a cross-origin iframe test for RFP exemptions r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D150593
2022-07-15 20:39:24 +00:00
Tom Ritter a199ab6a52 Bug 1737829: Populate an RFP bit from Channel to Connection via Caps r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D144583
2022-07-15 20:39:23 +00:00
Tom Ritter c55fc9ce83 Bug 1737829: Add an RFP argument to UserAgent() and AddStandardRequestHeaders() r=necko-reviewers,kershaw
UserAgent() needs a parameter because it previously was
calling the non-fine-grained RFP check. It can't call the
fine-grained check, so it needs to be told what to do.

AddStandardRequestHeaders calls UserAgent() and needs to
know what to pass it.

Differential Revision: https://phabricator.services.mozilla.com/D144582
2022-07-15 20:39:23 +00:00
Tom Ritter 5d4fe766fe Bug 1737829: Change the Navigator::UserAgent function for RFP r=asuth
We change it from taking bool aIsCallerChrome to
Maybe<bool> aShouldResistFingerprinting.  If there is
a value in there, it is used for determining RFP status.
If not, we call ShouldRFP with the provided Document.

This is needed because on a Worker, we wind up in UserAgent
with no Document, we need to pass the RFP decision in
from WorkerPrivate.

Differential Revision: https://phabricator.services.mozilla.com/D144581
2022-07-15 20:39:23 +00:00
Tom Ritter f11bc3e771 Bug 1737829: Add loadInfo to nsHttpChannel::Init() r=necko-reviewers,kershaw
Everywhere except one loadInfo is supplied to an HTTPChannel
right after it is Init()-ed.  Inside of Init we would like to
use the loadInfo so we'll put it in there.

Differential Revision: https://phabricator.services.mozilla.com/D144580
2022-07-15 20:39:22 +00:00