Name Description Size
browser_aj.toml 9014
browser_dbg-async-stepping.js 717
browser_dbg-asyncstacks.js 674
browser_dbg-audiocontext.js 672
browser_dbg-backgroundtask-debugging.js Tests that `--backgroundtask` debugging works. This test is subtle. We launch a `--backgroundtask` with `--jsdebugger` and `--wait-for-jsdebugger` within the test. The background task infrastructure launches a browser toolbox, and the test connects to that browser toolbox instance. The test drives the instance, verifying that the automatically placed breakpoint paused execution. It then closes the browser toolbox, which resumes the execution and the task exits. In the future, it would be nice to change the task's running environment, for example by redefining a failing exit code to exit code 0. Attempts to do this have so far not been robust in automation. 5908
browser_dbg-bfcache.js 3200
browser_dbg-blackbox-all.js 7604
browser_dbg-blackbox-original.js 1511
browser_dbg-blackbox.js 23099
browser_dbg-breaking-from-console.js 1332
browser_dbg-breaking.js 1596
browser_dbg-breakpoint-skipping-console.js Test that debugger statements are skipped when skip pausing is enabled. 613
browser_dbg-breakpoint-skipping.js Tests toggling the skip pausing button and invoking functions without pausing. 3242
browser_dbg-breakpoints-actions.js 3054
browser_dbg-breakpoints-columns.js 4257
browser_dbg-breakpoints-cond-functional.js x 2629
browser_dbg-breakpoints-cond-shortcut.js 4722
browser_dbg-breakpoints-cond-source-maps.js 1295
browser_dbg-breakpoints-cond-ui-state.js 5107
browser_dbg-breakpoints-debugger-statement.js 3264
browser_dbg-breakpoints-duplicate-functions.js 1285
browser_dbg-breakpoints-in-evaled-sources.js Check against blank debugger panel issues when attempting to restore breakpoints set in evaled sources (Bug 1720512). The STRs triggering this bug require to: - set a valid breakpoint on a regular source - then set a breakpoint on an evaled source - close and reopen the debugger This test will follow those STRs while also performing a few additional checks (eg verify breakpoints can be hit at various stages of the test). 3327
browser_dbg-breakpoints-list.js 5713
browser_dbg-breakpoints-popup.js 7189
browser_dbg-breakpoints-reloading-with-source-changes.js 5814
browser_dbg-breakpoints-reloading.js 3927
browser_dbg-breakpoints-same-file-per-target.js 3330
browser_dbg-breakpoints-scroll-to-log.js 1808
browser_dbg-breakpoints-sourcemap-with-sections.js 1013
browser_dbg-breakpoints.js 3390
browser_dbg-browser-toolbox-unselected-pause.js global gToolbox 2107
browser_dbg-browser-toolbox-workers.js global gToolbox 1715
browser_dbg-call-stack.js 3834
browser_dbg-chrome-create.js Tests that a chrome debugger can be created in a new process. 1914
browser_dbg-console-async.js 1549
browser_dbg-console-eval.js 1136
browser_dbg-console-link.js 1003
browser_dbg-console-map-bindings.js 1391
browser_dbg-console.js 861
browser_dbg-content-script-sources.js 1591
browser_dbg-continue-to-here-click.js 1479
browser_dbg-continue-to-here.js 1653
browser_dbg-custom-formatters.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4595
browser_dbg-debug-line.js 1460
browser_dbg-debugger-buttons.js Test debugger buttons 1. resume 2. stepOver 3. stepIn 4. stepOver to the end of a function 5. stepUp at the end of a function 2825
browser_dbg-dom-mutation-breakpoints-fission.js The test page contains an INPUT and a BUTTON. On "click", the button will update the disabled attribute of the input. Updating the attribute via SpecialPowers.spawn would not trigger the DOM breakpoint, that's why we need the page itself to have a way of updating the attribute. 3653
browser_dbg-dom-mutation-breakpoints.js 5593
browser_dbg-eager-eval-skip-pause.js 656
browser_dbg-editor-exception.js 1065
browser_dbg-editor-gutter.js 4797
browser_dbg-editor-highlight.js 1893
browser_dbg-editor-mode.js 639
browser_dbg-editor-scroll.js 1758
browser_dbg-editor-select.js 3283
browser_dbg-ember-original-variable-mapping-notifications.js 2410
browser_dbg-es-module-worker.js 2650
browser_dbg-eval-throw.js 686
browser_dbg-event-breakpoints-fission.js 2190
browser_dbg-event-breakpoints.js 10245
browser_dbg-event-handler.js 685
browser_dbg-expressions-error.js test pausing on an errored watch expression assert that you can: 1. resume 2. still evalutate expressions 3. expand properties 1068
browser_dbg-expressions-focus.js 1747
browser_dbg-expressions-thread.js Test the watch expressions update when selecting a different thread in the thread panel. 2937
browser_dbg-expressions-watch.js Test the watch expressions "refresh" button: - hidden when no expression is available - visible with one or more expressions - updates expressions values after clicking on it - disappears when all expressions are removed 2378
browser_dbg-expressions.js tests the watch expressions component 1. add watch expressions 2. edit watch expressions 3. delete watch expressions 4. expanding properties when not paused 3461
browser_dbg-extension-inspectedWindow-debugger-statement.js 2414
browser_dbg-features-asm.js This test covers all specifics of debugging ASM.js files. ASM.js is a subset of the Javascript syntax. Thanks to these limitations, the JS engine is able to compile this code into machine instructions and execute it faster. When the DevTools are opened, ThreadConfiguration's `observeAsmJS` is set to true, which sets DebuggerAPI's `allowUnobservedAsmJS` to false, which disables the compilation of ASM.js files and make them run as regular JS code. Thus, allowing to debug them as regular JS code. This behavior introduces some limitations when opening the debugger against and already loaded page. The ASM.js file won't be debuggable. 3621
browser_dbg-features-breakable-lines.js Bug 1762381 - Can't assert breakable lines yet, because the iframe page content fails loading info("Assert breakable lines of the second iframe page load"); await assertBreakableLines(dbg, "iframe.html", 27, [ ...getRange(15, 17), ...getRange(21, 23), ]); 3181
browser_dbg-features-breakable-positions.js Cover the breakpoints positions/columns: - assert that the UI displayed markers in CodeMirror next to each breakable columns, - assert the data in the reducers about the breakable columns. Note that it doesn't assert that the breakpoint can be hit. It only verify data integrity and the UI. 9633
browser_dbg-features-breakpoints.js Assert that breakpoints and stepping works in various conditions 2261
browser_dbg-features-browser-toolbox-source-tree.js This test focuses on the SourceTree component, within the browser toolbox. 4025
browser_dbg-features-source-text-content.js This test focus on asserting the source content displayed in CodeMirror when we open a source from the SourceTree (or by any other means). The source content is being fetched from the server only on-demand. The main shortcoming is about sources being GC-ed. This only happens when we open the debugger on an already loaded page. When we (re)load a page while the debugger is opened, sources are never GC-ed. There are also specifics related to HTML page having inline scripts. Also, as this data is fetched on-demand, there is a loading prompt being displayed while the source is being fetched from the server. 19490
browser_dbg-features-source-tree.js This test focuses on the SourceTree component, where we display all debuggable sources. The first two tests expand the tree via manual DOM events (first with clicks and second with keys). `waitForSourcesInSourceTree()` is a key assertion method. Passing `{noExpand: true}` is important to avoid automatically expand the source tree. The following tests depend on auto-expand and only assert all the sources possibly displayed 17743
browser_dbg-features-tabs.js This test focuses on the Tabs component, where we display all opened sources. 3082
browser_dbg-features-wasm.js This test covers all specifics of debugging WASM/WebAssembly files. WebAssembly is a binary file format for the Web. The binary files are loaded by Gecko and machine code runs. In order to debug them ThreadConfiguration's `observeWasm` is set to true, only once the debugger is opened. This will set DebuggerAPI's `allowUnobservedWasm` to false. Then, the engine will compute a different machine code with debugging instruction. This will use a lot more memory, but allow debugger to set breakpoint and break on WASM sources. This behavior introduces some limitations when opening the debugger against and already loaded page. The WASM file won't be debuggable. 6961
browser_dbg-fission-frame-breakpoint.js 3071
browser_dbg-fission-frame-pause-exceptions.js 1458
browser_dbg-fission-frame-sources.js 1623
browser_dbg-fission-project-search.js 1854
browser_dbg-fission-switch-target.js 1089
browser_dbg-gc-breakpoint-positions.js 631
browser_dbg-gc-sources.js 1120
browser_dbg-go-to-line.js 1854
browser_dbg-html-breakpoints.js 1937
browser_dbg-idb-run-to-completion.js 584
browser_dbg-iframes.js Test debugging a page with iframes 1. pause in the main thread 2. pause in the iframe 1887
browser_dbg-inline-cache.js Test loading inline scripts from cache: - Load document with inline script - Reload inside debugger with toolbox caching disabled - Reload inside debugger with toolbox caching enabled 5069
browser_dbg-inline-exceptions-inline-script.js 1194
browser_dbg-inline-exceptions-position.js 1392
browser_dbg-inline-exceptions.js 1271
browser_dbg-inline-preview.js 3705
browser_dbg-inline-script-offset.js 1160
browser_dbg-inspector-integration.js 5296
browser_dbg-integration-reloading-compressed-sourcemaps.js This runs all integration tests against a test using sources maps whose generated files (bundles) are compressed. i.e. bundles are made of a unique line with all sources compressed into one line. 713
browser_dbg-integration-reloading-uncompressed-sourcemaps.js This runs all integration tests against a test using sources maps whose generated files (bundles) are uncompressed. i.e. bundles are keeping the same format as original files. 696
browser_dbg-javascript-tracer-function-returns.js 3926
browser_dbg-javascript-tracer-next-interation.js 5948
browser_dbg-javascript-tracer-next-load.js 4131
browser_dbg-javascript-tracer-values.js 1736
browser_dbg-javascript-tracer-worker.js 2201
browser_dbg-javascript-tracer.js 10370
browser_dbg-keyboard-navigation.js 1071
browser_dbg-keyboard-shortcuts-modal.js Test the keyboard shortcuts modal 1294
browser_dbg-keyboard-shortcuts.js Test keyboard shortcuts. 1460
browser_dbg-layout-changes.js This if the debugger's layout is correctly modified when the toolbox's host changes. 2369
browser_dbg-link-reload.js Test reload via an href link, which refers to the same document. It seems to cause different codepath compared to F5. 2128
browser_dbg-log-events.js Tests that we can log event listeners calls 736
browser_dbg-log-point-mapping.js Tests that expressions in log points are source mapped. 1243
browser_dbg-log-points-workers.js Tests that log points in a worker are correctly logged to the console 912
browser_dbg-log-points.js Tests that log points are correctly logged to the console 3283
browser_dbg-many-breakpoints-same-line.js 2989
browser_dbg-merge-scopes.js 1352
browser_dbg-message-run-to-completion.js 972
browser_dbg-minified.js 922
browser_dbg-navigation-when-paused.js 1228
browser_dbg-navigation.js Test navigating navigating while paused will reset the pause state and sources 2342
browser_dbg-no-duplicate-breakpoints-on-frame-reload.js 2936
browser_dbg-old-breakpoint.js 2876
browser_dbg-outline-filter.js 2611
browser_dbg-outline-focus.js 2350
browser_dbg-outline-pretty.js 994
browser_dbg-outline.js 3540
browser_dbg-overrides.js Testing the script overrides feature 3433
browser_dbg-pause-exceptions.js Tests Pausing on exception 1. skip an uncaught exception 2. pause on an uncaught exception 3. pause on a caught error 4. skip a caught error 4442
browser_dbg-pause-on-next.js 660
browser_dbg-pause-on-unload.js 2923
browser_dbg-pause-points.js 1946
browser_dbg-pause-ux.js 1596
browser_dbg-paused-overlay-iframe.js 2676
browser_dbg-paused-overlay-loading.js 1501
browser_dbg-paused-overlay.js 3714
browser_dbg-pretty-print-breakpoints-columns.js We're pausing on the following line, which should have those breakpoints (marked with ➤) for( ➤let i=0; ➤i < items.length; ➤i++ ) { 3423
browser_dbg-pretty-print-breakpoints-delete.js 3460
browser_dbg-pretty-print-breakpoints.js 3633
browser_dbg-pretty-print-console.js 1998
browser_dbg-pretty-print-flow.js 2509
browser_dbg-pretty-print-inline-scripts.js 7905
browser_dbg-pretty-print-paused-anonymous.js 4416
browser_dbg-pretty-print-paused.js 1102
browser_dbg-pretty-print-sourcemap.js 5596
browser_dbg-pretty-print.js 3939
browser_dbg-preview-frame.js 1868
browser_dbg-preview-getter.js 2014
browser_dbg-preview-module.js 965
browser_dbg-preview-source-maps.js 1157
browser_dbg-preview-wrapped-lines.js 4792
browser_dbg-preview.js 10354
browser_dbg-project-root.js 3801
browser_dbg-project-search.js 8617
browser_dbg-quick-open.js 5415
browser_dbg-react-app.js 1125
browser_dbg-react-jsx.js 752
browser_dbg-reducer-cleanup-on-target-removal.js 5826
browser_dbg-reloading.js Test reloading: 1. reload the source 2. re-sync breakpoints 1192
browser_dbg-remember-expanded-scopes.js 1325
browser_dbg-restart-frame.js 1287
browser_dbg-returnvalues.js 2981
browser_dbg-scopes-duplicated.js 4424
browser_dbg-scopes-mutations.js 2171
browser_dbg-scopes-xrays.js 1937
browser_dbg-scopes.js 1811
browser_dbg-scroll-run-to-completion.js 812
browser_dbg-search-file-paused.js 2209
browser_dbg-search-file-retains-query.js 1215
browser_dbg-search-file.js 3349
browser_dbg-settings-disable-javascript.js 1527
browser_dbg-slow-script.js 3510
browser_dbg-source-pragma.js 867
browser_dbg-sourcemapped-breakpoint-console.js 2321
browser_dbg-sourcemapped-preview.js 4319
browser_dbg-sourcemapped-scopes.js eslint-disable no-inline-comments 42660
browser_dbg-sourcemapped-stepping.js 4387
browser_dbg-sourcemapped-toggle.js 2190
browser_dbg-sourcemaps-bogus.js 4272
browser_dbg-sourcemaps-breakpoints.js 1063
browser_dbg-sourcemaps-disabled.js 1545
browser_dbg-sourcemaps-ignorelist.js 2742
browser_dbg-sourcemaps-indexed.js 1561
browser_dbg-sourcemaps-redirect.js 1856
browser_dbg-sourcemaps-reloading-quickly.js Test reloading an original file while the sourcemap is loading. The test passes when the selected source is visible after two reloads. 789
browser_dbg-sourcemaps-reloading.js 1789
browser_dbg-sourcemaps.js 6133
browser_dbg-sourcemaps2.js 1832
browser_dbg-sourcemaps3.js 2735
browser_dbg-sources-project-search.js 3998
browser_dbg-sourceURL-breakpoint.js 588
browser_dbg-state-based-panels.js 5014
browser_dbg-step-in-navigate.js 1166
browser_dbg-step-in-uninitialized.js 1343
browser_dbg-stepping.js 1538
browser_dbg-tabs-keyboard.js 809
browser_dbg-tabs-pretty-print.js 1530
browser_dbg-tabs-without-urls-selected.js 789
browser_dbg-tabs-without-urls.js Get the tab content for the specific tab @param {Number} index - index of the tab to get the source content 1288
browser_dbg-tabs.js 3646
browser_dbg-toggling-tools.js 568
browser_dbg-ua-widgets.js 1545
browser_dbg-unselected-pause.js 6471
browser_dbg-watchpoints.js 4480
browser_dbg-windowless-service-workers-reload.js 1724
browser_dbg-windowless-service-workers.js 5550
browser_dbg-windowless-workers-early-breakpoint.js 1552
browser_dbg-windowless-workers.js 5373
browser_dbg-worker-exception.js 853
browser_dbg-worker-module.js 708
browser_dbg-worker-nested.js 525
browser_dbg-worker-scopes.js 3638
browser_dbg-wrong-fetch.js 1016
browser_dbg-xhr-breakpoints.js 6379
browser_dbg-xhr-run-to-completion.js 1648
browser_kz.toml 9464
examples
head.js eslint-disable no-unused-vars 9358
integration-tests
shared-head.js eslint-disable mozilla/no-comparison-or-assignment-inside-ok 95065