Video is not started even if play button has been pressed.
[framework/web/webkit-efl.git] / LayoutTests / fast / events / window-onerror4.html
1 <script>
2 if (window.testRunner)
3     testRunner.dumpAsText();
4
5 function log(msg) {
6     document.getElementById("console").innerHTML += msg + "<br>";
7 }
8
9 function test1()
10 {
11     window.onerror = function (error, url, line) {
12         url = url ? url.match( /[^\/]+\/?$/ )[0] : url;
13         log("Error caught successfully: " + error + "\nFile: " + url + "\nLine: " + line)
14         return true;
15     };
16     eval("1=2");
17 }
18 </script>
19 <body onload="test1();">
20 <p>You should see a log record if window.onerror is working properly for this test.<a href="https://bugs.webkit.org/show_bug.cgi?id=8519">Bug 8519</a>.</p>
21 <hr>
22 <div id='console'></div>
23 </body>