unsafe fn try_serialize<T: Serializable + IDLInterface>(
cx: &mut JSContext,
val: Serializable,
object: HandleObject,
global: &GlobalScope,
w: *mut JSStructuredCloneWriter,
writer: &mut StructuredDataWriter,
) -> Result<bool, OperationError>