Bug 132689 - Make BlobDataFileReference manage its sandbox extension
Summary: Make BlobDataFileReference manage its sandbox extension
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-08 10:02 PDT by Alexey Proskuryakov
Modified: 2014-05-08 11:33 PDT (History)
6 users (show)

See Also:


Attachments
proposed patch (39.92 KB, patch)
2014-05-08 10:25 PDT, Alexey Proskuryakov
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>.