Bug 1155942. Treat USVString and ByteString as serializable values. r=bkelly

This commit is contained in:
Boris Zbarsky committed 2015-04-20 16:54:46 -04:00
1 parent 606d97beac
commit 1509916090
1 file changed
+1 -1
+1 -1
View File
@@ -2776,7 +2776,7 @@ class IDLBuiltinType(IDLType):
self._typeTag == IDLBuiltinType.Types.unrestricted_double
def isSerializable(self):
return self.isPrimitive() or self.isDOMString() or self.isDate()
return self.isPrimitive() or self.isString() or self.isDate()
def includesRestrictedFloat(self):
return self.isFloat() and not self.isUnrestricted()