browser/devtools/webconsole/test/test-observe-http-ajax.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!DOCTYPE HTML>
     2 <html dir="ltr" xml:lang="en-US" lang="en-US"><head>
     3     <meta charset="utf-8">
     4     <title>Console HTTP test page</title>
     5     <script type="text/javascript">
     6       function test() {
     7         var xmlhttp = new XMLHttpRequest();
     8         xmlhttp.open('get', 'test-data.json', false);
     9         xmlhttp.send(null);
    10       }
    11     </script>
    12   </head>
    13   <body onload="test();">
    14     <h1>Heads Up Display HTTP & AJAX Test Page</h1>
    15     <h2>This page fires an ajax request so we can see the http logging of the console</h2>
    16   </body>
    17 </html>

mercurial