summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/extensions/json_schema_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/data/extensions/json_schema_test.js')
-rwxr-xr-xchrome/test/data/extensions/json_schema_test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/test/data/extensions/json_schema_test.js b/chrome/test/data/extensions/json_schema_test.js
index caf494a..195dcba 100755
--- a/chrome/test/data/extensions/json_schema_test.js
+++ b/chrome/test/data/extensions/json_schema_test.js
@@ -8,7 +8,7 @@ function assert(truth) {
}
function assertValid(type, instance, schema) {
- var validator = new chromium.JSONSchemaValidator();
+ var validator = new chrome.JSONSchemaValidator();
validator["validate" + type](instance, schema, "");
if (validator.errors.length != 0) {
log("Got unexpected errors");
@@ -18,7 +18,7 @@ function assertValid(type, instance, schema) {
}
function assertNotValid(type, instance, schema, errors) {
- var validator = new chromium.JSONSchemaValidator();
+ var validator = new chrome.JSONSchemaValidator();
validator["validate" + type](instance, schema, "");
assert(validator.errors.length === errors.length);
for (var i = 0; i < errors.length; i++) {
@@ -34,7 +34,7 @@ function assertNotValid(type, instance, schema, errors) {
}
function formatError(key, replacements) {
- return chromium.JSONSchemaValidator.formatError(key, replacements);
+ return chrome.JSONSchemaValidator.formatError(key, replacements);
}
function testFormatError() {