WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
51132
[v8] Do not install accessors if element could not be retrieved with it
https://bugs.webkit.org/show_bug.cgi?id=51132
Summary
[v8] Do not install accessors if element could not be retrieved with it
anton muhin
Reported
2010-12-15 13:31:50 PST
[v8] Do not install accessors if element could not be retrieved with it
Attachments
Patch
(2.51 KB, patch)
2010-12-15 15:22 PST
,
anton muhin
eric
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
anton muhin
Comment 1
2010-12-15 15:22:04 PST
Created
attachment 76694
[details]
Patch
anton muhin
Comment 2
2010-12-15 15:34:21 PST
See
http://code.google.com/p/chromium/issues/detail?id=63241
Nate Chapin
Comment 3
2010-12-16 09:11:53 PST
What's the reason for this patch? Should it have a layout test?
anton muhin
Comment 4
2010-12-16 09:20:34 PST
I didn't manage (yet) to create a proper layout test. The reason is to fix Chromium bug
http://code.google.com/p/chromium/issues/detail?id=63241
(see
comment #2
) And it does fix it :) (In reply to
comment #3
)
> What's the reason for this patch? Should it have a layout test?
Nate Chapin
Comment 5
2010-12-16 09:42:11 PST
Given that this is a bugfix, we really should have either a layout test or a good case for why one isn't feasible. I'm happy to help in any way I can to reduce the case provided in the chromium bug report.
Eric Seidel (no email)
Comment 6
2010-12-24 01:43:44 PST
Comment on
attachment 76694
[details]
Patch r- for lack of test or explanation why testing is impossible in the ChangeLog.
anton muhin
Comment 7
2010-12-24 01:45:15 PST
I'll try another time to either test or explain better why it's involved. But I don't have spare cycles right now, sorry. (In reply to
comment #6
)
> (From update of
attachment 76694
[details]
) > r- for lack of test or explanation why testing is impossible in the ChangeLog.
Erik Arvidsson
Comment 8
2012-01-23 11:12:01 PST
Comment on
attachment 76694
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=76694&action=review
> WebCore/bindings/v8/V8DOMWindowShell.cpp:532 > + // If there is no matching elements, do not install accessor. > + if (!doc->documentNamedItems(name)->length()) > + return;
Why does this happen? I think we need to figure out how this can happen to proceed.
Anders Carlsson
Comment 9
2013-05-02 11:10:35 PDT
V8 is gone from WebKit.
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