[Webkit-unassigned] [Bug 63506] New: information not reported correctly on window.onerror

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 27 20:23:44 PDT 2011


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

           Summary: information not reported correctly on window.onerror
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://jsErrLog.appspot.com
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: offbeatmammal at gmail.com


with the fix to bug 8519 we now have a working window.onerror, and as implemented in current Chrome builds (also FF and IE) works consistently for all errors encountered so far.

In the current WebKit nightly (r81895) though this error fails to provide correct parameters

<script type="text/javascript">
    Messsage = "This is a test";    // note three s's
    document.write(Message);        // note two s's
</script>

... both the file_loc and the line_no that should be passed to the function are empty:

window.onerror=function(msg, file_loc, line_no){ }

sample available at http://blog.offbeatmammal.com/samples/jserr/jserr2.html (a working error, if that's not an oximoron, is at http://blog.offbeatmammal.com/samples/jserr/jserr.html)

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