Summary: | KHTML improperly propegates scripting context in event handlers | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Jason Keirstead <jason> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Test Case |
Description
Jason Keirstead
2005-03-09 23:12:02 UTC
Created attachment 10048 [details]
Test Case
Hmm, my mail to 101202-done@bugs.kde.org didn't seem to close the bug? CVS commit by faure: Move "pushing element/form/doc onto the scope" from JSEventListener::handleEvent to JSLazyEventListener::handleEvent so that it only happens with listeners set from html attributes, not from JS - in which case the function already got a correct scope when created. Testcase: events/eventhandlerscope.{html,js} M +8 -0 ChangeLog 1.398 M +22 -11 ecma/kjs_events.cpp 1.93 |