Video is not started even if play button has been pressed.
[framework/web/webkit-efl.git] / LayoutTests / fast / events / dom-character-data-modified-textarea-crash.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 // This test uses a weired textarea to reproduce the issue. The condition of a crash is very sensitive to HTML.
6 // If we add a new-line at EOF or add other tags in <body> part, the crash will be unlikely to happen.
7 // For example, if we move this comment to the actual HTML or try to load 'js-test-pre.js', the crash won't happen.
8 // Mutation events should not be dispatched on this case. This bug is being tracked by webkit bug https://bugs.webkit.org/show_bug.cgi?id=87372
9 if (window.testRunner)
10     testRunner.dumpAsText();
11
12 document.addEventListener("DOMCharacterDataModified", function() {
13     document.designMode = "on";
14     document.execCommand("SelectAll");
15     document.execCommand("Delete");
16     document.body.offsetLeft;
17     document.body.innerHTML = 'Test passes if a DOMCharacterModified event on the textarea does not crash.';
18 });
19 </script>
20 </head>
21 <textarea> <