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)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla16

People

(Reporter: Mardak, Assigned: andy+bugzilla)

References

Details

Attachments

(1 file)

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
Component: Web Apps → DOM: Mozilla Extensions
Product: Firefox → Core
QA Contact: webapps → general
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.
yes, we forgot to add |receipts| to __exposedProps__
Attachment #631460 - Flags: review?
Attachment #631460 - Attachment is patch: true
Attachment #631460 - Flags: review? → review+
Assignee: nobody → amckay
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Working for me in nightly, thanks.
Status: RESOLVED → VERIFIED
Component: DOM: Mozilla Extensions → DOM: Apps
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: