[Webkit-unassigned] [Bug 70991] New: window.onerror doesn't work with inline (attribute) scripts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 26 21:10:11 PDT 2011


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

           Summary: window.onerror doesn't work with inline (attribute)
                    scripts
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org
                CC: ian at hixie.ch, sam at webkit.org, ggaren at apple.com,
                    yurys at chromium.org


Created an attachment (id=112636)
 --> (https://bugs.webkit.org/attachment.cgi?id=112636&action=review)
test case

Clicking <button onclick="for(;)">click</button> doesn't result in window.onerror being caught.

This works in Firefox, and per my understanding, catching error in inline scripts like this is the primary reason for window.onerror existence.

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