mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Unpaired surrogates: Document the -Z flag in the panic message.
This commit is contained in:
parent
e4dc608c0a
commit
a5b6cb6b43
1 changed files with 2 additions and 1 deletions
|
@ -373,7 +373,8 @@ pub fn jsstring_to_str(cx: *mut JSContext, s: *mut JSString) -> DOMString {
|
|||
error!(message!());
|
||||
s.push('\u{FFFD}');
|
||||
} else {
|
||||
panic!(message!());
|
||||
panic!(concat!(message!(), " Use `-Z replace-surrogates` \
|
||||
on the command line to make this non-fatal."));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue