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

Description Matt Kane 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.
Comment 1 Matt Kane 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.
Comment 2 Joost de Valk (AlthA) 2005-08-31 00:46:53 PDT

*** This bug has been marked as a duplicate of 4403 ***