[Webkit-unassigned] [Bug 29958] New: Inspector console stops working while JS in IFRAME is paused

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 1 03:19:39 PDT 2009


           Summary: Inspector console stops working while JS in IFRAME is
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fds at mailbox.hu

Created an attachment (id=40431)
 --> (https://bugs.webkit.org/attachment.cgi?id=40431)
Test pages to demonstrate the regression

In recent WebKit nightly builds (for example, AppleWebKit/532.2+ r48958), when
you pause JavaScript execution in the Web Inspector, either with a breakpoint
or by pressing the "Pause script execution" button, *if the script getting
paused was running inside the IFRAME*, the inspector console stops working and
only results in the following error message no matter what you enter:

TypeError: Result of expression 'window._inspectorCommandLineAPI' [undefined]
is not an object.

The console only starts functioning again once script execution is resumed.
It used to work fine even when paused in Safari 4.0.3.

Simple test case attached:
1. Open "main.html", which includes iframe.html that has a script attached to
the button's onclick event.
2. Open Web Inspector, enable script debugging and press the "Pause script
execution" button or just place a breakpoint inside the iframe.html JS
3. Try pressing the button.
4. While JS execution is paused, open the Web Inspector console and enter

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