RESOLVED FIXED 48770
[v8] Get rid of automatically generated named property getter for classes with namedItem method
https://bugs.webkit.org/show_bug.cgi?id=48770
Summary [v8] Get rid of automatically generated named property getter for classes wit...
anton muhin
Reported 2010-11-01 11:32:20 PDT
[v8] Get rid of automatically generated named property getter for classes with namedItem method
Attachments
Patch (7.67 KB, patch)
2010-11-01 12:24 PDT, anton muhin
no flags
anton muhin
Comment 1 2010-11-01 12:24:39 PDT
anton muhin
Comment 2 2010-11-01 12:27:05 PDT
Modification of layout test expectations can look strange, however compare to http://trac.webkit.org/browser/trunk/LayoutTests/fast/dom/HTMLSelectElement/named-options-expected.txt Probably layout test itself should be update to better reflect current situation.
anton muhin
Comment 3 2010-11-01 12:27:34 PDT
Nate Chapin
Comment 4 2010-11-03 10:27:36 PDT
Comment on attachment 72540 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=72540&action=review > WebCore/bindings/scripts/CodeGeneratorV8.pm:1716 > - my $hasGetter = $dataNode->extendedAttributes->{"HasNameGetter"} || $hasCustomGetter || $namedPropertyGetter; > + my $hasGetter = $dataNode->extendedAttributes->{"HasNameGetter"} || $hasCustomGetter; If I am reading CodeGeneratorV8.pm correctly, $namedPropertyGetter is now entirely unused. If that is correct, please remove all other references to it before landing.
Nate Chapin
Comment 5 2010-11-03 10:30:01 PDT
(In reply to comment #4) > (From update of attachment 72540 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=72540&action=review > > > WebCore/bindings/scripts/CodeGeneratorV8.pm:1716 > > - my $hasGetter = $dataNode->extendedAttributes->{"HasNameGetter"} || $hasCustomGetter || $namedPropertyGetter; > > + my $hasGetter = $dataNode->extendedAttributes->{"HasNameGetter"} || $hasCustomGetter; > > If I am reading CodeGeneratorV8.pm correctly, $namedPropertyGetter is now entirely unused. If that is correct, please remove all other references to it before landing. Never mind, I was not reading it correctly. It looks like we do still need it.
anton muhin
Comment 6 2010-11-08 03:10:11 PST
Thanks a lot for review, Nate! (In reply to comment #5) > (In reply to comment #4) > > (From update of attachment 72540 [details] [details]) > > View in context: https://bugs.webkit.org/attachment.cgi?id=72540&action=review > > > > > WebCore/bindings/scripts/CodeGeneratorV8.pm:1716 > > > - my $hasGetter = $dataNode->extendedAttributes->{"HasNameGetter"} || $hasCustomGetter || $namedPropertyGetter; > > > + my $hasGetter = $dataNode->extendedAttributes->{"HasNameGetter"} || $hasCustomGetter; > > > > If I am reading CodeGeneratorV8.pm correctly, $namedPropertyGetter is now entirely unused. If that is correct, please remove all other references to it before landing. > > Never mind, I was not reading it correctly. It looks like we do still need it.
WebKit Commit Bot
Comment 7 2010-11-08 13:07:43 PST
The commit-queue encountered the following flaky tests while processing attachment 72540 [details]: media/video-poster.html Please file bugs against the tests. These tests were authored by darin@apple.com, eric.carlson@apple.com, and koivisto@iki.fi. The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 8 2010-11-08 14:02:09 PST
The commit-queue encountered the following flaky tests while processing attachment 72540 [details]: compositing/iframes/overlapped-nested-iframes.html editing/selection/move-by-line-003.html Please file bugs against the tests. These tests were authored by mitz@webkit.org and simon.fraser@apple.com. The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 9 2010-11-08 15:23:21 PST
The commit-queue encountered the following flaky tests while processing attachment 72540 [details]: animations/suspend-resume-animation.html compositing/video/video-background-color.html Please file bugs against the tests. These tests were authored by cmarrin@apple.com and simon.fraser@apple.com. The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 10 2010-11-08 18:32:24 PST
Comment on attachment 72540 [details] Patch Clearing flags on attachment: 72540 Committed r71594: <http://trac.webkit.org/changeset/71594>
WebKit Commit Bot
Comment 11 2010-11-08 18:32:29 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.