Closed
Bug 300970
Opened 19 years ago
Closed 19 years ago
access checks for install locations are performed repeatedly per location during a session
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
RESOLVED
FIXED
mozilla1.8final
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
Details
Attachments
(1 file, 2 obsolete files)
|
1.56 KB,
patch
|
benjamin
:
review+
benjamin
:
approval1.8b4+
|
Details | Diff | Splinter Review |
canAccess tests write access for each install location by creating a test directory and then deleting it. Since an install location usually contains multiple items this causes the same location to be tested for write access repeatedly. I have a patch in progress and should have it finished by the end of the weekend.
| Assignee | ||
Updated•19 years ago
|
Target Milestone: --- → Firefox1.1
| Assignee | ||
Comment 1•19 years ago
|
||
Benjamin - the write access checks are performed multiple times for each install location during the init of the datasource as well as when clicking on items in the ui. This can cause a noticeable slowdown especially for a location on a network and this patch addresses this. I should probably wait on Ben to land the patch he is working on which will probably mean that I'll need to re-submit. If you'd prefer to wait until then to review just cancel this review.
Attachment #189589 -
Flags: review?(benjamin)
| Assignee | ||
Comment 2•19 years ago
|
||
Comment on attachment 189589 [details] [diff] [review] patch I have a slightly cleaner fix I'll submit after Ben lands his patch
Attachment #189589 -
Flags: review?(benjamin)
| Assignee | ||
Comment 3•19 years ago
|
||
I doubt this patch will cause a problem for Ben's merge so asking for review.
Attachment #189589 -
Attachment is obsolete: true
Attachment #189635 -
Flags: review?(benjamin)
| Assignee | ||
Updated•19 years ago
|
Attachment #189635 -
Attachment is obsolete: true
Attachment #189635 -
Flags: review?(benjamin)
| Assignee | ||
Comment 4•19 years ago
|
||
This is the actual patch - doh!
Attachment #189636 -
Flags: review?(benjamin)
Comment 5•19 years ago
|
||
Comment on attachment 189636 [details] [diff] [review] actual patch Go ahead and land it now, as I haven't landed bug 297312 yet.
Attachment #189636 -
Flags: review?(benjamin)
Attachment #189636 -
Flags: review+
Attachment #189636 -
Flags: approval1.8b4+
Comment 6•19 years ago
|
||
Checking in nsExtensionManager.js.in; /cvsroot/mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in,v <-- nsExtensionManager.js.in new revision: 1.127; previous revision: 1.126 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•