Closed CYBAI closed 4 years ago
In servo/servo#23545, we created a method to receive &[u16] and return SourceText<u16>.
&[u16]
SourceText<u16>
It would be better to have the method inside mozjs so that we can just pass the data and get SourceText via the method from mozjs.
See https://github.com/servo/servo/pull/23545#discussion_r348290379 and https://github.com/servo/servo/pull/23545/files#diff-3fe97584f564214ec8e7ebbf91747e03R75-R82
Fixed in #497
In servo/servo#23545, we created a method to receive
&[u16]
and returnSourceText<u16>
.It would be better to have the method inside mozjs so that we can just pass the data and get SourceText via the method from mozjs.
See https://github.com/servo/servo/pull/23545#discussion_r348290379 and https://github.com/servo/servo/pull/23545/files#diff-3fe97584f564214ec8e7ebbf91747e03R75-R82