This is a follow up for https://bugs.webkit.org/show_bug.cgi?id=136989 The following patch allows to use the GObject Introspection for Python to get result from WebKitJavascriptResult js_result = web_view.run_javascript_finish(res) js_result.to_string()
Created attachment 306540 [details] Diff for adding the to_string function for GObject Introspection in WebKitJavascriptResult
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment on attachment 306540 [details] Diff for adding the to_string function for GObject Introspection in WebKitJavascriptResult Attachment 306540 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/3492902 New failing tests: imported/w3c/web-platform-tests/fetch/api/cors/cors-preflight-worker.html
Created attachment 306548 [details] Archive of layout-test-results from ews116 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-elcapitan Platform: Mac OS X 10.11.6
*** This bug has been marked as a duplicate of bug 136989 ***
Comment on attachment 306540 [details] Diff for adding the to_string function for GObject Introspection in WebKitJavascriptResult Carlos, do we still want this? r- because it needs API tests (but I wouldn't spend any more effort on this unless Carlos recommends it)
(In reply to Carlos Garcia Campos from comment #5) > > *** This bug has been marked as a duplicate of bug 136989 *** Ah, I missed this. This means it's not needed anymore. ;)