Skip to content

fix(scraps): Avoid using toReversed in slot context bridge - #128741

Open
sentry[bot] wants to merge 1 commit into
masterfrom
seer/fix/scraps-slot-toreversed-compat
Open

sentry[bot] wants to merge 1 commit into
masterfrom
seer/fix/scraps-slot-toreversed-compat

Conversation

@sentry

@sentry sentry Bot commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Replace bridges.toReversed() with [...bridges].reverse() in SlotConsumer.

Array.prototype.toReversed was added in ES2023 and requires Chrome 110+, causing runtime TypeErrors on older browsers such as Chrome Mobile 101 on Android 8.1.0.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

Fixes JAVASCRIPT-3FZK

@sentry <feedback>: Autofix iterates on these changes
@sentry stop iterating: Autofix stops iterating on this run

This PR was automatically generated by Sentry. You can adjust this setting at any time.

@sentry
sentry Bot requested a review from a team as a code owner October 25, 2026 10:44
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 25, 2026

This branch was successfully deployed

1 active deployment
Preview — 644bcc70 Deployed Oct 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants