| Index: LayoutTests/fast/forms/ua-shadow-select-all-crash.html
|
| diff --git a/LayoutTests/fast/forms/ua-shadow-select-all-crash.html b/LayoutTests/fast/forms/ua-shadow-select-all-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..62f1a8812ec51fe386b9bc4a6bb8a59a00db85a6
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/forms/ua-shadow-select-all-crash.html
|
| @@ -0,0 +1,20 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<body>
|
| +<button type="button" id="button1">FOOO</button>
|
| +<input type="text" id="input1">
|
| +<script>
|
| +if (window.testRunner)
|
| + window.testRunner.dumpAsText();
|
| +var button1 = document.getElementById('button1');
|
| +var input1 = document.getElementById('input1');
|
| +input1.setSelectionRange(0);
|
| +input1.type = 'week';
|
| +var oSelection = window.getSelection();
|
| +document.execCommand('SelectAll');
|
| +oSelection.deleteFromDocument();
|
| +input1.value = 'foo';
|
| +</script>
|
| +<p>Pass if it doesn't crash</p>
|
| +</body>
|
| +</html>
|
|
|