feat: add enableWebSQL webpreference (#23311)

* feat: add enableWebSQL webpreference

* chore: update indexedDB test
This commit is contained in:
Robo 2020-05-06 12:52:59 -07:00 committed by GitHub
parent 2a680e107b
commit a707a3eda3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 187 additions and 3 deletions

View file

@ -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";

View file

@ -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[];