| <!DOCTYPE HTML><!-- webkit-test-runner [ dumpJSConsoleLogInStdErr=true ] --> |
| <html> |
| <head> |
| <script src="../resources/js-test.js"></script> |
| <script src="../resources/accessibility-helper.js"></script> |
| <meta charset="UTF-8"> |
| </head> |
| <body> |
| |
| <embed id="youtube-embed" src="https://www.youtube.com/v/UF8uR6Z6KLc" type="application/x-shockwave-flash" width="425" height="350"> |
| |
| <script> |
| var output = "This test verifies that we don't hang when building the accessibility tree with a YouTube embed."; |
| |
| if (window.accessibilityController) { |
| // Just getting the embed shouldn't cause a hang. |
| var embed = accessibilityController.accessibleElementById("youtube-embed"); |
| debug(output); |
| } |
| </script> |
| </body> |
| </html> |