[Webkit-unassigned] [Bug 32962] New: HTML tags in strings used in innerHTML of created/appended script elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 27 06:57:27 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32962

           Summary: HTML tags in strings used in innerHTML of
                    created/appended script elements
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: PC
               URL: http://netro.fileave.com/webkitbug1.html
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jenseki.netro at gmail.com


Not working with Chrome 4 (dev channel) and Safari 3.2.2
Working with Firefox 3.5

Go to the URL. Check the DOM.
Compare it with http://netro.fileave.com/webkitbug2.html.

The bug is caused by the "<" character in webkitbug1.html's string variable
temp.
When the created script element is appended, its innerHTML treats /<.*>/ as
HTML tags.
And this causes the error.

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