omt-non-utf-8-jsurl.html (318B)
1 <!DOCTYPE html> 2 <html class=reftest-wait> 3 <head> 4 <meta charset=iso-8859-1><!-- must be non-UTF-8 --> 5 <title>Test for off the main thread non-UTF-8 javascript: URL</title> 6 </head> 7 <body> 8 <script> 9 new Worker("javascript:foo").onerror = () => { 10 document.documentElement.className = ""; 11 }; 12 </script> 13 </body> 14 </html>