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
Removing xlink:href attribute node from <use> element throws error #1901
Comments
Thank you for the detailed description. I've reproduced the problem. Our team will research it and find a suitable solution. |
Has there been any movement on this? Our team is seeing a similar issue |
Currently we cannot provide any estimate on this. |
Hi, any news about this? |
No news yet. Once we get any results, we will share them here. |
Support for HTMLElement.removeAttributeNode has been merged and released in testcafe-hammerhead@25.5.15. We're waiting for the root testcafe package to uptake the version before validation can be completed. |
Fixed in #2742 |
Removing
xlink:href
attribute withremoveAttributeNode
from a<use>
element throws an error with Hammerhead ("Uncaught DOMException: Failed to execute 'removeAttributeNode' on 'Element': The node provided is owned by another element." in Chrome and "NotFoundError: Node was not found" in Firefox) but works fine without proxy.Here's a simple example:
You can check it here: https://m4w4q7.github.io/remove-attribute-node-bug-example
(an empty page without proxy and a black rectangle with console error when using proxy)
It also works if we use
href
instead ofxlink:href
, but Safari does not support it yet, so we can't change that.This method of removing the attribute is used in recent versions of hyperHTML, and currently we can't use TestCafe with it.
The text was updated successfully, but these errors were encountered: