blob: 1c525c6471b5fafb6f415085f5b40518f32da5d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!DOCTYPE html>
<body>
<script src="../../js/resources/js-test-pre.js"></script>
<iframe id=frame></iframe>
<script>
description('Test if destructing a documet with radio groups with the same name doesn\'t crash.');
var frame =document.getElementById('frame');
frame.contentDocument.body.innerHTML = '<input type=radio name=group1 checked>' +
'<form><input type=radio name=group1 checked></form>';
document.body.removeChild(frame);
frame = null;
gc();
debug('PASS if not crashed.');
</script>
</body>
|