diff --git a/Libraries/LibWeb/IndexedDB/IDBDatabase.cpp b/Libraries/LibWeb/IndexedDB/IDBDatabase.cpp index a527609be87..2ff917b6179 100644 --- a/Libraries/LibWeb/IndexedDB/IDBDatabase.cpp +++ b/Libraries/LibWeb/IndexedDB/IDBDatabase.cpp @@ -176,7 +176,7 @@ WebIDL::ExceptionOr IDBDatabase::delete_object_store(String const& name) // 4. Let store be the object store named name in database, or throw a "NotFoundError" DOMException if none. auto store = database->object_store_with_name(name); if (!store) - return WebIDL::NotFoundError::create(realm, "Object store not found"_string); + return WebIDL::NotFoundError::create(realm, "Object store not found while trying to delete"_string); // 5. Remove store from this's object store set. this->remove_from_object_store_set(*store); diff --git a/Libraries/LibWeb/IndexedDB/IDBTransaction.cpp b/Libraries/LibWeb/IndexedDB/IDBTransaction.cpp index d73e6bd128c..6dc8ffcfccf 100644 --- a/Libraries/LibWeb/IndexedDB/IDBTransaction.cpp +++ b/Libraries/LibWeb/IndexedDB/IDBTransaction.cpp @@ -141,7 +141,7 @@ WebIDL::ExceptionOr> IDBTransaction::object_store(String // 2. Let store be the object store named name in this's scope, or throw a "NotFoundError" DOMException if none. auto store = object_store_named(name); if (!store) - return WebIDL::NotFoundError::create(realm, "Object store not found"_string); + return WebIDL::NotFoundError::create(realm, "Object store not found in transactions scope"_string); // 3. Return an object store handle associated with store and this. return IDBObjectStore::create(realm, *store, *this);