Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 76c3292d860a72e80773aca7e4bd35c545a63e4d
      
https://github.com/WebKit/WebKit/commit/76c3292d860a72e80773aca7e4bd35c545a63e4d
  Author: Sihui Liu <[email protected]>
  Date:   2023-06-21 (Wed, 21 Jun 2023)

  Changed paths:
    M Source/WebCore/Modules/indexeddb/IDBTransaction.cpp
    M Source/WebCore/Modules/indexeddb/IDBTransaction.h

  Log Message:
  -----------
  Remove m_abortOrCommitEvent in IDBTransaction
https://bugs.webkit.org/show_bug.cgi?id=258323
rdar://111064003

Reviewed by Chris Dumez.

m_abortOrCommitEvent was added to ensure untrusted events cannot change the 
internal states of IDBTransaction. We could
achieve that by checking the property of the event which avoids the raw pointer.

* Source/WebCore/Modules/indexeddb/IDBTransaction.cpp:
(WebCore::IDBTransaction::enqueueEvent):
(WebCore::IDBTransaction::dispatchEvent):
* Source/WebCore/Modules/indexeddb/IDBTransaction.h:

Canonical link: https://commits.webkit.org/265369@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to