Commit graph

854622 commits

Author SHA1 Message Date
Alexandre Poirot
622b937669 Bug 1320607 - [devtools] Remove the generated CSS Properties database. r=devtools-reviewers,nchevobbe
This wasn't really used anymore.
We are fetching the database from the server runtime in order to support
remote debugging correctly, where frontend CSS may be different from debuggee CSS.

Differential Revision: https://phabricator.services.mozilla.com/D187492
2023-09-07 13:08:37 +00:00
Norisz Fay
2ce1ba4497 Backed out 2 changesets (bug 1849972) as requested by whimboo CLOSED TREE
Backed out changeset d8ac28803dd6 (bug 1849972)
Backed out changeset 57929c2e184a (bug 1849972)
2023-09-07 16:39:36 +03:00
Yury Delendik
fd29b97c09 Bug 1851568 - Improve validation of tail call result types. r=bvisness
Differential Revision: https://phabricator.services.mozilla.com/D187501
2023-09-07 12:29:34 +00:00
Jan de Mooij
e3cea5c34e Bug 1851872 part 2 - Use weak GetterSetter pointer for GuardHasGetterSetter. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D187580
2023-09-07 12:29:08 +00:00
Jan de Mooij
58cf76e4be Bug 1851872 part 1 - Use weak BaseScript pointer for GuardFunctionScript. r=iain
This just follows the `WeakShape` and `WeakObject` field types.

Differential Revision: https://phabricator.services.mozilla.com/D187579
2023-09-07 12:29:08 +00:00
Tim Huang
0911e83551 Bug 1841104 - Update the string copy of the fingerprinters in the ETP strict section in about:preferences#privacy page. r=pbz,fluent-reviewers,settings-reviewers,flod
Depends on D187383

Differential Revision: https://phabricator.services.mozilla.com/D187384
2023-09-07 12:11:18 +00:00
Tim Huang
04ee22eb32 Bug 1841104 - Add fingerprinting protection to ETP Strict. r=pbz,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D187383
2023-09-07 12:11:18 +00:00
ffxbld
4a0d68ade5 No Bug, mozilla-central repo-update HSTS HPKP remote-settings - r=release-managers,dmeehan
Differential Revision: https://phabricator.services.mozilla.com/D187661
2023-09-07 12:04:47 +00:00
Emilio Cobos Álvarez
52d097c513 Bug 1851868 - Refactor nsIFrame::Destroy to pass a single DestroyContext parameter. r=dholbert
This shouldn't change behavior, but it packs the two arguments to
DestroyFrom into a single thing, and makes nsIFrame::Destroy not so easy
to call without a previous context.

This is a prerequisite to pass aDestroyContext to various things that
right now just mint one, which can cause badness, see bug 1851787 and
related bugs.

It's also a bit nicer to add things there if we need to in the future.

Differential Revision: https://phabricator.services.mozilla.com/D187578
2023-09-07 11:46:30 +00:00
Emilio Cobos Álvarez
f17a0754ab Bug 1812488 - Drive-by clean-ups. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D187664
2023-09-07 11:16:47 +00:00
Mike Kaply
8b1a6e539b Bug 1850385 - Handle cases where sync "worked" but we have no devices. r=sclements,fxview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186957
2023-09-07 10:44:01 +00:00
Mark Banner
b4c82a1103 Bug 1851794 - Change debugger ESLint rules that are warnings to errors, and turn off react/prop-types. r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D187545
2023-09-07 10:24:18 +00:00
James Teow
bc39159ac4 Bug 1842554 - Enable SERP Telemetry improvements - r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D186552
2023-09-07 10:18:43 +00:00
Timothy Nikkel
d41bf5b76c Bug 1851796. Don't bother including the CSS transform scale when snapped the scrolled rect of a scroll frame. r=mstange
It shows up in profiles and the benefits are likely very small. See discussion in bug 1850824.

Differential Revision: https://phabricator.services.mozilla.com/D187546
2023-09-07 10:15:03 +00:00
Luca Greco
f8539031f7 Bug 1851373 - Only forcefully set EventManager resetIdleOnEvent flag to false for extensions with a persistent background page. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D187494
2023-09-07 10:02:53 +00:00
Hubert Boma Manilla
6ffde8feae Bug 1844536 - [devtools] Use shared utils for accessing scope nodes r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D187600
2023-09-07 09:54:14 +00:00
Hubert Boma Manilla
55e306c62c Bug 1844536 - [devtools] Remove isGenerated util and access .isOriginal property directly r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D186899
2023-09-07 09:54:13 +00:00
Vincent Hilla
dfde72b50b Bug 1658996 - Part 2: Activation behavior method for non-form submission input elements. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D183988
2023-09-07 09:33:51 +00:00
Vincent Hilla
3c04c605a0 Bug 1658996 - Part 1: Introduce new methods around click event activation behavior. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D183265
2023-09-07 09:33:51 +00:00
Emilio Cobos Álvarez
82fb98de45 Bug 1851502 - Fix OnScaleChanged logging. r=stransky
As per the other review comments.

Differential Revision: https://phabricator.services.mozilla.com/D187432
2023-09-07 09:32:17 +00:00
Kershaw Chang
58f7387a5d Bug 1851679 - Handle queuing of streams properly, r=jesup,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D187542
2023-09-07 08:28:21 +00:00
Paul Zuehlcke
f78caa8c16 Bug 1839918 - Add a test for stateful bounces for cookies and localStorage. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186215
2023-09-07 08:25:56 +00:00
Paul Zuehlcke
c8bc5366b2 Bug 1839918 - When resetting BounceTrackingProtection state, also reset BounceTrackingState. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D186214
2023-09-07 08:25:56 +00:00
Paul Zuehlcke
ec918e9cd2 Bug 1839918 - Add BounceTrackingStorageObserver to observe cookie changes. r=bvandersloot,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D185304
2023-09-07 08:25:56 +00:00
Paul Zuehlcke
235769e14c Bug 1839918 - Use PHttpChannel for SetCookies calls from child channels. r=bvandersloot,necko-reviewers,cookie-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D186340
2023-09-07 08:25:55 +00:00
Paul Zuehlcke
59f59ebf3a Bug 1839918 - Create SetCookies variant for document.cookie on PWindowGlobal. r=bvandersloot,cookie-reviewers,valentin
Using PWindowGlobal for SetCookies calls from content to parent process means we can get
the BrowsingContext the cookies are set for. The current implementation in PCookieService
drops this relationship.
I'm leaving in the old SetCookies call for cases where the inner window is null. This
happens for some of the cookie tests.

Differential Revision: https://phabricator.services.mozilla.com/D186045
2023-09-07 08:25:55 +00:00
Paul Zuehlcke
b78b89ca42 Bug 1839918 - Pass BrowsingContext ID and third-party flag through CookieService. r=bvandersloot,cookie-reviewers,edgul
Differential Revision: https://phabricator.services.mozilla.com/D185303
2023-09-07 08:25:55 +00:00
Paul Zuehlcke
c50bea95cc Bug 1839918 - Update tests for nsICookieNotification. r=cookie-reviewers,sessionstore-reviewers,bvandersloot,valentin
Differential Revision: https://phabricator.services.mozilla.com/D185302
2023-09-07 08:25:55 +00:00
Paul Zuehlcke
08c2760082 Bug 1839918 - Update devtools cookie-changed observer for nsICookieNotification. r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D185301
2023-09-07 08:25:54 +00:00
Paul Zuehlcke
938915596e Bug 1839918 - Refactor "cookie-changed" notifications to use nsICookieNotification. r=extension-reviewers,cookie-reviewers,sessionstore-reviewers,bvandersloot,edgul,robwu
Differential Revision: https://phabricator.services.mozilla.com/D185300
2023-09-07 08:25:54 +00:00
Daniel Holbert
c14596c2f9 Bug 1802466 part 3: Set an explicit whole-pixel-valued height on the textfield in text-input-vertical-overflow-no-scroll.html. r=ntim
This avoids triggering bug 1851066, per the comment in the test.  Bug 1851066
is a real bug, but it's quite subtle and is unrelated to what this WPT is
actually trying to test.

Differential Revision: https://phabricator.services.mozilla.com/D187241
2023-09-07 08:22:27 +00:00
Daniel Holbert
86e0c0cc41 Bug 1802466 part 2: Change GetSelectionEndPointGeometry to handle vertical-writing-mode text nodes. r=emilio
This function had some code that we hadn't yet updated to support vertical
writing modes.  This patch makes it more generic so that it can properly handle
vertical-writing-mode text nodes (so that we can e.g. properly keep the caret
scrolled into view, in a vertical-writing-mode textfield).

I'm just focusing on vertical vs. horizontal generification for now.  I'm not
entirely sure if it makes sense to make it even-more-generic-still to support
reversed-inline-direction writing modes as well. I wasn't able to trigger any
issues with those in some brief testing, so I think this patch is sufficient
as-is, but I left a TODO(dholbert) code-comment to call out that ambiguity
that's still present in the code.

Differential Revision: https://phabricator.services.mozilla.com/D187160
2023-09-07 08:22:27 +00:00
Daniel Holbert
677d053e78 Bug 1802466 part 1: Refactor computation of outparam rect in GetSelectionEndPointGeometry. r=emilio
This patch doesn't change behavior. It's just laying the groundwork for the
next patch which adds vertical-writing-mode support.

(This patch adds some documentation in terms of logical axes, though, which
will become accurate as of the next patch in this series.)

Differential Revision: https://phabricator.services.mozilla.com/D187161
2023-09-07 08:22:26 +00:00
Butkovits Atila
104bd0f208 Backed out 3 changesets (bug 1850755) for causing SM bustages complaing about xulRuntime.shell. CLOSED TREE
Backed out changeset 6c632ec74ee0 (bug 1850755)
Backed out changeset cd202b5a63ea (bug 1850755)
Backed out changeset a2d5b721e236 (bug 1850755)
2023-09-07 11:31:37 +03:00
Otto Länd
13854844cf Bug 1850755: apply code formatting via Lando
# ignore-this-changeset
2023-09-07 08:05:24 +00:00
Yoshi Cheng-Hao Huang
45c8d79957 Bug 1850755 - Part 2: Update test262-update.py and test262 tests. r=spidermonkey-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D187448
2023-09-07 07:58:00 +00:00
Yoshi Cheng-Hao Huang
fa82b83de2 Bug 1850755 - Turn on well-formed-unicode-strings by default in Browser and JS Shell. r=spidermonkey-reviewers,jandem
Well-Formed Unicode strings is in TC39 Stage 4 and has been merged into
ECMA262 spec,
https://github.com/tc39/ecma262/pull/3039

Differential Revision: https://phabricator.services.mozilla.com/D187182
2023-09-07 07:57:59 +00:00
Mozilla Releng Treescript
8b4cb0000b no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
it -> b4d65d29c8acfd26596882217c5a76f8f0ecfd13
ka -> 11ff339907add752ecd8d77493b7d736b4c63b02
nn-NO -> 5f577ffb4a1a2dd209a3a121ea68875b6bd65732
sl -> ca6932ecaeed92eb181a8adbce45ad0735305e0f
th -> 58c926652a5cd3dc5a5016147d178644296c1405
uk -> d99a8894f353e9e594becfe7fd1506712d1544d7
2023-09-07 06:59:39 +00:00
Edgar Chen
380f88e2e5 Bug 1649579 - [GTK] Do not clear clipboard data on exit; r=stransky
Bug 311340 tried to fix a similar issue, but have to clear clipboard in nsClipboard's
destructor in order to avoid crash while calling gdk_display_close() on exit,
see bug 531580. But after bug 1626536, we are no longer calling gdk_display_close()
on exit, I don't see the same crash as bug 531580 anymore, either.

Differential Revision: https://phabricator.services.mozilla.com/D187595
2023-09-07 06:44:26 +00:00
Lina Butler
1466383668 Bug 1851845 - Update vendored Application Services dependencies. r=markh,adw
This commit vendors the latest changes to the Suggest and Remote
Settings Rust components.

1. From the `application-services` source tree, I ran
   `./tools/update-moz-central-vendoring.py ../m-c` to update the
   revisions in the m-c source tree.
2. I added the Remote Settings component UDL file to
   `toolkit/components/uniffi-bindgen-gecko-js/mach_commands.py`, and
   updated `toolkit/components/uniffi-bindgen-gecko-js/config.toml` to
   call the `RemoteSettings` constructor on the main thread. The
   Suggest component uses the `RemoteSettingsConfig` type in its
   public API, so we must generate bindings for the Remote Settings
   component.
3. From the m-c source tree, I ran `./mach uniffi generate` to update
   the generated UniFFI bindings.

Differential Revision: https://phabricator.services.mozilla.com/D187559
2023-09-07 05:40:28 +00:00
Drew Willcoxon
9e56d64a80 Bug 1851942 - Update the "Not relevant" command for addon suggestions to block individual suggestions. r=daisuke
Depends on D187642

Differential Revision: https://phabricator.services.mozilla.com/D187643
2023-09-07 05:04:07 +00:00
Drew Willcoxon
70f2284cda Bug 1851941 - Add UTM params to addon suggestion URLs. r=daisuke
Depends on D187640

Differential Revision: https://phabricator.services.mozilla.com/D187642
2023-09-07 05:04:06 +00:00
Drew Willcoxon
b97ac7a1cf Bug 1851940 - Enable addon suggestions by default with treatment B (no stars) for all Suggest users. r=daisuke
This enables addon suggestions by default (treatment B, no stars) for all
Suggest users. As discussed on Slack, I did not remove the related prefs and
Nimbus variables in case something goes wrong and we need to disable the feature
ASAP. In that case, we can ship a Nimbus rollout to re-disable it. After a
release cycle or two without any problems, we can do a follow-up that removes
them. I also left the treatment A implementation. We can remove that in a
follow-up too.

Since I did leave the prefs and variables, I only had to change their default
values to enable the feature with treatment B.

One problem is that addon suggestions should be best matches, but we don't want
to set `bestMatch.enabled` to true by default. To work around that, I set the
related best-match properties on the `UrlbarResult` inside `AddonSuggestions`
instead of delegating it to the quick suggest provider. Product has requested
that we remove the "Top pick" checkbox from about:preferences, and at that time
we should also remove the `bestMatch.enabled` pref. In the future, results
should be best matches on a case-by-case basis.

This makes a few UI changes that aren't strictly related but I wanted to fix
since more users will now see these suggestions:

* Cache the "Firefox extension" group label to prevent pop-in.
* Align the URL and row title by baseline. Right now the URL is too high above
  the title.
* Set `inline-margin-end` of the icon so it's symmetrical with the starting
  margin/padding. The current value of 8px is hardcoded and too small.

Differential Revision: https://phabricator.services.mozilla.com/D187640
2023-09-07 05:04:06 +00:00
Mike Hommey
6bd62cf05f Bug 1851529 - Fixup comments in hal/cocoa/smslib.mm r=andi
Differential Revision: https://phabricator.services.mozilla.com/D187638
2023-09-07 04:50:46 +00:00
Doug Thayer
fd2c6e6e34 Bug 1851416 - Properly guard that the proxy hasn't been revoked r=iain
Maybe a little bit alarming how simple this testcase is.

Differential Revision: https://phabricator.services.mozilla.com/D187511
2023-09-07 03:47:18 +00:00
Mike Hommey
83f8a62943 Bug 1851712 - Stop building plain hunspell and woff2 when they are wasm sandboxed. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D187516
2023-09-07 02:15:57 +00:00
Erik Nordin
40d80523a1 Bug 1851216 - Sync RemotSettings once per TranslationsParent process r=gregtatum
Once per TranslationsParent Process, we will schedule
a requestIdleCallback to sync our RemoteSettings records.

This will ensure that users get updates promptly when we push
new changes to Remote Settings, or change which Remote Settings
channel we are pulling from.

Differential Revision: https://phabricator.services.mozilla.com/D187300
2023-09-07 02:02:03 +00:00
Niklas Baumgardner
c6f3be4e0e Bug 1849685 - Shopping button should only show if current browser is a product page. r=shopping-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D187326
2023-09-07 01:55:15 +00:00
Gregory Pappas
4ae14d1518 Bug 1851541 - Remove html5.inert.enabled pref r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D187422
2023-09-07 01:01:13 +00:00
Narcis Beleuzu
0ef3abf1ef Backed out 2 changesets (bug 1851373) for xpcshell failure on test_ext_eventpage_messaging.js
Backed out changeset 87360c635b7c (bug 1851373)
Backed out changeset 3cd204e03c65 (bug 1851373)
2023-09-07 03:17:58 +03:00