test-autocomplete-in-stackframe.html 917 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 842682 - use the debugger API for web console autocomplete</title>
  10. <script>
  11. var foo1 = "globalFoo";
  12. var foo1Obj = {
  13. prop1: "111",
  14. prop2: {
  15. prop21: "212121"
  16. }
  17. };
  18. function firstCall()
  19. {
  20. var foo2 = "fooFirstCall";
  21. var foo2Obj = {
  22. prop1: {
  23. prop11: "111111"
  24. }
  25. };
  26. secondCall();
  27. }
  28. function secondCall()
  29. {
  30. var foo3 = "fooSecondCall";
  31. var foo3Obj = {
  32. prop1: {
  33. prop11: "313131"
  34. }
  35. };
  36. debugger;
  37. }
  38. </script>
  39. </head>
  40. <body>
  41. <p>Hello world!</p>
  42. </body>
  43. </html>