[Webkit-unassigned] [Bug 137881] New: Assigning .innerHTML should give a warning when invalid markup is ignored

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 20 07:48:57 PDT 2014


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

            Bug ID: 137881
           Summary: Assigning .innerHTML should give a warning when
                    invalid markup is ignored
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: me at shadsterling.com

if you call document.getElementById("someid").innerHTML = htmlString when htmlString contains malformed tags, the malformed
tags are silently dropped.

For example, http://jsbin.com/qikeha/2/edit?html,console,output

This should not be silent, a warning should be logged.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141020/d3873269/attachment-0002.html>


More information about the webkit-unassigned mailing list