edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [edbrowse-dev] Missing duktape features
@ 2019-06-25 13:33 Dominique Martinet
  2019-06-29 22:57 ` Kevin Carhart
  0 siblings, 1 reply; 2+ messages in thread
From: Dominique Martinet @ 2019-06-25 13:33 UTC (permalink / raw)
  To: edbrowse-dev

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [edbrowse-dev] Missing duktape features
  2019-06-25 13:33 [edbrowse-dev] Missing duktape features Dominique Martinet
@ 2019-06-29 22:57 ` Kevin Carhart
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Carhart @ 2019-06-29 22:57 UTC (permalink / raw)
  To: edbrowse-dev


> problem with dropdown menues that is not specific to that site's js, I

On click, dispatch definitely runs.  It successfully gets the onclick code 
from document.  And if you place numbered alerts with 
trace, you find that a click generates a lot of activity, visiting 
both jquery and bootstrap.  So at least the "button" control is 
interactive and handling a click, up to a point.  I am still digging around.


Kevin


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-29 22:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-25 13:33 [edbrowse-dev] Missing duktape features Dominique Martinet
2019-06-29 22:57 ` Kevin Carhart

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).