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 79D6C78467 for ; Mon, 10 Feb 2014 21:29:14 -0800 (PST) Received: from omta16.westchester.pa.mail.comcast.net ([76.96.62.88]) by qmta15.westchester.pa.mail.comcast.net with comcast id QtTw1n0011uE5Es5FtUaBh; Tue, 11 Feb 2014 05:28:34 +0000 Received: from eklhad ([107.5.36.150]) by omta16.westchester.pa.mail.comcast.net with comcast id QtUa1n0073EMmQj3ctUa12; Tue, 11 Feb 2014 05:28:34 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke User-Agent: edbrowse/3.5.1 Date: Tue, 11 Feb 2014 00:28:36 -0500 Message-ID: <20140111002836.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=1392096514; bh=DfEYxKQKedXnxWGzJ0nNxTXgwLMyLnaElS+jwPByG7w=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=PS9yu96d6ntdmEC+/BTMOuIRmT9rjKiXUG1JFRhFpULZ1AoNy17mZVhRR1MPCiXv+ zMtrHv8nAdBe33to8E0U6WnIwIPhCU/Cj7tuSzhJwcU9X5Fg/Rgn2vRLeaX9DoAlaJ OMI8aa5vMcQDZlIyGCYZOaEoDlHd1ig46P24X4Z67RPbjQr4STBKuWUp0m/FBiGIzo 5zA/6tYLE8de8Jvd+CpLYdnuljr6lZfU6gN9spUMJwUZrRqTVgJ6Mg0SP5uXjlNgc/ 3HbmrhJcpKdJMNmNlylJwwUm/0rZmBK9soG8meVdBsadDC+tFDkL0+sT6cRdUuDg1Q Ntfhyhpuub1Eg== Subject: [Edbrowse-dev] simpler html.cpp 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 05:29:14 -0000 As portended by my earlier email, all the rooted variables are gone. All the AutoCompartments are gone. They were just local variables as shorthand for objects that were already put on the rooted heap and tied to tags. The functions in html.cpp now run, I believe, properly whether cw->jss is null or not. And to test this, there is now a way for jss to be null. Disable javascript, with the js command or through the nojs directive in your config file, then browse. The java state isn't even created. Part of my regression test is now to run jsrt through its paces, with javascript and without javascript. Next step, I will allow CreateContext() to fail, if it does fail, without exiting, and leave jss null. Then once this is working we can set up other error legs. Karl Dahlke