WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
25329
v8 binding of ClientRectList doesn't have indexed access method
https://bugs.webkit.org/show_bug.cgi?id=25329
Summary
v8 binding of ClientRectList doesn't have indexed access method
Fumitoshi Ukai
Reported
2009-04-22 12:32:30 PDT
v8 binding of ClientRectList doesn't have indexed access method. For example, on translate.google.com chromium doesn't show balloon because of the following code throws JavaScript exception. p = a.getClientRects(); ... ; ... p[0].top // p[0] is undefined in chromium According to CSSOM View Module spec, ClientRectList must provide indexed access method that acts like item() method.
http://dev.w3.org/csswg/cssom-view/#clientrectlist
Attachments
Add V8ClientRectListCustom.cpp
(3.00 KB, patch)
2009-04-22 16:19 PDT
,
Fumitoshi Ukai
dglazkov
: review+
Details
Formatted Diff
Diff
Add V8ClientRectListCustom.cpp
(3.00 KB, patch)
2009-04-22 16:48 PDT
,
Fumitoshi Ukai
no flags
Details
Formatted Diff
Diff
add bug URL in ChangeLog
(453 bytes, patch)
2009-04-22 16:48 PDT
,
Fumitoshi Ukai
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Fumitoshi Ukai
Comment 1
2009-04-22 16:19:43 PDT
Created
attachment 29695
[details]
Add V8ClientRectListCustom.cpp WebCore/ChangeLog | 9 +++ .../bindings/v8/custom/V8ClientRectListCustom.cpp | 55 ++++++++++++++++++++ 2 files changed, 64 insertions(+), 0 deletions(-)
Dimitri Glazkov (Google)
Comment 2
2009-04-22 16:42:44 PDT
Comment on
attachment 29695
[details]
Add V8ClientRectListCustom.cpp Looks good, except for: Add Bug URL (
https://bugs.webkit.org/show_bug.cgi?id=25329
) here..
> + Add indexed access method in v8 binding of ClientRectList. > + > + * bindings/v8/custom/V8ClientRectListCustom.cpp: Added. > + (WebCore::INDEXED_PROPERTY_GETTER):
Fumitoshi Ukai
Comment 3
2009-04-22 16:48:44 PDT
Created
attachment 29696
[details]
Add V8ClientRectListCustom.cpp WebCore/ChangeLog | 9 +++ .../bindings/v8/custom/V8ClientRectListCustom.cpp | 55 ++++++++++++++++++++ 2 files changed, 64 insertions(+), 0 deletions(-)
Fumitoshi Ukai
Comment 4
2009-04-22 16:48:46 PDT
Created
attachment 29697
[details]
add bug URL in ChangeLog WebCore/ChangeLog | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Dimitri Glazkov (Google)
Comment 5
2009-04-24 11:36:45 PDT
Landed as
http://trac.webkit.org/changeset/42829
.
Darin Adler
Comment 6
2014-04-24 16:45:01 PDT
Moving all JavaScriptGlue bugs to JavaScriptCore. The JavaScriptGlue framework itself is long gone. And most of the more recent bugs put in this component were put there by people who thought this was for some other aspect of “JavaScript glue” and have nothing to do with the actual original reason for the existence of this component, which was an OS-X-only framework named JavaScriptGlue.
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