-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix failed to execute 'setEnd' on 'Range' #4720
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThe pull request modifies the Changes
Assessment against linked issues
Poem
Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🔇 Additional comments (1)src/js/core/range.js (1)
Using You might also want to verify whether similar bounds checks are needed elsewhere by searching for other direct or indirect calls to ✅ Verification successfulLet me check the surrounding context of these No additional bounds checks needed for other The codebase analysis shows that there are only three usages of
The bounds check is only needed for the W3C Range implementation ( 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Search for all references to 'setEnd' across the codebase
rg "setEnd"
Length of output: 345 Script: #!/bin/bash
# Get more context around setEnd usages
rg "setEnd" -B 3 -A 3
Length of output: 1802 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Here's an old bug that is making a comeback.
What does this PR do / why do we need it?
(I opened a new issue to address this subject : Failed to execute 'setEnd' on 'Range' (re-opening issue #3112) #4719)
Which issue(s) this PR fixes?
Fixes #4719
Checklist
Summary by CodeRabbit