From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:558:fe21:29:69:252:207:36; helo=resqmta-ch2-04v.sys.comcast.net; envelope-from=eklhad@comcast.net; receiver= Received: from resqmta-ch2-04v.sys.comcast.net (resqmta-ch2-04v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:36]) by hurricane.the-brannons.com (Postfix) with ESMTPS id C6B5E787E9 for ; Thu, 25 Jan 2018 22:43:01 -0800 (PST) Received: from resomta-ch2-18v.sys.comcast.net ([69.252.207.114]) by resqmta-ch2-04v.sys.comcast.net with ESMTP id exjFeEhqQxbkoexjGeKWRt; Fri, 26 Jan 2018 06:43:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1516948994; bh=S0EC1kD4AUZ9bIOeFLvkVvAVAARRfLMbnUU6JrydQ7A=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=HnKNTcrhW9eSQoCMHgz8vrz01/Jh6IMqEWFYe8KJ3IakH8NHM0YzXgUvRTPfW2/vV vP0D/ptMCm1vou9RRFZbJmTKpjKdS1gx062ARfMA1pXa5WDLf23j5bcItzHuOMRt+/ uVwkBQ67vzqr+lm8oTZ2GBJXcXE++xDz2usUk2G5khvE+GgnhlnQTtgeQITwoRIXye 1gCjaKuZW65YmWkx31J3jAPbX3Qd9ao4puopW3lxYa9Yndg2NyGncow6+Cf+C6yhWF X+pZSHcNlF+4jsBmsAc18e6fNtRewYUo6ANdvsmZ4O2Kpwbb3CsQjAJjWdnrLKEY7i b7VDedqxx/18Q== Received: from unknown ([IPv6:2601:408:c300:8f09:21e:4fff:fec2:a0f1]) by resomta-ch2-18v.sys.comcast.net with SMTP id exjFes1cbXRegexjFeM3Rc; Fri, 26 Jan 2018 06:43:13 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: <20180019150815.eklhad@comcast.net> User-Agent: edbrowse/3.7.1 Date: Fri, 26 Jan 2018 01:43:13 -0500 Message-ID: <20180026014313.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-445718 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfIrQGOplNnmE6T/ZeBbizZnlnO2sfMVj7S1xNWQJodLomEcJ7x0fHNoAWE+lMyUhiAM9lGMQGIRDNHeAsEKiiM0TVN0BvuDnmdr39nZHX4kHh630GC7Q lGep9j2OLxdTUqqXPm1nQGHtjylWnxoaNv0IKdD0wlVE4AU9TGiIZe53 Subject: [Edbrowse-dev] nasa / prepending "on" to events X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.25 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2018 06:43:02 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --nextpart-eb-445718 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ok, I made this change, but it raises yet more questions. An onclick tag in html creates a function called onclick(), executable = via foo.onclick(). It does not get stripped to click(). And when we click on that button, we are running onclick(), not click(). I'm pretty sure that's right. So how does that mesh with click()? When you click on a button or link, are we suppose to try to run both = click() and onclick()? If not, then when on earth do the click() handlers run? Same question for unload(). I run onunload() when a page is finished, should I also be running = unload()? I'm confused. Another interesting snippet from your code is r !=3D=3D r.top That is a test to see if we're a frame inside the window, not the top = window. It means the stuff after is only suppose to happen in frames. You can see top being set in http.c line 2643. I mention this because it first looks mysterious, but I'm pretty sure = that's what it's doing, and I'm pretty sure edbrowse does it right. A time (to illustrate) when we want =3D=3D and not =3D=3D=3D is = startwindow.js line 1156. Karl Dahlke --nextpart-eb-445718--