Bug 104099

Summary: [v8] Fix hidden property name of V8ArrayBufferView flag.
Product: WebKit Reporter: Ulan Degenbaev <ulan>
Component: WebGLAssignee: Ulan Degenbaev <ulan>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, haraken, japhet, kbr, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 68890    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch
none
Patch none

Description Ulan Degenbaev 2012-12-05 01:22:13 PST
Instead of appending random characters to the name like "TypedArray::FastSet::8NkZVq" we should use  http://trac.webkit.org/browser/trunk/Source/WebCore/bindings/v8/V8HiddenPropertyName.h to avoid name collisions.
Comment 1 Ulan Degenbaev 2012-12-05 03:52:33 PST
Created attachment 177719 [details]
Patch
Comment 2 Kenneth Russell 2012-12-05 12:51:55 PST
Comment on attachment 177719 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=177719&action=review

Thanks for the patch and sorry for not knowing about V8HiddenPropertyName. Could you please rebase the patch?

> Source/WebCore/bindings/v8/V8HiddenPropertyName.h:53
> +    V(typedArrayFastSetFlag)

Should this be named something like typedArrayHiddenCopyMethod?
Comment 3 Adam Barth 2012-12-05 18:36:58 PST
*** Bug 104192 has been marked as a duplicate of this bug. ***
Comment 4 Ulan Degenbaev 2012-12-06 00:59:38 PST
Created attachment 177965 [details]
Patch
Comment 5 Kentaro Hara 2012-12-06 01:00:36 PST
Comment on attachment 177965 [details]
Patch

LGTM. Thanks for the fix!
Comment 6 Ulan Degenbaev 2012-12-06 01:01:40 PST
> Should this be named something like typedArrayHiddenCopyMethod?
Yes, thanks for catching this. I did the change based on the old patch.

> Could you please rebase the patch?
Done.
Comment 7 Ulan Degenbaev 2012-12-06 01:03:36 PST
This was fast review. Thank you, Kentaro!
Comment 8 WebKit Review Bot 2012-12-06 01:06:49 PST
Comment on attachment 177965 [details]
Patch

Rejecting attachment 177965 [details] from commit-queue.

Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2

Last 500 characters of output:
ing file Source/WebCore/ChangeLog
Hunk #1 succeeded at 1 with fuzz 3.
patching file Source/WebCore/bindings/v8/V8HiddenPropertyName.h
Hunk #1 FAILED at 49.
1 out of 1 hunk FAILED -- saving rejects to file Source/WebCore/bindings/v8/V8HiddenPropertyName.h.rej
patching file Source/WebCore/bindings/v8/custom/V8ArrayBufferViewCustom.cpp

Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Kentaro Ha..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue

Full output: http://queues.webkit.org/results/15159623
Comment 9 Kentaro Hara 2012-12-06 01:07:37 PST
Looks like you need to rebase it once again.
Comment 10 Ulan Degenbaev 2012-12-06 01:25:11 PST
Created attachment 177967 [details]
Patch
Comment 11 WebKit Review Bot 2012-12-06 01:50:04 PST
Comment on attachment 177967 [details]
Patch

Clearing flags on attachment: 177967

Committed r136824: <http://trac.webkit.org/changeset/136824>
Comment 12 WebKit Review Bot 2012-12-06 01:50:08 PST
All reviewed patches have been landed.  Closing bug.