Skip to content
Permalink
Browse files

Test for localeCompare.

  • Loading branch information
emilio committed Oct 25, 2016
1 parent 30039f2 commit 60e0ccf17d6315d5aad029f7dbe2316415f8534c
Showing with 16 additions and 0 deletions.
  1. +6 −0 tests/wpt/mozilla/meta/MANIFEST.json
  2. +10 −0 tests/wpt/mozilla/tests/mozilla/localeCompare.html
@@ -7094,6 +7094,12 @@
"url": "/_mozilla/mozilla/load_event.html"
}
],
"mozilla/localeCompare.html": [
{
"path": "mozilla/localeCompare.html",
"url": "/_mozilla/mozilla/localeCompare.html"
}
],
"mozilla/mime_sniffing_font_context.html": [
{
"path": "mozilla/mime_sniffing_font_context.html",
@@ -0,0 +1,10 @@
<!doctype html>
<meta charset="utf-8">
<title>localeCompare should return the same as other browsers, even though it's implementation-dependent</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(function() {
assert_equals("ab".localeCompare("aZ"), -1);
})
</script>

0 comments on commit 60e0ccf

Please sign in to comment.
You can’t perform that action at this time.