| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <html> |
| <head> |
| <script src="../../resources/js-test-pre.js"></script> |
| <script> |
| var successfullyParsed = false; |
| </script> |
| </head> |
| <body id="body"> |
| |
| <div id="group" role="group"><button>test</button></div> |
| |
| <p id="description"></p> |
| <div id="console"></div> |
| |
| <script> |
| |
| description("This makes sure if out of bounds ranges come into accessibilityElementAtIndex: then we don't crash."); |
| |
| if (window.accessibilityController) { |
| |
| var group = accessibilityController.accessibleElementById("group"); |
| |
| // Don't crash! |
| group.childAtIndex(9223372036854775806); |
| } |
| |
| successfullyParsed = true; |
| </script> |
| |
| <script src="../../resources/js-test-post.js"></script> |
| </body> |
| </html> |
| |