-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add encoded versions of IndexedDB key/value #34630
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beautiful!
@@ -96,7 +96,7 @@ it('should round-trip through the file', async ({ contextFactory }, testInfo) => | |||
openRequest.onsuccess = () => { | |||
const request = openRequest.result.transaction('store', 'readwrite') | |||
.objectStore('store') | |||
.put('foo', 'bar'); | |||
.put({ name: 'foo', date: new Date(0) }, 'bar'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we would also benefit from a test with key
being an array with a binary blob inside (whatever MDN means by that), and from a test with an explicit keyPath
. Can be a follow up.
This comment has been minimized.
This comment has been minimized.
3da33e0
to
c6f5edc
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Test results for "tests 1"8 flaky37788 passed, 655 skipped Merge workflow run. |
Follow-up to #34591