Permalink
Browse files

Avoid JS assertion failure on wake from sleep

runtime -- it can only ever be set once, so we were hitting an assertion
failure when waking from sleep and re-initializing.

Change-Id: I3fe586e307a5b7e5c8fedcd840182215b51da2cb
  • Loading branch information...
1 parent 1bcbb9d commit 6b8a50fc84ff7ca9525786066e40a0afd7f5aa40 @snej snej committed Sep 12, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/js/src/js-config.h
View
3 src/js/src/js-config.h
@@ -52,6 +52,9 @@
entirely too much GC. */
#undef JS_GC_ZEAL
+// Strings are considered UTF-8 (added for iMonkey)
+#define JS_C_STRINGS_ARE_UTF8
+
/* Define to 1 if the standard <stdint.h> header is present and
useable. See jstypes.h and jsstdint.h. */
#define JS_HAVE_STDINT_H

0 comments on commit 6b8a50f

Please sign in to comment.