summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/examples/doc-event-breakpoints.html
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/debugger/test/mochitest/examples/doc-event-breakpoints.html')
-rw-r--r--devtools/client/debugger/test/mochitest/examples/doc-event-breakpoints.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/devtools/client/debugger/test/mochitest/examples/doc-event-breakpoints.html b/devtools/client/debugger/test/mochitest/examples/doc-event-breakpoints.html
new file mode 100644
index 0000000000..c0228afb1e
--- /dev/null
+++ b/devtools/client/debugger/test/mochitest/examples/doc-event-breakpoints.html
@@ -0,0 +1,27 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8"/>
+ <title>Debugger event bp test page</title>
+ <style>
+ body {
+ height: 200vh;
+ }
+ </style>
+ </head>
+
+ <body>
+ <input type="text" id="focus-text" value="Text">
+ <button id="click-button">Run Click Handler</button>
+ <button id="xhr-button">Run XHR Handler</button>
+ <button id="timer-button">Run Timer Handler</button>
+ <button id="eval-button">Run Eval</button>
+ <div id="click-target" style="margin: 50px; background-color: green;">
+ Click Target
+ </div>
+ <script src="event-breakpoints.js"></script>
+ </body>
+</html>