Use TIZEN_ENGINEER_MODE macro instead of _SECURE_LOG
[framework/web/webkit-efl.git] / ManualTests / inspector / returnEvent-crash.html
1 <script>
2     function test2() {
3         var y = 6;
4         y += 3;
5         return y;
6     }
7
8     function test() {
9         var x = 5;
10         eval("test2()");
11         x += 6;
12         return x;
13     }
14 </script>
15 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=19038">Bug 19038: Crash in JavaScriptDebugServer::returnEvent when inspecting an attached Inspector</a>.</p>
16 <p>To test, open and attach the Inspector's debugger, then click the button below. If you don't crash, you have passed the test.</p>
17 <button onclick="test()">click me</button>