[Webkit-unassigned] [Bug 118434] New: Breakpointing into a script launched by [UIWebView stringByEvaluatingJavaScriptFromString:] hangs script execution

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 5 15:30:19 PDT 2013


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

           Summary: Breakpointing into a script launched by [UIWebView
                    stringByEvaluatingJavaScriptFromString:] hangs script
                    execution
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.8
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: GregLutzGM at gmail.com


[Example code available upon request]
In an IOS7 app, I load an HTML document into a UIWebView, then dynamically insert a <script> element into that, identifying a JavaScript file in a resource in my app as its "src". When a function in that script is invoked by entering the invoking expression in Web Inspector's console, all debugging features work fine. But if a subsequent execution of a function in the script is initiated by calling [UIWebView stringByEvaluatingJavaScriptFromString:], execution of that function can be interrupted by a previously set (by Web Inspector) breakpoint, or by encountering a "debugger" call. When the execution interruption occurs, control comes to Web Inspector, but no debugging features are then operational -- execution cannot be continued or single-stepped, and no data-examination commands produce any response.

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