From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-po-07v.sys.comcast.net (resqmta-po-07v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:166]) by hurricane.the-brannons.com (Postfix) with ESMTPS id B83DD786FA for ; Wed, 24 Dec 2014 11:23:12 -0800 (PST) Received: from resomta-po-15v.sys.comcast.net ([96.114.154.239]) by resqmta-po-07v.sys.comcast.net with comcast id XXLo1p0045AAYLo01XM43Z; Wed, 24 Dec 2014 19:21:04 +0000 Received: from eklhad ([68.84.191.77]) by resomta-po-15v.sys.comcast.net with comcast id XXM31p0091gep3001XM3M9; Wed, 24 Dec 2014 19:21:04 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.5.2 Date: Wed, 24 Dec 2014 14:21:03 -0500 Message-ID: <20141124142103.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=1419448864; bh=hH8FZa/ts5vqamV2w4XJAcarDPC19oNnelDpa8mEIw8=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=DxKWUKPxMy7hveYFZyRhJ6+lOi80lWIHaeG3qB6Ho09qw4HYb5CJgYygY6yF0+18r tBJiTwevnlrP8JtDiMPfe3IEmyfTr9rD0yBBkeqitIa0bomlAQHLxXZ2vo4AZ/qAn3 BIe1QJ6mER6oeo1YSNn8qWB9bXNXlyIxCObEh4gkrX7oYueQxC3/rahImbAXeCxRtI ehciG7572RMqEk/md+ERNBzGhCtf5X/yrHj0w/MkDH6GFnOrzBFcn8cN5mmQMQlF3d tUecUk8lyV37UbLg5utTQG5Q7rxIxg/NY6lkIJXrBXgnNYtEd1BV00zP9vqEBYNeuF jUHo3+23MTQXw== Subject: [Edbrowse-dev] Encouraged, Discouraged X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 19:23:13 -0000 Well the new edbrowse almost works. I'm encouraged that it does anything at all. I really thought it would seg fault straight away. It's simpler in so many ways. There is only one line that enters the compartment, the entry point to processing the message. jseng-moz.cpp line 2543 Remember the old system, we had no idea what functions were called when, no idea the order of execution, so we put AutoCompartment in practically every function. No need for all that confusion any more. So it mostly works, but not quite. I have a test program http://www.eklhad.net/jf browse it and it is missing half its stuff. But, in ebjs.c, after line 1014, add this has_property(cw->docobj, "all"); Then edbrowse works properly. jf has all the properties and objects that it should have. Why should that call matter? It's almost as inocuous as a debug print. I hate interactions like that. So I'm a bit discouraged to be this close and not there. I think I need to take a break from this for a while. We've made really good progress though. Karl Dahlke