Edge crashes when evaluating an xpath from an orphaned xml node with no child nodes

Fixed, not yet flighted Issue #4754092

Details

Created
Sep 28, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

Create an xml document
Create an element but do not append it
Query the document using xpath with the node as context for something that should return no result.

The above will cause Edge to crash and reload the page as an auto correction.

See this fiddle for live demo https://jsfiddle.net/5tdj8L7m/

In order to view how the demo should behave open the site in any other browser.

I have attached a code sample to reproduce this.

Expected Results:

The browser should not crash and the xpath query should not return a result.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To from “Mara P.” to “Thomas M.”

      Changed Assigned To from “Thomas M.” to “IE S.”

      Changed Status to “Fixed, not yet flighted”

    You need to sign in to your Microsoft account to add a comment.

    Sign in