WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 15687
[Gtk] Allow API clients to interact with JavaScript in web pages
https://bugs.webkit.org/show_bug.cgi?id=15687
Summary
[Gtk] Allow API clients to interact with JavaScript in web pages
m. dietrich
Reported
2007-10-25 05:56:58 PDT
this would require to retrieve the JSGlobalContextRef and some functions as well as access to the required header files at compile time.
Attachments
Fix
(3.33 KB, patch)
2007-12-01 22:15 PST
,
Alp Toker
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2007-10-25 06:05:53 PDT
It sounds like this is basically the functionality that -[WebFrame windowObject], -[WebFrame globalContex] and the webView:didClearWindowObject:forFrame: delegate method available in the Mac port. This would seem to map to two WebKitFrame methods and a signal in the Gtk API. I mailed Michael a patch that implements most of this functionality recently. It was blocked by a few minor issues. Are you able to complete it and attach it for review?
Alp Toker
Comment 2
2007-11-26 16:41:59 PST
This looks like a tracking bug for a few distinct bugs for which I've added dependencies.
Alp Toker
Comment 3
2007-12-01 22:15:13 PST
Created
attachment 17639
[details]
Fix
Alp Toker
Comment 4
2007-12-01 22:45:52 PST
Landed in
r28313
. Until
http://bugs.webkit.org/show_bug.cgi?id=16029
is fixed, applications will have to do: #include <JavaScriptCore/JSBase.h> #include <JavaScriptCore/JSContextRef.h> #include <JavaScriptCore/JSStringRef.h> #include <JavaScriptCore/JSObjectRef.h> #include <JavaScriptCore/JSValueRef.h>
Alp Toker
Comment 5
2007-12-02 01:57:00 PST
Comment on
attachment 17639
[details]
Fix Already r'ed by aroben, bug closed.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug