00:02:02  * unixpicklequit (Quit: Textual IRC Client: www.textualapp.com)
00:20:29  * qardjoined
01:09:27  * qardpart
01:11:26  * iamdustanjoined
01:21:07  * caitpquit (Ping timeout: 240 seconds)
01:37:59  * jmar777_joined
01:38:45  * jmar777quit (Read error: Connection reset by peer)
01:41:14  * qardjoined
01:43:47  * iamdustanquit (Ping timeout: 255 seconds)
01:45:55  * qardquit (Ping timeout: 265 seconds)
01:55:31  * iamdustanjoined
02:15:27  * iamdustanquit (Ping timeout: 252 seconds)
02:18:12  * caitpjoined
02:27:00  * iamdustanjoined
02:41:59  * qardjoined
02:46:20  * qardquit (Ping timeout: 255 seconds)
02:50:43  * caitpquit (Ping timeout: 240 seconds)
03:42:45  * qardjoined
03:47:20  * qardquit (Ping timeout: 255 seconds)
03:53:55  * caitpjoined
04:17:59  * jmar777_quit (Remote host closed the connection)
04:19:55  * caitpquit (Ping timeout: 240 seconds)
04:26:41  * iamdustanquit (Ping timeout: 255 seconds)
04:43:32  * qardjoined
04:45:22  * qard1joined
04:47:50  * qardquit (Ping timeout: 255 seconds)
04:49:31  * qard1quit (Ping timeout: 240 seconds)
04:54:46  * C-Manjoined
05:24:43  * caitpjoined
05:43:02  * c4miloquit (Remote host closed the connection)
05:46:07  * qardjoined
05:47:47  * petka_joined
05:49:55  * caitpquit (Ping timeout: 240 seconds)
05:50:00  * qardquit (Read error: Connection reset by peer)
05:50:06  * qardjoined
05:50:19  * qardquit (Client Quit)
06:33:33  * wrdjoined
06:35:14  * caitpjoined
06:41:15  <trungl-bot>Tree closed by machenbach@chromium.org: Tree is closed (infra fix on the way)
06:44:20  * rendarjoined
06:50:43  * caitpquit (Ping timeout: 240 seconds)
06:52:00  * caitpjoined
07:00:21  <trungl-bot>Tree opened by machenbach@chromium.org: Tree is open
07:30:51  * saapazjoined
07:34:27  * mostynbjoined
07:37:41  * shrubberyquit (*.net *.split)
07:59:26  * Lethalmanjoined
08:49:21  * muelli_joined
09:14:24  <trungl-bot>Tree closed by buildbot@chromium.org: Tree is closed (Automatic: "Check" on "V8 Win32 - debug - 1" from 21378: bmeurer@chromium.org, vegorov@chromium.org, yangguo@chromium.org)
09:20:35  <trungl-bot>Tree opened by machenbach@chromium.org: Tree is open (profiler)
10:08:43  * caitpquit (Ping timeout: 240 seconds)
10:34:05  <trungl-bot>Tree closed by buildbot@chromium.org: Tree is closed (Automatic: "Check" on "V8 Win64" from 21381: hpayer@chromium.org)
10:35:39  * caitpjoined
10:36:06  <trungl-bot>Tree opened by bmeurer@google.com: Tree is open (New CPU Profiler flake?)
11:09:07  * caitpquit (Ping timeout: 240 seconds)
11:42:20  * bradleymeckquit (Quit: bradleymeck)
11:47:32  <trungl-bot>Tree closed by buildbot@chromium.org: Tree is closed (Automatic: "Mozilla" on "V8 Win32 - debug - 3" from 21383: bmeurer@chromium.org)
11:59:38  <trungl-bot>Tree opened by bmeurer@google.com: Tree is open (Investigating Mozilla crashers)
12:01:45  <petka_>doing obj[prop] where prop is not an index goes into deopt loop in 3.25.30 no matter what :|
12:06:48  * caitpjoined
12:25:01  <trungl-bot>Tree closed by buildbot@chromium.org: Tree is closed (Automatic: "Mozilla" on "V8 Linux64 - debug" from 21384: bmeurer@chromium.org)
12:37:07  * caitpquit (Ping timeout: 240 seconds)
12:45:52  * iamdustanjoined
12:57:14  * muelli_quit (Ping timeout: 240 seconds)
13:02:54  * bradleymeckjoined
13:04:04  * marja___quit (Read error: No route to host)
13:05:19  <trungl-bot>Tree opened by bmeurer@google.com: Tree is open (Mozilla test breaker reverted)
13:07:27  * davexunitjoined
13:08:48  * marja___joined
13:09:44  <davexunit>is this the appropriate channel for discussing a lexical scope oddity exhibited in some javascript code running in chrome?
13:12:01  <davexunit>I have a suspicion that it might be a v8 bug, given what I'm seeing when I debug.
13:12:11  <bradleymeck>davexunit: paste test case?
13:13:21  <davexunit>bradleymeck: I don't have a test case prepared yet, because the problem code lies deep within a larger application. could I give a brief description of my problem to see if you think it could be a v8 specific issue?
13:14:04  <davexunit>it's a tricky situation, so I'm still devising a way to replicate the problem in a small test case.
13:14:18  <bradleymeck>sure
13:14:48  <bradleymeck>also, just a query, how familiar are you with JS / JS scoping rules
13:14:53  * plutoniixjoined
13:15:13  <davexunit>I've run into a situation where the lexical environment of a function appears to have only a subset of what it should have.
13:15:47  <davexunit>bradleymeck: I'm pretty familiar, but I won't claim to know all of the quirks.
13:16:30  <bradleymeck>davexunit: how many function scope variables are there, are you putting function declarations in `if` statements?
13:18:46  <davexunit>here's a much-simplified example of the code structure. https://www.refheap.com/60477b174f84adcc637b10307
13:19:26  <davexunit>which consists of an anonymous function in a closure.
13:19:37  <bradleymeck>davexunit: so some closure variable comes back as `undefined` I am guessing
13:19:44  <davexunit>yes.
13:19:53  <davexunit>in this case, `a` is undefined for some reason.
13:20:09  <davexunit>even though it's in the lexical scope of the function.
13:20:13  <bradleymeck>most likely you shadowed a variable name by redeclaring it somewhere in the same scope
13:20:36  <bradleymeck>this would be apocalyptic if it occured, and v8 would find it asap
13:20:41  <bradleymeck>v8’s team*
13:21:47  <davexunit>I have been on the lookout for a shadowed variable, and thus far haven't seen it. I agree that this would be apocalyptic. The strange thing is that the code works in firefox!
13:22:24  <bradleymeck>well some rules are a bit odd about function declarations which is why I asked that, unsure about parameters
13:22:28  <davexunit>I'll keep investigating and see if I can come up with a real test case for a more in-depth conversation and hope that PEBKAC.
13:22:35  <bradleymeck>they don’t have any special hoisting rules
13:22:51  <davexunit>thanks for your help so far, bradleymeck.
13:23:07  <davexunit>going afk for a bit. I'll be back if I find anything new.
13:26:40  * muelli_joined
13:35:50  * caitpjoined
13:37:21  <davexunit>bradleymeck: PEBKAC, indeed. I realize how I got confused about what was going on.
13:38:30  <davexunit>I had edited the code that I was working with to no longer refer to 'a' within that anonymous function, but I was inspecting the lexical environment via a breakpoint for debugging purposes. It seems that since 'a' is unused with that function, an optimization pass eliminates it?
13:39:51  <davexunit>s/with/within/
13:41:01  <davexunit>and if spidermonkey doesn't perform that same optimization pass, 'a' is available from the console at the breakpoint.
13:41:46  <bradleymeck>davexunit: I might still post an issue because when using the debugger it should reconstruct any missing variables
13:46:42  <trungl-bot>Tree closed by buildbot@chromium.org: Tree is closed (Automatic: "Check" on "V8 Win32 - debug - 2" from 21387: bmeurer@chromium.org, jarin@chromium.org)
13:47:21  * C-Manquit (Ping timeout: 252 seconds)
13:48:05  * C-Manjoined
13:50:11  <davexunit>bradleymeck: will do. thanks.
13:55:47  * jmar777joined
14:07:35  * c4milojoined
14:07:51  <trungl-bot>Tree opened by jarin@google.com: Tree is open (reverted 21387)
14:07:55  * caitpquit (Ping timeout: 240 seconds)
14:37:02  * caitpjoined
14:52:17  * mostynbquit (Quit: Leaving)
15:01:07  * caitpquit (Ping timeout: 240 seconds)
15:03:18  * caitpjoined
15:04:46  * c4miloquit (Remote host closed the connection)
15:10:18  * bradleymeckquit (Quit: bradleymeck)
15:20:04  * c4milojoined
15:21:23  * bradleymeckjoined
15:25:03  * bradleymeckquit (Client Quit)
15:31:57  * bradleymeckjoined
15:51:07  * c4miloquit (Ping timeout: 240 seconds)
15:53:16  * RT|Chatzillaquit (Quit: ChatZilla 0.9.86.1 [Firefox 2.0.0.22pre/2009081014])
15:53:17  * c4milojoined
16:04:06  * wrdquit (Ping timeout: 276 seconds)
16:17:56  * iamdustanquit (Ping timeout: 255 seconds)
16:33:00  * Venemojoined
16:46:40  * Lethalmanquit (Quit: Sto andando via)
17:25:57  * iamdustanjoined
17:26:29  * bradleymeckquit (Quit: bradleymeck)
17:36:18  * muelli_quit (Ping timeout: 240 seconds)
17:56:16  * bradleymeckjoined
18:02:25  * jonaslundjoined
18:21:13  * Lethalmanjoined
18:29:49  * iamdustanquit (Ping timeout: 258 seconds)
18:40:26  * rendarquit (Ping timeout: 265 seconds)
18:41:15  * iamdustanjoined
18:57:18  * Lethalmanquit (Ping timeout: 240 seconds)
19:12:10  * Lethalmanjoined
19:17:09  * Lethalmanquit (Ping timeout: 276 seconds)
19:26:34  * iamdustanquit (Ping timeout: 240 seconds)
19:38:21  * c4miloquit (Remote host closed the connection)
19:45:24  * c4milojoined
19:59:19  * jmar777quit (Remote host closed the connection)
20:00:40  * Lethalmanjoined
20:06:33  * Lethalmanquit (Ping timeout: 276 seconds)
20:17:36  * Lethalmanjoined
20:20:03  * iamdustanjoined
20:26:44  * iamdustanquit (Ping timeout: 258 seconds)
20:37:34  * Lethalmanquit (Ping timeout: 240 seconds)
20:39:14  * unixpicklejoined
20:42:49  * Venemoquit (Quit: Communi 3.2.0 - http://communi.github.com)
20:45:20  * davexunitquit (Quit: Later)
20:55:18  * Lethalmanjoined
21:11:01  * bradleymeck_joined
21:23:28  * rendarjoined
21:32:02  * jmar777joined
21:32:28  * bradleymeckquit (Quit: bradleymeck)
21:32:28  * bradleymeck_changed nick to bradleymeck
21:38:08  * rendarquit
21:43:44  * unixpicklequit (Quit: Textual IRC Client: www.textualapp.com)
21:56:24  * muelli_joined
21:59:00  * bradleymeckquit (Quit: bradleymeck)
22:00:31  * C-Manquit (Read error: Connection reset by peer)
22:01:03  * bradleymeckjoined
22:01:24  * C-Manjoined
22:19:10  * RT|Chatzillajoined
22:24:05  * plutoniixquit (Quit: จรลี จรลา)
22:50:15  * muelli_quit (Ping timeout: 240 seconds)
23:01:56  * bradleymeckquit (Quit: bradleymeck)
23:06:24  * unixpicklejoined
23:36:43  * caitpquit (Ping timeout: 240 seconds)
23:46:14  * petka_quit (Quit: Connection closed for inactivity)
23:51:51  * c4miloquit (Remote host closed the connection)
23:54:02  * Lethalmanquit (Quit: Leaving)