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

This commit is contained in:
Boris Zbarsky 2015-04-20 16:54:46 -04:00
parent 0b7d9a1273
commit 0b2707c91e

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()