gecko/dom/workers/test/loadEncoding_worker.js

8 lines
259 B
JavaScript
Raw Normal View History

/*
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: "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" });
postMessage({ encoding: "UTF-8", text: "Привет" });