[webkit-changes] [WebKit/WebKit] 9e36fb: Failing to deserialize data from _WKWebExtensionSQ...
kiaraarose
noreply at github.com
Thu Dec 7 13:50:48 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9e36fb6ce4d50edc025be982de388581958edf03
https://github.com/WebKit/WebKit/commit/9e36fb6ce4d50edc025be982de388581958edf03
Author: Kiara Rose <kiara_rose at apple.com>
Date: 2023-12-07 (Thu, 07 Dec 2023)
Changed paths:
M Source/WebKit/Shared/Extensions/_WKWebExtensionSQLiteRow.mm
M Source/WebKit/Shared/Extensions/_WKWebExtensionSQLiteStore.mm
Log Message:
-----------
Failing to deserialize data from _WKWebExtensionSQLiteRow
https://bugs.webkit.org/show_bug.cgi?id=266012
Reviewed by Brian Weinstein and Timothy Hatcher.
We should be passing data.bytes as is.
`- (NSData *)uncopiedDataAtIndex:(NSUInteger)index` needs a cast.
* Source/WebKit/Shared/Extensions/_WKWebExtensionSQLiteRow.mm:
(-[_WKWebExtensionSQLiteRow dataAtIndex:]):
(-[_WKWebExtensionSQLiteRow uncopiedDataAtIndex:]):
* Source/WebKit/Shared/Extensions/_WKWebExtensionSQLiteStore.mm:
Initialize with space for two items, not three.
Canonical link: https://commits.webkit.org/271693@main
More information about the webkit-changes
mailing list