Skip to content

Commit

Permalink
Auto merge of #13836 - emilio:js-intl, r=Ms2ger
Browse files Browse the repository at this point in the history
Update mozjs_sys to expose proper locale callbacks.

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #13788 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Fixes #13788

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13836)
<!-- Reviewable:end -->
  • Loading branch information
bors-servo committed Oct 25, 2016
2 parents a9715c1 + 60e0ccf commit c8321ed
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -29,13 +29,13 @@ Please select your operating system:
#### On OS X (homebrew)

``` sh
brew install automake pkg-config python cmake
brew install automake pkg-config python cmake yasm
pip install virtualenv
```
#### On OS X (MacPorts)

``` sh
sudo port install python27 py27-virtualenv cmake
sudo port install python27 py27-virtualenv cmake yasm
```
#### On OS X >= 10.11 (El Capitan), you also have to install OpenSSL

Expand Down
2 changes: 1 addition & 1 deletion components/servo/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ports/cef/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions tests/wpt/mozilla/meta/MANIFEST.json
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions tests/wpt/mozilla/tests/mozilla/interfaces.js
Expand Up @@ -20,6 +20,7 @@ function test_interfaces(interfaceNamesInGlobalScope) {
"Int32Array",
"Int8Array",
"InternalError",
"Intl",
"Iterator",
"JSON",
"Map",
Expand Down
10 changes: 10 additions & 0 deletions tests/wpt/mozilla/tests/mozilla/localeCompare.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 c8321ed

Please sign in to comment.