From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:400c:c09::22f; helo=mail-wm0-x22f.google.com; envelope-from=arthompson1990@gmail.com; receiver= Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 5428077A9A for ; Thu, 15 Feb 2018 10:32:27 -0800 (PST) Received: by mail-wm0-x22f.google.com with SMTP id h74so2582690wme.5 for ; Thu, 15 Feb 2018 10:33:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=GXlwFBmiP0i42SguGasnT7jWJNsQPg5/MKg7CHCYAOg=; b=NdNUuC9ZtZy2jj+gXUMJRE+jwUEqL6P7NtAkR9hj/gsdv95ExNx6740ylbUovw8C3S V7QTssfEJCmv9GVeU3fIxk21aN48bc/HbJKLZajiM/N26OOfCskME+dU+r3AvRV6JLnP YMLTFfARIE7Xx8Vc0u6OTX96frtcN/yNnxESjuAOYq3Jz/7zEkjEZc4siUi1HWtV2TER Jp/3f8SbLEj1V6mWBSwvM0wa2WSvV3Fo29LkBrcK22jjU6eGfTVDKrOitjMmEzFXcNeL +9YxYROonvU4aNbfr6mVdS0MopL2dYyfWnTfK52IwGheoNNG1Ysd5So1C3GOTEMTVJsJ N6uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=GXlwFBmiP0i42SguGasnT7jWJNsQPg5/MKg7CHCYAOg=; b=rqzcbBgjeDcZXeVnLxotfBv2CGrmgFzEOY9p4TAN6tcyd7mY/VdNwSHDGCovHyaktf NsOf92NhtuqfAeMNMyufb9m1LEC4tuCfKbQn8x7XgiXb8RqGSL5tgYE94kpiZbS11zBG UH2pHc/w40auga8LmXHqwK/vMbWakC6Y3aqC0cpYTvkTTkx/XsxH4UmU02kctsDUPE6l XLhd+kkHFYFVx0AoZJAFh9wiVE7PM7cE8DBIOSlVqJhYBbo3c+YgWM8Xh7WSkHH0KnIP FAc/0WQVuVnA57kwJptx/CY4gpp8SM5lip9bNUYfqJbHA5Y6SvEgY1h/R1hLtoI1eLHE Nx0w== X-Gm-Message-State: APf1xPCqO5Ogbg9t94eaDehaywIm21rTGavUATUQjRHv50NxzdwL9Yre tecbhuACwl11KfNruayL//g= X-Google-Smtp-Source: AH8x2259Q36kp4DVg/v0k1YQ5SO7uQzyOpms81pWjY0NQgPIRJpAq4cGcW2EOYdn2Mp2A9G/CgKb/Q== X-Received: by 10.28.247.25 with SMTP id v25mr3056129wmh.10.1518719595953; Thu, 15 Feb 2018 10:33:15 -0800 (PST) Received: from toaster (a.5.9.3.b.f.e.f.f.f.4.4.2.d.a.2.2.4.0.9.2.4.1.1.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1142:9042:2ad2:44ff:fefb:395a]) by smtp.gmail.com with ESMTPSA id v20sm15367307wrd.32.2018.02.15.10.33.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Feb 2018 10:33:15 -0800 (PST) Date: Thu, 15 Feb 2018 18:33:09 +0000 From: Adam Thompson To: Karl Dahlke Cc: Edbrowse-dev@lists.the-brannons.com Message-ID: <20180215183309.hbqc6lwfqh5npwiq@toaster> References: <20180115061329.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180115061329.eklhad@comcast.net> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [Edbrowse-dev] frameElement, infinite loop X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.25 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2018 18:32:27 -0000 On Thu, Feb 15, 2018 at 06:13:29AM -0500, Karl Dahlke wrote: > Well that was a few hours of painful stepping through horribly cryptic javascript. > As you recall, www.stackoverflow.com referenced > https://js-sec.indexww.com/ht/p/185901-159836282584097.js > which in turn ran forever, and even ran forever on its own, outside the context of stackoverflow.com. > That's good I guess, it means I only had one file to slog through. > > The problem was frameElement, which we never implemented. I didn't even know about it. (This is where the acid tests might help.) > Only took 17 lines, and there it is, and the loop goes away. > That's the thing though, js assumes our browser is perfect, and if it's not, there's no guarantee that js won't go off into an infinite loop. > It usually doesn't, but it could. Great, thanks for sorting this.