The default bug view has changed. See this FAQ.

Stop using enablePrivilege in test_bug480509.html

RESOLVED FIXED in mozilla14

Status

Core Graveyard
Security: UI
RESOLVED FIXED
5 years ago
6 months ago

People

(Reporter: peterv, Assigned: peterv)

Tracking

(Blocks: 1 bug)

Trunk
mozilla14

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Created attachment 610020 [details] [diff] [review]
v1

Stop using enablePrivilege, add an API to SpecialPowers to set a property to a value and use it to set xhr.channel.notificationsCallback.
Attachment #610020 - Flags: review?(bzbarsky)
Comment on attachment 610020 [details] [diff] [review]
v1

r=me.  I'm impressed there was no eval involved in the impl!  ;)
Attachment #610020 - Flags: review?(bzbarsky) → review+
Blocks: 580070

Comment 2

5 years ago
Are you able to use |SpecialPowers.wrap(req).channel.notificationCallbacks = foo| instead?
(Assignee)

Comment 3

5 years ago
https://hg.mozilla.org/integration/mozilla-inbound/rev/ba46fc01fb32

I'll file a new bug to try the SpecialPowers.wrap method.
(Assignee)

Comment 4

5 years ago
http://hg.mozilla.org/mozilla-central/rev/183eed448b9d
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
https://hg.mozilla.org/mozilla-central/rev/ba46fc01fb32
https://hg.mozilla.org/mozilla-central/rev/ba46fc01fb32
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Assignee)

Updated

5 years ago
Status: REOPENED → RESOLVED
Last Resolved: 5 years ago5 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.