-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Error: Couldn't fetch DOMElement
introduced in 8.2.6, 8.1.19
#11288
Closed
Labels
Comments
Same with |
This was referenced May 22, 2023
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
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/iPl83
The following code:
worked successfully as for 8.2.5, 8.1.18 and earlier.
But as for 8.2.6 and 8.1.19 it throws
Error: Couldn't fetch DOMElement
because one of DOMElement's state is corrupted: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: