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 24321
Add V8 bindings headers
https://bugs.webkit.org/show_bug.cgi?id=24321
Summary
Add V8 bindings headers
Dimitri Glazkov (Google)
Reported
2009-03-03 09:04:26 PST
These are temporary forwarding headers, which I intended to only keep downstream until fully baked, but with others picking up upstreaming work, it's better to have them upstream, too -- to avoid the confusion.
Attachments
Add V8 bindings headers
(11.10 KB, patch)
2009-03-03 09:05 PST
,
Dimitri Glazkov (Google)
fishd
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dimitri Glazkov (Google)
Comment 1
2009-03-03 09:05:36 PST
Created
attachment 28223
[details]
Add V8 bindings headers WebCore/ChangeLog | 22 ++++++ WebCore/bindings/v8/V8Binding.h | 75 +++++++++++++++++++ WebCore/bindings/v8/V8Proxy.h | 79 ++++++++++++++++++++ WebCore/bindings/v8/custom/V8CustomBinding.h | 38 ++++++++++ WebCore/bindings/v8/custom/V8CustomEventListener.h | 38 ++++++++++ 5 files changed, 252 insertions(+), 0 deletions(-)
Darin Fisher (:fishd, Google)
Comment 2
2009-03-03 09:57:04 PST
Comment on
attachment 28223
[details]
Add V8 bindings headers
>+++ b/WebCore/ChangeLog
...
>+ * bindings/v8/V8Binding.h: Added. >+ (WebCore::toInt32): >+ (WebCore::toFloat): >+ (WebCore::toWebCoreString): >+ (WebCore::toWebCoreStringWithNullCheck): >+ (WebCore::isUndefinedOrNull): >+ (WebCore::v8Boolean): >+ * bindings/v8/V8Proxy.h: Added. >+ (WebCore::notHandledByInterceptor): >+ (WebCore::deletionNotHandledByInterceptor): >+ (WebCore::throwError): >+ (WebCore::toV8): >+ * bindings/v8/custom/V8CustomBinding.h: Added. >+ * bindings/v8/custom/V8CustomEventListener.h: Added.
nit: remove the functions listed by prepare-ChangeLog for newly added files.
>+++ b/WebCore/bindings/v8/V8Binding.h
...
>+ // FIXME: Rename valueToStringWithNullCheck once migration is complete >+ inline String toWebCoreStringWithNullCheck(v8::Handle<v8::Value> value)
nit: indentation OK, LGTM
Dimitri Glazkov (Google)
Comment 3
2009-03-03 10:38:44 PST
Landed as
http://trac.webkit.org/changeset/41394
.
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