file_stringencoding.jsm 250 B

1234567
  1. this.EXPORTED_SYMBOLS = ['checkFromJSM'];
  2. this.checkFromJSM = function checkFromJSM(is_op) {
  3. is_op(new TextDecoder().encoding, "utf-8", "JSM should have TextDecoder");
  4. is_op(new TextEncoder().encoding, "utf-8", "JSM should have TextEncoder");
  5. }