[Webkit-unassigned] [Bug 93607] New: Web Inspector: Caught exception is treated as uncaught

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 9 05:21:16 PDT 2012


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

           Summary: Web Inspector: Caught exception is treated as uncaught
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Critical
          Priority: P1
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: clarkli at apple.com
                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, apavlov at chromium.org,
                    loislo at chromium.org


Webkit Version: r125153

With the flag "All Uncaught Exception" ON, show Error Console. Load the attached file.

Actual: It paused in the "throw" line.

Expected: Since the "throw" is within a try...catch, it should not be treated as an uncaught exception.

This case is ok.===========================
try {
    throw new Error("x");
} catch (e) {

}

This case is bad: ===========================
try {
    function f() {
      throw new Error("x");
    }
    f();
} catch (e) {

}

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