Bug 31310

Summary: Fix back/forwards cache with JSC isolated worlds.
Product: WebKit Reporter: Gavin Barraclough <barraclough>
Component: WebCore JavaScriptAssignee: Gavin Barraclough <barraclough>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
The patch ggaren: review+

Description Gavin Barraclough 2009-11-10 13:39:57 PST
<rdar://problem/7328111> Cached back navigation doesn't restore global object in extension isolated world
Comment 1 Gavin Barraclough 2009-11-10 13:54:41 PST
Created attachment 42891 [details]
The patch
Comment 2 Geoffrey Garen 2009-11-10 14:18:24 PST
Comment on attachment 42891 [details]
The patch

r=me

I think it would be good to move away from weak pointers to worlds in the future. Objects that point to worlds should just ref them.
Comment 3 Gavin Barraclough 2009-11-10 14:22:20 PST
Sending        WebCore/ChangeLog
Sending        WebCore/bindings/js/JSDOMBinding.cpp
Sending        WebCore/bindings/js/JSDOMBinding.h
Sending        WebCore/bindings/js/ScriptCachedFrameData.cpp
Sending        WebCore/bindings/js/ScriptCachedFrameData.h
Sending        WebCore/bindings/js/ScriptController.h
Transmitting file data ......
Committed revision 50767.