browser/devtools/webconsole/test/test-eval-in-stackframe.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <!DOCTYPE HTML>
     2 <html dir="ltr" lang="en">
     3   <head>
     4     <meta charset="utf8">
     5     <!--
     6     - Any copyright is dedicated to the Public Domain.
     7     - http://creativecommons.org/publicdomain/zero/1.0/
     8     -->
     9     <title>Test for bug 783499 - use the debugger API in the web console</title>
    10     <script>
    11       var foo = "globalFooBug783499";
    12       var fooObj = {
    13         testProp: "testValue",
    14       };
    16       function firstCall()
    17       {
    18         var foo = "fooFirstCall";
    19         var foo3 = "foo3FirstCall";
    20         secondCall();
    21       }
    23       function secondCall()
    24       {
    25         var foo2 = "foo2SecondCall";
    26         var fooObj = {
    27           testProp2: "testValue2",
    28         };
    29         var fooObj2 = {
    30           testProp22: "testValue22",
    31         };
    32         debugger;
    33       }
    34     </script>
    35   </head>
    36   <body>
    37     <p>Hello world!</p>
    38   </body>
    39 </html>

mercurial