Skip to content

Failing to deserialize data from _WKWebExtensionSQLiteRow#21458

Merged
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
kiaraarose:eng/Bug-fixes-extension-storage
Dec 7, 2023
Merged

Failing to deserialize data from _WKWebExtensionSQLiteRow#21458
webkit-commit-queue merged 1 commit intoWebKit:mainfrom
kiaraarose:eng/Bug-fixes-extension-storage

Conversation

@kiaraarose
Copy link
Contributor

@kiaraarose kiaraarose commented Dec 7, 2023

9e36fb6

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

0c48a18

Misc iOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe 🛠 wincairo
✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug 🧪 wpe-wk2
✅ 🧪 webkitperl 🧪 ios-wk2 🧪 api-mac ✅ 🧪 api-wpe
🧪 ios-wk2-wpt ✅ 🛠 gtk
🧪 api-ios 🧪 mac-wk2 🧪 gtk-wk2
🛠 tv 🧪 mac-AS-debug-wk2 🧪 api-gtk
🛠 tv-sim
🛠 watch
✅ 🛠 🧪 unsafe-merge 🛠 watch-sim

@kiaraarose kiaraarose self-assigned this Dec 7, 2023
@kiaraarose kiaraarose added the WebKit Extensions Bugs related to extension support. label Dec 7, 2023
@kiaraarose kiaraarose assigned kiaraarose and unassigned kiaraarose Dec 7, 2023
@kiaraarose kiaraarose added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Dec 7, 2023
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
@webkit-commit-queue webkit-commit-queue force-pushed the eng/Bug-fixes-extension-storage branch from 0c48a18 to 9e36fb6 Compare December 7, 2023 21:50
@webkit-commit-queue
Copy link
Collaborator

Committed 271693@main (9e36fb6): https://commits.webkit.org/271693@main

Reviewed commits have been landed. Closing PR #21458 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 9e36fb6 into WebKit:main Dec 7, 2023
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WebKit Extensions Bugs related to extension support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants