File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/test/java/org/htmlunit Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2626import org .htmlunit .junit .BrowserRunner ;
2727import org .htmlunit .junit .annotation .Alerts ;
2828import org .htmlunit .junit .annotation .HtmlUnitNYI ;
29+ import org .htmlunit .junit .annotation .NotYetImplemented ;
30+ import org .htmlunit .junit .annotation .OS ;
2931import org .junit .Assert ;
3032import org .junit .Test ;
3133import org .junit .runner .RunWith ;
@@ -1455,11 +1457,12 @@ public void loadJavascript() throws Exception {
14551457 // this fails on our CI but I have no idea why
14561458 // seems like the request for downloading the script never reaches the
14571459 // PrimitiveWebServer
1460+ @ NotYetImplemented (value = {}, os = OS .Linux )
14581461 public void loadJavascriptCharset () throws Exception {
14591462 String html = DOCTYPE_HTML
14601463 + "<html><head>"
14611464 + "<meta http-equiv='Content-Type' content='text/html; charset=GB2312'>"
1462- + "<script src=\" script.js?x=\u6211 \u662F \u6211 \u7684 Abc\" ></script>"
1465+ + "<script src=\" script.js?x=\u6211 \u662F \u6211 \u7684 \u4eb8 Abc\" ></script>"
14631466 + "</head><body></body></html>" ;
14641467 html = "HTTP/1.1 200 OK\r \n "
14651468 + "Content-Length: " + (html .length ()) + "\r \n "
You can’t perform that action at this time.
0 commit comments