mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Bug 1395172 - Remove "binary" type from Schemas.jsm r=kmag
MozReview-Commit-ID: JaHnb37czrA --HG-- extra : rebase_source : 33913712801d92d124d4e9ff4dfe7b625a3762ee
This commit is contained in:
parent
23f9f1b466
commit
0c0d2e458c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user