indexeddb: remove blocking GenerateKey sync IPC#42966
Merged
Merged
Conversation
Signed-off-by: Taym Haddadi <[email protected]>
|
🔨 Triggering try run (#22603094227) for Linux (WPT) |
|
Test results for linux-wpt from try job (#22603094227): Flaky unexpected result (35)
Stable unexpected results that are known to be intermittent (13)
|
|
✨ Try run (#22603094227) succeeded. |
gterzian
approved these changes
Mar 3, 2026
Member
gterzian
left a comment
There was a problem hiding this comment.
LGTM, with some comments.
Thanks.
| Some(key) => (key, key_generator_current_number), | ||
| None => { | ||
| if object_store.auto_increment == 0 { | ||
| let _ = callback.send(Err(BackendError::DbErr( |
| CanGc::from_cx(cx), | ||
| ) | ||
| )?; | ||
| if let Some(next_key_generator_current_number) = key_generator_current_number_for_put { |
Member
There was a problem hiding this comment.
I think this can be mapped to https://w3c.github.io/IndexedDB/#possibly-update-the-key-generator in the spec in some way.
Member
Author
There was a problem hiding this comment.
Good catch, following the spec here will make more tests pass.
| .recv() | ||
| .unwrap() | ||
| .map_err(map_backend_error_to_dom_error) | ||
| fn reserve_generated_key_for_put(&self) -> Fallible<(IndexedDBKeyType, i32)> { |
Member
There was a problem hiding this comment.
|
🔨 Triggering try run (#22689140947) for Linux (WPT) |
…_generator according to spec. Signed-off-by: Taym Haddadi <[email protected]>
8f1db40 to
98eadea
Compare
|
Test results for linux-wpt from try job (#22689140947): Flaky unexpected result (34)
Stable unexpected results that are known to be intermittent (22)
Stable unexpected results (4)
|
|
|
Signed-off-by: Taym Haddadi <[email protected]>
offline-ant
pushed a commit
to offline-ant/havi
that referenced
this pull request
Jun 4, 2026
indexeddb: remove blocking GenerateKey sync IPC Testing: covered by indexeddb WPT tests. part of servo#40983 --------- Signed-off-by: Taym Haddadi <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
indexeddb: remove blocking GenerateKey sync IPC
Testing: covered by indexeddb WPT tests.
part of #40983