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

770493 Коммитов

Автор SHA1 Сообщение Дата
Sean Feng a1b9c83581 Bug 1731831 - Rename timedChannel to timedChannelInfo for ReplacementChannelConfig r=dragana,necko-reviewers
`timedChannel` is wrong because it implies it is a channel, however it
is in fact a `TimedChannelInfo`.

Differential Revision: https://phabricator.services.mozilla.com/D126254
2021-09-22 19:07:56 +00:00
Mike Conley 0317f92eb3 Bug 1730041 - Bump expiry on tab closing probes. data-review=mmccorquodale, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D126385
2021-09-22 19:01:41 +00:00
Mike Conley 0861ac02ec Bug 1730042 - Bump expiry of about:home startup cache probes. data-review=mmccorquodale, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D126378
2021-09-22 19:01:41 +00:00
Gijs Kruitbosch 8fe353f4c1 Bug 1731774 - fix download blocked badge colour in dark themes, r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D126323
2021-09-22 18:55:55 +00:00
Stephen A Pohl 87f63ab1b8 Bug 1633860: Place window control buttons on the right side on macOS when using an RTL system locale, regardless of the Firefox locale. r=mstange,emilio,harry
Differential Revision: https://phabricator.services.mozilla.com/D116921
2021-09-22 18:51:20 +00:00
Stephen A Pohl a3dbfef293 Bug 1419375: Ensure that window control buttons on macOS appear correctly when the system locale is RTL since the fullscreen and close buttons are reversed in RTL. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D120109
2021-09-22 18:51:20 +00:00
Jonathan Kew 71ac7ba474 Bug 1719544 - part 2 - Convert gfxHarfBuzzShaper normalization callbacks from direct ICU access to mozilla::intl::String APIs. r=platform-i18n-reviewers,dminor
Depends on D126259

Differential Revision: https://phabricator.services.mozilla.com/D126260
2021-09-22 18:48:53 +00:00
Jonathan Kew 2cfc8b9513 Bug 1719544 - part 1 - Add low-level normalization-data accessors ComposePairNFC and DecomposeRawNFD to mozilla::intl::String. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D126259
2021-09-22 18:48:53 +00:00
owlishDeveloper 7acebc65af Bug 1697866 - Add HTTPS-only specific error code and pass it to GeckoView, to handle HTTPS-only specific errors correctly r=agi,JulianWels,nika,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D120914
2021-09-22 18:30:39 +00:00
Dan Minor f62d42b1d9 Bug 1642415 - Add metasource to L10nFileSourceDescriptor; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125242
2021-09-22 18:16:08 +00:00
Dan Minor 451b4ef52f Bug 1642415 - Add unit tests for metasources; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125241
2021-09-22 18:16:08 +00:00
Dan Minor 2228681a5b Bug 1642415 - Update existing tests to pass metasource into createMock; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125240
2021-09-22 18:16:07 +00:00
Dan Minor 7e6caf3eeb Bug 1642415 - Use metasource in FileSource; r=platform-i18n-reviewers,extension-reviewers,gregtatum,zombie
Differential Revision: https://phabricator.services.mozilla.com/D125239
2021-09-22 18:16:07 +00:00
Dan Minor c5d2261220 Bug 1642415 - Remove unused L10nFileSource::Create method; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125238
2021-09-22 18:16:06 +00:00
Dan Minor 6e6201d36c Bug 1642415 - Use metasource in l10nregistry-ffi; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125237
2021-09-22 18:16:06 +00:00
Dan Minor ad6e87862e Bug 1642415 - Rerun mach vendor rust; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125236
2021-09-22 18:16:06 +00:00
Dan Minor 89a5ba9d69 Bug 1642415 - Update to l10nregistry to 0.3.0; r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D125235
2021-09-22 18:16:05 +00:00
Tooru Fujisawa 4a342430db Bug 1718952 - Part 4: Add JSOp::NonSyntacticGlobalThis and move JSScript::hasNonSyntacticScope check for JSOp::GlobalThis from VM to frontend. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D121282
2021-09-22 17:23:05 +00:00
Tooru Fujisawa 3fdc3db586 Bug 1718952 - Part 3: Move JSScript::hasNonSyntacticScope check for JSOp::SetGName from VM to frontend. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D121281
2021-09-22 17:23:05 +00:00
Tooru Fujisawa 01a0d4111a Bug 1718952 - Part 2: Move JSScript::hasNonSyntacticScope check for JSOp::GetGName from VM to frontend. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D121280
2021-09-22 17:23:04 +00:00
Tooru Fujisawa f9456d44c7 Bug 1718952 - Part 1: Move JSScript::hasNonSyntacticScope check for JSOp::BindGName from VM to frontend. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D121279
2021-09-22 17:23:04 +00:00
Tooru Fujisawa cdefd5ecdb Bug 1718635 - Emit JSOp::Undefined instead of JSOp::GImplicitThis if there's no non-syntactic scope when calling unqualified function. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D121278
2021-09-22 17:23:03 +00:00
Sebastian Hengst 109fcf108e Bug 1732107 - restore meta data file for webidl/ecmascript-binding/has-instance.html. r=annevk DONTBUILD
Bug 1728967 dropped it but dom.webidl.crosscontext_hasinstance.enabled is
`true` outside Nightly and needs to be set to `false` in this file for the test.

Differential Revision: https://phabricator.services.mozilla.com/D126358
2021-09-22 17:16:50 +00:00
Dão Gottwald a1585362ad Bug 1719203 - Let "Copy Image Link" use the original URL before redirects. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D125849
2021-09-22 16:54:53 +00:00
Dana Keeler a1c4e115cf Bug 1546720 - don't unload temporary PKCS#11 modules when PSM shuts down r=jschanck,bbeurdouche
NSS shutdown happens in ShutdownXPCOM, after PSM (namely, nsINSSComponent) has
been shut down. Unloading temporarily-loaded PKCS#11 modules like the built-in
roots module and the osclientcerts module when PSM shuts down is redundant,
because this will happen when NSS shuts down anyway. Furthermore, doing so can
run afoul of some race conditions in NSS, so removing this redundant code is
the way to go.

Differential Revision: https://phabricator.services.mozilla.com/D126141
2021-09-22 16:09:48 +00:00
Ryan Hunt 1c3b81d281 Bug 1731599 - wasm: Fix cranelift bustage. r=lth
Differential Revision: https://phabricator.services.mozilla.com/D126294
2021-09-22 16:07:07 +00:00
Cristian Tuns 676acd6c27 Backed out changeset 03a33d194255 (bug 1731668) for causing mochitest failures on browser_download_spam_permissions.js. CLOSED TREE 2021-09-22 12:23:56 -04:00
Andreas Farre a82949627c Bug 1711886 - Part 2: Remove too strict session store test assertions. r=asuth
Previously we've removed data from the session store that aren't
currently in the current browsing context tree, but this is different
from what BackgroundSessionStorageManager considers to be a
session. After part 1 in this patch series, session store will save
exactly the view BackgroundSessionStorageManager has of the current
sessionStorage state.

Differential Revision: https://phabricator.services.mozilla.com/D125681
2021-09-22 15:42:47 +00:00
Andreas Farre cd96fe70a4 Bug 1711886 - Part 1: Store PrincipalInfo in SessionStorageCacheParent. r=asuth
By storing the PrincipalInfo in the parent copy it is possible to
query the BackgroundSessionStorageManager withouth the need of a
preprocessing step matching resulting data to principals using the
browsing context tree. Instead the result from the query contains the
principal info.

To be able to initialize the parent actor lazily with a principal
info, it was needed to make clearing the storage be a less fine
grained transaction. Instead of sending updates per cache, we after
clearing in the child process we send a message to the parent that in
turn performs the same steps.

Differential Revision: https://phabricator.services.mozilla.com/D125680
2021-09-22 15:42:46 +00:00
Micah Tigley 5ecbe6bdff Bug 1731668 - Move downloads spam prevention work behind a pref. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D126296
2021-09-22 15:26:59 +00:00
Edgar Chen 3aeb8d0b4b Bug 1730117 - Part 2: Make EnterModalState suppress event handling for the nested in-process documents; r=smaug
This also makes nsIDOMWindowUtils::SuppressEventHandling work properly.

Differential Revision: https://phabricator.services.mozilla.com/D125615
2021-09-22 14:50:56 +00:00
Edgar Chen e016ae9d81 Bug 1730117 - Part 1: Make sync XHR suppress event handling for the nested in-process documents; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D125187
2021-09-22 14:50:55 +00:00
Ms2ger 4c03392bbd Bug 1732030 - Fix expectations for WebAssembly.Function tests; r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D126351
2021-09-22 14:01:21 +00:00
Jonathan Kew 371cbff302 Bug 1729861 - Add mochitest for the effect of dynamic changes to the resistFingerprinting pref on media queries. r=emilio
This is a cut-down version of the 418986-2 testcase, with an explicit check that changes to
the resistFingerprinting pref will cause media queries to be re-evaluated and the resulting
computed styles to be updated at runtime.

Differential Revision: https://phabricator.services.mozilla.com/D126230
2021-09-22 12:41:25 +00:00
Jonathan Kew 3a69f45868 Bug 1729861 - Add missing entry to gExactCallbackPrefs in nsPresContext.cpp. r=dholbert,emilio
This adds `privacy.resistFingerprinting` to the list of prefs for which `nsPresContext` registers a callback,
because it is included among the prefs that `nsPresContext::PreferenceChanged` explicitly wants to handle.

We also sort the `gExactCallbackPrefs` array, to make it easier to scan its contents at a glance
in the future.

layout.css.prefers-contrast.enabled is dropped from being handled in PreferenceChanged, because that
doesn't actually work; we need to reload the document (re-parse the stylesheet) to notice the change.

Differential Revision: https://phabricator.services.mozilla.com/D125857
2021-09-22 12:41:25 +00:00
Emilio Cobos Álvarez d7c4ff7412 Bug 1729861 - Fix test for bug 418986. r=jfkthame
The test was relying on media queries not being recomputed, because it
ran something like this:

  1. RFP off: add a bunch of images with class "testImage" to the
     document. Then test all images with class "testImage".

  2. RFP on: do the same.

Note that there's no "remove all images added in step 1" step between 1
and 2. So the test with rfp on was also testing the images from step 1.
This worked before because resistFingerprinting didn't trigger
recomputation of the previous images.

Differential Revision: https://phabricator.services.mozilla.com/D126152
2021-09-22 12:41:24 +00:00
Kershaw Chang fba6d93694 Bug 1695924 - Clear svcparam.odoh after using it, r=necko-reviewers,dragana
`svcparam.odoh` is a temporary variable and should be cleared after writing to buffer.

Differential Revision: https://phabricator.services.mozilla.com/D126330
2021-09-22 12:31:29 +00:00
Jon Coppeard 894498420b Bug 1731432 - Re-add the pre-write barrier on Heap<T> r=sfink
This is a backout of the patch in bug 1581574 in the hope that it will fix the
crashes in bug 1731432.

Previously this write barrier was not required and we relied on the read
barrier, but it seems that may not be sufficient to allow us to mark gray roots
after the first GC slice. There are few ways that the value of a Heap<T> can be
observed without triggering the read barrier, and that could explain what's
happening here.

The contents of JS holders are cleared when they are removed from the holder
map, so that will also trigger the write barrier.

Differential Revision: https://phabricator.services.mozilla.com/D126253
2021-09-22 12:15:09 +00:00
Cristian Tuns bfb8833052 Merge mozilla-central to autoland on a CLOSED TREE 2021-09-22 08:58:00 -04:00
Cristian Tuns afde9ef4f4 Backed out 2 changesets (bug 1731223) for likely causing localized Windows builds to break (bug 1732034) a=backout
Backed out changeset 0aa04e588a4e (bug 1731223)
Backed out changeset 59a15d9c5391 (bug 1731223)
2021-09-22 08:44:17 -04:00
Paul Adenot 26420d2dea Bug 1724014 - Disable audio input processing when checking tab muting. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D126251
2021-09-22 11:48:53 +00:00
Nicolas Chevobbe 80886fe1fc Bug 1731954 - [devtools] Remove multiFrameQuerySelectorAll RDP method. r=bomsy,devtools-backward-compat-reviewers.
With Fission/EFT work, we shouldn't call this function, but rely on the different
targets instead.
It was only used in the client from a test, which could be migrated easily.
(the test is still failing with EFT enabled, this will be taken care of in Bug 1730170)

Differential Revision: https://phabricator.services.mozilla.com/D126315
2021-09-22 11:37:01 +00:00
Tooru Fujisawa 95a94fea35 Bug 1731983 - Bump jsparagus for bug 1718623. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D126333
2021-09-22 11:36:39 +00:00
stransky 001a514564 Bug 1730203 [Wayland] Reply to drag_motion from Gtk handler, r=emilio
Wayland/Gtk sets drag state right after drag_motion event only.

While we're reading data for child process we're getting 'drag_motion' events from nested loop.
We don't know the final D&D state yet as we need reply from the child process.
When we set the D&D state latter, it's ignored by Gtk and D&D is considered as
canceled by client.

Right now we explicitly state 'drag denied' after D&D start until we have a reply from child process.
We're changing it to 'drag accepted' on Wayland until we have a reply from child process
and we also send the reply in WindowDragMotionHandler() to fulfill Wayland protocol needs.

It does not change final D&D state - we get the data only when child process requests it.

Differential Revision: https://phabricator.services.mozilla.com/D126226
2021-09-22 11:30:15 +00:00
Andrew McCreight 61aac61b62 Bug 1731886 - Use release asserts for WebIDL union getters. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D126293
2021-09-22 11:28:58 +00:00
Andreea Pavel a1a601efac Backed out changeset 4256690c306d (bug 1731009) build bustages on nsLayoutUtils.cpp on a CLOSED TREE 2021-09-22 15:50:18 +03:00
Sebastian Hengst 873bb961bc Bug 1731978 - adjust expectation for secure-payment-confirmation tests on Windows ccov. DONTBUILD
Bug 1730661 had removed the expectations.

Differential Revision: https://phabricator.services.mozilla.com/D126341
2021-09-22 10:57:56 +00:00
Alexandre Poirot eef9609e6a Bug 1731551 - [devtools] Avoid leaking DevToolsFrame JSWindowActor on each reload. r=nchevobbe
Each time the related WindowGlobal is destroyed, the related target actor and connection will be destroyed.
But the destruction of the previous actor/connection happens *after* the creation of the new.
So that hasConnection() is always true on reload. On toolbox closing it should become false.

Regardless, we should always unregister the connectionchange.
The server may be destroyed by the very last actor/connection to be destroyed.
We might want to move this code directly into DevToolsServer, that may be clearer...
But that may break non-watcher setup, so better do that once we only support the watcher codepath.

Differential Revision: https://phabricator.services.mozilla.com/D126085
2021-09-22 10:50:40 +00:00
Alexandre Poirot 89b0ce37fd Bug 1731552 - [devtools] Avoid leaking WindowResizeObserver by not clearing it on destroy. r=nchevobbe
We weren't calling super class destroy method (Observable::destroy),
which is the one which will force ultimately unregistering the resize DOM listener.

Differential Revision: https://phabricator.services.mozilla.com/D126084
2021-09-22 10:50:39 +00:00
Alexandre Poirot b3ae5e3a9e Bug 1731554 - [devtools] Destroy the TargetActorMixin interface. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D126083
2021-09-22 10:50:39 +00:00