From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 16F0377CC9 for ; Fri, 12 Jun 2015 13:20:59 -0700 (PDT) Received: by wibdq8 with SMTP id dq8so26173294wib.1 for ; Fri, 12 Jun 2015 13:22:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=TGZE7m9+qfpqRpFUevHIIih/4IqyxgiOUlwK6K65U94=; b=ZF4WA55PsOa+8rrpSaeew2sNQmlcnyrOpBWPqPm/v1IsgY6iWx391KZxjgLbPKmCc7 DgCOnAL7dotm+LA28tqWT5vw0F3KHpmBYhLSbWuHNMGz2Ya0Aeud86dGjwBA8t0f7G7R QEXte07JTu61OT6NsU3TsEP6m8IX0eRQY3OMG9+ZQEMhgxuMbgA2uYXChqv6B446YwXu joGcKoqQb6jUBPrnLM1o1LgZ3UzLaG5FRF9d/00TWNKYrtXtPRMNqDNzTVLMolnnExN8 Tsdv+Y5pYaLJHSypEkI99jqU82tIZkfKbRO2UhUEcZf29ulg258YtA3u/v2nkoLRzAEg TRXA== X-Received: by 10.180.82.100 with SMTP id h4mr10166583wiy.34.1434140535914; Fri, 12 Jun 2015 13:22:15 -0700 (PDT) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id ei8sm7330106wjd.32.2015.06.12.13.22.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jun 2015 13:22:14 -0700 (PDT) Date: Fri, 12 Jun 2015 21:22:06 +0100 From: Adam Thompson To: Karl Dahlke Message-ID: <20150612202206.GA2849@toaster.adamthompson.me.uk> References: <20150511012209.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3MwIy2ne0vdjdPXF" Content-Disposition: inline In-Reply-To: <20150511012209.eklhad@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Edbrowse-dev@lists.the-brannons.com Subject: Re: [Edbrowse-dev] js engine strings 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: Fri, 12 Jun 2015 20:20:59 -0000 --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 11, 2015 at 01:22:09AM -0400, Karl Dahlke wrote: > I converted all the jseng-moz.cpp strings from c++ to c, > using the usual string management routines. > The only c++ constructs are those required by the mozilla api. > It should be easy now to convert this to a c process, as in duktape. Thanks. Sorry I've not been as active with development recently, hopefully = I'll have the time to get this done soon. > Along the way I found and fixed a bug related to document.cookie. > This is a doorway to set and read cookies. >=20 > document.cookie =3D "foo=3D1"; > document.cookie =3D "bar=3D2"; > alert(document.cookie); >=20 > This should print > foo=3D1; bar=3D2 > but it only retained the last cookie, and would show > bar=3D2 > A lot of websites rely on cookies, and don't work right without them, > and some of these sites use javascript to manage cookies, > so it's important that we get this one right. >=20 > As usual, the bug went unnoticed because it was not tested in jsrt. > I added a test for this now. Do such cookies also get stored as normal in Edbrowse? I only ask since I'm wondering if this explains why the "remember me" box on a couple of web apps I use fails to work once I close the browser. Cheers, Adam. --3MwIy2ne0vdjdPXF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVez9uAAoJELZ22lNQBzHOP1YH/2BbZXkHN64vPrTLXEGN94Av vO5AjZokmzriWX0/5UyACmL+Mxrkwl7araWZzxohvGAwvY5QyHSN5jyaMmexQLbP PTKxNIH5JV2d5v3SV2Q4v5i6NhWR3tFTePcjGbn+nREohoHdWQOsGwl/taG1UzuE h3uDc4bvxG4GZkJ70mCQ/SnDUNs6VKbEUXk7YP98OneCZZXPmMp5HYH9tcvd0WL/ ZMsv5wOB+EIebfexPLGbdQsfxK0i5VcMcxfwHpjGPq9iZHQr8sYxituGmrHI8A7l IVOiGEZ0NVSVr2hWnNHUTGQjTARMPsZOJYiJ+T0VqybH8t/VR6dC7lWEvylhOQA= =gr3t -----END PGP SIGNATURE----- --3MwIy2ne0vdjdPXF--