Closed Bug 1787198 Opened 2 years ago Closed 2 years ago

Cache source text content based on the source actor not source

Categories

(DevTools :: Debugger, enhancement)

enhancement

Tracking

(firefox109 fixed)

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: bomsy, Assigned: bomsy)

References

(Blocks 4 open bugs, Regressed 1 open bug)

Details

Attachments

(2 files, 3 obsolete files)

Source text content is currently cached in the reducers based on the source id, See code
But a source can can have multiple source actors, an the source text content's are fetched using the source actor See code
For breakpoints per url, we now have once source instance across multiple threads (multiple source actor). Its quite important to know the specific source actor which was used to load the source content.

Attachment #9292213 - Attachment description: Bug 1787198 - Load source text with source actor → Bug 1787198 - [devtools] Load source text with source actor r=
Attachment #9292213 - Attachment description: Bug 1787198 - [devtools] Load source text with source actor r= → Bug 1787198 - [devtools] Load source text with source actor
Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Summary: Cache source text content based on the source actor not source → Load source text for a specific source actor
Summary: Load source text for a specific source actor → Cache source text content based on the source actor not source
See Also: → 1789363

Comment on attachment 9292213 [details]
Bug 1787198 - [devtools] Load source text with source actor

Revision D154778 was moved to bug 1789363. Setting attachment 9292213 [details] to obsolete.

Attachment #9292213 - Attachment is obsolete: true
Attachment #9299821 - Attachment description: Bug 1787198 - [devtools] Cache source content based on source actor → Bug 1787198 - [devtools] Change caching of symbols for original and generated source text content r=
Attachment #9299821 - Attachment description: Bug 1787198 - [devtools] Change caching of symbols for original and generated source text content r= → Bug 1787198 - [devtools] Change caching of symbols for original and generated source text content
Blocks: 1800092
Blocks: 1800093
Attachment #9300654 - Attachment description: Bug 1787198 - [devtools] Change caching of original and generated source text content → WIP: Bug 1787198 - [devtools] Change caching of original and generated source text content

Comment on attachment 9299821 [details]
Bug 1787198 - [devtools] Change caching of symbols for original and generated source text content

Revision D160018 was moved to bug 1800093. Setting attachment 9299821 [details] to obsolete.

Attachment #9299821 - Attachment is obsolete: true

Comment on attachment 9300890 [details]
Bug 1787198 - [devtools] getSymbols support using source actor id and source id to cache symbols

Revision D160696 was moved to bug 1800093. Setting attachment 9300890 [details] to obsolete.

Attachment #9300890 - Attachment is obsolete: true
Attachment #9300654 - Attachment description: WIP: Bug 1787198 - [devtools] Change caching of original and generated source text content → Bug 1787198 - [devtools] Change caching of original and generated source text content
Blocks: 1802777
Attachment #9300654 - Attachment description: Bug 1787198 - [devtools] Change caching of original and generated source text content → WIP: Bug 1787198 - [devtools] Change caching of original and generated source text content
Attachment #9300654 - Attachment description: WIP: Bug 1787198 - [devtools] Change caching of original and generated source text content → Bug 1787198 - [devtools] Change caching of original and generated source text content
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d86544aef03e Migrate Tab to use getSelectedLocation instead of getSelectedSource r=ochameau https://hg.mozilla.org/integration/autoland/rev/f49e8eca9e34 [devtools] Change caching of original and generated source text content r=ochameau
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: