Closed Bug 1748222 Opened 3 years ago Closed 3 years ago

[meta] Remove dependency on complex resource layer

Categories

(DevTools :: Debugger, task)

task

Tracking

(firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: bomsy, Assigned: ochameau)

References

Details

(Keywords: meta)

Attachments

(1 file)

The debugger depends on this really complex resource logic
https://searchfox.org/mozilla-central/source/devtools/client/debugger/src/utils/resource

They are really complex and not easy to understand and maintain. Most of the selectors can be rewritten with builtin js constructs.

They seem to providing some layer of caching, but not sure its worth the complexity.

Depends on: 1736366
Depends on: 1748224
Depends on: 1748229
Depends on: 1748231
Depends on: 1748232
Depends on: 1762212
Depends on: 1762215

This has been mostly replaced by Redux's createSelector and its resultEqualityCheck argument.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2205ec2e9631 [devtools] Remove debugger's Resource API. r=bomsy
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: