Use testRunner instead of layoutTestController in fast/doctypes, dom, dynamic, encodi...
[WebKit-https.git] / LayoutTests / fast / dom / HTMLScriptElement / resources / script-decoding-error-after-setting-src.js
1 var panel_obj = document.getElementById("content_panel");
2 if (panel_obj) {
3   var encoded_content = "²âÊÔ";
4   if (encoded_content == panel_obj.innerHTML)
5     panel_obj.innerHTML = "SUCCESS";
6   else
7     panel_obj.innerHTML = "FAILURE";
8   if (window.testRunner)
9     testRunner.notifyDone();
10 }