Closed
Bug 762250
Opened 13 years ago
Closed 13 years ago
Receipts aren't exposed as an App property
Categories
(Core Graveyard :: DOM: Apps, defect)
Core Graveyard
DOM: Apps
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla16
People
(Reporter: Mardak, Assigned: andy+bugzilla)
References
Details
Attachments
(1 file)
675 bytes,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
Not sure why dom/tests/mochitest/webapps/test_install_receipts.xul isn't failing because it shouldn't be able to access pending.result.receipts
Updated•13 years ago
|
Component: Web Apps → DOM: Mozilla Extensions
Product: Firefox → Core
QA Contact: webapps → general
Reporter | ||
Comment 1•13 years ago
|
||
Oh I see why it isn't failing..
p = navigator.mozApps.install("http://ed.agadak.net/manifest.webapp", {receipts: ["Woot!"]}); p.onsuccess = function() console.log("success", this.result.receipts); p.onerror = function() console.log("error");
Doing that from content pages runs onsuccess but receipts is undefined. Doing that from about: (chrome privileged page) works okay.
Comment 2•13 years ago
|
||
yes, we forgot to add |receipts| to __exposedProps__
Assignee | ||
Comment 3•13 years ago
|
||
Attachment #631460 -
Flags: review?
Updated•13 years ago
|
Attachment #631460 -
Attachment is patch: true
Attachment #631460 -
Flags: review? → review+
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
Assignee: nobody → amckay
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Updated•12 years ago
|
Component: DOM: Mozilla Extensions → DOM: Apps
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•