Open
Bug 288908
Opened 19 years ago
Updated 2 years ago
event sending from dialog to parent window is broken
Categories
(Core :: XUL, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: surkov, Unassigned)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.5) Gecko/20041108 Firefox/1.0 (ax) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050217 I fire event from dialog to parent window. I guess when parent window handles event then handled event object differs from sended event object. I create event (dialog window): var event=document.createEvent("Events"); event.initEvents("someevent", true, false); event.someprop="hello"; parentwnd.dispatchEvent(event); I handle event (parent window): event.someprop is undefined Reproducible: Always Steps to Reproduce:
Reporter | ||
Comment 1•19 years ago
|
||
Reporter | ||
Comment 2•19 years ago
|
||
run it from chrome protocol
Comment 3•19 years ago
|
||
The native event object is probably rewrapped when it gets into script in the other window...
Comment 4•19 years ago
|
||
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
Reporter | ||
Comment 5•19 years ago
|
||
(In reply to comment #3) > The native event object is probably rewrapped when it gets into script in the > other window... Is it right when it rewrapped?
Comment 6•19 years ago
|
||
Yes. I believe we rewrap events for security reasons.
Reporter | ||
Comment 7•19 years ago
|
||
Is there workaround when I want to pass some information with event? (In reply to comment #6) > Yes. I believe we rewrap events for security reasons. Wontfix?
Comment 8•19 years ago
|
||
Not that I'm aware of, for the workaround.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•