From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-01v.sys.comcast.net (resqmta-ch2-01v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:33]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 1E6D47895D for ; Thu, 1 Oct 2015 03:20:47 -0700 (PDT) Received: from resomta-ch2-14v.sys.comcast.net ([69.252.207.110]) by resqmta-ch2-01v.sys.comcast.net with comcast id PmQB1r0012PT3Qt01mQBRz; Thu, 01 Oct 2015 10:24:11 +0000 Received: from eklhad ([IPv6:2601:405:4002:b0a:21e:4fff:fec2:a0f1]) by resomta-ch2-14v.sys.comcast.net with comcast id PmQA1r00N0GArqr01mQAyQ; Thu, 01 Oct 2015 10:24:11 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.5.4.2+ Date: Thu, 01 Oct 2015 06:24:10 -0400 Message-ID: <20150901062410.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1443695051; bh=0aXn6kgvo6P5E7Z5AMpKKWlmwmBvoxByvUK5gsQ3uMk=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=i8WUY7qgf7CY0Fu65FH3ZK+9CVRumKwMd9hftXXrtsmyc83q1+kBuWfs1nbIweNzR 9D4sexEKu4Vfzuxxya/px96wCTW+jnRxzFa86bfRE1Cz1Fk/NUa8iQWw6NhPQwyOgS XSzsAChdc35VWCLOVWIu1gOvG8pzf+4MEDkiYZkagfvP0oKmRm6C6zSZjI+lqTOWXU RP3o2jBzZJcYQDsOblDAoDwW4NKOWmlZqqdepcxgqsIrA72hs1UWdOvqD2JPYVviHd ND5m87fEUviDu3O2RY2fgSyhgBXVSVyqOa6XhDzFKZzgGeTTX8fo1iBJpknmzqDHyH xYbXu3xxlI3Uw== Subject: [Edbrowse-dev] js circumvented X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 10:20:47 -0000 Q. How can you read local files on your computer, that aren't in html, and still run out of js memory? a. If those files are very large, and in a format like pdf or some such that is turned into html and rendered, then you may have megabytes of html, all turned into js nodes, even the individual words turned into text nodes. And yet there is no javascript in the generated html, and it's all a waste, even slows down performance even if you did have memory for it. I think I should write a routine to detect the lack of js ahead of time and disable it for this session. Honestly it's easy to do. loop over tags, if there is no