[Webkit-unassigned] [Bug 46167] New: Web Inspector: a bit confusing situation happens for breakpoints in onload event script.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 21 00:23:10 PDT 2010


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

           Summary: Web Inspector: a bit confusing situation happens for
                    breakpoints in onload event script.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: loislo at chromium.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, loislo at chromium.org


Created an attachment (id=68196)
 --> (https://bugs.webkit.org/attachment.cgi?id=68196)
screenshot

quite simply code 


<html>
<head>
<script>

function doit()
{
    var xhr = new XMLHttpRequest();
    xhr.open("GET", "test.xhr", false);
    xhr.send();

}

</script>
</head>

<body onload="doit()">
</body>
</html>

If we set a breakpoint in the code then on reload we will get:

1) two entry in the list of file at Scripts panel. Just one per each call stack entry.
2) second entry in call stack with wrapper around onload event.
3) file content has only the text of function which was selected in the call stack. No other functions, no other html text.

See screenshot.

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