summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/test/mochitest/examples/doc-event-breakpoints.html
blob: b8e6a9f6b832922de7e6c0854d36feb796d7fb3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!-- 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>
    <button id="invoker" invoketarget="invokee">Invoke</button>
    <div id="invokee"></div>
    <button id="popover-toggle" popovertarget="popover">Show popover</button>
    <div id="popover" popover>Popped!</div>
    <script src="event-breakpoints.js"></script>
  </body>
</html>