Only browser_dbg-breakpoints-sourcemap-with-sections.js needs xbundle.js's uncleared throwing setInterval; the nine other tests that load doc-sourcemaps.html inherit it. Its output keeps lastOutputTime fresh, so browser-test.js reads a hung test as merely slow and grants it every MAX_UNEXPECTED_TIMEOUTS extension instead of failing it after one window. Differential Revision: https://phabricator.services.mozilla.com/D325041
19 lines
723 B
HTML
19 lines
723 B
HTML
<!-- 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 test page</title>
|
|
</head>
|
|
|
|
<body>
|
|
<!-- xbundle.js installs a setInterval that throws once a second and never
|
|
- clears it, so that a breakpoint set on it after page load is still hit.
|
|
- It lives on its own page for that reason: any test loading it takes a
|
|
- thrown error every second for as long as the page is open. -->
|
|
<script src="sourcemaps-with-sections/xbundle.js"></script>
|
|
</body>
|
|
</html>
|