From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from resqmta-ch2-02v.sys.comcast.net (resqmta-ch2-02v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:34]) by hurricane.the-brannons.com (Postfix) with ESMTPS id A7C0C7789A for ; Tue, 10 Sep 2019 02:16:25 -0700 (PDT) Received: from resomta-ch2-11v.sys.comcast.net ([69.252.207.107]) by resqmta-ch2-02v.sys.comcast.net with ESMTP id 7cEwiiaIPIZAX7cG8i1NWn; Tue, 10 Sep 2019 09:16:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1568106984; bh=z2anypYaDiQ9NIZL5F6NVXMn8MtHaRPq2UIRO5lHQuE=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=iIFV/mbph2swyB5oY8Wqbptrj5jenBlQk/t8i8zkhGs0MzAWt2QcgMLXGw0HYD5ZO apxb5kG+E40nPiKpa3uvX75UVDaD2lB0o+Eyay4nRA1dSWuXFc5tGoaCUUU7CuI/SP VmjbR/ARxeRYRS4YkLKq5T40pClWiFyc/DIdIsJ4uwM1+TXMl+r02kiUTdwCcmpdy5 AAPffi9O1CXIjjvwZpVPJZkC/meOPZzfrgr+UwDw1dUrCPV9yLhpovqkMtO8jBdP2B ILSdOTpDDQGaw2nuBdi4wYic2+XJH/AbUFgGWv1YqZNpZUkdO5eCFyy1eHIQ2qXGSd IEW6FdN4C12sw== Received: from unknown ([IPv6:2601:408:c303:3f49:21e:4fff:fec2:a0f1]) by resomta-ch2-11v.sys.comcast.net with ESMTPSA id 7cG7i1AcvKoBm7cG8ixpqJ; Tue, 10 Sep 2019 09:16:24 +0000 X-Xfinity-VMeta: sc=0;st=legit To:edbrowse-dev@edbrowse.org From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) Subject: [edbrowse-dev] function.toString Date: Tue, 10 Sep 2019 05:16:23 -0400 Message-ID: <20190810051623.eklhad@comcast.net> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit As per my earlier email about an infinite loop, it maybe shouldn't be running that code at all, because of an earlier test. Consider this. o = {removeCookie:function(){}}; o.removeCookie.toString(); duktape gives us this. function () { [ecmascript code] } But the web page expects it to match the regexp \w+ *\(\) *{\w+ *['|"].+['|"];? *} Which it does not, and then it goes down a strange path. Perhaps you have access to other engines like v8 or js24 etc, or just put it in an alert in javascript and see what other browsers do with it. Is ducktape doing something nonstandard? Karl Dahlke