Bug 132689

Summary: Make BlobDataFileReference manage its sandbox extension
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore Misc.Assignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: bunhere, cdumez, commit-queue, gyuyoung.kim, rakuco, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed patch andersca: review+

Description Alexey Proskuryakov 2014-05-08 10:02:02 PDT
Currently, sandbox extensions for registered file blobs are tracked in WebKit2 in NetworkBlobRegistry, while the files itself are tracked in BlobRegistryImpl.

This creates a potential for these getting out of sync. Also, I'm going to make WebCore read the files in some cases, so we'll need a way to consume extensions from WebCore code.
Comment 1 Alexey Proskuryakov 2014-05-08 10:25:09 PDT
Created attachment 231077 [details]
proposed patch
Comment 2 Alexey Proskuryakov 2014-05-08 11:33:53 PDT
Committed <http://trac.webkit.org/r168478>.