Skip to content

Commit

Permalink
Detect lone windows-1252 copyright sign as window-1252.
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D134605

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1731482
gecko-commit: 8052a44096dacfb020b3a4b8925f6faffa297161
gecko-reviewers: dminor
  • Loading branch information
hsivonen authored and moz-wptsync-bot committed Dec 25, 2021
1 parent a5ddffa commit bb27c93
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions encoding-detection/en-copyright-windows-1252.tentative.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<title>en windows-1252 copyright sign</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<p>Copyright © 2021</p>
<script>
setup({explicit_done:true});
onload = function() {
test(function() {
assert_equals(document.characterSet, "windows-1252", 'Expected windows-1252');
}, "Check detection result");
done();
};
</script>

0 comments on commit bb27c93

Please sign in to comment.