Bug 1289050 - Part 1: Use ASCII variant of JS_ReportError in simple case. r=jwalden

This commit is contained in:
Tooru Fujisawa
2016-08-14 20:39:28 +09:00
parent cba1ff7689
commit a5294e0308
46 changed files with 357 additions and 356 deletions

View File

@@ -137,7 +137,7 @@ Load(JSContext *cx,
return false;
if (!JS_IsGlobalObject(obj)) {
JS_ReportError(cx, "Trying to load() into a non-global object");
JS_ReportErrorASCII(cx, "Trying to load() into a non-global object");
return false;
}