WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 4403
4712
Javascript inserted using innerHTML is not parsed
https://bugs.webkit.org/show_bug.cgi?id=4712
Summary
Javascript inserted using innerHTML is not parsed
Matt Kane
Reported
2005-08-28 09:24:31 PDT
If the innerHTML of an element is set to an HTML string that includes javascript elements, the script is not executed. No error is logged.
Attachments
Test case
(509 bytes, text/html)
2005-08-28 09:26 PDT
,
Matt Kane
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Matt Kane
Comment 1
2005-08-28 09:26:03 PDT
Created
attachment 3624
[details]
Test case If Firefox, the testcase displays an alert when loaded and another when the link is clicked. Safari does neither.
Joost de Valk (AlthA)
Comment 2
2005-08-31 00:46:53 PDT
*** This bug has been marked as a duplicate of
4403
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug