Summary: | Add SPI to run javascript in main frame on WKWebView | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Paul Hankes Drielsma <hankesdrielsma> | ||||||
Component: | WebKit2 | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Enhancement | CC: | commit-queue, mitz | ||||||
Priority: | P4 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | iPhone / iPad | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Paul Hankes Drielsma
2014-03-10 15:55:31 PDT
Created attachment 226347 [details]
Patch
Comment on attachment 226347 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=226347&action=review > Source/WebKit2/ChangeLog:3 > + Add SPI to run javascript in main frame on WKWebView. No need for this. The bug title and URL below suffice. Although this makes for a better title than the bug’s current title. > Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm:856 > + _page->runJavaScriptInMainFrame(scriptString, WebKit::ScriptValueCallback::create([](bool b, WebKit::WebSerializedScriptValue* sv){})); We typically don’t name unused parameters. Created attachment 226433 [details]
Patch
Comment on attachment 226433 [details] Patch Clearing flags on attachment: 226433 Committed r165591: <http://trac.webkit.org/changeset/165591> All reviewed patches have been landed. Closing bug. |