Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 6b8a50fc84ff7ca9525786066e40a0afd7f5aa40 1 parent 1bcbb9d
Jens Alfke snej authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  src/js/src/js-config.h
3  src/js/src/js-config.h
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.