Closed
Bug 323330
Opened 20 years ago
Closed 20 years ago
nsExtensionManager.js should get the XPCOM ABI and OS_TARGET from nsIXULRuntime instead of preprocessing
Categories
(Toolkit :: Add-ons Manager, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla1.8final
People
(Reporter: benjamin, Assigned: Gavin)
References
Details
(Keywords: fixed1.8.0.2, fixed1.8.1, Whiteboard: [nvn-dl])
Attachments
(1 file, 2 obsolete files)
|
7.42 KB,
patch
|
robert.strong.bugs
:
review+
benjamin
:
approval-branch-1.8.1+
dveditz
:
approval1.8.0.2+
|
Details | Diff | Splinter Review |
This is needed for universal binaries of Firefox/Thunderbird which is targeted at Firefox 1.5.0.2...
The extension manager is currently preprocessed with a hardcoded value of TARGET_XPCOM_ABI... for mac universal builds this needs to change because we will be shipping the same nsExtensionManager.js for both mac-ppc and mac-intel. The extension manager should get nsIXULRuntime.XPCOMABI and use that value consistently.
(From bug 323328).
| Reporter | ||
Comment 1•20 years ago
|
||
Robert, if you could give me an ETA for this when you see it, we're going to need to jump on it quickly.
Severity: normal → blocker
Priority: -- → P1
Target Milestone: --- → Firefox1.5
| Assignee | ||
Comment 2•20 years ago
|
||
Tested an extension with a non-matching targetPlatform, and that a targetPlatform of <OS>_unknownABI won't match anything (by setting gXPCOMABI = "unknownABI" explicitly). Also tested that the XPCOMABI is properly substituted into the updateURL.
Assignee: robert.bugzilla → gavin.sharp
Status: NEW → ASSIGNED
Attachment #208406 -
Flags: review?(robert.bugzilla)
Comment 3•20 years ago
|
||
(In reply to comment #1)
> Robert, if you could give me an ETA for this when you see it, we're going to
> need to jump on it quickly.
The patch from Gavin looks good but I'm going to hold off on reviewing it until after my head has cleared up some more (e.g. I have the flu) so I expect this weekend.
| Reporter | ||
Comment 4•20 years ago
|
||
Comment on attachment 208406 [details] [diff] [review]
patch
Please also remove the hunk at http://lxr.mozilla.org/mozilla/source/toolkit/mozapps/extensions/src/Makefile.in#52
| Assignee | ||
Comment 5•20 years ago
|
||
Attachment #208406 -
Attachment is obsolete: true
Attachment #208526 -
Flags: review?(robert.bugzilla)
Attachment #208406 -
Flags: review?(robert.bugzilla)
Comment 6•20 years ago
|
||
Comment on attachment 208526 [details] [diff] [review]
remove defines too
Gavin - looks good. Would you mind removing the exapnsion of __OS_TARGET__ as well? It would be a good thing to just take care of it as well in this bug. If you prefer either you or I can take care of it in another bug.
Attachment #208526 -
Flags: review?(robert.bugzilla) → review+
| Assignee | ||
Comment 7•20 years ago
|
||
Robert/Benjamin: would appreciate a second look to make sure I didn't miss anything :).
Attachment #208526 -
Attachment is obsolete: true
Attachment #208773 -
Flags: review?(robert.bugzilla)
Comment 8•20 years ago
|
||
Comment on attachment 208773 [details] [diff] [review]
remove OS_TARGET expansion as well
Thanks
Attachment #208773 -
Flags: review?(robert.bugzilla) → review+
| Assignee | ||
Comment 9•20 years ago
|
||
Checked in on the trunk. I guess this should go on both branches, per comment 0?
mozilla/toolkit/mozapps/extensions/src/Makefile.in; 1.6;
mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in; 1.166;
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•20 years ago
|
Attachment #208773 -
Flags: approval1.8.1?
Attachment #208773 -
Flags: approval1.8.0.2?
| Assignee | ||
Updated•20 years ago
|
Summary: nsExtensionManager.js should get the XPCOM ABI from nsIXULRuntime instead of preprocessing → nsExtensionManager.js should get the XPCOM ABI and OS_TARGET from nsIXULRuntime instead of preprocessing
| Reporter | ||
Comment 10•20 years ago
|
||
Comment on attachment 208773 [details] [diff] [review]
remove OS_TARGET expansion as well
Two-week waiting period for the 1.8.0 branch is almost done.
Attachment #208773 -
Flags: approval1.8.1? → branch-1.8.1+
| Assignee | ||
Comment 11•20 years ago
|
||
Landed on the 1.8 branch.
mozilla/toolkit/mozapps/extensions/src/Makefile.in; 1.5.4.1;
mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in; 1.144.2.19;
Keywords: fixed1.8.1
Updated•20 years ago
|
Flags: blocking1.8.0.2+
Comment 12•20 years ago
|
||
Comment on attachment 208773 [details] [diff] [review]
remove OS_TARGET expansion as well
approved for 1.8.0 branch, a=dveditz
Attachment #208773 -
Flags: approval1.8.0.2? → approval1.8.0.2+
| Assignee | ||
Comment 13•20 years ago
|
||
Checked in on the 1.8.0 branch.
mozilla/toolkit/mozapps/extensions/src/Makefile.in; 1.5.12.1;
mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in; 1.144.2.16.2.1;
Keywords: fixed1.8.0.2
Version: Trunk → 1.5.0.x Branch
Updated•20 years ago
|
Whiteboard: [nvn-dl]
Updated•17 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•