From 51c0b025d8d181ee2fb2b34e455423d92cac320a Mon Sep 17 00:00:00 2001 From: Asish Kumar <87874775+officialasishkumar@users.noreply.github.com> Date: Tue, 21 Apr 2026 01:15:00 +0530 Subject: [PATCH] docs: remove obsolete websql from clearStorageData storages list (#51097) WebSQL support was removed in Electron 31 (see breaking-changes.md), and the 'websql' key was subsequently removed from the storages lookup in session.ClearStorageData() during the Chromium 126 bump (#41868). The documentation for `ses.clearStorageData()` was not updated at the time and still lists `websql` as a valid value for the `storages` option. Passing `websql` now silently has no effect, leaving the docs out of sync with the implementation. Remove `websql` from the documented list of storage types so the documentation matches the actual behavior. Refs: #33900 Signed-off-by: Asish Kumar --- docs/api/session.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/session.md b/docs/api/session.md index f2134ea416..e7279604f3 100644 --- a/docs/api/session.md +++ b/docs/api/session.md @@ -650,7 +650,7 @@ Clears the session’s HTTP cache. `scheme://host:port`. * `storages` string[] (optional) - The types of storages to clear, can be `cookies`, `filesystem`, `indexdb`, `localstorage`, - `shadercache`, `websql`, `serviceworkers`, `cachestorage`. If not + `shadercache`, `serviceworkers`, `cachestorage`. If not specified, clear all storage types. Returns `Promise` - resolves when the storage data has been cleared.