edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Dominique Martinet <asmadeus@codewreck.org>
To: edbrowse-dev@lists.the-brannons.com
Subject: [edbrowse-dev] Missing duktape features
Date: Tue, 25 Jun 2019 15:33:01 +0200	[thread overview]
Message-ID: <20190625133301.GA2099@nautica> (raw)

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

             reply	other threads:[~2019-06-25 13:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-25 13:33 Dominique Martinet [this message]
2019-06-29 22:57 ` Kevin Carhart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190625133301.GA2099@nautica \
    --to=asmadeus@codewreck.org \
    --cc=edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).