Navigator mozapps implementation for mozilla-central

RESOLVED FIXED

Status

()

Core
DOM: Apps
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: onecyrenus, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 601199 [details]
repo_api failure output

The navigator mozApps implementation for mozilla-central is not currently the same as the extension, soup. 

Attached is my test run data from the mochitests i ported. 

A few things I noticed
navigator.mozApps.mgmt is undefined
Error: navigator.mozApps.getInstalled is not a function

navigator.mozApps.setMockResponse(,,); <-- this function is used under test

I am fixing up some of the other issues with the tests, but this seems reasonable to start submitting data now.
(Reporter)

Updated

5 years ago
Severity: normal → major
There is nothing surprising here, since the implementation of the new API has not landed yet on m-c
Severity: major → normal
OS: Mac OS X → All
Hardware: x86 → All

Comment 2

5 years ago
What I do think we should have for testing support is two hidden preferences: one that disables user confirmation of application installation, and another to set what sites have mozApps.mgmt privileges.  These will make it much easier to automate testing (and would serve the same purpose as setMockResponse).

Updated

5 years ago
Component: General → DOM: Mozilla Extensions
Product: Web Apps → Core
QA Contact: general → general

Updated

5 years ago
Whiteboard: [mozappsapi]

Updated

5 years ago
Whiteboard: [mozappsapi] → [mozappsapi] [marketplace-beta?]

Updated

5 years ago
Blocks: 746465

Updated

5 years ago
Whiteboard: [mozappsapi] [marketplace-beta?] → [marketplace-beta?]

Updated

5 years ago
Whiteboard: [marketplace-beta?]

Comment 3

5 years ago
The implementation has landed.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Updated

5 years ago
Component: DOM: Mozilla Extensions → DOM: Apps
You need to log in before you can comment on or make changes to this bug.