[Webkit-unassigned] [Bug 31567] New: event handler in <script...for> should not get executed
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 16 14:44:01 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=31567
Summary: event handler in <script...for> should not get
executed
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jnd at chromium.org
CC: beidson at apple.com, fishd at chromium.org,
abarth at webkit.org, dglazkov at chromium.org
According to bug 21193 and 16915, the event handler in <script...for> should
not get executed. The CL (http://trac.webkit.org/changeset/43061) was to fix
this problem.
However, in current implementation, if a script tag has type or language
attribute, the event handler in <script...for> can be executed in WebKit.
If you copy the following example code in a html page, a alert box will be
seen.
<script type="text/javascript" for="Object1" event="onclick"> alert("click
pic"); </script>
I write a patch to fix it. Will upload soon.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list