-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
DOMException: Not Found Error
introduced in 8.2.6, 8.1.19
#11289
Labels
Comments
They are indeed related, I'm working on a fix. Thanks for your report. |
nielsdos
added a commit
to nielsdos/php-src
that referenced
this issue
May 22, 2023
This replaces the implementation of before and after with one following the spec very strictly, instead of trying to figure out the state we're in by looking at the pointers. Also relaxes the condition on text node copying to prevent working on a stale node pointer.
nielsdos
added a commit
to nielsdos/php-src
that referenced
this issue
May 22, 2023
…placeWith This replaces the implementation of before and after with one following the spec very strictly, instead of trying to figure out the state we're in by looking at the pointers. Also relaxes the condition on text node copying to prevent working on a stale node pointer.
nielsdos
added a commit
to nielsdos/php-src
that referenced
this issue
May 22, 2023
…ception with replaceWith This replaces the implementation of before and after with one following the spec very strictly, instead of trying to figure out the state we're in by looking at the pointers. Also relaxes the condition on text node copying to prevent working on a stale node pointer.
nielsdos
added a commit
that referenced
this issue
May 25, 2023
… segfaults with replaceWith This replaces the implementation of before and after with one following the spec very strictly, instead of trying to figure out the state we're in by looking at the pointers. Also relaxes the condition on text node copying to prevent working on a stale node pointer. Closes GH-11299.
nielsdos
added a commit
that referenced
this issue
May 25, 2023
nielsdos
added a commit
that referenced
this issue
May 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Live reproduce: https://3v4l.org/AgHLn
The following code:
throws
DOMException: Not Found Error
since 8.2.6 and 8.1.19.Probably related to #11288.
PHP Version
PHP 8.2.6, 8.1.19
Operating System
FreeBSD 12.4, Windows 10 x64
The text was updated successfully, but these errors were encountered: