Closed Bug 882802 Opened 11 years ago Closed 11 years ago

DebuggerClient.prototype.getSources should provide the sources as SourceClients, not as their raw JSON form from the RDP

Categories

(DevTools :: Debugger, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 698841

People

(Reporter: fitzgen, Unassigned)

Details

Right now getSources will pass { sources: [sourceForm1, sourceForm2, ...] } to its callback, but the API would be greatly improved for consumers if instead it passed { sources: [new SourceClient(sourceForm1), new SourceClient(sourceForm2), ...] }
Priority: -- → P3
This would also be fixed by rewriting the debugger clients/actors with protocol.js: bug 698841.
I think it isn't worth fixing this bug by itself. We should just fix bug 698841.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.