Summary: | [V8] Move V8Proxy::newInstance() to V8ObjectConstructor | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kentaro Hara <haraken> | ||||||||||
Component: | WebCore JavaScript | Assignee: | Kentaro Hara <haraken> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | abarth, japhet, webkit.review.bot | ||||||||||
Priority: | P2 | ||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Bug Depends on: | |||||||||||||
Bug Blocks: | 85330 | ||||||||||||
Attachments: |
|
Description
Kentaro Hara
2012-08-19 21:56:08 PDT
Created attachment 159331 [details]
Patch
Created attachment 159332 [details]
Patch
Comment on attachment 159332 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=159332&action=review > Source/WebCore/bindings/v8/V8Binding.cpp:384 > +void assertIfV8IsDead() assertIfV8IsDead -> crashIfV8IsDead This happens in release too, so it shouldn't say "alert" > Source/WebCore/bindings/v8/V8ObjectConstructor.cpp:71 > +v8::Local<v8::Object> V8ObjectConstructor::newInstanceInFrame(v8::Handle<v8::Function> function, int argc, v8::Handle<v8::Value> argv[], Frame* frame) Can we pass in a Document rather than a Frame here? Using a Frame for a context object isn't correct. Created attachment 159339 [details]
patch for landing
(In reply to comment #3) > assertIfV8IsDead -> crashIfV8IsDead > > > +v8::Local<v8::Object> V8ObjectConstructor::newInstanceInFrame(v8::Handle<v8::Function> function, int argc, v8::Handle<v8::Value> argv[], Frame* frame) > > Can we pass in a Document rather than a Frame here? Using a Frame for a context object isn't correct. Done. Thanks for review. Created attachment 159345 [details]
patch for landing
Comment on attachment 159345 [details] patch for landing Clearing flags on attachment: 159345 Committed r126004: <http://trac.webkit.org/changeset/126004> |