Closed
Bug 918053
Opened 12 years ago
Closed 12 years ago
TA__discoverSources should use Debugger.Source
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 28
People
(Reporter: fitzgen, Assigned: fitzgen)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
1.35 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
Right now we iterate through scripts and infer sources via URL, instead we should either a) iterate through scripts and infer sources via script.source, or b) use dbg.findSources, if it is implemented in time.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → nfitzgerald
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #827081 -
Flags: review?(past)
Assignee | ||
Updated•12 years ago
|
Priority: -- → P2
Comment 2•12 years ago
|
||
Comment on attachment 827081 [details] [diff] [review]
bug-918053-discover-sources-debugger-source.patch
Review of attachment 827081 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/devtools/server/actors/script.js
@@ +1572,4 @@
> }
>
> + return all([this.sources.sourcesForScript(script)
> + for ([source, script] of sourcesToScripts)]);
Since you don't use |source|, using [, script] would avoid the extra (large) allocation.
Attachment #827081 -
Flags: review?(past) → review+
Updated•12 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•12 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 4•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 28
Updated•11 years ago
|
Whiteboard: [qa-]
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•