Describe the bug
When using Edge and enabling the browser translation plug-in, an error will be reported in the foreground during streaming output:
Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
To Reproduce
Steps to reproduce the behavior:
Use edge browser.
Use stream output.
The browser automatically detects that the current page language does not match the browser, pops up a translation, click Translate.
Enter the content and click Send.
The reply content flashes quickly, and then reports an error Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node
Screenshots
Desktop (please complete the following information):
OS: [e.g. windows]
Browser [e.g. edge]
Additional context
The webpage works fine without translation enabled.
Another perspective
I am using it in a Chinese environment, I have configured the translation file, and the interface translation works well. But when the webpage is opened with Edge, the translation plug-in will mistakenly detect that the webpage is in English, not Chinese.
If it is detected as Chinese normally, the above problems will be solved.
Describe the bug When using Edge and enabling the browser translation plug-in, an error will be reported in the foreground during streaming output:
Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
To Reproduce Steps to reproduce the behavior:
Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node
Screenshots
Desktop (please complete the following information):
Additional context The webpage works fine without translation enabled.
Another perspective I am using it in a Chinese environment, I have configured the translation file, and the interface translation works well. But when the webpage is opened with Edge, the translation plug-in will mistakenly detect that the webpage is in English, not Chinese.
If it is detected as Chinese normally, the above problems will be solved.