* [edbrowse-dev] function.toString
@ 2019-09-10 9:16 Karl Dahlke
0 siblings, 0 replies; only message in thread
From: Karl Dahlke @ 2019-09-10 9:16 UTC (permalink / raw)
To: edbrowse-dev
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-09-10 9:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-10 9:16 [edbrowse-dev] function.toString Karl Dahlke
edbrowse-dev - development list for edbrowse
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://inbox.vuxu.org/edbrowse-dev
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V1 edbrowse-dev edbrowse-dev/ http://inbox.vuxu.org/edbrowse-dev \
edbrowse-dev@edbrowse.org
public-inbox-index edbrowse-dev
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://inbox.vuxu.org/vuxu.archive.edbrowse.dev
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git