tenfourfox/dom/encoding/test/file_stringencoding.jsm
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

7 lines
250 B
JavaScript

this.EXPORTED_SYMBOLS = ['checkFromJSM'];
this.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");
}