microsoft / microsoft/azurechat
DOMException "insertBefore" on "Node" when using Browser-Integrated Page-Translation in MS EDGE
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 1
Description
When automatic translation is activated for the web app, after clicking on "Start Chat" an Error is raised.
Browser Version:
Microsoft Edge for Business
Version 122.0.2365.92 (Offizielles Build) (64-Bit)
Browser Console shows:
DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
at aj (https://ourAzureChatURLfromWAF.internal.com/_next/static/chunks/fd9d1056-e56f8da097f2fae8.js:1:75200)
at aj (https://ourAzureChatURLfromWAF.internal.com/_next/static/chunks/fd9d1056-e56f8da097f2fae8.js:1:75281)
at aj (https://ourAzureChatURLfromWAF.internal.com/_next/static/chunks/fd9d1056-e56f8da097f2fae8.js:1:75281)
at aJ (https://ourAzureChatURLfromWAF.internal.com/_next/static/chunks/fd9d1056-e56f8da097f2fae8.js:1:83376)
at aZ (https://ourAzureChatURLfromWAF.internal.com/_next/static/chunks/fd9d1056-e56f8da097f2fae8.js:1:77858)
at aX (https://ourAzureChatURLfromWAF.internal.com/_next/static/chunks/fd9d1056-e56f8da097f2fae8.js:1:77725)
at aZ (https://ourAzureChatURLfromWAF.internal.com/_next/static/chunks/fd9d1056-e56f8da097f2fae8.js:1:80377)
at aX (https://ourAzureChatURLfromWAF.internal.com/_next/static/chunks/fd9d1056-e56f8da097f2fae8.js:1:77725)
at aZ (https://ourAzureChatURLfromWAF.internal.com/_next/static/chunks/fd9d1056-e56f8da097f2fae8.js:1:77850)
at aX (https://ourAzureChatURLfromWAF.internal.com/_next/static/chunks/fd9d1056-e56f8da097f2fae8.js:1:77725)
window.console.error @ 938-94989baae731ecfe.js:1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure in Microsoft Edge 122 with automatic page translation enabled, then click “Start Chat” and inspect the browser console and the referenced Next.js static chunk. Trace the DOM update that triggers the insertBefore exception; done means the chat starts without this error when translation is active.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- next.js, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100