author | Stephen McGruer <smcgruer@chromium.org> |
Tue, 28 Apr 2020 11:37:22 +0000 | |
changeset 527573 | ed97836553af5bc29989d8e941f331cf956394e7 |
parent 527572 | d999146c5b07bcc326ee8f88a9fea0a5dd988405 |
child 527574 | fb45c867b69d09c119cf38ccdcd0844066d4ebf8 |
push id | 37368 |
push user | btara@mozilla.com |
push date | Fri, 01 May 2020 21:45:51 +0000 |
treeherder | mozilla-central@0f9c5a59e45d [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | testonly |
bugs | 1630628, 23007 |
milestone | 77.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
testing/web-platform/tests/domparsing/DOMParser-parseFromString-encoding.html | file | annotate | diff | comparison | revisions |
--- a/testing/web-platform/tests/domparsing/DOMParser-parseFromString-encoding.html +++ b/testing/web-platform/tests/domparsing/DOMParser-parseFromString-encoding.html @@ -9,17 +9,17 @@ function assertEncoding(doc) { assert_equals(doc.charset, "UTF-8", "document.charset"); assert_equals(doc.characterSet, "UTF-8", "document.characterSet"); assert_equals(doc.inputEncoding, "UTF-8", "document.characterSet"); } setup(() => { - assert_precondition(document.characterSet === "windows-1252", "the meta charset must be in effect, making the main document windows-1252"); + assert_equals(document.characterSet, "windows-1252", "the meta charset must be in effect, making the main document windows-1252"); }); test(() => { const parser = new DOMParser(); const doc = parser.parseFromString("", "text/html"); assertEncoding(doc); }, "HTML: empty");