WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
36907
[Chromium] WebFrame should have a method to execute script and return the evaluated value
https://bugs.webkit.org/show_bug.cgi?id=36907
Summary
[Chromium] WebFrame should have a method to execute script and return the eva...
Jay Campan
Reported
2010-03-31 16:23:33 PDT
In the Chromium API, the WebFrame class should have a method that executes some JavaScript and returns the value it evaluates to.
Attachments
Adding a method to WebFrame to evaluate a JS expression.
(2.83 KB, patch)
2010-03-31 16:31 PDT
,
Jay Campan
fishd
: review+
fishd
: commit-queue-
Details
Formatted Diff
Diff
Fixing class name order
(2.82 KB, patch)
2010-04-01 16:39 PDT
,
Jay Campan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jay Campan
Comment 1
2010-03-31 16:31:43 PDT
Created
attachment 52221
[details]
Adding a method to WebFrame to evaluate a JS expression.
Eric Seidel (no email)
Comment 2
2010-04-01 16:00:58 PDT
Seems like a good idea to me, but Adam, Dimitry or Darin are better reviewers for this sort of change.
Darin Fisher (:fishd, Google)
Comment 3
2010-04-01 16:27:49 PDT
Comment on
attachment 52221
[details]
Adding a method to WebFrame to evaluate a JS expression.
> Index: WebKit/chromium/public/WebFrame.h
...
> namespace v8 { > class Context; > +template <class T> class Handle; > template <class T> class Local; > +class Value; > + > }
nit: please change the above to: namespace v8 { class Context; class Value; template <class T> class Handle; template <class T> class Local; } with that, R=me
Jay Campan
Comment 4
2010-04-01 16:39:52 PDT
Created
attachment 52350
[details]
Fixing class name order
David Levin
Comment 5
2010-04-01 17:51:49 PDT
Comment on
attachment 52350
[details]
Fixing class name order Based on Darin's previous r+ and validating that the requested change was done.
Adam Barth
Comment 6
2010-04-01 18:20:30 PDT
I take it we don't have a ScriptController in the WebKit API. :)
WebKit Commit Bot
Comment 7
2010-04-01 23:09:14 PDT
Comment on
attachment 52350
[details]
Fixing class name order Clearing flags on attachment: 52350 Committed
r56972
: <
http://trac.webkit.org/changeset/56972
>
WebKit Commit Bot
Comment 8
2010-04-01 23:09:19 PDT
All reviewed patches have been landed. Closing bug.
Darin Fisher (:fishd, Google)
Comment 9
2010-04-01 23:36:34 PDT
(In reply to
comment #6
)
> I take it we don't have a ScriptController in the WebKit API. :)
Well, we do have WebScriptController, but it only has static functions. It is used for registering V8 extensions and performing some other operations. It isn't an instantiated class in the WebKit API. We could change that if it would help make things clearer.
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