Closed
Bug 821065
Opened 12 years ago
Closed 11 years ago
Allow listeners to listen all event types
Categories
(Add-on SDK Graveyard :: General, defect, P3)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: irakli, Assigned: jsantell)
Details
Attachments
(1 file, 1 obsolete file)
Event listeners need a way to observer all messages similar to observer service.
Reporter | ||
Updated•12 years ago
|
Summary: Allow listeners to all event types → Allow listeners to listen all event types
Priority: -- → P3
Comment 1•12 years ago
|
||
Got any implementation details in mind? I'm not sure a special `""` or `"*"` event would work well, so all can see is a new method like `onAny`.
Flags: needinfo?(rFobic)
OS: Mac OS X → All
Hardware: x86 → All
Reporter | ||
Comment 2•12 years ago
|
||
Probably "*" to be consistent with observer service (kind of regret pushing you towards "" for prefs). I do have patch somewhere it was part of refactoring work & have created this bug to separate individual changes from that refactoring.
I'll submit pull request once I'll get my hands on this (should be soon).
Flags: needinfo?(rFobic)
Reporter | ||
Updated•12 years ago
|
Assignee: nobody → rFobic
Reporter | ||
Comment 3•12 years ago
|
||
Pointer to Github pull-request
Reporter | ||
Updated•12 years ago
|
Attachment #729669 -
Flags: review?(zer0)
Updated•12 years ago
|
Attachment #729669 -
Flags: review?(zer0) → review+
Reporter | ||
Comment 4•12 years ago
|
||
No longer sure it's still relevant since we did just fine without it. If turns we need it we can reopen and land attached patch.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Comment 5•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/434f0e68712f80a6de61768793cd15f910c26a81
Bug 821065 - Add wildcard event.
https://github.com/mozilla/addon-sdk/commit/951828940c9dd457c75b8f76592c0e8b1b9cebe5
Merge pull request #901 from Gozala/bug/listen-to-all@821065
Bug 821065 - Add wildcard event. r=@ZER0
Assignee | ||
Comment 6•11 years ago
|
||
We went back and merged this in, marked as fix, to allow event/utils#pipe work with general events
Resolution: WONTFIX → FIXED
Comment 7•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/f3f791b18b84c563407cc7a70c95b267d5732571
Revert "Bug 821065 - Add wildcard event."
This reverts commit 434f0e68712f80a6de61768793cd15f910c26a81.
Assignee | ||
Comment 8•11 years ago
|
||
Reverted back out
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•11 years ago
|
Assignee: rFobic → jsantell
Assignee | ||
Comment 9•11 years ago
|
||
Updated event wildcard, removing fixes in place previously to have similar behaviour, and removing to prevent duplicates occuring, breaking tests
Attachment #729669 -
Attachment is obsolete: true
Attachment #824306 -
Flags: review?(rFobic)
Reporter | ||
Updated•11 years ago
|
Attachment #824306 -
Flags: review?(rFobic) → review+
Comment 10•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/addon-sdk
https://github.com/mozilla/addon-sdk/commit/0bf57fcb8bde9ddd98af70ec2b6cec8a2d2e9829
Bug 821065 - Add wildcard event listeners, remove hacks that were work arounds fro this
https://github.com/mozilla/addon-sdk/commit/226419e9ec3bca3587c2eaccfa8b7aeb9ddd7da0
Merge pull request #1274 from jsantell/add-wildcard
Fix Bug 821065 - Add wildcard event listeners, remove hacks that were work arounds in workers, r=@gozala
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 12 years ago → 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•