Remove the Web Activities API

RESOLVED FIXED

Status

()

Core
DOM
RESOLVED FIXED
2 years ago
a year ago

People

(Reporter: benfrancis, Assigned: fabrice)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: btpp-active)

Attachments

(3 attachments)

(Reporter)

Description

2 years ago
Web Activities are registered during app installation. As we are removing mozApps we also need to remove Web Activities.

Ballista could offer a potential alternative using W3C web app manifests and Service Workers https://github.com/chromium/ballista
(Reporter)

Comment 1

2 years ago
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/API/Web_Activities
(Assignee)

Comment 2

2 years ago
Created attachment 8742640 [details] [diff] [review]
remove-activities.patch

We still need to convert the MozActivity use in shell.js from the sms/tel/mail protocol handlers and the file picker. I think we'll do that in a follow up once we know a bit better what replaces activities in the system app.
Assignee: nobody → fabrice
Attachment #8742640 - Flags: review?(lissyx+mozillians)
Attachment #8742640 - Flags: review?(lissyx+mozillians) → review+
Whiteboard: btpp-active
build error:
>  0:07.58     File listed in FINAL_TARGET_FILES does not exist: /home/alex/codaz/Mozilla/gecko-cinnabar/b2g/components/ActivitiesGlue.js
Created attachment 8743268 [details] [diff] [review]
Missing bits

MozReview-Commit-ID: FbM3qp5WT8w
Attachment #8743268 - Flags: review+
After fixing the build I can make basic use of the system on mulet and browse the web.
and on device :)
https://hg.mozilla.org/projects/pine/rev/7ed8ac374ee2
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
Oops.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Created attachment 8743409 [details] [diff] [review]
Let Activities die in pain
Attachment #8743409 - Flags: review+
https://hg.mozilla.org/projects/pine/rev/d5ab9acc15ec
Status: REOPENED → RESOLVED
Last Resolved: 2 years ago2 years ago
Resolution: --- → FIXED
Blocks: 1284455
You need to log in before you can comment on or make changes to this bug.