Developer Tools help developers write and debug websites on Firefox. This newsletter gives an overview of the work we’ve done as part of the Firefox 136 release cycle.
Firefox being an open source project, we are grateful to get contributions from people outside of Mozilla:
- like Karan Yadav who fixed the box model dimensions for element with
display:none
(#1007374), made it possible to save a single Network request to HAR (#1513984) and fixed the “offline” setting in the throttling menu or the Responsive Design Mode (#1873929). - Meike [:mei] added the
pt
unit in the Fonts panel (#1940009)
Want to help? DevTools are written in HTML, CSS and JS so any web developer can contribute! Read how to setup the work environment and check the list of mentored issues
Highlights
- Show profile details in the network throttling menu items (#1770932)
- The JSON Viewer is parsing the JSON string it’s displaying, which was causing some troubles when some values can’t be accurately parsed in JS (for example,
JSON.parse('{"large": 1516340399466235648}')
returns{ large: 1516340399466235600 }
). In such case, we now properly show the source value, as well as a badge that show the JS parsed value to avoid any confusion (#1431808) - Links to MDN were added in the Network Monitor for
Cross-Origin-*
headers (#1943610) - We made the “Raw” network response toggle persist: once you check it, all the request you click on will show you the raw response (until you uncheck it) (#1555647)
- We drastically improved the Network Monitor performance, especially when it has a lot of requests (#1942149, #1943339)
- A couple issues were fixed in the Inspector Rules view autocomplete (#1184538, #1444772), as well as autocomplete for classes with non-alpha characters in the markup view search (#1220387)
- Firefox 132 added support for CSSNestedDeclarations rules, which changed how declarations set after a nested declaration were handled. Previously, those declarations were “moved up”, before any nested declarations. This could be confusing and the specification was updated to better align with developers expectations. Unfortunately, this caused a few breakages in the Inspector when dealing with nested rules; for example when adding a declaration, those would appears twice and wouldn’t be placed at the right position. This should now be behaving correctly (#1946445), and we have a few other fixes coming around nested declaration.
- We fixed an issue that was preventing to delete cookies with
Domain
attributes (#1947240) - Finally, after many months of hard work, we successfully migrated the Debugger to use codemirror 6 (#1942702)
That’s it for this month, thank you for reading this and using our tools, see you in a few weeks for a new round of updates 🙂
Full list of fixed bugs in DevTools for the Firefox 136 release:
- Karan Yadav Showing negative value in dimensions for element with display:none (#1007374)
- Karan Yadav Not able to save individual selected requests to HAR (#1513984)
- Robert Longson [:longsonr] Rewrite the devtool tests which use SVGPathSeg APIs (#1745060)
- Karan Yadav RDM “offline” setting in the throttling menu is not working (#1873929)
- Meike [:mei] Unit pt missing from Fonts tab in developer tools (#1940009)
- Karan Yadav Update accesskey for Save As HAR context menu item (#1940223)
- Tooru Fujisawa [:arai] Remove jsm from contentMap (#1938858)
- Kagami Rosylight [:saschanaz] (they/them) Intermittent devtools/client/framework/test/browser_toolbox_options_enable_serviceworkers_testing.js | single tracking bug (#1940197)
- Julien Wajsberg [:julienw] Cross-Origin-* headers do not have a link to MDN (#1943610)
- Nobody; OK to take it and work on it Perma [tier 2] a11y devtools/client/inspector/markup/test/browser_markup_tag_edit_avoid_refocus.js | Node is not accessible via accessibility API: id: inspector-searchbox, tagName: input, className: devtools-searchinput – (#1944477)
- Nobody; OK to take it and work on it Perma [tier 2] a11y devtools/client/memory/test/browser/browser_memory_filter_01.js | Node is not accessible via accessibility API: id: filter, tagName: input, className: devtools-filterinput – (#1944501)
- Alexandre Poirot [:ochameau] Enable Service Worker debugging in DevTools by default (#1862157)
- Alexandre Poirot [:ochameau] Catch errors leading to a blank toolbox and prompt users to file bugs (#1941886)
- Alexandre Poirot [:ochameau] Devtools Data panel always covers list of storage items (#1942275)
- Alexandre Poirot [:ochameau] Lazy load some optional modules in DevTools server (#1943127)
- Alexandre Poirot [:ochameau] Prevent spawning legacy target listener for shared worker (#1943128)
- Alexandre Poirot [:ochameau] Avoid unecessary redux store state changes in the netmonitor (#1943364)
- Alexandre Poirot [:ochameau] JSTracer preview showing the wrong value (#1944326)
- Nicolas Chevobbe [:nchevobbe] [Ruleview] values are being autocompleted wrong when I press Shift+Up/Down while the cursor is placed in the middle of the rule value (#1184538)
- Nicolas Chevobbe [:nchevobbe] markup view search autocomplete does not offer matching classes sometimes (#1220387)
- Nicolas Chevobbe [:nchevobbe] long Integers rounding last two digits to ’00’ in JSON view (#1431808)
- Nicolas Chevobbe [:nchevobbe] Autocomplete CSS variables inside calc() (#1444772)
- Nicolas Chevobbe [:nchevobbe] Display of raw or formatted response should be persistent (#1555647)
- Nicolas Chevobbe [:nchevobbe] Intermittent devtools/client/inspector/animation/test/browser_animation_animation-target_highlight.js | single tracking bug (#1767697)
- Hubert Boma Manilla (:bomsy) Intermittent devtools/client/application/test/browser/browser_application_panel_telemetry-debug-worker.js | single tracking bug (#1767750)
- Julian Descottes [:jdescottes] Show profile details in the network throttling menu items (#1770932)
- Julian Descottes [:jdescottes] Intermittent devtools/client/debugger/test/mochitest/browser_dbg-event-breakpoints.js | single tracking bug (#1830888)
- Nicolas Chevobbe [:nchevobbe] Intermittent devtools/client/inspector/rules/test/browser_rules_layer.js | single tracking bug (#1845152)
- Nicolas Chevobbe [:nchevobbe] JSON PrettyPrint feature is rounding large numbers (#1847897)
- Hubert Boma Manilla (:bomsy) XHRs manually resent via Devtools > Network don’t show response (#1883380)
- Julian Descottes [:jdescottes] Intermittent devtools/shared/commands/resource/tests/browser_resources_network_events_parent_process.js | single tracking bug (#1891110)
- Julian Descottes [:jdescottes] Intermittent [TV] devtools/shared/commands/target/tests/browser_target_command_reload.js | Got an initial value for the JS variable – Got “3”, expected “1” (#1928535)
- Julian Descottes [:jdescottes] Inspector breaks when opened after an XML file with an invalid embedded XSLT has been shown (#1934520)
- Nicolas Chevobbe [:nchevobbe] Don’t add a focus indicator on Tabs when clicking on them (#1936201)
- Julian Descottes [:jdescottes] Intermittent devtools/client/framework/test/browser_toolbox_many_toggles.js | single tracking bug (#1936634)
- Julian Descottes [:jdescottes] macosx 14.70 – browser_inspector_delete-selected-node-02.js times out (#1937956)
- Nicolas Chevobbe [:nchevobbe] Replase `Services.focus.setFocus` with `Element#focus` in `MarkupContainer#focus` (#1940057)
- Nicolas Chevobbe [:nchevobbe] Perma devtools/client/inspector/compatibility/test/browser/browser_compatibility_css-property_issue.js | Test timed out – (#1940196)
- Nicolas Chevobbe [:nchevobbe] markup view search result label (x of y) is jumpy when navigating through different results (#1940477)
- Nicolas Chevobbe [:nchevobbe] Status code are not visible in High Contrast Mode (#1940749)
- Nicolas Chevobbe [:nchevobbe] Update compatibility tests so they still pass with updated browser data (Safari 18.2) (#1940751)
- Julian Descottes [:jdescottes] network overrides state leaks across toolboxes (#1940998)
- Hubert Boma Manilla (:bomsy) preview popup doesn’t show the value of the hovered token (#1941269)
- Julian Descottes [:jdescottes] Log error message when pretty print fails to handle a script (#1942009)
- Julian Descottes [:jdescottes] Netmonitor extremely slow when switching panels with 1000+ request (#1942149)
- Nicolas Chevobbe [:nchevobbe] Closing buttton of sourcemap warning doesn’t have the correct color in dark mode (#1942227)
- Julian Descottes [:jdescottes] Remove unused netmonitor css (#1942278)
- Julian Descottes [:jdescottes] Intermittent TV devtools/client/debugger/test/mochitest/browser_dbg-content-script-sources.js | The extension content script isn’t reported to the frontend and isn’t in the reducer – (#1942603)
- Hubert Boma Manilla (:bomsy) [DevTools Release Tasks – Cycle 136] Update MDN data for the Compatibility panel (#1942619)
- Hubert Boma Manilla (:bomsy) Enable codemirror 6 for release (#1942702)
- Julian Descottes [:jdescottes] Wrong value in file column for data URLs (#1943194)
- Julian Descottes [:jdescottes] Netmonitor slows down Firefox main process when displaying big data URIs (eg 10MB) (#1943284)
- Julian Descottes [:jdescottes] Improve react redux selectors in netmonitor to unnecessary renders (#1943339)
- Julian Descottes [:jdescottes] netmonitor test context menu helper is duplicated and broken (#1943531)
- Julian Descottes [:jdescottes] Add DAMP test for big data URIs in netmonitor (#1943702)
- Nicolas Chevobbe [:nchevobbe] system-ui is not underlined as active when some characters are rendered with other fonts (#1944285)
- Julian Descottes [:jdescottes] Intermittent TV devtools/client/framework/test/metrics/browser_metrics_webconsole.js | Duplicated module load detected. List of duplicated modules: (#1944999)
- Julian Descottes [:jdescottes] Perma [tier 2] a11y devtools/client/debugger/test/mochitest/browser_dbg-javascript-tracer-values-preview.js | Node is not focusable via the accessibility API: id: 1, tagName: DIV, className: tree-node div – (#1945200)
- Hubert Boma Manilla (:bomsy) Perma TEST-UNEXPECTED-FAIL | devtools/client/debugger/test/mochitest/browser_dbg-inline-preview.js | Test timed out when Gecko 136 merges to beta on 2025-02-03 (#1945327)
- Nicolas Chevobbe [:nchevobbe] Declaration after nested rule appears in its parent rule (#1946445)
- Nicolas Chevobbe [:nchevobbe] Unable to delete cookies with Domain attributes (#1947240)
- Nicolas Chevobbe [:nchevobbe] Console Network log Response Raw toggle doesn’t work anymore (#1948581)
Leave a Reply