From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from qmta09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:96]) by hurricane.the-brannons.com (Postfix) with ESMTP id 2DDB078479 for ; Tue, 11 Feb 2014 09:13:04 -0800 (PST) Received: from omta04.westchester.pa.mail.comcast.net ([76.96.62.35]) by qmta09.westchester.pa.mail.comcast.net with comcast id R0Wu1n0010ldTLk595CPnY; Tue, 11 Feb 2014 17:12:23 +0000 Received: from eklhad ([107.5.36.150]) by omta04.westchester.pa.mail.comcast.net with comcast id R5CP1n00G3EMmQj015CPH1; Tue, 11 Feb 2014 17:12:23 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke User-Agent: edbrowse/3.5.1 Date: Tue, 11 Feb 2014 12:12:23 -0500 Message-ID: <20140111121223.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=q20121106; t=1392138743; bh=8wVyn01NHlkUg3y54VKHH+IlGEjFjNK6Lu+24qYuuto=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=NAbVLc1qirZfxHLFcBGh023z/8LmFjYaCR7U27xlet2ZoMaCVQdgW8Iz4hk+DtUp5 pgkL9FwS+2/h/xV8QV93FVsGbpk4/+uqVMuuzl5C3yqqcUqU5kKApilxy9qelfzhcL zlfXOU8lIDwsCvSpexmYxz4Ce5e6+8kDLcItcsX/t4K04XUr59psxNd8XTibIHvD0P 5aSl92hQ4/BrIeBCU+3nWFsHB5NbQ5hS+svCKhnEvdCTdUy3B5Ocjhib8Esc5YDePk aYyca94yWloZ6mMi/d/zTWIamJLjxYlv5uEKA9BfypWXhYqSGr8aWSHrBdPulT5dls B61Cnc8O9FV8A== Subject: [Edbrowse-dev] createJavacontext 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: Tue, 11 Feb 2014 17:13:04 -0000 If the js runtime or context or global window cannot be created, it prints a message to that effect, leaves jss null, and returns. This is the first non-exit error leg in our js world. Without the context, javascript is disabled, but edbrowse continues to run. You can test this easily. Edit Chris memory hogging array program and another html file. Browse the first and get the memory full error. Switch to buffer 2 and browse the second, but there isn't enough memory to set up the window, so the context is not created, jss is null, and any javascript features in that second file, like onclick push buttons, won't work. This is I think the start of where we want to go. Other error legs will print a message, distroy context, set jss to null, and return. Karl Dahlke