RESOLVED FIXED 23868
Add HTMLInputElement, HTMLOptionsCollection V8 custom bindings
https://bugs.webkit.org/show_bug.cgi?id=23868
Summary Add HTMLInputElement, HTMLOptionsCollection V8 custom bindings
Dimitri Glazkov (Google)
Reported 2009-02-10 09:21:41 PST
Two more custom bindings files, pre-scrubbed.
Attachments
Add HTMLInputElement and HTMLOptionsCollection V8 custom bindings (8.60 KB, patch)
2009-02-10 09:23 PST, Dimitri Glazkov (Google)
eric: review+
Dimitri Glazkov (Google)
Comment 1 2009-02-10 09:23:31 PST
Created attachment 27520 [details] Add HTMLInputElement and HTMLOptionsCollection V8 custom bindings WebCore/ChangeLog | 15 +++ .../v8/custom/V8HTMLInputElementCustom.cpp | 124 ++++++++++++++++++++ .../v8/custom/V8HTMLOptionsCollectionCustom.cpp | 75 ++++++++++++ 3 files changed, 214 insertions(+), 0 deletions(-)
Eric Seidel (no email)
Comment 2 2009-02-10 13:35:51 PST
Comment on attachment 27520 [details] Add HTMLInputElement and HTMLOptionsCollection V8 custom bindings A couple style issues: 62 if (!isnan(v) && !isinf(v)) { 63 if (v < 0.0) { 64 ec = INDEX_SIZE_ERR; 65 } else if (v > static_cast<double>(UINT_MAX)) { 66 newLength = UINT_MAX; 67 } else { 68 newLength = static_cast<unsigned>(v); 69 } 70 } 71 if (!ec) imp->setLength(value->Uint32Value(), ec); Otherwise looks great. We need to find a better name for V8Proxy.
Dimitri Glazkov (Google)
Comment 3 2009-02-10 13:48:12 PST
Note You need to log in before you can comment on or make changes to this bug.