Changeset 116580 in webkit


Ignore:
Timestamp:
May 9, 2012 5:14:49 PM (12 years ago)
Author:
arv@chromium.org
Message:

[V8] Fix issue where V8BindingPerContextData could keep the context object alive
https://bugs.webkit.org/show_bug.cgi?id=86036

Reviewed by Kentaro Hara.

This is a partial revert of http://trac.webkit.org/changeset/114320/. This keeps
the layout tests that were introduced since it turns out that
http://trac.webkit.org/changeset/114989 fixes the tests too.

Covered by: http/tests/security/isolatedWorld/context-destroy.html

  • bindings/v8/V8IsolatedContext.cpp:

(WebCore::V8IsolatedContext::destroy):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r116579 r116580  
     12012-05-09  Erik Arvidsson  <arv@chromium.org>
     2
     3        [V8] Fix issue where V8BindingPerContextData could keep the context object alive
     4        https://bugs.webkit.org/show_bug.cgi?id=86036
     5
     6        Reviewed by Kentaro Hara.
     7
     8        This is a partial revert of http://trac.webkit.org/changeset/114320/. This keeps
     9        the layout tests that were introduced since it turns out that
     10        http://trac.webkit.org/changeset/114989 fixes the tests too.
     11
     12        Covered by: http/tests/security/isolatedWorld/context-destroy.html
     13
     14        * bindings/v8/V8IsolatedContext.cpp:
     15        (WebCore::V8IsolatedContext::destroy):
     16
    1172012-05-09  Anders Carlsson  <andersca@apple.com>
    218
  • trunk/Source/WebCore/bindings/v8/V8IsolatedContext.cpp

    r114837 r116580  
    106106void V8IsolatedContext::destroy()
    107107{
     108    m_perContextData.clear();
    108109    m_frame->loader()->client()->willReleaseScriptContext(context(), m_world->id());
    109110    m_context->get().MakeWeak(this, &contextWeakReferenceCallback);
Note: See TracChangeset for help on using the changeset viewer.