Closed Bug 816210 Opened 13 years ago Closed 13 years ago

Global searches do not cache the source text contents for displaying in the editor

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 20

People

(Reporter: vporof, Assigned: vporof)

Details

(Whiteboard: [fixed-in-fx-team])

Attachments

(1 file)

This is a pretty minor optimization, but nevertheless.. STR: 1. Open debugger on http://htmlpad.org/debugger/ 2. Type ! in the filter box At this point, all the sources text contents are fetched and cached in preparation for the search operation. In this case, only jquery.min is fetched, since debugger.html is already loaded. 3. Delete the ! from the filter box. Manually select jquery from the menulist. The jquery.min source is fetched again. This is redundant, since we have already cached the source.
Attached patch v1Splinter Review
Attachment #686221 - Flags: review?(past)
Comment on attachment 686221 [details] [diff] [review] v1 Review of attachment 686221 [details] [diff] [review]: ----------------------------------------------------------------- It will let the debuggee avoid doing the work again, which may be important in underpowered devices, so definitely yes!
Attachment #686221 - Flags: review?(past) → review+
Whiteboard: [land-in-fx-team]
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: