| Index: third_party/WebKit/LayoutTests/fast/forms/form-reset-crash.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/forms/form-reset-crash.html b/third_party/WebKit/LayoutTests/fast/forms/form-reset-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b7b1862367625ee4966c55e9a1e786d6c3e7ac0f
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/forms/form-reset-crash.html
|
| @@ -0,0 +1,17 @@
|
| +<!DOCTYPE html>
|
| +<body>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<div id="htmlvar00004">
|
| +<input>
|
| +</div>
|
| +<form id="form">
|
| +<output><span id="container-in-output"></span></output>
|
| +</form>
|
| +<script>
|
| +test(() => {
|
| + document.querySelector('#container-in-output').appendChild(document.querySelector('#htmlvar00004'));
|
| + document.querySelector('#form').reset();
|
| +}, 'Do not crash by resetting <output>.');
|
| +</script>
|
| +</body>
|
|
|