Bug 133689

Summary: Add -[WKWebView evaluateJavaScript:completionHandler:]
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch ggaren: review+

Description Anders Carlsson 2014-06-10 12:42:23 PDT
Add -[WKWebView evaluateJavaScript:completionHandler:]
Comment 1 Anders Carlsson 2014-06-10 12:48:31 PDT
Created attachment 232804 [details]
Patch
Comment 2 Geoffrey Garen 2014-06-10 14:17:02 PDT
Comment on attachment 232804 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=232804&action=review

r=me

> Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm:495
> +                // We don't want to call the block from within the call that invalidates the web view,
> +                // so defer it here.

Why not?
Comment 3 Anders Carlsson 2014-06-10 14:26:24 PDT
Committed r169765: <http://trac.webkit.org/changeset/169765>