Closed Bug 731134 Opened 12 years ago Closed 12 years ago

Navigator mozapps implementation for mozilla-central

Categories

(Core Graveyard :: DOM: Apps, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: onecyrenus, Unassigned)

References

Details

Attachments

(1 file)

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.
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
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).
Component: General → DOM: Mozilla Extensions
Product: Web Apps → Core
QA Contact: general → general
Whiteboard: [mozappsapi]
Whiteboard: [mozappsapi] → [mozappsapi] [marketplace-beta?]
Blocks: 746465
Whiteboard: [mozappsapi] [marketplace-beta?] → [marketplace-beta?]
Whiteboard: [marketplace-beta?]
The implementation has landed.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Component: DOM: Mozilla Extensions → DOM: Apps
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: