Files
firefox/dom/encoding/test/file_stringencoding.jsm
T
2019-07-05 10:44:55 +02:00

7 lines
229 B
JavaScript

var EXPORTED_SYMBOLS = ["checkFromJSM"];
function checkFromJSM(is_op) {
is_op(new TextDecoder().encoding, "utf-8", "JSM should have TextDecoder");
is_op(new TextEncoder().encoding, "utf-8", "JSM should have TextEncoder");
}