summaryrefslogtreecommitdiff
path: root/ext/bg/js/options.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/options.js')
-rw-r--r--ext/bg/js/options.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/bg/js/options.js b/ext/bg/js/options.js
index 42a1f3d4..9e89e9bd 100644
--- a/ext/bg/js/options.js
+++ b/ext/bg/js/options.js
@@ -129,6 +129,10 @@ class OptionsUtil {
return this._schemaValidator.getValidValueOrDefault(this._optionsSchema);
}
+ getValidValueOrDefault(options) {
+ return this._schemaValidator.getValidValueOrDefault(this._optionsSchema, options);
+ }
+
createValidatingProxy(options) {
return this._schemaValidator.createProxy(options, this._optionsSchema);
}