Commit Graph

868319 Commits

Author SHA1 Message Date
Mike Kaply
3ba79c24af Bug 1675077 - Add policy for PrivateBrowsingModeAvailability. r=kcochrane,fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D216315
2024-07-15 15:58:18 +00:00
Sean Feng
ccff0abd17 Bug 1907464 - Clear the shadow-crossing selection when the ParentChainChanged notification is called on the common ancestor r=jjaschke,dom-core
It's unclear from the spec about where the new selection should be,
so we just clear the selection at the moment.

Differential Revision: https://phabricator.services.mozilla.com/D216572
2024-07-15 15:29:05 +00:00
Ting-Yu Lin
b7e4c25991 Bug 1150182 - Use strong-typed CSSIntSize instead of nsIntSize for canvas sizes. r=gfx-reviewers,layout-reviewers,emilio,nical
Canvas uses CSS pixels, so this patch encodes the information into the type
system. Some painting code still uses unknown sizes, so we need to use
`CSSIntSize::FromUnknownSize` and `ToUnknownSize()` to convert them.

This patch doesn't change behavior.

Differential Revision: https://phabricator.services.mozilla.com/D216463
2024-07-15 15:20:11 +00:00
Brad Werth
f06581d60e Bug 1880582: Don't destory the native window in nsCocoaWindow::Destroy. r=mstange
This is a temporary measure. We would like to destroy the native window
here, but we want to see the effect of removal on crash volume.

Differential Revision: https://phabricator.services.mozilla.com/D216066
2024-07-15 15:14:43 +00:00
Matthew_Cash
a8fbb156bd Bug 1900282 - Apply browser.tabs.allow_transparent_browser pref to sidebar browsers. r=dao,sidebar-reviewers,sclements,sfoster
This change allows users to remove the opaque background from the
sidebar, enabling sidebar backgrounds to be fully transparent when used
alongside a userChrome.css that provides transparency.
This is purely an aesthetic option for use with custom themes and a
continuation of Bug 28354.

Differential Revision: https://phabricator.services.mozilla.com/D212385
2024-07-15 15:06:56 +00:00
Ben Dean-Kawamura
608f7c26ec Bug 1907898 - Vendor in application-services, r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D216571
2024-07-15 15:05:05 +00:00
Stanca Serban
59f846c766 Backed out changeset 72e40f9471c4 (bug 1907901) for causing Android wpt failures in non-html-documents.html. CLOSED TREE 2024-07-15 19:24:53 +03:00
Alexandra Borovova
1b4f3c1245 Bug 1907449 - Update test expectations for service-workers/service-worker/navigation-redirect.https.html.
Differential Revision: https://phabricator.services.mozilla.com/D216576
2024-07-15 15:51:35 +00:00
Stanca Serban
1eb230bb07 Backed out changeset 1b7e3b44a1a1 (bug 1905289) for causing mochitests failures in test_CrossSiteXHR_cache.html. 2024-07-15 19:02:05 +03:00
Christian Holler
64fbe1c187 Bug 1907817 - Handle OOM more gracefully in jsrtfuzzing. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D216567
2024-07-15 15:01:38 +00:00
Christian Holler
0a6926c7a3 Bug 1764731 - Disable service worker assert for IPC fuzzing. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D214533
2024-07-15 15:01:02 +00:00
Kagami Sascha Rosylight
d07195ceb7 Bug 1905928 - Part 3: Add glean telemetry entries r=emilio,win-reviewers,handyman
Each provider has different fallback behavior:
* Windows/macOS: Fallback only on error
* Gpsd/Portal: Fallback only on timeout
* Geoclue: Fallback on both

To meet all the behaviors MLSFallback got FallbackReason/ShutdownReason and report via Glean based on that.

Differential Revision: https://phabricator.services.mozilla.com/D216085
2024-07-15 14:58:25 +00:00
Kagami Sascha Rosylight
680eb9f18e Bug 1905928 - Part 2: Opt-in for release channel collection of legacy geolocation telemetry r=emilio
This is to quickly compare the existing data while including stable/esr releases too.

Also setting expiry date for eventual full glean migration.

(Confusingly "opt-out" means "opt-in" for release channel data collection while "opt-in" means prerelease channel-only data collection)

Differential Revision: https://phabricator.services.mozilla.com/D216084
2024-07-15 14:58:24 +00:00
Kagami Sascha Rosylight
bce9a78f20 Bug 1905928 - Part 1: Add MOZ_LOG for error notifier functions in dom/geolocation r=emilio
And also some log for provider selection on Linux. This gives some clue to see what's happening in geolocation when dealing with bug reports.

Differential Revision: https://phabricator.services.mozilla.com/D215906
2024-07-15 14:58:24 +00:00
ohall-m
1f117de6b4 Bug 1907286 - IllegalStateException calling requireContext in TranslationsDialogFragment r=android-reviewers,pollymce
Attempt to fix `IllegalStateException` in `TranslationsDialogFragment`.

* Added `navigateSafe` to `MenuNavigationMiddleware`
* Added `runIfFragmentIsAttached` to places where `findNavController().popBackStack()` was used in the translations area
* Added `runIfFragmentIsAttached` to guard `onCreateDialog` indirect use of `requireContext()`

Differential Revision: https://phabricator.services.mozilla.com/D216412
2024-07-15 14:49:45 +00:00
Jan-Niklas Jaeschke
a13b58d3c6 Bug 1907901 - Text Fragments: Separate json test case to let others pass. r=dom-core,sefeng
The test to check if scrolling is allowed in non-html documents times out for JSON,
because it depends on the `onload` event, which Gecko is not firing for JSON (Bug 1905106).

Additionally, other test cases in that file can time out on CI as well.

With this patch, the JSON test case is separated into its own file and is expected to `TIMEOUT`. The other test cases get a longer timeout so that they pass in all configurations.

Differential Revision: https://phabricator.services.mozilla.com/D216565
2024-07-15 14:48:56 +00:00
Eden Chuang
50a050c00b Bug 1907383 - Do not call WorkerControlRunnable::Run()/Cancel() in WorkerPrivate::RanLoopNeverRan() r=dom-worker-reviewers,jstutte
Differential Revision: https://phabricator.services.mozilla.com/D216379
2024-07-15 14:47:53 +00:00
Gabriele Svelto
71c92f980f Bug 1906606 - Sanitize nsCString objects coming from crashed processes r=afranchuk
Also remove some logspam from the test harness.

Differential Revision: https://phabricator.services.mozilla.com/D215899
2024-07-15 14:47:50 +00:00
Ben Hearsum
2f0f80ece1 Bug 1907655: remove l10n bump cron task/hook from mozilla-central r=RyanVM,aryx,releng-reviewers,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D216453
2024-07-15 14:35:53 +00:00
Paul Adenot
5be2aa3ac7 Bug 1890370 - Remove libtheora integration. r=media-playback-reviewers,karlt
Differential Revision: https://phabricator.services.mozilla.com/D215396
2024-07-15 14:20:37 +00:00
Paul Adenot
329ab51496 Bug 1890370 - Remove libtheora from the tree. r=sylvestre,frontend-codestyle-reviewers,zeid
Differential Revision: https://phabricator.services.mozilla.com/D215395
2024-07-15 14:20:37 +00:00
Mark Banner
57b142b0fe Bug 1907860 - Clean up remaining parts of format-source. r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D216546
2024-07-15 14:00:10 +00:00
Meg Viar
76dd97ec96 Bug 1904630 - Remove existing default bookmarks in toolbar to be replaced by a bookmark style configurable messaging surface r=places-reviewers,nalexander,Standard8,fluent-reviewers,flod,tabbrowser-reviewers,extension-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D215429
2024-07-15 13:49:33 +00:00
RebecaTudor
eee54cc853 Bug 1907812 - Fix colors regression r=android-reviewers,twhite
The issue was that when in the previous patch, the
accent_high_contrast_normal_theme color was changed,
other than the intended ones were changed as well.
In the previous patch, only the dialog's buttons color was
desired to be changed to resolve an accessibility issue.

  In this patch we change back accent_high_contrast_normal_theme
to photonViolet40.
And to resolve the previous ticket that caused
the regression, the button text color of the dialog of the dark mode
was changed from accentHighContrast to accentUsedOnDarkBackground.

Before and after the changed of this patch:
{F7416870}

And the colors of the dialogs like the one for adding a new collection should remain like it is:
{F7416882}

Differential Revision: https://phabricator.services.mozilla.com/D216529
2024-07-15 13:44:13 +00:00
RebecaTudor
90d81590b8 Bug 1904977 - Fix the a11y color contrast for permissions prompts r=android-reviewers,twhite
The issue was that the permissions prompt was using the accentHighContrast for the background color of the positive button.

  The fix was to replace the color with the primary button colors as confirmed by the UX.

| Before | After |
| {F7416367} | {F7416397} |

Differential Revision: https://phabricator.services.mozilla.com/D216522
2024-07-15 13:43:16 +00:00
Jan de Mooij
2227340fe9 Bug 1906350 - Avoid refcounting overhead for string buffers passed from DOM code. r=sfink
The `RefPtr<StringBuffer>` argument of the new JS APIs can have pretty significant performance
overhead due to the atomic refcount used for `StringBuffer`.

This patch adds separate APIs that only use `RefPtr` when we're going to use the buffer for
a new JS string. This is a more similar to the behavior with the old external-string code
and fixes most of the reported performance regression.

Differential Revision: https://phabricator.services.mozilla.com/D216285
2024-07-15 13:42:29 +00:00
Nathan Barrett
cb1f62c3b5 Bug 1904656 - Create modal for topic selection r=home-newtab-reviewers,frontend-codestyle-reviewers,amy
Differential Revision: https://phabricator.services.mozilla.com/D215700
2024-07-15 13:42:05 +00:00
Alexandre Poirot
5e10385a3b Bug 1906496 - [devtools] Avoid throwing from debugger components when there is no selected source. r=devtools-reviewers,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D216146
2024-07-15 13:34:42 +00:00
Lee Salzman
61b748cff6 Bug 1907755 - Avoid inadvertent copies when drawing a canvas to itself. r=aosmond
Even though drawing a canvas to itself tries to use ExtractSubrect to get a limited
copy where applicable, the canvas still inadvertently forces the copy-on-write snapshot
to also force a copy due to SurfaceFromElementResult holding a subversive extra reference
to the snapshot, keeping it alive when it need not be.

RecordedTextureData also holds a reference to the snapshot that needs to be cleaned up
as well when the DT is modified.

Differential Revision: https://phabricator.services.mozilla.com/D216520
2024-07-15 13:31:40 +00:00
Tom Marble
717d00585f Bug 1907394 - Harmonize manifest variables: remove unused OS, ARCH values r=jmaher,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D216328
2024-07-15 13:31:35 +00:00
Julien Cristau
3a11612c31 No bug - document 127.0 windows watershed. r=bhearsum DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D216547
2024-07-15 13:05:53 +00:00
Julian Descottes
7b06e63463 Bug 1907863 - [DevTools Release Tasks - Cycle 130] Remove backward compatibility code r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D216545
2024-07-15 12:47:18 +00:00
Fatih
ad879a544b Bug 1878911: Implement UI for ETP Custom. r=tjr,android-reviewers,boek,geckoview-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D209811
2024-07-15 12:31:10 +00:00
Alexandre Lissy
5d8765d4fa Bug 1899516 - Warn user when missing unprivileged user namespace r=firefox-desktop-core-reviewers ,fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D212024
2024-07-15 12:11:54 +00:00
Julien Cristau
39d79a3b63 Bug 1906621 - change merge-automation's default behavior to remove footgun. r=taskgraph-reviewers,releng-reviewers,bhearsum
Defaulting to central-to-beta has caused us to schedule that action by
mistake at least a couple of times.

Differential Revision: https://phabricator.services.mozilla.com/D215904
2024-07-15 12:06:22 +00:00
Benjamin VanderSloot
00701d9470 Bug 1905289 - The subresource loads for ABA context should be keyed with foreign ancestor bit - r=timhuang,anti-tracking-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D215202
2024-07-15 11:51:31 +00:00
ffxbld
030bf8a523 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,pascalc
Differential Revision: https://phabricator.services.mozilla.com/D216541
2024-07-15 11:48:09 +00:00
Moritz Beier
12220c0dde Bug 1906875 - Remove the old search engine selector from the search service. r=Standard8,extension-reviewers,urlbar-reviewers,settings-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D216047
2024-07-15 11:15:22 +00:00
RebecaTudor
b190530cc4 Bug 1905993 - Fix the closing behaviour for Microsurvey bottom sheet r=android-reviewers,twhite
The flow wanted is that when the user clicks on the close button of
microsurvey bottom sheet. the prompt is closed as well.

  The issue was that when the close button was clicked, the
recomposition was not happening until we moved on another page.

  The fix is to add a new variable that will tell us if the microsurvey
prompt was dismissed by clicking either on the close button of the
prompt or of the bottom sheet. Depending on this variable we can
make the prompt visible or not.

Differential Revision: https://phabricator.services.mozilla.com/D216256
2024-07-15 10:59:35 +00:00
alexandra.virvara
0716dd0795 Bug 1907552: Change string in update login dialog r=android-reviewers,gl
Differential Revision: https://phabricator.services.mozilla.com/D216393
2024-07-15 10:48:46 +00:00
Julian Descottes
de732198f4 Bug 1907533 - [puppeteer] Update test expectations for cache tests loading scripts r=webdriver-reviewers,Sasha
Depends on D216416

Differential Revision: https://phabricator.services.mozilla.com/D216417
2024-07-15 10:24:53 +00:00
Julian Descottes
73ee2f175f Bug 1907533 - [puppeteer] Update test expectations. r=webdriver-reviewers,Sasha
Depends on D216415

Differential Revision: https://phabricator.services.mozilla.com/D216416
2024-07-15 10:24:53 +00:00
Julian Descottes
e0a5593ac2 Bug 1907533 - [puppeteer] Skip test "$$eval should handle many elements" which is causing the error summary log to overflow r=webdriver-reviewers,Sasha
Depends on D216414

Differential Revision: https://phabricator.services.mozilla.com/D216415
2024-07-15 10:24:52 +00:00
Julian Descottes
1171e363fe Bug 1907533 - [puppeteer] Remove -S parameter in Shebang from mocha-runner script because it's not supported in CI. r=webdriver-reviewers,Sasha
Depends on D216413

Differential Revision: https://phabricator.services.mozilla.com/D216414
2024-07-15 10:24:52 +00:00
Julian Descottes
e3ec039333 Bug 1907533 - [puppeteer] Sync vendored puppeteer to v22.13.0 r=webdriver-reviewers,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D216413
2024-07-15 10:24:51 +00:00
Andrea Marchesini
7a354c3edd Bug 1906914 - Fix the max-age cookie attribute parser, r=edgul,devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D216067
2024-07-15 09:33:58 +00:00
Jonathan Kew
d92b275d01 Bug 1907772 - Don't attempt to trim letter-spacing at start of line in textframes being used for SVG text. r=longsonr
SVG text elements in general don't have a clearly-defined concept of "lines", so we can't
know where it would be appropriate to trim.

Differential Revision: https://phabricator.services.mozilla.com/D216506
2024-07-15 08:02:18 +00:00
moz-wptsync-bot
0c235995ba Bug 1907449 - [wpt-sync] Update web-platform-tests to a7577845e1aceaebfc009a4ddbdc9a52070b91c9, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: a7577845e1aceaebfc009a4ddbdc9a52070b91c9
wpt-type: landing
2024-07-15 08:04:01 +00:00
Jonathan Lee
24336bedfd Bug 1907216 [wpt PR 47085] - [webdriver] Reuse the HTTP connection to the WebDriver remote end, a=testonly
Automatic update from web-platform-tests
[webdriver] Reuse the HTTP connection to the WebDriver remote end (#47085)

`HTTPWireProtocol` has an internal flag `_last_request_is_blocked` to
tell if the underlying HTTP connection is unusable and should be thrown
away (see #21889). However, the transport sets the flag too early, which
has the effect of transparently closing and reopening the connection
before every request.

This is wasteful and appears to sometimes exhaust the host machine's
usable ports in long test runs (https://crbug.com/343720396). Set the
flag after it's checked to avoid unnecessary connection closures.
--

wpt-commits: a7577845e1aceaebfc009a4ddbdc9a52070b91c9
wpt-pr: 47085
2024-07-15 08:04:00 +00:00
Jonathan Lee
462e4e6718 Bug 1907204 [wpt PR 47083] - [wptrunner] Clean up testharnessreport-content-shell.js, a=testonly
Automatic update from web-platform-tests
[wptrunner] Clean up `testharnessreport-content-shell.js` (#47083)

This is dead code because wptrunner no longer supports Chromium's
`content_shell` (#46658).
--

wpt-commits: 5c346949cf362a5264a2355f6470963df14da0da
wpt-pr: 47083
2024-07-15 08:03:59 +00:00