| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> |
| </head> |
| <body onload="set_script_src()"> |
| This case is for testing script decoding after setting its src attribute. See bug: http://bugs.webkit.org/show_bug.cgi?id=17732<br> |
| <script id="script_target"></script> |
| <div id="content_panel">²âÊÔ</div> |
| <script> |
| function set_script_src() { |
| if (window.testRunner) { |
| testRunner.dumpAsText(); |
| testRunner.waitUntilDone(); |
| } |
| var script_obj = document.getElementById("script_target"); |
| if (script_obj) { |
| script_obj.src = "./resources/script-decoding-error-after-setting-src.js"; |
| } |
| } |
| </script> |
| </body> |
| </html> |