Skip to content

Conversation

@lukasxcs
Copy link
Contributor

@lukasxcs lukasxcs commented Sep 7, 2025

This fixes a bunch of FIXME's and passes a previously crashing subtest on WPT https://wpt.fyi/results/IndexedDB/idbindex-rename-errors.any.html.

@ladybird-bot
Copy link
Collaborator

Hello!

One or more of the commit messages in this PR do not match the Ladybird code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.

@lukasxcs lukasxcs force-pushed the idbindex_throws_when_deleted branch from 69418f8 to 5c5ca86 Compare September 7, 2025 12:48
@lukasxcs lukasxcs force-pushed the idbindex_throws_when_deleted branch from 5c5ca86 to 15fb854 Compare September 7, 2025 13:00
@lukasxcs
Copy link
Contributor Author

lukasxcs commented Sep 7, 2025

The tests run into a timeout after correctly throwing an InvalidStateException for readonly transactions. Not sure why that happens.

// 7. Destroy store.
database->remove_object_store(*store);

store->mark_deleted();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this suggestion might be plainly wrong, but: did you consider calling this from remove_object_store above?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That won't compile because of forward decleration.. error: member access into incomplete type.

No idea how to fix that, though i like your idea as it adds validation to the removal per if (remove) mark_deleted()

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

@github-actions github-actions bot added the stale label Sep 29, 2025
@github-actions
Copy link

github-actions bot commented Oct 7, 2025

This pull request has been closed because it has not had recent activity. Feel free to open a new pull request if you wish to still contribute these changes. Thank you for your contributions!

@github-actions github-actions bot closed this Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants