Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 65e790f57dc0d5b879926faa2628d5cc76ca66ce
      
https://github.com/WebKit/WebKit/commit/65e790f57dc0d5b879926faa2628d5cc76ca66ce
  Author: Rupin Mittal <[email protected]>
  Date:   2025-05-22 (Thu, 22 May 2025)

  Changed paths:
    M Source/WebCore/Modules/indexeddb/server/MemoryObjectStoreCursor.cpp

  Log Message:
  -----------
  [CoreIPC][Networking] MemoryObjectStoreCursor::iterate should invalidate 
`m_iterator` too when invalidating `m_currentPositionKey`
https://bugs.webkit.org/show_bug.cgi?id=289111
rdar://143027372

Reviewed by Sihui Liu.

`m_currentPositionKey` must always be in sync with `m_iterator`. As in, it must 
always be
equal to the key that `m_iterator` is currently pointing to. It follows that 
when invalidating
`m_currentPositiionKey` in MemoryObjectStoreCursor::iterate(), we must 
invalidate `m_iterator`
as well.

* Source/WebCore/Modules/indexeddb/server/MemoryObjectStoreCursor.cpp:
(WebCore::IDBServer::MemoryObjectStoreCursor::iterate):

Originally-landed-as: 289651.236@safari-7621-branch (16f37eee4c63). 
rdar://151648221
Canonical link: https://commits.webkit.org/295300@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to