Commit Graph
31760 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
Alexandru Marc 8d0d6fdd91 Revert "Bug 2044644 - Turn on clang-tidy's bugprone-forwarding-reference-overload r=sylvestre" for causing sm bustages @ Simulator-vixl.h
This reverts commit 80834d18d5.

Revert "Bug 2044644 - Make HeapSnapshot.cpp compatible with bugprone-forwarding-reference-overload check r=jandem"

This reverts commit 81ddd9da57.

Revert "Bug 2044644 - Make http/Capsule.h compatible with bugprone-forwarding-reference-overload check r=necko-reviewers,valentin"

This reverts commit 5443d86b53.

Revert "Bug 2044644 - Make xpcom/threads/nsThreadUtils.h compatible with bugprone-forwarding-reference-overload check r=xpcom-reviewers,nika"

This reverts commit 912dd4e34d.

Revert "Bug 2044644 - Use standard [[maybe_unused]] instead of custom approach to inform the compiler about potential usage of a variable r=spidermonkey-reviewers,jandem"

This reverts commit 0ea4c039c9.
2026-06-12 08:03:08 +00:00
Nicolas Chevobbe 746f944388 Bug 2036995 - [devtools] Add CSS Explainers tooltip. r=devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D303709
2026-06-12 07:25:33 +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
Nicolas Chevobbe ab5dc2d65c Bug 2038635 - [devtools] Add InspectorUtils.getComputationStepsSupportedCSSFunctions. r=layout-reviewers,firefox-style-system-reviewers,emilio.
Differential Revision: https://phabricator.services.mozilla.com/D302020
2026-06-12 07:25:29 +00:00
Hubert B Manilla 49283d1c7d Bug 2041780 - [devtools] Pretty printing stylesheets in the debugger r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D305022
2026-06-12 07:24:26 +00:00
Hubert B Manilla 1b9a5776fa Bug 2043267 - [devtools] Editing stylesheets in the debugger r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D303071
2026-06-12 07:24:24 +00:00
Hubert B Manilla 25a5041fba Bug 2045710 - [devtools] Fix and add style sheet related test r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D301057
2026-06-12 07:24:22 +00:00
serge-sans-paille 81ddd9da57 Bug 2044644 - Make HeapSnapshot.cpp compatible with bugprone-forwarding-reference-overload check r=jandem
More about the check in the documentation^[0], but this basically allow
for better move & copy constructor in some subtle situations that do
occur in our code base (I tried to just delete those and the build fails).

[0] https://clang.llvm.org/extra/clang-tidy/checks/bugprone/forwarding-reference-overload.html

Differential Revision: https://phabricator.services.mozilla.com/D304426
2026-06-12 07:23:18 +00:00
agoloman f008f80b1e Revert "Bug 2041780, Bug 2043267, Bug 2045710 - [devtools] Pretty printing stylesheets in the debugger r=devtools-reviewers,ochameau" for causing dt failures @browser_dbg-javascript-tracer-sidebar.js.
This reverts commit 1d08a5cd99.

Revert "Bug 2043267 - [devtools] Editing stylesheets in the debugger r=devtools-reviewers,ochameau"

This reverts commit 813e0fadb5.

Revert "Bug 2045710 - [devtools] Fix and add style sheet related test r=devtools-reviewers,ochameau"

This reverts commit 2fc4893d8a.
2026-06-12 06:37:36 +00:00
Hubert B Manilla 1d08a5cd99 Bug 2041780 - [devtools] Pretty printing stylesheets in the debugger r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D305022
2026-06-12 04:49:04 +00:00
Hubert B Manilla 813e0fadb5 Bug 2043267 - [devtools] Editing stylesheets in the debugger r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D303071
2026-06-12 04:49:02 +00:00
Hubert B Manilla 2fc4893d8a Bug 2045710 - [devtools] Fix and add style sheet related test r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D301057
2026-06-12 04:49:00 +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
Cristian Tuns bf6ae1ed70 Revert "Bug 2043267, Bug 2045710 - [devtools] Editing stylesheets in the debugger r=devtools-reviewers,ochameau" for causing node failures in devtools/client/*
This reverts commit c07fcd7808.

Revert "Bug 2045710 - [devtools] Fix and add style sheet related test r=devtools-reviewers,ochameau" for causing node failures in devtools/client/*

This reverts commit e46af7df05.
2026-06-11 23:27:54 +00:00
Hubert B Manilla c07fcd7808 Bug 2043267 - [devtools] Editing stylesheets in the debugger r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D303071
2026-06-11 22:57:08 +00:00
Hubert B Manilla e46af7df05 Bug 2045710 - [devtools] Fix and add style sheet related test r=devtools-reviewers,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D301057
2026-06-11 22:57:06 +00:00
Andreas Farre 7f4ee7f323 Bug 2046341 - Restore the dotted style for same document navigation. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D305807
2026-06-11 16:26:27 +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
Julian Descottes 9185d11722 Bug 1804051 - [devtools] Add netmonitor test for authentication flows r=bomsy,devtools-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D305656
2026-06-11 11:13:02 +00:00
Alexandre Poirot 942adef18c Bug 2031717 - [devtools] Expose local mode settings in DevTools options panel. r=devtools-reviewers,fluent-reviewers,bolsson,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D294193
2026-06-11 07:56:50 +00:00
Alexandre Poirot 0a72814649 Bug 2045047 - [devtools] Use dictionary for the TextProperty's setValue. r=devtools-reviewers,bomsy
The force value wasn't really useful. But still use a a dictionary
element to convery the "reverting" option.

Differential Revision: https://phabricator.services.mozilla.com/D305409
2026-06-10 22:16:07 +00:00
Alexandre Poirot 151e0ce03f Bug 2045047 - [devtools] Bail out from TextProperty model class when the property doesn't change. r=devtools-reviewers,nchevobbe
Do not wait Rule's setPropertyValue for bailing out.

Differential Revision: https://phabricator.services.mozilla.com/D305408
2026-06-10 22:16:05 +00:00
Alexandre Poirot e4c33bf054 Bug 2045047 - [devtools] Remove redundant updates from TextProperty model class. r=devtools-reviewers,nchevobbe
Rule Model's setPropertyValue will end up calling updateValue() method
which calls these two methods.

Differential Revision: https://phabricator.services.mozilla.com/D305407
2026-06-10 22:16:03 +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
Alexandre Poirot 7be968a393 Bug 2046098 - [devtools] Use TargetFront instead of its actorID in debugger frontend. r=devtools-reviewers,bomsy
Differential Revision: https://phabricator.services.mozilla.com/D305628
2026-06-10 07:56:07 +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
Leo McArdle 10b22032e4 Bug 2044941 - [devtools] replace generic icon in network panel with mdn icon r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D304687
2026-06-09 15:14:42 +00:00
Nicolas Chevobbe 73330bebe6 Bug 2045975 - [devtools] Update MDN compat data for 153 cycle. r=devtools-reviewers,bomsy.
Differential Revision: https://phabricator.services.mozilla.com/D305472
2026-06-09 08:57:42 +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
Alexandre Poirot e34b3d9044 Bug 2032221 - [devtools] Avoid triggerring rule view updates when previewing the same value. r=devtools-reviewers,nchevobbe
Any code asking for a declaration change preview will trigger unecessary
updates if the value is the same as the current value.
Because of this we were awaiting for more than one rule-view-changed
event in a couple of tests.

It looks like we can also get rid of `flushCount` workaround.

Shapes highlighter are now doing full updates instead of light preview+commit.

Differential Revision: https://phabricator.services.mozilla.com/D294905
2026-06-08 12:55:04 +00:00
Alexandre Poirot 6f645ba1a2 Bug 2032220 - [devtools] Re-attach swatches when the declaration value is updated. r=devtools-reviewers,nchevobbe
The swatches are currently broken when a rule view updates while they
are already opened. This is hard to reproduce yet as the rule view
rarely updates and it often requires interacting with the page or the
browser window to trigger one.
But this is much easier to reproduce with bug 2032221 patches.

Differential Revision: https://phabricator.services.mozilla.com/D294904
2026-06-08 12:55:01 +00:00
Alexandre Poirot dc33d56104 Bug 2032220 - [devtools] Fix unregistering for filter swatches. r=devtools-reviewers,nchevobbe
The "filter" swatches in the rule view weren't properly cleaned.
While at it, extract swatches initialization and destruction in
dedicated methods and simplify them.

Differential Revision: https://phabricator.services.mozilla.com/D294903
2026-06-08 12:54:58 +00:00
Hubert B Manilla 962dac0406 Bug 2040349 - [devtools] Remove duplicate context menu items for network messages in the console r=devtools-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D301500
2026-06-08 12:53:43 +00:00
Nicolas Chevobbe e7bb7262cb Bug 2044687 - [devtools] Make Session History entries buttons as wide as their parent cell. r=farre.
This is using a CSS variable to communicate the colspan to the CSS where we
can use it to set proper width on the button.

Differential Revision: https://phabricator.services.mozilla.com/D304478
2026-06-08 12:53:19 +00:00
Hubert B Manilla 0b62db2a9e Bug 2035142 - [devtools] Open style sheets links in the debugger when stylesheet-in-debugger pref is enabled r=devtools-reviewers,ochameau
This patch also renames the toolbox utilities to view style sheets

Differential Revision: https://phabricator.services.mozilla.com/D297876
2026-06-05 16:42:12 +00:00
Hubert B Manilla 6eb0472d84 Bug 2011550 - [devtools] First steps styling to match the Style Editor syntax highlighting r=devtools-reviewers,nchevobbe
- Use the correct mode when loading style sheet content
- Update some token keywords, numbers etc to match the colors in the
  style editor.
- Note: There will be followup work as the project progresses

Differential Revision: https://phabricator.services.mozilla.com/D301056
2026-06-05 16:42:10 +00:00
Hubert B Manilla 446969680d Bug 2011550 - [devtools] Show external stylesheets in the debugger r=devtools-reviewers,ochameau
This patch is first basic patch to list external styles sheets in the debugger and
show the contents in the editor.

Differential Revision: https://phabricator.services.mozilla.com/D299410
2026-06-05 16:42:08 +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