From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from qmta15.westchester.pa.mail.comcast.net (qmta15.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:44:76:96:59:228]) by hurricane.the-brannons.com (Postfix) with ESMTP id D78D277AF9 for ; Fri, 25 Apr 2014 12:49:09 -0700 (PDT) Received: from omta11.westchester.pa.mail.comcast.net ([76.96.62.36]) by qmta15.westchester.pa.mail.comcast.net with comcast id uBeE1n0020mv7h05FKoldY; Fri, 25 Apr 2014 19:48:45 +0000 Received: from eklhad ([IPv6:2601:4:5380:92e:21e:4fff:fec2:a0f1]) by omta11.westchester.pa.mail.comcast.net with comcast id uKok1n00M58M3EY3XKokW0; Fri, 25 Apr 2014 19:48:44 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke User-Agent: edbrowse/3.5.1 Date: Fri, 25 Apr 2014 15:48:21 +0000 Message-ID: <20140325154821.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1398455325; bh=PBRPsTMSglvmcbPuFe9cLTpNHxHZA6gErFdWDCZ15x8=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=X4HLZkMK2KgaxZ5DJNbk38YcTM9aMAYCtPRh+e0keAdHOG3DMDmR8XCyJmcNIop91 /WSMHmcgmAZIJVq0PWtztIyhn/mY5wqAL2EBxoeuVtn8piByRdkYVWbUB7m7p5JhpP HGGb9lgrwhRwk2W6A0gsfh6ZJ/hxfmCGYssSs81OsaAKsqeMvGOg5WilsdhptfI92M T8+EG/JtICCPtEC5kmnp+Z0Bnkz+Ow42fIGxFzqf7quST7qZ4Qrd5veA3AHmyekC4q vs4VV2AUORK9d2TrOz29IM5FOa2eV1c+8UXZyiiSL7aeV6uX91JGZ8uA57P8CAV93S jajfzsBZ7/kVg== Subject: [Edbrowse-dev] JSCLASS_GLOBAL_FLAGS another assert X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Karl Dahlke List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2014 19:49:10 -0000 Ok folks, I need your thoughts here. I ran into another assert when the bank of america website tried to create a new window. It was the same problem as the url class. It tried to make the new object but the class has JSCLASS_GLOBAL_FLAGS set and I guess that's a bad thing cause it asserts, at leasst on the debug environment. just call window.open() and see. So, I take the flag JSCLASS_GLOBAL_FLAGS out of the window class spec and now it asserts at state->jwin = JS_NewGlobalObject(state->jcx, &window_class, NULL); The global object has to have the global flag set, but it is part of a class that could be instantiated to make other windows, wherein the global flag should not be set. I guess that's what is happening??? Should I make two different classes, Window and GlobalWindow? Not sure what to do here. Karl Dahlke