From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out.smtp-auth.no-ip.com (out.smtp-auth.no-ip.com [8.23.224.60]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 8062B7913E for ; Wed, 1 Feb 2017 17:15:50 -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 A212B5F7 for ; Wed, 1 Feb 2017 17:16:43 -0800 (PST) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id v121GgVa026657 for ; Wed, 1 Feb 2017 17:16:42 -0800 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id v121Gg6j026650 for ; Wed, 1 Feb 2017 17:16:42 -0800 Date: Wed, 1 Feb 2017 17:16:41 -0800 (PST) From: Kevin Carhart To: Edbrowse-dev@lists.the-brannons.com In-Reply-To: Message-ID: References: <20170030060040.eklhad@comcast.net> <20170131192711.GB2022@odin> 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] acidtests.org X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.23 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2017 01:15:50 -0000 This is great. This is going to be a big deal. The javascript in acidtests.org contains a tests[100] array. Each of the 100 elements is the code for one of the 100 tests. The code actually appears to be handmade and intended to be read and comprehended. So if I go to jdb and paste something in that runs a handful, or all 100, I get coherent feedback on what's wrong! And unlike the usual endless chutes and ladders and a million meandering, nested calls, the tests are bitesized and not out of the question to actually understand. So I got stuff like this: tests[1]() jdb line 188: TypeError: doc is undefined tests[2]() jdb line 188: TypeError: doc is undefined tests[3]() jdb line 188: TypeError: doc is undefined tests[4]() jdb line 376: TypeError: document.createNodeIterator is not a function tests[5]() jdb line 471: TypeError: document.createTreeWalker is not a function tests[6]() jdb line 188: TypeError: doc is undefined tests[7]() jdb line 522: TypeError: document.createRange is not a function tests[8]() jdb line 554: TypeError: document.implementation.createDocument is not a function tests[9]() jdb line 188: TypeError: doc is undefined tests[10]() 1 And you can get your score out of 100 by echoing score score 22 So we pass around a quarter of the tests apparently. This is really good to know about, thanks for concentrating on acid3, Adam! Kevin On Tue, 31 Jan 2017, Kevin Carhart wrote: > > Apparently almost all the action is in script eight, numbering from zero. > It's 172k characters.. I wonder where to begin. > > document.scripts.length > 10 > > ds0 = document.scripts[0].data > ds1 = document.scripts[1].data > ds2 = document.scripts[2].data > ds3 = document.scripts[3].data > ds4 = document.scripts[4].data > ds5 = document.scripts[5].data > ds6 = document.scripts[6].data > ds7 = document.scripts[7].data > ds8 = document.scripts[8].data > ds9 = document.scripts[9].data > > ds8.length > 172980 > > It's nice to know we are dealing with developers who have a sense of humor: > > var kungFuDeathGrip = null; // used to hold things from test to test > var tests = [ > . > . > . > > _______________________________________________ > 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