blob: 2f4736c4dc013313a6ca97a2fd9c2c67bcdfd93a [file] [log] [blame]
<!DOCTYPE HTML>
<html>
<head>
<script src="../../resources/js-test-pre.js"></script>
</head>
<body>
<button id="button1">Click</button>
<p id="description"></p>
<div id="console"></div>
<script>
description("This tests dispatching accessibility events on web area won't cause a crash.");
if (window.accessibilityController) {
jsTestIsAsync = true;
var webArea = accessibilityController.rootElement.childAtIndex(0);
webArea.takeFocus();
// make sure we don't crash after focusing onto the web area.
setTimeout(function() {
finishJSTest();
}, 100);
}
</script>
<script src="../../resources/js-test-post.js"></script>
</body>
</html>