summaryrefslogtreecommitdiffstats
path: root/dom/workers/test/loadEncoding_worker.js
blob: 5e40478445af709a86f09e8fa42df45d1ba0a806 (plain)
1
2
3
4
5
6
7
/*
  Any copyright is dedicated to the Public Domain.
  http://creativecommons.org/publicdomain/zero/1.0/
*/
// Bug 484305 - Load workers as UTF-8.
postMessage({ encoding: "KOI8-R", text: "ðÒÉ×ÅÔ" });
postMessage({ encoding: "UTF-8", text: "Привет" });