michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* michael@0: * Any copyright is dedicated to the Public Domain. michael@0: * http://creativecommons.org/licenses/publicdomain/ michael@0: * Contributor: Robert Sayre michael@0: */ michael@0: michael@0: //----------------------------------------------------------------------------- michael@0: var BUGNUMBER = 449666; michael@0: var summary = 'Do not assert: JSSTRING_IS_FLAT(str_)'; michael@0: var actual = ''; michael@0: var expect = ''; michael@0: michael@0: michael@0: //----------------------------------------------------------------------------- michael@0: test(); michael@0: //----------------------------------------------------------------------------- michael@0: michael@0: function test() michael@0: { michael@0: enterFunc ('test'); michael@0: printBugNumber(BUGNUMBER); michael@0: printStatus (summary); michael@0: michael@0: var global; michael@0: michael@0: jit(true); michael@0: michael@0: if (typeof window == 'undefined') { michael@0: global = this; michael@0: } michael@0: else { michael@0: global = window; michael@0: } michael@0: michael@0: if (!global['g']) { michael@0: global['g'] = {}; michael@0: } michael@0: michael@0: if (!global['g']['l']) { michael@0: global['g']['l'] = {}; michael@0: (function() { michael@0: function k(a,b){ michael@0: var c=a.split(/\./); michael@0: var d=global; michael@0: for(var e=0;e