Commit Graph
6810 Commits
Author SHA1 Message Date
ozcoder 7679883d8a Bug 2020186 - [har] Add support for _priority / _initialPriority custom fields. r=jdescottes,devtools-reviewers,necko-reviewers
Added a tooltip to the Priority column to show final priority.
Added getRequestPriorityAsNumber function to convert HAR priority string back into a value.
Update representation of the priority value of a resource when it changes.
Added field priority to HAR file export and importing.
Linting wants double quotes.
priority **needs** to be gathered first before assigning into resource.
Check if the priority has changed to decide if Priority should re-render.
Added test to check priority of images above and below the fold.
Changed test HTML file into a hand written example with some explanation.
Guard against null priority when updating it.
Use isInteger to check priority is really a number.
We do not want to overwrite priority with "undefined".
Defer setting up the first test image a little bit, but do not check its priority.
Test HTML needs to be large.

Differential Revision: https://phabricator.services.mozilla.com/D287020
2026-06-12 10:08:50 +00:00
Nicolas Chevobbe 7b550220da Bug 2043977 - [devtools] Add StyleRuleActor.getCssExplainersData. r=devtools-reviewers,devtools-backward-compat-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D303983
2026-06-12 07:25:31 +00:00
Keith Cirkel 0a230dd2c8 Bug 2044945 - Add <select> pseudo elements to devtools style inspector r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D304688
2026-06-12 02:15:10 +00:00
canalun 88326e4dd9 Bug 1655941 - Add storage.sync support to the extension storage inspector. r=nchevobbe,devtools-backward-compat-reviewers,devtools-reviewers
Display storage.sync items alongside storage.local items in the extension
storage inspector.

Because storage.local and storage.sync can each contain an item with the same
name, the item name alone is no longer unique. Use a compound uniqueKey
consisting of the item name and storage area to disambiguate them within the
same table. This approach follows the one used by the cookies storage actor.

The Storage Inspector client automatically uses the first field returned by
getFields() as the unique identifier for table rows, so exposing the compound
uniqueKey there lets existing interfaces such as getValuesForHost(),
editItem(), and removeItem() receive it without changes to their external
signatures.

Differential Revision: https://phabricator.services.mozilla.com/D304326
2026-06-11 14:18:50 +00:00
Eden Chuang c28bc7e5ca Bug 2040092 - Set animationsPlayBackRateMultiplier on the top browsing context from DevTools. r=devtools-reviewers,nchevobbe
animationsPlayBackRateMultiplier is a synced BrowsingContext field whose CanSet
requires IsTop(). When a root target actor (e.g. the Browser Toolbox) has an
iframe selected as the currently targeted document via the iframe picker,
this.browsingContext is no longer the top context, so setting the multiplier on
it crashed with "CanSet failed for field(s): AnimationsPlayBackRateMultiplier".

Set the field on this.browsingContext.top instead, which matches the field's
getter (which reads from Top()) and is a no-op for the regular tab toolbox where
the targeted context is already top.

Differential Revision: https://phabricator.services.mozilla.com/D305790
2026-06-10 19:52:24 +00:00
Silaghi 98bf5b0321 Revert "Bug 204494, Bug 2041004 - Add <select> pseudo elements to devtools style inspector r=devtools-reviewers,nchevobbe"
This reverts commit 739a225b8a.

Revert "Bug 2041004 - Make ::picker-icon generated content, add UA styles r=layout-reviewers,firefox-style-system-reviewers,emilio"

This reverts commit 4b7b2a4083.
2026-06-10 16:55:02 +00:00
Keith Cirkel 739a225b8a Bug 2044945 - Add <select> pseudo elements to devtools style inspector r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D304688
2026-06-10 15:27:47 +00:00
Alexandre Poirot 5c80ff3304 Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy,nchevobbe
This allows opening local files from https via DevTools.

Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-10 12:46:16 +00:00
Alexandre Poirot 6335531d2f Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe
This will then help know if Local Mode logic should reload the page or
not if we register a mapping while the currently debugged page has the
same origin **and** is an error page.

Differential Revision: https://phabricator.services.mozilla.com/D302981
2026-06-10 12:46:13 +00:00
Silaghi 50913f8313 Revert "Bug 2044945, Bug 2041004 - Add <select> psuedo elements to devtools style inspector r=devtools-reviewers,nchevobbe" for causing wr failures at select-appearance-disabled.html
This reverts commit 6b8775f47f.

Revert "Bug 2041004 - Make ::picker-icon generated content, add UA styles r=layout-reviewers,firefox-style-system-reviewers,emilio"

This reverts commit e3529d76f3.
2026-06-10 10:08:51 +00:00
Keith Cirkel 6b8775f47f Bug 2044945 - Add <select> psuedo elements to devtools style inspector r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D304688
2026-06-10 08:20:23 +00:00
Alexandru Marc 85aff4e02f Revert "Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy,nchevobbe" for causing Android build bustages
This reverts commit f2d8553f79.

Revert "Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe"

This reverts commit 0ef861f993.
2026-06-10 01:13:30 +00:00
Alexandre Poirot f2d8553f79 Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy,nchevobbe
This allows opening local files from https via DevTools.

Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-09 20:35:02 +00:00
Alexandre Poirot 0ef861f993 Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe
This will then help know if Local Mode logic should reload the page or
not if we register a mapping while the currently debugged page has the
same origin **and** is an error page.

Differential Revision: https://phabricator.services.mozilla.com/D302981
2026-06-09 20:34:59 +00:00
Alexandru Marc ca229e12ac Revert (Bug 2044945, Bug 2041004) for causing wr failures @ select-explicit-size.html
This reverts commit b434b10988.

Revert "Bug 2041004 - Make ::picker-icon generated content, add UA styles r=layout-reviewers,firefox-style-system-reviewers,emilio"

This reverts commit e92bda8433.
2026-06-09 19:14:13 +00:00
Keith Cirkel b434b10988 Bug 2044945 - Add <select> psuedo elements to devtools style inspector r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D304688
2026-06-09 17:37:49 +00:00
Sandor Molnar 697ae9e2f9 Revert "Bug 2044945 - Add <select> psuedo elements to devtools style inspector r=devtools-reviewers,nchevobbe"
This reverts commit ef5241b45b.
2026-06-08 17:32:42 +00:00
Keith Cirkel ef5241b45b Bug 2044945 - Add <select> psuedo elements to devtools style inspector r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D304688
2026-06-08 16:00:38 +00:00
agoloman 02843a95cb Revert "Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy" for causing bc failures @browser_devtools.js.
This reverts commit 13896a724c.

Revert "Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe"

This reverts commit d6ca9ef038.
2026-06-04 19:14:21 +00:00
Nicolas Chevobbe 2a9bd04541 Bug 2043651 - [devtools] Disable toolbox button associated highlighters when navigating. r=devtools-reviewers,jdescottes.
We also prevent toolbox buttons re-rendering on will-navigate to recover from
the perf regression.

Differential Revision: https://phabricator.services.mozilla.com/D304669
2026-06-04 14:09:50 +00:00
Nicolas Chevobbe 6abadfd8c8 Bug 2044904 - [devtools] Expose heading level in accessibility highlighter. r=bomsy,devtools-reviewers.
Differential Revision: https://phabricator.services.mozilla.com/D304685
2026-06-04 10:28:32 +00:00
Alexandre Poirot 13896a724c Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy
This allows opening local files from https via DevTools.

Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-04 10:28:10 +00:00
Alexandre Poirot d6ca9ef038 Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe
This will then help know if Local Mode logic should reload the page or
not if we register a mapping while the currently debugged page has the
same origin **and** is an error page.

Differential Revision: https://phabricator.services.mozilla.com/D302981
2026-06-04 10:28:07 +00:00
Nicolas Chevobbe 94f1fd906b Bug 1588784 - [devtools] Add heading level in accessibility tree. r=devtools-reviewers,bomsy.
Differential Revision: https://phabricator.services.mozilla.com/D304501
2026-06-04 06:42:07 +00:00
Norisz Fay 1a8f4c9241 Revert "Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy" for causing dt failure @ browser_networkobserver_localMode.js
This reverts commit 78970467d8.

Revert "Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe"

This reverts commit 6b862813ef.
2026-06-03 13:57:44 +00:00
Alexandre Poirot 78970467d8 Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy
This allows opening local files from https via DevTools.

Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-03 13:02:35 +00:00
Alexandre Poirot 6b862813ef Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe
This will then help know if Local Mode logic should reload the page or
not if we register a mapping while the currently debugged page has the
same origin **and** is an error page.

Differential Revision: https://phabricator.services.mozilla.com/D302981
2026-06-03 13:02:33 +00:00
Tyler B. Thrailkill 500f1618ed Bug 2022783 - Add link-parameter parsing and rendering for svg r=firefox-style-system-reviewers,layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D287695
2026-06-03 01:04:39 +00:00
Serban Stanca d976ff2d6e Revert "Bug 2020186 - [har] Add support for _priority / _initialPriority custom fields. r=jdescottes,devtools-reviewers,necko-reviewers" for causing devtools failures in browser_net_har_image_priority.js.
This reverts commit ec557789a0.
2026-06-02 21:27:02 +00:00
ozcoder ec557789a0 Bug 2020186 - [har] Add support for _priority / _initialPriority custom fields. r=jdescottes,devtools-reviewers,necko-reviewers
Added a tooltip to the Priority column to show final priority.
Added getRequestPriorityAsNumber function to convert HAR priority string back into a value.
Update representation of the priority value of a resource when it changes.
Added field priority to HAR file export and importing.
Linting wants double quotes.
priority **needs** to be gathered first before assigning into resource.
Check if the priority has changed to decide if Priority should re-render.
Added test to check priority of images above and below the fold.
Changed test HTML file into a hand written example with some explanation.
Guard against null priority when updating it.
Use isInteger to check priority is really a number.
We do not want to overwrite priority with "undefined".

Differential Revision: https://phabricator.services.mozilla.com/D287020
2026-06-02 19:33:12 +00:00
agoloman 67b7024c99 Revert "Bug 2022783 - Add link-parameter parsing and rendering for svg r=firefox-style-system-reviewers,layout-reviewers,emilio" for causing wpt failures @inheritance.html.
This reverts commit 120c6bb1ac.
2026-06-02 13:57:24 +00:00
Tyler B. Thrailkill 120c6bb1ac Bug 2022783 - Add link-parameter parsing and rendering for svg r=firefox-style-system-reviewers,layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D287695
2026-06-02 11:54:22 +00:00
agoloman cc7d89b94e Revert "Bug 2022783 - Add link-parameter parsing and rendering for svg r=firefox-style-system-reviewers,layout-reviewers,emilio" for causing mochitest failures @test_value_computation.html.
This reverts commit 9df9602da0.
2026-06-02 10:54:16 +00:00
Tiaan Louw aa4033b3f8 Bug 1974792 - Implement ::checkmark pseudo selector for customizable select r=layout-reviewers,devtools-reviewers,firefox-style-system-reviewers,emilio,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D295550
2026-06-02 09:40:28 +00:00
agoloman d69d1d8e0e Revert "Bug 2031717, Bug 2031714 - [devtools] Expose local mode settings in DevTools options panel. r=devtools-reviewers,fluent-reviewers,bolsson,nchevobbe" for causing bc failures @browser_misused_characters_in_strings.js.
This reverts commit b7f48700d7.

Revert "Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy"

This reverts commit 0f1b6c66ab.

Revert "Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe"

This reverts commit 4cbb3ac689.
2026-06-02 09:35:20 +00:00
Tyler B. Thrailkill 9df9602da0 Bug 2022783 - Add link-parameter parsing and rendering for svg r=firefox-style-system-reviewers,layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D287695
2026-06-02 09:04:07 +00:00
Alexandre Poirot 0f1b6c66ab Bug 2031714 - [devtools] Implement "Local Mode" backend. r=devtools-reviewers,devtools-backward-compat-reviewers,bomsy
This allows opening local files from https via DevTools.

Differential Revision: https://phabricator.services.mozilla.com/D294192
2026-06-02 08:42:02 +00:00
Alexandre Poirot 4cbb3ac689 Bug 2031714 - [devtools] Expose a flag on the TargetFront to know if the page is an error page. r=devtools-reviewers,nchevobbe
This will then help know if Local Mode logic should reload the page or
not if we register a mapping while the currently debugged page has the
same origin **and** is an error page.

Differential Revision: https://phabricator.services.mozilla.com/D302981
2026-06-02 08:42:00 +00:00
Julian Descottes 414cbad5bf Bug 2043900 - [devtools] Fix screenshot features in the Browser Toolbox r=devtools-reviewers,nchevobbe
Adding `global: shared` to a ChromeUtils.importESModule call in the capture-screenshot.js server util.
Also adding a basic test for screenshots from the Browser Toolbox.

Differential Revision: https://phabricator.services.mozilla.com/D303912
2026-06-02 08:16:41 +00:00
Atila Butkovits b2571923b9 Revert "Bug 1974792 - Implement ::checkmark pseudo selector for customizable select r=layout-reviewers,devtools-reviewers,firefox-style-system-reviewers,emilio,nchevobbe" for causing failures at browser_parsable_css.js.
This reverts commit 3e903c86a3.
2026-06-02 01:46:29 +00:00
Tiaan Louw 3e903c86a3 Bug 1974792 - Implement ::checkmark pseudo selector for customizable select r=layout-reviewers,devtools-reviewers,firefox-style-system-reviewers,emilio,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D295550
2026-06-01 20:56:54 +00:00
rperta 32326b72c7 Revert "Bug 1974792 - Implement ::checkmark pseudo selector for customizable select r=layout-reviewers,devtools-reviewers,firefox-style-system-reviewers,emilio,nchevobbe" for causing mass failures
This reverts commit 498b28b9e5.
2026-06-01 16:14:26 +00:00
Tiaan Louw 498b28b9e5 Bug 1974792 - Implement ::checkmark pseudo selector for customizable select r=layout-reviewers,devtools-reviewers,firefox-style-system-reviewers,emilio,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D295550
2026-06-01 15:22:26 +00:00
Rob Wu e723c97c5a Bug 2034168 - Enforce file access permission in devtools_page r=zombie,devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D302931
2026-05-29 23:22:00 +00:00
Mr. M 5f837dd775 Bug 2005007 - Add parsing for CSS corner-shape support r=firefox-style-system-reviewers,emilio,dshin
Differential Revision: https://phabricator.services.mozilla.com/D296935
2026-05-29 12:13:05 +00:00
Chris H-C d89527a234 Bug 2039650 - Remove Legacy Telemetry devtools probes r=jdescottes,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D300855
2026-05-28 16:32:18 +00:00
Alexandre Poirot 444f3cce4d Bug 2040873 - [devtools] Split getAppliedProps in multiple functions. r=devtools-reviewers,nchevobbe
No functional change, only code cleanup to help introduce new logic
without trigerring eslint complexity rule.

Differential Revision: https://phabricator.services.mozilla.com/D294907
2026-05-21 19:21:07 +00:00
Alexandre Poirot 885cd635d2 Bug 1758454 - [devtools] Ensure fetching JS sources from http cache. r=devtools-reviewers,bomsy
This prevents trigerring an actual network/HTTP request when the source has been GC-ed.
But this also ensure that the request is flagged with the propert browsingContext/browserId
and can later be associated with the right tab if we want to show these requests.

This may also help better reproducing the request as if done by the page (cookies,..).

Differential Revision: https://phabricator.services.mozilla.com/D301314
2026-05-21 16:15:06 +00:00
Nicolas Chevobbe a774dee730 Bug 2040393 - [devtools] Update backward-compat comment for supportsEnableWindowGlobalThreadActors trait. r=devtools-reviewers,jdescottes.
ESR 115 EOL is now planned for September, the comment is updated to reflect this.

Differential Revision: https://phabricator.services.mozilla.com/D301462
2026-05-21 08:45:09 +00:00
Mark Banner 7c7e102a02 Bug 1924775 - Remove some cases of ESLint rule no-undef being disabled. r=devtools-reviewers,hsohaney,nchevobbe
These are generally cases where the exclusion is no longer necessary, because we've fixed whatever was causing it to be added in the first place.

Differential Revision: https://phabricator.services.mozilla.com/D300083
2026-05-21 07:45:43 +00:00