1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/encoding/test/file_stringencoding.jsm Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,6 @@ 1.4 +this.EXPORTED_SYMBOLS = ['checkFromJSM']; 1.5 + 1.6 +this.checkFromJSM = function checkFromJSM(is_op) { 1.7 + is_op(new TextDecoder().encoding, "utf-8", "JSM should have TextDecoder"); 1.8 + is_op(new TextEncoder().encoding, "utf-8", "JSM should have TextEncoder"); 1.9 +}