feat: add enableWebSQL webpreference (#23311)
* feat: add enableWebSQL webpreference * chore: update indexedDB test
This commit is contained in:
parent
2a680e107b
commit
a707a3eda3
9 changed files with 187 additions and 3 deletions
|
@ -182,6 +182,8 @@ const char kSpellcheck[] = "spellcheck";
|
|||
const char kEnableRemoteModule[] = "enableRemoteModule";
|
||||
#endif
|
||||
|
||||
const char kEnableWebSQL[] = "enableWebSQL";
|
||||
|
||||
} // namespace options
|
||||
|
||||
namespace switches {
|
||||
|
@ -250,6 +252,10 @@ const char kNodeIntegrationInWorker[] = "node-integration-in-worker";
|
|||
// environments will be created in sub-frames.
|
||||
const char kNodeIntegrationInSubFrames[] = "node-integration-in-subframes";
|
||||
|
||||
// Command switch passed to render process to control whether WebSQL api
|
||||
// is allowed.
|
||||
const char kEnableWebSQL[] = "enable-websql";
|
||||
|
||||
// Widevine options
|
||||
// Path to Widevine CDM binaries.
|
||||
const char kWidevineCdmPath[] = "widevine-cdm-path";
|
||||
|
|
|
@ -84,6 +84,7 @@ extern const char kImages[];
|
|||
extern const char kTextAreasAreResizable[];
|
||||
extern const char kWebGL[];
|
||||
extern const char kNavigateOnDragDrop[];
|
||||
extern const char kEnableWebSQL[];
|
||||
|
||||
#if BUILDFLAG(ENABLE_BUILTIN_SPELLCHECKER)
|
||||
extern const char kSpellcheck[];
|
||||
|
@ -129,6 +130,7 @@ extern const char kWebviewTag[];
|
|||
extern const char kNodeIntegrationInSubFrames[];
|
||||
extern const char kDisableElectronSiteInstanceOverrides[];
|
||||
extern const char kEnableNodeLeakageInRenderers[];
|
||||
extern const char kEnableWebSQL[];
|
||||
|
||||
extern const char kWidevineCdmPath[];
|
||||
extern const char kWidevineCdmVersion[];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue