Apps.checkInstalled fails to detect non exisiting manifes urls

UNCONFIRMED
Unassigned

Status

Core Graveyard
DOM: Apps
UNCONFIRMED
5 years ago
8 months ago

People

(Reporter: goto.mail, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20131129053350

Steps to reproduce:

I used navigator.mozApps.checkInstalled(manifest_url) to check if a webapp was installed, but the manifest_url wasn't the correct location of the manifest.webapp.


Actual results:

DOMRequest.onsuccess was called and DOMRequest.result is null, which is the identical behavior as if the app is not installed. 


Expected results:

Instead of DOMRequest.onsuccess gets called, DOMRequest.onerror should be called with an appropriate DOMRequest.error.

Updated

8 months ago
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.