Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/dom/Selection/selection-crash.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/Selection/selection-crash.html b/third_party/WebKit/LayoutTests/fast/dom/Selection/selection-crash.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f0666af2e335ef855d8b02e8c7b66fc0ba065147 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/dom/Selection/selection-crash.html |
| @@ -0,0 +1,15 @@ |
| +<!DOCTYPE HTML> |
| +<script src="../../../resources/testharness.js"></script> |
| +<script src="../../../resources/testharnessreport.js"></script> |
| +<button autofocus onfocus="focused()" onfocusout="focusedout()"></button> |
| +<iframe id="iframe"></iframe> |
| +<script> |
| +// This is a reproduction case for crbug.com/626750. |
| +function focusedout() { |
| + document.open(); |
| + test(() => {}, "test did not crash."); |
|
yosin_UTC9
2016/07/19 01:44:46
We should have an assertion to check focused eleme
kochi
2016/07/20 08:05:27
What is the intention?
This focus/blur(focusout)
|
| +} |
| +function focused() { |
| + iframe.contentWindow.focus(); |
| +} |
| +</script> |