mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 839751 - "Assertion failure: i < argc_" with localeCompare. r=jwalden
--HG-- extra : rebase_source : 82f04b0635be8e2f408e37d33a2ba186d3810011
This commit is contained in:
parent
d289d1a685
commit
8a74354ab7
@ -776,8 +776,6 @@ str_localeCompare(JSContext *cx, unsigned argc, Value *vp)
|
||||
return false;
|
||||
|
||||
if (cx->runtime->localeCallbacks && cx->runtime->localeCallbacks->localeCompare) {
|
||||
args[0].setString(thatStr);
|
||||
|
||||
Value result;
|
||||
if (!cx->runtime->localeCallbacks->localeCompare(cx, str, thatStr, &result))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user