Bug 1789556 - Tests for bug 1787633. r=m_kato

Differential Revision: https://phabricator.services.mozilla.com/D156638
This commit is contained in:
Masatoshi Kimura 2023-01-17 16:16:02 +00:00
parent cb305f0962
commit 79423c52bd
2 changed files with 15 additions and 0 deletions

View file

@ -1 +1,2 @@
load 563618.html
load omt-non-utf-8-jsurl.html

View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<html class=reftest-wait>
<head>
<meta charset=iso-8859-1><!-- must be non-UTF-8 -->
<title>Test for off the main thread non-UTF-8 javascript: URL</title>
</head>
<body>
<script>
new Worker("javascript:foo").onerror = () => {
document.documentElement.className = "";
};
</script>
</body>
</html>