Closed Bug 644565 Opened 14 years ago Closed 14 years ago

SpecialPowers should be able add event listeners to TabChildGlobal

Categories

(Testing :: Mochitest, defect)

x86_64
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

References

Details

Attachments

(1 file)

This way we could tests chrome only event handling (those events get dispatched to TabChildGlobal, but not to content page)
Blocks: 642140
Attached patch patchSplinter Review
Attachment #521637 - Flags: review?(ted.mielczarek)
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+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Nice that you've updated MDC, but I have no idea what TabChildGlobal is. Perhaps you could explain that too on MDC?
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.

Attachment

General

Created:
Updated:
Size: