Bug 805080 - Remove unused CESU8 support from SpiderMonkey; r=luke

We have many CESU8 paths in SpiderMonkey which are completely unused and
untested. We have many more "UTF-8" paths which are really mislabled CESU8 paths
and visa-versa. This patch attempts to disentable all of the various encoding
options in SpiderMonkey.
This commit is contained in:
Terrence Cole
2012-10-29 13:55:17 -07:00
parent f8c815d5b0
commit c11996d4c0
20 changed files with 242 additions and 606 deletions

View File

@@ -597,7 +597,7 @@ ProcessFile(JSContext *cx,
}
bufp += strlen(bufp);
lineno++;
} while (!JS_BufferIsCompilableUnit(cx, JS_FALSE, obj, buffer, strlen(buffer)));
} while (!JS_BufferIsCompilableUnit(cx, obj, buffer, strlen(buffer)));
/* Clear any pending exception from previous failed compiles. */
JS_ClearPendingException(cx);