Open Bug 1938456 Opened 2 months ago Updated 14 days ago

Add glue to allow newtab to be packaged as a built-in addon

Categories

(Firefox :: New Tab Page, task)

task

Tracking

()

ASSIGNED

People

(Reporter: mconley, Assigned: mconley)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

(Whiteboard: [hnt-trainhop])

Attachments

(1 file)

The manifest should supply the bare minimum to let the built-in add-on be registered, and to allow it to have privileged code run via the experimental_api mechanism.

This will also add some scripts to do basic resource mapping and prevent runtime updates.

Depends on: 1938155, 1938457
Summary: Stub out a manifest.json and an experimental_api script for the newtab built-in add-on → Add glue to allow newtab to be packaged as a built-in addon

This is based on the patches from bug 1938155. This patch makes it so that
if ac_add_options --browser-newtab-as-addon is set in your mozconfig, then
the New Tab code will be packaged as a built-in addon.

Flipping that flag to enabled requires a full-build in order to rebuild
the built_in_addons.json file at build time.

You might find upon flipping the enabled flag the first time that the
initial about:home and a few about:newtab's will not load. This is
due to a race right now between the New Tab built-in addon and the
about:home startup cache. That's covered by bug 1946569.

Assignee: nobody → mconley
Status: NEW → ASSIGNED
Blocks: 1946569
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: