From mboxrd@z Thu Jan 1 00:00:00 1970 X-Greylist: delayed 489 seconds by postgrey-1.37 at hurricane; Tue, 25 Jun 2019 06:41:29 PDT Received: from nautica.notk.org (ipv6.notk.org [IPv6:2001:41d0:1:7a93::1]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 79D5977B04 for ; Tue, 25 Jun 2019 06:41:29 -0700 (PDT) Received: by nautica.notk.org (Postfix, from userid 1001) id E564AC009; Tue, 25 Jun 2019 15:33:16 +0200 (CEST) Date: Tue, 25 Jun 2019 15:33:01 +0200 From: Dominique Martinet To: edbrowse-dev@lists.the-brannons.com Subject: [edbrowse-dev] Missing duktape features Message-ID: <20190625133301.GA2099@nautica> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Hi, First - thanks for snapshot(), that makes things so much easier! Now, I am using a website which uses new javascript features which are not implemented yet in duktape. Unfortunately that website is a private interface to my internet provider so I cannot share it, but basically I have three problems : - they define some strings with "template literals", that are strings that can span on multiple lines delimited with backticks, with some different rules about variables expansion. They do not use any variable in there but duktape chokes on the unknown syntax in that file. There is an open duktape issue for this one: https://github.com/svaarala/duktape/issues/273 - The second feature they use is the "let" keyword, that works kind of like "var" except it scopes to a block delimited by curly braces. This also has a duktape issue already: https://github.com/svaarala/duktape/issues/2000 What would be the way to go forward with these two issues ? I would suppose the best would be to work with duktape and implement these there, I'll post on their issue tracker depending on what you recommend. - With a local snapshot and these two issues worked around I have a last problem with dropdown menues that is not specific to that site's js, I picked some arbitrary example online to reproduce this one : https://www.quackit.com/html/html_editors/scratchpad/preview.cfm?example=/bootstrap/bootstrap_3/tutorial/bootstrap_3_dropdowns There you can see a single "About Us" button, but we see no js associated with it when there should be. I'm not sure how to debug that when there is no visible js error left. I think it should associate it from the data-toggle attribute when running the bootstrap.min.js script Thanks, -- Dominique