Note: There are a few cases of duplicates in user autocompletion which are being worked on.

appRecord.manifest.installs_allowed_from is not a normal Array

NEW
Unassigned

Status

()

Core
DOM: Apps
5 years ago
5 years ago

People

(Reporter: ianb, Unassigned)

Tracking

15 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
Somewhere in serialization Arrays in the manifest are turned into objects like {0: "item 0", 1: "item 1"}

For example:

  m = "http://app1.ianbicking.org/manifest.webapp"
  navigator.mozApps.install(m).onsuccess = function () {
    var i = this.result.manifest.installs_allowed_from;
    console.log(i, JSON.stringify(i), i[0], i.length)
  };

  ==> ({0:"*"}) {"0":"*"} * undefined

Updated

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

Updated

5 years ago
Blocks: 746465

Updated

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