Closed Bug 1479945 Opened 7 years ago Closed 7 years ago

Remove legacy gunk from chrome.manifest parser

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

(Blocks 2 open bugs)

Details

Attachments

(5 files)

We still have a bunch of gunk in the manifest parser for extension types and directives that are no longer supported. That can all go away now.
Comment on attachment 8996489 [details] Bug 1479945: Part 1 - Remove nominal support for binary-component directive. https://reviewboard.mozilla.org/r/260566/#review267664
Attachment #8996489 - Flags: review?(nfroyd) → review+
Comment on attachment 8996490 [details] Bug 1479945: Part 2 - Remove support for componentonly directive flag. https://reviewboard.mozilla.org/r/260568/#review267666
Attachment #8996490 - Flags: review?(nfroyd) → review+
Comment on attachment 8996491 [details] Bug 1479945: Part 3 - Remove support for apponly directive flag. https://reviewboard.mozilla.org/r/260570/#review267668 r=me if you talk to the thunderbird people and determine that they don't need this stuff anymore, because I'm pretty sure `MOZ_BINARY_EXTENSION` is meant for them. And if they don't need it, please file a followup bug about removing `MOZ_BINARY_EXTENSIONS` from `old-configure.in`. Thanks!
Attachment #8996491 - Flags: review?(nfroyd) → review+
Comment on attachment 8996492 [details] Bug 1479945: Part 4 - Remove unused isContract directive flag. https://reviewboard.mozilla.org/r/260572/#review267670 ::: xpcom/components/ManifestParser.cpp (Diff revision 1) > int aLineNo, char* const* aArgv); > void (nsChromeRegistry::*regfunc)( > nsChromeRegistry::ManifestProcessingContext& aCx, > int aLineNo, char* const* aArgv, int aFlags); > - > - bool isContract; I guess everybody must silently initialize this to `false`...?
Attachment #8996492 - Flags: review?(nfroyd) → review+
Comment on attachment 8996493 [details] Bug 1479945: Part 5 - Remove the 'allowbootstrap' directive flag. https://reviewboard.mozilla.org/r/260574/#review267672
Attachment #8996493 - Flags: review?(nfroyd) → review+
(In reply to Nathan Froyd [:froydnj] from comment #8) > Comment on attachment 8996491 [details] > Bug 1479945: Part 3 - Remove support for apponly directive flag. > > https://reviewboard.mozilla.org/r/260570/#review267668 > > r=me if you talk to the thunderbird people and determine that they don't > need this stuff anymore, because I'm pretty sure `MOZ_BINARY_EXTENSION` is > meant for them. And if they don't need it, please file a followup bug about > removing `MOZ_BINARY_EXTENSIONS` from `old-configure.in`. Thanks! It doesn't actually do anything anymore. It only applies to the binary-component entry type, which we ripped out support for several years ago. So I guess it should just be removed from old-configure.in.
Blocks: 1480207
Depends on: 1480793
Backed out for causing a big performance regression on OS X and as request by igoldan. https://hg.mozilla.org/mozilla-central/rev/fe6020e5c9d901a40fa2e7ea2f1ab2a36bf6d856
Status: RESOLVED → REOPENED
Flags: needinfo?(kmaglione+bmo)
Resolution: FIXED → ---
Target Milestone: mozilla63 → ---
No longer depends on: 1480793
Flags: needinfo?(kmaglione+bmo)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: