Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Avoid JS assertion failure on wake from sleep
Browse files Browse the repository at this point in the history
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
snej committed Sep 12, 2011
1 parent 1bcbb9d commit 6b8a50f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/js/src/js-config.h
Expand Up @@ -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
Expand Down

0 comments on commit 6b8a50f

Please sign in to comment.