Closed
Bug 735447
Opened 14 years ago
Closed 14 years ago
Navigator mozapps - installOrigin
Categories
(Web Apps :: Soup, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: onecyrenus, Unassigned)
Details
The installOrigin field as defined by mozilla-central implentation is returning the hostname:port of the originating site to issue the install request.
The installOrigin field as defined by html / js & android implementation stores the hostname & port of the web application.
dom/js/webapps.js
> let installOrigin = this._getOrigin(this._window.location.href);
This is a bug in the html / js implementation.
| Reporter | ||
Updated•14 years ago
|
Assignee: ianb → anant
Comment 1•14 years ago
|
||
I am realizing that repo_api.html does not test this - it is rather vague about what installOrigin is set to. I improved the test slightly: https://github.com/mozilla/openwebapps/commit/acfeb00a03c5351a820a60beedefaec3282a6aa6
I believe the HTML implementation is correct (and this test passes).
Comment 2•14 years ago
|
||
The add-on implement this incorrectly, we'll leave this bug open to track that.
Comment 3•14 years ago
|
||
On looking more closely, the add-on does in fact implement this correctly, I was misled by a rogue variable named 'origin', which should have been named 'installOrigin'.
Let's figure out why the test is failing for David, but not for Ian.
| Reporter | ||
Updated•14 years ago
|
Assignee: anant → nobody
Component: HTML → Soup
QA Contact: soup
| Reporter | ||
Comment 4•14 years ago
|
||
i think this was fixed in the past, git pull issue.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•