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
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.
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.
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.
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
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
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.
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
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.
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.
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
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.
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
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
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
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
- 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
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.