Closed Bug 295265 Opened 20 years ago Closed 20 years ago

Reintroduce chrome registry overrides

Categories

(Toolkit :: Startup and Profile System, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla1.8beta3

People

(Reporter: benjamin, Assigned: benjamin)

Details

Attachments

(1 file)

In some cases it would be very useful for extension to "override" particular
chrome URIs in the core distribution with different versions. This was possible
in the old chrome registry through the use of an override JAR, but performance
was pretty bad.

This patch introduces a chrome manifest instruction:

override chrome://<package>/<provider>/<file-to-override[.js]> <override-URI>
Sounds like a great idea to me.  Given our extension versioning system, we ought
to be able to support extensions that dip into dark corners of the code using
this mechanism.
Attachment #184340 - Flags: first-review?(darin)
Comment on attachment 184340 [details] [diff] [review]
Add "override" instruction to chrome manifests, rev. 1

nicely done.  r=darin
Attachment #184340 - Flags: first-review?(darin) → first-review+
Comment on attachment 184340 [details] [diff] [review]
Add "override" instruction to chrome manifests, rev. 1

This is very low-risk and should be acceptable for 1.1a1 or a2.
Attachment #184340 - Flags: approval1.8b3?
Attachment #184340 - Flags: approval1.8b2?
Comment on attachment 184340 [details] [diff] [review]
Add "override" instruction to chrome manifests, rev. 1

too late for a1
Attachment #184340 - Flags: approval1.8b2? → approval1.8b2-
Priority: -- → P2
Target Milestone: --- → mozilla1.8beta3
Comment on attachment 184340 [details] [diff] [review]
Add "override" instruction to chrome manifests, rev. 1

a=shaver
Attachment #184340 - Flags: approval1.8b3? → approval1.8b3+
could the fix here have caused bug 296376?
s/fix/check-in
It's very unlikely.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component: XRE Startup → Startup and Profile System
QA Contact: nobody → startup
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: