Closed Bug 653148 Opened 13 years ago Closed 13 years ago

Document `self.on` instead of `on`, mainly used by context-menu

Categories

(Add-on SDK Graveyard :: Documentation, defect, P1)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ochameau, Unassigned)

Details

(Keywords: APIchange, relnote)

Attachments

(1 file)

We are going to introduce a breaking change in 1.0b5.
We were used to call `on` directly in globals, but we recently removed it from globals in order to limit global scope pollution.

So we have remove all direct `on` uses and advertise the use of `self.on` in all content scripts.
Attachment #528606 - Flags: review?(wbamberg)
P1 for 1.0, although we'll take for 1.0b5 if it's ready in time.
Priority: -- → P1
Target Milestone: --- → 1.0
Fixed as part of bug 653109 by https://github.com/mozilla/addon-sdk/commit/fa651783509bcd11127369b2a8c828b58c057018
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Attachment #528606 - Flags: review?(wbamberg)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: