Bug 1395172 - Remove "binary" type from Schemas.jsm r=kmag

MozReview-Commit-ID: JaHnb37czrA

--HG--
extra : rebase_source : 33913712801d92d124d4e9ff4dfe7b625a3762ee
This commit is contained in:
Rob Wu 2017-08-30 22:22:47 +02:00
parent 23f9f1b466
commit 0c0d2e458c

View File

@ -250,11 +250,8 @@ function getValueBaseType(value) {
if (value === null) {
return "null";
}
switch (ChromeUtils.getClassName(value, true)) {
case "Array":
return "array";
case "ArrayBuffer":
return "binary";
if (Array.isArray(value)) {
return "array";
}
break;