mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
bump mozjs to 137.0-1 (#38561)
This bump downgrades icu_capi to 1.5.0, to match the version vendored in spidermonkey. Previous mozjs PRs: - https://github.com/servo/mozjs/pull/606 - https://github.com/servo/mozjs/pull/605 Testing: Covered by existing tests --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
This commit is contained in:
parent
d33ae1549d
commit
ff4971012f
4 changed files with 13 additions and 12 deletions
|
@ -133,7 +133,7 @@ impl FromJSValConvertible for DOMString {
|
|||
pub unsafe fn jsstring_to_str(cx: *mut JSContext, s: ptr::NonNull<JSString>) -> DOMString {
|
||||
let latin1 = JS_DeprecatedStringHasLatin1Chars(s.as_ptr());
|
||||
DOMString::from_string(if latin1 {
|
||||
latin1_to_string(cx, s.as_ptr())
|
||||
latin1_to_string(cx, s)
|
||||
} else {
|
||||
let mut length = 0;
|
||||
let chars = JS_GetTwoByteStringCharsAndLength(cx, ptr::null(), s.as_ptr(), &mut length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue