Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE HTML> | |
| 2 <script src="../../../resources/testharness.js"></script> | |
| 3 <script src="../../../resources/testharnessreport.js"></script> | |
| 4 <button autofocus onfocus="focused()" onfocusout="focusedout()"></button> | |
| 5 <iframe id="iframe"></iframe> | |
| 6 <script> | |
| 7 // This is a reproduction case for crbug.com/626750. | |
| 8 function focusedout() { | |
| 9 document.open(); | |
| 10 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)
| |
| 11 } | |
| 12 function focused() { | |
| 13 iframe.contentWindow.focus(); | |
| 14 } | |
| 15 </script> | |
| OLD | NEW |