Expose runJavascript API to WKWebView via SPI for use in Safari.
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.