Bug 4712

Summary: Javascript inserted using innerHTML is not parsed
Product: WebKit Reporter: Matt Kane <ascorbic>
Component: New BugsAssignee: Dave Hyatt <hyatt>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: 412   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Test case none

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
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.