Bug 111807

Summary: Custom Elements: CustomElement constructor shouldn't share function instance
Product: WebKit Reporter: Hajime Morrita <morrita>
Component: DOMAssignee: Hajime Morrita <morrita>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, haraken, japhet, webcomponents-bugzilla, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch haraken: review+, haraken: commit-queue+

Hajime Morrita
Reported 2013-03-07 19:06:04 PST
This is a facepalm bug... A fix will come shortly.
Attachments
Patch (5.01 KB, patch)
2013-03-07 19:22 PST, Hajime Morrita
haraken: review+
haraken: commit-queue+
Hajime Morrita
Comment 1 2013-03-07 19:22:32 PST
Hajime Morrita
Comment 2 2013-03-07 20:28:12 PST
Adam Barth
Comment 3 2013-03-08 11:40:29 PST
Comment on attachment 192131 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=192131&action=review > Source/WebCore/bindings/v8/V8AdaptorFunction.cpp:79 > - v8::Handle<v8::Function> adaptor = v8::Handle<v8::Function>::Cast(getTemplate(isolate, worldType(isolate))->GetFunction()); > + v8::Handle<v8::Function> adaptor = v8::Handle<v8::Function>::Cast(getTemplate(isolate, worldType(isolate))->GetFunction()->Clone()); Sorry for missing this in the review.
Hajime Morrita
Comment 4 2013-03-09 01:09:05 PST
(In reply to comment #3) > > Sorry for missing this in the review. Well, the test should have been more comprehensive.
Note You need to log in before you can comment on or make changes to this bug.