File: exception.html

package info (click to toggle)
cockpit 355-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 311,568 kB
  • sloc: javascript: 774,787; python: 40,655; ansic: 35,157; cpp: 11,141; sh: 3,512; makefile: 580; xml: 261
file content (23 lines) | stat: -rw-r--r-- 741 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
    <title>Javascript exceptions</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script src="../base1/cockpit.js"></script>
</head>
<body class="pf-v6-m-tabular-nums" hidden="true">
    <div id="internal" class="pf-v6-c-page">
        <main class="pf-v6-c-page__main" tabindex="-1">
            <section class="pf-v6-c-page__main-section pf-m-light">
                <h2>Exception</h2>

                <p>Clicking this button should make a javascript exception happen.</p>

                <button id="exception">Exception</button>
            </section>
        </main>
    </div>
    <script src="exception.js"></script>
</body>
</html>