WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 94450
[V8] Remove V8Proxy from V8IsolatedContext
https://bugs.webkit.org/show_bug.cgi?id=94450
Summary
[V8] Remove V8Proxy from V8IsolatedContext
Kentaro Hara
Reported
2012-08-20 01:06:14 PDT
We can remove dependency on V8Proxy from V8IsolatedContext.
Attachments
Patch
(5.46 KB, patch)
2012-08-20 01:07 PDT
,
Kentaro Hara
webkit.review.bot
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Kentaro Hara
Comment 1
2012-08-20 01:07:32 PDT
Created
attachment 159352
[details]
Patch
Kentaro Hara
Comment 2
2012-08-20 01:10:30 PDT
Comment on
attachment 159352
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=159352&action=review
> Source/WebCore/bindings/v8/ScriptController.cpp:198 > + isolatedContext = new V8IsolatedContext(m_frame, extensionGroup, worldID);
Should V8IsolatedContext be a RefPtr? If so, I'll write a follow-up fix to make it reference-countable.
Adam Barth
Comment 3
2012-08-20 11:12:54 PDT
Comment on
attachment 159352
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=159352&action=review
>> Source/WebCore/bindings/v8/ScriptController.cpp:198 >> - isolatedContext = new V8IsolatedContext(proxy(), extensionGroup, worldID); >> + isolatedContext = new V8IsolatedContext(m_frame, extensionGroup, worldID); > > Should V8IsolatedContext be a RefPtr? If so, I'll write a follow-up fix to make it reference-countable.
Its lifetime is managed by the V8 garbage collector. If you see a clean way to do that with RefPtr, go for it.
WebKit Review Bot
Comment 4
2012-08-20 14:59:10 PDT
Comment on
attachment 159352
[details]
Patch Rejecting
attachment 159352
[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: eeded at 1 with fuzz 3. patching file Source/WebCore/bindings/v8/ScriptController.cpp patching file Source/WebCore/bindings/v8/V8IsolatedContext.cpp Hunk #2 FAILED at 64. 1 out of 3 hunks FAILED -- saving rejects to file Source/WebCore/bindings/v8/V8IsolatedContext.cpp.rej patching file Source/WebCore/bindings/v8/V8IsolatedContext.h Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Adam Barth']" exit_code: 1 cwd: /mnt/git/webkit-commit-queue/ Full output:
http://queues.webkit.org/results/13543490
Kentaro Hara
Comment 5
2012-08-20 16:57:55 PDT
Committed
r126096
: <
http://trac.webkit.org/changeset/126096
>
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