mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
Bug 1155942. Treat USVString and ByteString as serializable values. r=bkelly
This commit is contained in:
1 parent
606d97beac
commit
1509916090
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user