Name Description Size
browser_aj.toml 9577
browser_dbg-async-stepping.js 729
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. 5954
browser_dbg-bfcache.js 3200
browser_dbg-blackbox-all.js 7606
browser_dbg-blackbox-original.js 1511
browser_dbg-blackbox.js 23228
browser_dbg-breaking-from-console.js 1338
browser_dbg-breaking.js 1670
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 4245
browser_dbg-breakpoints-cond-functional.js x 2680
browser_dbg-breakpoints-cond-shortcut.js 4866
browser_dbg-breakpoints-cond-source-maps.js 1131
browser_dbg-breakpoints-cond-ui-state.js 5669
browser_dbg-breakpoints-debugger-statement.js 3278
browser_dbg-breakpoints-duplicate-functions.js 1291
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). 3345
browser_dbg-breakpoints-list.js 5713
browser_dbg-breakpoints-popup.js 7201
browser_dbg-breakpoints-reloading-with-source-changes.js 5814
browser_dbg-breakpoints-reloading.js 3927
browser_dbg-breakpoints-same-file-per-target.js 3348
browser_dbg-breakpoints-scroll-to-log.js 1883
browser_dbg-breakpoints-sourcemap-with-sections.js 1025
browser_dbg-breakpoints.js 4929
browser_dbg-browser-toolbox-unselected-pause.js global gToolbox 2236
browser_dbg-browser-toolbox-workers.js global gToolbox 2894
browser_dbg-call-stack.js 3856
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 1082
browser_dbg-console-link.js 970
browser_dbg-console-map-bindings.js 1391
browser_dbg-console.js 995
browser_dbg-content-script-sources.js 2118
browser_dbg-continue-to-here-click.js 1485
browser_dbg-continue-to-here.js 1672
browser_dbg-custom-formatters.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 4602
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 2867
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 5721
browser_dbg-eager-eval-skip-pause.js 656
browser_dbg-editor-exception.js 1065
browser_dbg-editor-gutter.js 4824
browser_dbg-editor-highlight.js 1861
browser_dbg-editor-mode.js 661
browser_dbg-editor-scroll.js 2256
browser_dbg-editor-select.js 3283
browser_dbg-ember-original-variable-mapping-notifications.js 2410
browser_dbg-es-module-worker.js 2716
browser_dbg-eval-throw.js 686
browser_dbg-event-breakpoints-fission.js 2222
browser_dbg-event-breakpoints.js 12072
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 1768
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. 3639
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), ]); 3240
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. 10436
browser_dbg-features-breakpoints.js Assert that breakpoints and stepping works in various conditions 4138
browser_dbg-features-browser-toolbox-source-tree.js This test focuses on the SourceTree component, within the browser toolbox. 4035
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. 19501
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 18080
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. 7109
browser_dbg-fission-frame-breakpoint.js 3083
browser_dbg-fission-frame-pause-exceptions.js 1476
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 2221
browser_dbg-html-breakpoints.js 1955
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 1921
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 5467
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 2742
browser_dbg-javascript-tracer-next-interaction.js 5045
browser_dbg-javascript-tracer-next-load.js 3558
browser_dbg-javascript-tracer-sidebar-values-search.js 4623
browser_dbg-javascript-tracer-sidebar.js 11270
browser_dbg-javascript-tracer-values.js 1419
browser_dbg-javascript-tracer-worker.js 1785
browser_dbg-javascript-tracer.js 11313
browser_dbg-keyboard-navigation.js 1789
browser_dbg-keyboard-shortcuts-modal.js Test the keyboard shortcuts modal 1294
browser_dbg-keyboard-shortcuts.js Test keyboard shortcuts. 1496
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. 2134
browser_dbg-log-events.js Tests that we can log event listeners calls 759
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 919
browser_dbg-log-points.js Tests that log points are correctly logged to the console 3302
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 1240
browser_dbg-navigation.js Test navigating navigating while paused will reset the pause state and sources 2348
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 2434
browser_dbg-outline-pretty.js 994
browser_dbg-outline.js 3540
browser_dbg-overrides.js Testing the script overrides feature 3455
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 5424
browser_dbg-pause-on-next.js 660
browser_dbg-pause-on-unload.js 2935
browser_dbg-pause-points.js 1946
browser_dbg-pause-ux.js 1829
browser_dbg-paused-overlay-iframe.js 2682
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 3472
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 7931
browser_dbg-pretty-print-paused-anonymous.js 4416
browser_dbg-pretty-print-paused.js 1045
browser_dbg-pretty-print-sourcemap.js 5596
browser_dbg-pretty-print.js 3951
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 5021
browser_dbg-preview.js 12393
browser_dbg-project-root.js 3801
browser_dbg-project-search.js 8617
browser_dbg-quick-open.js 5412
browser_dbg-react-app.js 1169
browser_dbg-react-jsx.js 758
browser_dbg-reducer-cleanup-on-target-removal.js 5940
browser_dbg-reloading.js Test reloading: 1. reload the source 2. re-sync breakpoints 1198
browser_dbg-remember-expanded-scopes.js 1325
browser_dbg-restart-frame.js 1287
browser_dbg-returnvalues.js 2981
browser_dbg-scopes-duplicated.js 4610
browser_dbg-scopes-mutations.js 2171
browser_dbg-scopes-xrays.js 1937
browser_dbg-scopes.js 1811
browser_dbg-scroll-run-to-completion.js 818
browser_dbg-search-file-paused.js 2391
browser_dbg-search-file-retains-query.js 1127
browser_dbg-search-file.js 3349
browser_dbg-settings-disable-javascript.js 1527
browser_dbg-slow-script.js 3522
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 4423
browser_dbg-sourcemapped-toggle.js 2190
browser_dbg-sourcemaps-bogus.js 4456
browser_dbg-sourcemaps-breakpoints.js 1063
browser_dbg-sourcemaps-credentials.js 3824
browser_dbg-sourcemaps-disabled.js 1545
browser_dbg-sourcemaps-ignorelist.js 2766
browser_dbg-sourcemaps-indexed.js 1567
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 1795
browser_dbg-sourcemaps.js 6392
browser_dbg-sourcemaps2.js 1838
browser_dbg-sourcemaps3.js 2741
browser_dbg-sources-project-search.js 3998
browser_dbg-sourceURL-breakpoint.js 588
browser_dbg-state-based-panels.js 5096
browser_dbg-step-in-navigate.js 1172
browser_dbg-step-in-uninitialized.js 1355
browser_dbg-stepping.js 1619
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 671
browser_dbg-ua-widgets.js 1545
browser_dbg-unselected-pause.js 6507
browser_dbg-watchpoints.js 4516
browser_dbg-windowless-service-workers-reload.js 1736
browser_dbg-windowless-service-workers.js 5580
browser_dbg-windowless-workers-early-breakpoint.js 1564
browser_dbg-windowless-workers.js 5421
browser_dbg-worker-exception.js 865
browser_dbg-worker-module.js 708
browser_dbg-worker-nested.js 525
browser_dbg-worker-scopes.js 3644
browser_dbg-wrong-fetch.js 1016
browser_dbg-xhr-breakpoints.js 6440
browser_dbg-xhr-run-to-completion.js 1672
browser_kz.toml 10083
examples
head.js eslint-disable no-unused-vars 9254
integration-tests
shared-head.js eslint-disable mozilla/no-comparison-or-assignment-inside-ok 103702