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
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev


--------
Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to