From: Karl Dahlke <eklhad@comcast.net>
To: Edbrowse-dev@lists.the-brannons.com
Subject: [Edbrowse-dev] Red Hot
Date: Tue, 03 Nov 2015 03:02:05 -0500 [thread overview]
Message-ID: <20151003030205.eklhad@comcast.net> (raw)
In-Reply-To: <alpine.LRH.2.03.1511022246230.18650@carhart.net>
Always investigate every mystery.
It's always trying to tell us something.
This infinite loop is caused by:
for(;e.firstChild;)
e.removeChild(e.firstChild);
Clearing all the nodes out from under e, simple enough,
but I implemented firstChild as a function, e.firstChild(),
so e.firstChild is always true.
Oops.
firstChild is a property, a magic property
that always means this.childNodes[0].
Wow, how can we implement that?
Well there's a way, and it doesn't require native code, thank heaven,
but I will need to muck with all the firstChilds in starrtwindow.js,
so I think I'll hold off until Kevin sends me his next cloneNode.
Karl Dahlke
next prev parent reply other threads:[~2015-11-03 8:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-02 23:41 Karl Dahlke
2015-11-03 6:51 ` Kevin Carhart
2015-11-03 8:02 ` Karl Dahlke [this message]
2015-11-03 8:20 ` Adam Thompson
2015-11-03 8:34 ` Karl Dahlke
2015-11-03 22:59 ` Adam Thompson
2015-11-03 8:14 ` Adam Thompson
2015-11-03 8:36 ` 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=20151003030205.eklhad@comcast.net \
--to=eklhad@comcast.net \
--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).