Closed
Bug 644565
Opened 14 years ago
Closed 14 years ago
SpecialPowers should be able add event listeners to TabChildGlobal
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: smaug, Assigned: smaug)
References
Details
Attachments
(1 file)
3.48 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
This way we could tests chrome only event handling
(those events get dispatched to TabChildGlobal, but not to content page)
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #521637 -
Flags: review?(ted.mielczarek)
Comment 2•14 years ago
|
||
Comment on attachment 521637 [details] [diff] [review]
patch
This looks good. Maybe you should use the DOMWindowUtils methods from bug 643803 to add a test that shows that you can observe chrome events as well?
Also, please add these methods to the wiki documentation once you land this:
https://developer.mozilla.org/en/SpecialPowers
Attachment #521637 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Comment 3•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 4•14 years ago
|
||
Nice that you've updated MDC, but I have no idea what TabChildGlobal is. Perhaps you could explain that too on MDC?
Assignee | ||
Comment 5•14 years ago
|
||
I think it is documented somewhere in MDC. Need to add a link from
SpecialPowers page to that page.
You need to log in
before you can comment on or make changes to this bug.
Description
•