From: Karl Dahlke <eklhad@comcast.net>
To: edbrowse-dev@edbrowse.org
Subject: [edbrowse-dev] Abort from within duktape when visiting...
Date: Mon, 09 Dec 2019 05:41:58 -0500 [thread overview]
Message-ID: <20191109054158.eklhad@comcast.net> (raw)
In-Reply-To: <20191208165716.GG194728@toaster>
so far ...
Investigation reveals a js file
https://ajax.cloudflare.com/cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.js
which overwrites readyState with a getter and no setter.
When I try to set it with a simple unprotected duktape call it core dumps.
I could make set_property_string protected, or make a special protected version
that I use from time to time, but for now I'm lazy and just call
document.readyState='complete' as a script.
It only runs once per browse and won't impact performance.
The website comes up now.
This is not a perfect or ideal solution.
Also there is another error in another js file on this site that I haven't tracked down yet.
Karl Dahlke
prev parent reply other threads:[~2019-12-09 10:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-07 17:28 [edbrowse-dev] Abort from within duktape when visiting https://www.digicatapult.org.uk/careers Adam Thompson
2019-12-07 22:14 ` Karl Dahlke
2019-12-08 13:53 ` Adam Thompson
2019-12-08 15:26 ` [edbrowse-dev] Abort from within duktape when visiting Karl Dahlke
2019-12-08 16:57 ` Adam Thompson
2019-12-09 10:41 ` Karl Dahlke [this message]
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=20191109054158.eklhad@comcast.net \
--to=eklhad@comcast.net \
--cc=edbrowse-dev@edbrowse.org \
/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).