Closed Bug 343106 Opened 20 years ago Closed 20 years ago

attributes are lost in eventHandler

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: bugs, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 On a multi iframe document, event handlers are loosing the target elements attributes and any other object references added to them. Document can not recover the data loss. They are forever gone. For example, if I put an attribute to a DIV element, which has a onmousedown event handler, named mydivelement.foo='hey', Event handler will delete the foo effective permanently. If I am lucky it gets it at first than deletes it. This is a very hard to catch bug. We cant find a workaround for this. There is no obvious test case. There are very strange things happening with events, they are not sane at all. Bon Echo is unbeliavle corrupt on event handling. If Firefox 2.0 goes out like that, we will be yet again in the rain. Especially double click handling went nuts. Locking out our frames. Please regress event handling changes a bit. Reproducible: Sometimes
I don't quite understand what you mean, so could you please provide some (small!) testcase where things go wrong - even if you see the bug only every now and then.
Ok I will try to make a test case. However, something changed on today's Bon Echo built(June 29th). One major problem area for us now works!!(which does not work on FF 1.5), but some other parts unexpectedly fail. Usually, when adding event handlers defined in the top frame's context to the elements in child frames ,the problem occurs.
I cant create a working testcase to demonstrate this problem. Marking invalid for now.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.