From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (mailfrom) identity=mailfrom; client-ip=8.23.224.60; helo=out.smtp-auth.no-ip.com; envelope-from=kevin@carhart.net; receiver= Received: from out.smtp-auth.no-ip.com (smtp-auth.no-ip.com [8.23.224.60]) by hurricane.the-brannons.com (Postfix) with ESMTPS id B6C5277AAF for ; Sun, 18 Feb 2018 19:57:32 -0800 (PST) X-No-IP: carhart.net@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from carhart.net (unknown [99.52.200.227]) (Authenticated sender: carhart.net@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id EDB1E103 for ; Sun, 18 Feb 2018 19:58:29 -0800 (PST) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id w1J3wSYp028567 for ; Sun, 18 Feb 2018 19:58:28 -0800 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id w1J3wS0D028564 for ; Sun, 18 Feb 2018 19:58:28 -0800 Date: Sun, 18 Feb 2018 19:58:28 -0800 (PST) From: Kevin Carhart To: Edbrowse-dev@lists.the-brannons.com In-Reply-To: Message-ID: References: <20180115065635.eklhad@comcast.net> <20180118090856.eklhad@comcast.net> User-Agent: Alpine 2.03 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: [Edbrowse-dev] update on dyndns 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: Mon, 19 Feb 2018 03:57:33 -0000 Actually, the rectangles error happens later on, so I don't think it is related to this particular unresponsive button. Though it is still probably useful overall to supply the rectangles thing later. But there is a bad JSON error in mmapi.js which happens adjacent to the request for "notice", which brings back and processes the div that contains these buttons. I bet that the code that is supposed to imbue these buttons does not complete because of the JSON problem. I'm in mmapi a little, and I think it has to do with getting and setting cookies. "Storage" is mentioned, but it does not appear to be hitting our localStorage. The functions are "get" and "set", which is not what localStorage uses. The bad JSON seems to be a name with no value, like {"v":} On Sun, 18 Feb 2018, Kevin Carhart wrote: > > Thank you for working on them! I noticed that you wrote a searchscripts(). > That's useful. I was doing the same thing recently, crudely with > blah.split("mystring").length > > But that is an example of where long expressions in jdb, with a varying bit > in the middle of a long static bit, is annoying to continually assemble over > and over, so searchscripts is easier, and easy to memorize. > > And static analysis is one way of tackling errors in event code, where we > don't have a filename or line number reported, right? > > I'm also replying here to Chuck's report about dyndns. Thanks for raising > this, Chuck. > > Well, I noticed this when I run dyndns.com with db3: > > TypeError: undefined not callable (property 'getClientRects' of [object > Object]) > failure on 0xf63938.onload() > execution complete > > I'm going to investigate if we can satisfy this with some stubs. Maybe it > will be similar to our set of stubs for Canvas. There's a related function, > getBoundingClientRect. Both of these things had runtime errors in quite a > few sites in my top sites experiment yesterday. So by fixing it for dyndns we > should also fix it for some other situations at the same time. > > https://developer.mozilla.org/en-US/docs/Web/API/Element/getClientRects > https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect > > Kevin > > _______________________________________________ > Edbrowse-dev mailing list > Edbrowse-dev@lists.the-brannons.com > http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev > -------- Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists