From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-po-11v.sys.comcast.net (resqmta-po-11v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:170]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 625EC78F5E for ; Tue, 13 Jan 2015 13:13:30 -0800 (PST) Received: from resomta-po-13v.sys.comcast.net ([96.114.154.237]) by resqmta-po-11v.sys.comcast.net with comcast id fZAJ1p00357bBgG01ZAt0V; Tue, 13 Jan 2015 21:10:53 +0000 Received: from eklhad ([IPv6:2601:4:5380:4ee:219:21ff:feb9:ba8d]) by resomta-po-13v.sys.comcast.net with comcast id fZAs1p00Q08MP5701ZAt7x; Tue, 13 Jan 2015 21:10:53 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.5.2 Date: Tue, 13 Jan 2015 16:10:52 -0500 Message-ID: <20150013161052.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=1421183453; bh=xPb1nEOubls+y4YXL/7gz9DsZIc3rmcqKWLywCQ6I4E=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=SzghbsLzBUfZR8zQdGvNzECxKZFb4aYIE5962uZ+RRimhc8jZrpwdxz8Kt0kMVxjQ 9BPlP6K8SCJwT/1OlNrsZBIoM934zvWIjm9C24XukXd0emvOG+paDa9Wz4nYMcUr9v 7luuXQxz+O7dhLUn6tsimDljEUIi1Z7HUVfK1bVm1OhqSN5DvxhUc2b8HJriQHT7Be tz9MH2Urpg9p6I4/l6t3BPOdoTMVrYDre7ULBkRFZ3L1z7g3oePVAazWiWMc+q8kG1 ySo8rWX8aCt2NQmuZcXApq7huqPfpvWGl8Qhgjka5/YYouG/gPo4R0OPkBeV1cJtAW eooh4RqADjvOw== Subject: [Edbrowse-dev] startwindow.js changes X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2015 21:13:30 -0000 Well it did break something in jsrt, though small. You removed the lines that link the new elements into the arrays of said elements, and honestly I don't know what the correct behavior is here. When I create a script, should it be in the list of scripts? I don't know. The last function document.script$$pending() assumes that a script created will be in this list, and then looks through this list for scripts pending, for a script to run that hasn't been run. If a created script should not be put on the list document.scripts, then we have to put this one somewhere, in some kind of queue, so it can be run. jsrt exercised this feature by creating one final script which, when run, put one line at the end of jsrt.browse. The line use to say {Last Link}. That line is not there any more, because the last script never runs, because it is not placed in document.scripts. We may need to do a little research to see how it *should* behave. Either these elements get put in their corresponding lists automatically, or if not then we need to implement a run queue for created scripts. Karl Dahlke