| Summary: | [Content Extensions] Fail to load old content extension files | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Alex Christensen <achristensen> | ||||
| Component: | WebKit2 | Assignee: | Alex Christensen <achristensen> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | benjamin, commit-queue, eric.carlson, sam | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Alex Christensen
2015-05-14 16:12:40 PDT
Created attachment 253153 [details]
Patch
Comment on attachment 253153 [details]
Patch
Thank you Alex!
Comment on attachment 253153 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253153&action=review > Source/WebKit2/UIProcess/API/APIUserContentExtensionStore.cpp:157 > + if (metaData.version != UserContentExtensionStore::CurrentContentExtensionFileVersion) > + return false; Instead of returning false here, I'm going to check the metaData.version after openAndMapContentExtension returns and call the completionHandler with a new type of error (Error::VersionMismatch or something). |