[Webkit-unassigned] [Bug 146416] New: WKWebView evaluateJavaScript:completionHandler: should reuse its JSContext instance

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 29 12:01:24 PDT 2015


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

            Bug ID: 146416
           Summary: WKWebView evaluateJavaScript:completionHandler: should
                    reuse its JSContext instance
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mihaip at chromium.org

Similar to the fix made in bug 146358, evaluateJavaScript:completionHandler: in WKWebView creates a new JSContext every time it parses the return value (see http://trac.webkit.org/browser/trunk/Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm#L640). This is inefficient and could benefit from the same caching added by http://trac.webkit.org/changeset/186010

I reported this via Radar in rdar://17956460 during the iOS 8 beta period.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150629/459b3e6b/attachment.html>


More information about the webkit-unassigned mailing list