From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (mailfrom) identity=mailfrom; client-ip=8.23.224.62; 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.62]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 7102877DE8 for ; Sun, 20 Aug 2017 13:00:24 -0700 (PDT) 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 045E1558; Sun, 20 Aug 2017 13:00:40 -0700 (PDT) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id v7KK0dxO011765; Sun, 20 Aug 2017 13:00:39 -0700 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id v7KK0c3x011759; Sun, 20 Aug 2017 13:00:39 -0700 Date: Sun, 20 Aug 2017 13:00:38 -0700 (PDT) From: Kevin Carhart To: Karl Dahlke cc: Edbrowse-dev@lists.the-brannons.com In-Reply-To: <20170720103337.eklhad@comcast.net> Message-ID: References: <20170719113834.eklhad@comcast.net> <20170720103337.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: Re: [Edbrowse-dev] acid[0] X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.24 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Aug 2017 20:00:25 -0000 Wow! Thank you for doing all of this! > It's so simple and clean. Yes, the parser in particular seems to be very high quality. The developers have notes that call it "battle tested". > querySelectorAll is not as simple. As Kevin pointed out, other websites > use the same construct, maybe even the same code, and I don't want their > function to collide with our function, especially if they work somewhat > differently, so I call ours eb$qs. I'd like to clarify something here. When nasa.gov calls querySelectorAll, it is on the same order as appendChild as far as that web developer is concerned. They expect it to be provided by the browser, which for all they know is a compiled, closed-source browser. Isn't collision not exactly right for the situation? Other websites use the same construct but only to call and expect it to be provided. There's nothing wrong with calling ours eb$qs, but are we then going to create a wrapper so that page code can lock on to it by name? - There's one more thing to mention that might be relevant. It's wonderful that you dove in! We might need to calibrate the querySelector code for browsers rather than node, which is the system for server-side javascript (I think it's like an interpreter - I may be describing it wrong. I have used it, but not that much.) If there are references to "exports", I think these need to be removed. I have definitely gotten qS working with edbrowse in the past! But I have not gone through the motions recently. Maybe you are way ahead of me if you got it working. > It calls a method getAttributeNode which we don't have. Oops. It's entirely possible that I implemented this in the same experimental build where I got qS working and have never turned it in. I will check. Kevin