Title: [291316] trunk/Source/WebCore
- Revision
- 291316
- Author
- sihui_...@apple.com
- Date
- 2022-03-15 14:39:38 -0700 (Tue, 15 Mar 2022)
Log Message
Add RELEASE_LOG_FAULT to WebSQL entry functions
https://bugs.webkit.org/show_bug.cgi?id=237865
Reviewed by Geoffrey Garen.
To help learn remaining WebSQL usage.
* Modules/webdatabase/Database.cpp:
(WebCore::Database::transaction):
(WebCore::Database::readTransaction):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (291315 => 291316)
--- trunk/Source/WebCore/ChangeLog 2022-03-15 21:30:06 UTC (rev 291315)
+++ trunk/Source/WebCore/ChangeLog 2022-03-15 21:39:38 UTC (rev 291316)
@@ -1,3 +1,16 @@
+2022-03-15 Sihui Liu <sihui_...@apple.com>
+
+ Add RELEASE_LOG_FAULT to WebSQL entry functions
+ https://bugs.webkit.org/show_bug.cgi?id=237865
+
+ Reviewed by Geoffrey Garen.
+
+ To help learn remaining WebSQL usage.
+
+ * Modules/webdatabase/Database.cpp:
+ (WebCore::Database::transaction):
+ (WebCore::Database::readTransaction):
+
2022-03-15 Alan Bujtas <za...@apple.com>
[IFC][Integration] Rename selection* to enclosing* in InlineIterator::Line
Modified: trunk/Source/WebCore/Modules/webdatabase/Database.cpp (291315 => 291316)
--- trunk/Source/WebCore/Modules/webdatabase/Database.cpp 2022-03-15 21:30:06 UTC (rev 291315)
+++ trunk/Source/WebCore/Modules/webdatabase/Database.cpp 2022-03-15 21:39:38 UTC (rev 291316)
@@ -589,11 +589,13 @@
void Database::transaction(RefPtr<SQLTransactionCallback>&& callback, RefPtr<SQLTransactionErrorCallback>&& errorCallback, RefPtr<VoidCallback>&& successCallback)
{
+ RELEASE_LOG_FAULT(SQLDatabase, "Database::transaction: Web SQL is deprecated.");
runTransaction(WTFMove(callback), WTFMove(errorCallback), WTFMove(successCallback), nullptr, false);
}
void Database::readTransaction(RefPtr<SQLTransactionCallback>&& callback, RefPtr<SQLTransactionErrorCallback>&& errorCallback, RefPtr<VoidCallback>&& successCallback)
{
+ RELEASE_LOG_FAULT(SQLDatabase, "Database::readTransaction: Web SQL is deprecated.");
runTransaction(WTFMove(callback), WTFMove(errorCallback), WTFMove(successCallback), nullptr, true);
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes