Closed
Bug 1548559
Opened 6 years ago
Closed 5 years ago
Introduce Resource API for selecting a target
Categories
(DevTools :: Framework, enhancement, P3)
DevTools
Framework
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: yulia, Assigned: yulia)
References
Details
It is very expensive to instantiate targets. We should have an ability to instantiate a target when necessary, for example when selecting the target. For this purpose we need a select api
It might look something like the resource actor api: https://phabricator.services.mozilla.com/D4336
But it should be more light weight. The type signature of the function might look like this (pseudo flow code). It should return a fully instantiated target front
type TargetDescriptor = {
url: String,
...
}
function select(descriptor: TargetDescriptor) : TargetFront {}
Assignee | ||
Updated•6 years ago
|
Type: defect → enhancement
Priority: -- → P3
Assignee | ||
Updated•5 years ago
|
Blocks: dt-fission-framework
Assignee | ||
Updated•5 years ago
|
No longer blocks: dt-fission-framework
Assignee | ||
Updated•5 years ago
|
No longer blocks: dt-fission
Updated•5 years ago
|
Whiteboard: dt-fission
Assignee | ||
Comment 1•5 years ago
|
||
Closing this as this pattern is solved by the descriptor's getTarget function
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•