Closed Bug 785393 Opened 12 years ago Closed 12 years ago

navigator.mozApps.install(url) does not take a relative reference (no protocol) URL

Categories

(Core Graveyard :: DOM: Apps, defect)

17 Branch
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 745928

People

(Reporter: nick1presta, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Firefox/17.0 Build ID: 20120824030530 Steps to reproduce: Tried to install a Mozilla App via: request = navigation.mozApps.install("//path/to/manifest.webapp"); request.onsuccess = function() { alert("Yay!"); } request.onerror = function() { alert("Error: " + this.error.name); } About: Firefox 17.0a1 Build identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Firefox/17.0 Actual results: Nothing. No error was presented (see this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=777121). Expected results: I would expect this URL scheme to work. It should be valid, according to section 4.2: http://www.ietf.org/rfc/rfc3986.txt
Just to add, this may be related to: https://bugzilla.mozilla.org/show_bug.cgi?id=745928
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.