Bug 133689 - Add -[WKWebView evaluateJavaScript:completionHandler:]
Summary: Add -[WKWebView evaluateJavaScript:completionHandler:]
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-10 12:42 PDT by Anders Carlsson
Modified: 2014-06-10 14:26 PDT (History)
0 users

See Also:


Attachments
Patch (20.43 KB, patch)
2014-06-10 12:48 PDT, Anders Carlsson
ggaren: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>