summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/encoding/resources/dynamic-load-target.js
blob: 6a0e17552829ff97ef98ba0805afcc56a812a857 (plain)
1
2
3
4
5
6
7
8
9


if ('とうきょう' == tokyo)
    document.getElementById("target").innerHTML = "PASS: UTF-8 was correctly used for this script.";
else
    document.getElementById("target").innerHTML = "FAIL: Incorrect encoding used.  Expected '" + tokyo + "' but got '" + 'とうきょう' + "'.";

if (window.layoutTestController) 
    window.layoutTestController.notifyDone();