JQuery+JSON Serialized DOM element will cause IE Crash, if DOM has radio button

Fixed Issue #4824706

Details

Created
Oct 2, 2015
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

Repro - >http://ie-snap/scratchtests/krisk/bugs/4824706/repro.htm

No Repro -> http://ie-snap/scratchtests/krisk/bugs/4824706/repro.htm

Re-did the repro file (attached).

URL:

Repro Steps:

Click the button in the followed web page, but i don’t post the referenced script, you can add them yourself.

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=9">
<script src="resources/json2.js" type="text/javascript"></script>
<script src="resources/jquery-1.11.2.min.js" type="text/javascript"></script>
<script language=’javascrit’ type=’text/javascript’>
$(function() {
$(‘#Button1’).bind('click’, function() {
alert(JSON.stringify($(‘#Button1’)));
});
});
</script>
<title>
</title>
</head>
<body>
<form name="form1" method="post" action="Default.aspx" id="form1">
<input type="button" name="Button1" value="Button" id="Button1" />
<input id="ddd" type="radio" name="R1111" value="M" />
<input id="fff" type="radio" name="R1111" value="F" />
</form>
</body>
</html>

Expected Results:

Serialize DOM element, and get the string result via JSON.stringify()

Actual Results:

Dev Channel specific:

Yes

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Sermet I.”

      Changed Assigned To to “Travis L.”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed”

      Changed Steps to Reproduce

      Changed Assigned To from “Travis L.” to “Kris K.”

      Changed Status to “Confirmed”

      Changed Assigned To to “Travis L.”

      Changed Steps to Reproduce

      Changed Assigned To from “Travis L.” to “Jeff W.”

      Changed Status from “Confirmed” to “In progress”

      Changed Assigned To from “Jeff W.” to “IE S.”

      Changed Status from “In progress” to “Fixed”

    • Created a related issue: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/10203538/

      We are seeing the same thing with latest public IE11 for any form that has inputs with duplicate names–regardless if they are a radio.

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

    Sign in