mirror of https://github.com/gorhill/uBlock.git
Fix bad serialization of Date objects
Related issue: https://github.com/uBlockOrigin/uBlock-issues/issues/3283
This commit is contained in:
parent
57ed293760
commit
c154aaa69c
|
@ -592,7 +592,8 @@ const _serialize = data => {
|
|||
return;
|
||||
}
|
||||
if ( xtypeInt === I_DATE ) {
|
||||
writeBuffer.push(C_DATE + _serialize(data.getTime()));
|
||||
writeBuffer.push(C_DATE);
|
||||
_serialize(data.getTime());
|
||||
return;
|
||||
}
|
||||
// Reference to composite types
|
||||
|
|
Loading…
Reference in New Issue