Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / events / onchange-click-hang.html
blob56af82f26cc099193b11903a27cc8f03cf3d25c9
1 <head>
2 <script>
3 function log(t) {
4 document.getElementById('console').innerHTML += t +'<br>';
7 if (window.testRunner)
8 testRunner.dumpAsText();
9 </script>
10 <body>
11 These checkboxes call their own and each others click() method from their onchange callbacks. Click the first checkbox. This should not crash or hang.
12 This also shows that click() is protected on per-element basis.<br>
13 <input id=cb type="checkbox" onchange="log('checkbox1 onchange enter');this.click();document.getElementById('cb2').click();log('checkbox1 onchange exit');">
14 <input id=cb2 type="checkbox" onchange="log('checkbox2 onchange enter');document.getElementById('cb').click();log('checkbox2 onchange exit')">
15 <div id=console></div>
16 <script>
17 if (window.eventSender) {
18 var cb = document.getElementById('cb');
19 eventSender.mouseMoveTo(cb.offsetLeft + 5, cb.offsetTop + 5);
20 eventSender.mouseDown();
21 eventSender.mouseUp();
23 </script>