From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 8927377AD7 for ; Tue, 7 Jan 2014 04:08:36 -0800 (PST) Received: by mail-wi0-f170.google.com with SMTP id hq4so3921764wib.3 for ; Tue, 07 Jan 2014 04:08:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=GqPFCBJ+8q9CnrF6bg/AFHBau3R04IDOkNOeKq1kz6w=; b=W+5xN49khE9e9lP3sSI5B1O8X4q0UZ62/psd3CEiCCgLe+j0DaNlrtKrCevuB2SWXy apZkeekoqgPq4SyHXymAI9EFBprvpdcugVA1XxSY0TTexrGOnYf7HEEucsCviK0Mk01t HdZEBjcePmu6d/Vt5+BWhz9nBq9yEAG9987sl3gOgSqsX+5dq3ZDwpf0MVEJ3z4/hb0c /O+PolcsNqvkjUgUOfQa5vZGySz8z0lHN69Fxg6cLtMDoNZpk9JJlizbTSTTasS4o8Ru cD+nQNePYnPPYfIblaoGwUQ4SRM0rawil7kHs1mKVxL/o7xsA4I0NMVIJYO9EcUZgDC5 36sQ== X-Received: by 10.180.228.132 with SMTP id si4mr16453747wic.2.1389096500853; Tue, 07 Jan 2014 04:08:20 -0800 (PST) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id po3sm45191962wjc.3.2014.01.07.04.08.19 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 07 Jan 2014 04:08:20 -0800 (PST) Date: Tue, 7 Jan 2014 12:08:17 +0000 From: Adam Thompson To: Edbrowse-dev@lists.the-brannons.com Message-ID: <20140107120817.GJ11201@toaster.adamthompson.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Subject: [Edbrowse-dev] js progress update X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jan 2014 12:08:37 -0000 Hi all, I've now got a version which works with most of the bundled jsrt tests, I'm just trying to work out why the form buttons cause it to segfault. There were a bunch of issues, both the need to use the new rooting api and also the fact that they've changed the way js compartments and globals interact within individual contexts. This basicly means that as well as storing a window's context we now have to store that context's global object as well (at least I've yet to work out a nicer way of doing this). This is so the context can be switched into the same compartment as its global object. I attempted to just switch the context and leave it there but this exploded spectacularly when going back a page. Cheers, Adam. PS: if you want to see the progress, the repo is at: https://github.com/arthompson/edbrowse.git