summaryrefslogtreecommitdiffstats
path: root/dom/encoding/test/file_stringencoding.jsm
blob: 2d8312c60768d5bbd601fe37e2de65179204461e (plain)
1
2
3
4
5
6
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");
}