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