Closed Bug 984985 Opened 10 years ago Closed 10 years ago

stop providing file sizes to PR_CreateFileMap when importing JS modules

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: froydnj, Assigned: froydnj)

References

Details

Attachments

(1 file)

This sounds counterintuitive, but NSPR is just doing useless checking if we provide the file size.
Ideally the block comment added explains everything you need to know.
Attachment #8392977 - Flags: review?(bobbyholley)
Comment on attachment 8392977 [details] [diff] [review]
avoid a useless stat call when loading JS components

Review of attachment 8392977 [details] [diff] [review]:
-----------------------------------------------------------------

rs=me
Attachment #8392977 - Flags: review?(bobbyholley) → review+
https://hg.mozilla.org/mozilla-central/rev/454b88711901
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: