00:15:31  * laughinghanjoined
00:17:02  * laughinghanquit (Client Quit)
00:28:31  * laughinghanjoined
00:29:05  * laughinghanquit (Client Quit)
01:03:30  * AtumTquit (Quit: AtumT)
01:32:32  * laughinghanjoined
01:46:58  * laughinghanquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
01:52:36  * laughinghanjoined
01:52:49  * laughinghanquit (Client Quit)
01:56:58  * laughinghanjoined
02:29:27  <devsnek>https://github.com/tc39/test262/blob/master/test/built-ins/Promise/all/invoke-resolve-get-error-close.js
02:29:32  <devsnek>shouldn't returnCount be 1 here
02:29:46  <devsnek>iteratorRecord.Done is false
02:29:49  <devsnek>so IteratorClose is called
02:29:56  <devsnek>which calls the iterator's return
02:30:01  <devsnek>leobalter: cc
02:31:39  <devsnek>seems like everything is failing it now https://test262.report/browse/built-ins/Promise/all/invoke-resolve-get-error-close.js
02:33:02  <rkirsling>(whoa unrelated but big woot that XS is on there now too!)
02:33:11  <devsnek>yeah that's pretty cool
02:33:47  <devsnek>maybe one day engine262 will be on there too 🤞
02:33:56  <rkirsling>:D
02:34:15  <devsnek>i've implemented all the recent changes except dynamic import
03:11:37  * laughinghanquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
03:31:08  * laughinghanjoined
03:35:08  * laughinghanquit (Client Quit)
04:01:48  * jmdyckquit (Remote host closed the connection)
04:46:43  * cloudshuquit (Quit: Connection closed for inactivity)
05:16:07  * cybaijoined
05:35:50  * graingertquit (Ping timeout: 252 seconds)
05:36:12  * annevkquit (Ping timeout: 252 seconds)
05:36:39  * annevkjoined
05:37:18  * boneskullquit (Ping timeout: 252 seconds)
05:37:18  * tobiequit (Ping timeout: 252 seconds)
05:37:56  * boneskulljoined
05:38:46  * tobiejoined
05:39:04  * graingertjoined
05:41:15  * cybaiquit (Remote host closed the connection)
08:37:29  * Jessidhiaquit (Ping timeout: 268 seconds)
09:42:51  * Jessidhiajoined
10:24:39  * jmdyckjoined
10:59:04  * Jessidhiaquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
11:01:14  * Jessidhiajoined
11:36:51  * Jessidhiaquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:48:51  * ErrorIsNullErrorjoined
14:30:00  * cybaijoined
14:35:21  * cybaiquit (Remote host closed the connection)
15:04:14  * Nimelrianjoined
15:04:34  * cloudshujoined
15:39:39  * tobiequit (Ping timeout: 248 seconds)
15:41:04  * tobiejoined
15:41:12  * Nimelrianquit (Ping timeout: 252 seconds)
16:30:28  * keith_millerjoined
16:37:03  * Nimelrianjoined
16:45:53  <ErrorIsNullError>Who might understand the history behind the requirement for dynamic import "Every call to HostImportModuleDynamically with the same referencingScriptOrModule and specifier arguments must conform to the same set of requirements above as previous calls do."
16:47:53  <ErrorIsNullError>Is that meant to allow devs to reason about the cost of dynamic import with a constant value in a loop?
16:47:54  * keith_millerquit (Remote host closed the connection)
16:49:17  <ErrorIsNullError>Or does this allow some engine implementors to do some extra caching?
16:49:49  * keith_millerjoined
16:51:20  <ljharb>ErrorIsNullError: is there something you want to do that requirement prevents?
16:51:52  <ErrorIsNullError>On the trusted types front.
16:52:12  <ErrorIsNullError>we'd like to treat import() as a sink and guard it.
16:52:44  <ErrorIsNullError>import('data:text/javascript,…') has been a CSP bypass.
16:53:11  <ErrorIsNullError>So I have an agenda, but I'm mostly trying to understand how the pieces fit together right now.
16:53:56  <ErrorIsNullError>I'm trying to understand the need for that in light of the later requirement in HostResolveImportModule: "This operation must be idempotent if it completes normally. Each time it is called with a specific referencingScriptOrModule, specifier pair as arguments it must return the same https://tc39.github.io/ecma262/#sec-abstract-module-records instance."
16:54:09  <ljharb>to me that just means it can't change over the life of the program
16:54:35  <ljharb>you could block it during linking, or you could allow it, but once it fails or succeeds, it can't change out from under you
16:54:50  <ErrorIsNullError>My question is more about the intent.
16:55:11  <ljharb>Domenic and littledan can probably speak to that best - the above is just my interpretation of the intent
16:55:11  <ErrorIsNullError>It seems like an implemenation that did not have the problem would cause confusion.
16:55:19  <ErrorIsNullError>Thanks
16:56:27  <ErrorIsNullError>I'll reach out to them.
17:03:15  * laughinghanjoined
17:06:44  * AtumTjoined
17:39:29  * keith_millerquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:40:59  * Nimelrianquit (Ping timeout: 258 seconds)
18:00:13  <devsnek>ErrorIsNullError: as in `import(x)` in one area could work while `import(x)` in another area fails?
18:01:04  <devsnek>i think the intention is that when it succeeds it must always be the same result, not that once it succeeds it must always succeed
18:06:00  <devsnek>Domenic: ^
18:11:52  <ljharb>devsnek: "That is, if the host environment takes the success path once for a given referencingScriptOrModule, specifier pair, it must always do so, and the same for the failure path." https://tc39.es/ecma262/#sec-hostimportmoduledynamically
18:12:49  <devsnek>yeah in a given module
18:13:23  * Havvyjoined
18:13:24  * keith_millerjoined
18:13:24  <devsnek>for csp wouldn't it be different sources
18:15:11  <ljharb>ah right, true
18:15:34  * Nimelrianjoined
18:16:08  <devsnek>actually for different sources
18:16:40  <devsnek>the rule is always for (referrer, specifier)
18:16:44  <devsnek>not the resulting module
18:17:39  * keith_m__quit (Quit: Textual IRC Client: www.textualapp.com)
18:32:06  * cybaijoined
18:33:05  * laughinghanquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
19:01:42  * cybaiquit (Remote host closed the connection)
19:04:42  * cybaijoined
19:05:06  * obensourcequit (Ping timeout: 248 seconds)
19:12:50  * laughinghanjoined
19:19:04  * obensourcejoined
19:27:16  * laughinghanquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
20:03:01  * cybaiquit (Remote host closed the connection)
20:04:36  * cybaijoined
20:18:59  <littledan>Right, in different modules the resolution can be different, e.g., due to a different base URL (and with import maps, due to scoped maps)
20:19:18  <littledan>So this is what "with the same referencingScriptOrModule and specifier arguments " is getting at
20:29:22  * keith_millerquit (Quit: Textual IRC Client: www.textualapp.com)
20:45:46  * laughinghanjoined
20:47:37  <ljharb>and i guess import maps can already remap the specifier for a given module to be "nothing" as well?
21:21:26  * keith_millerjoined
21:47:22  * ErrorIsNullErrorquit (Quit: Leaving.)
21:50:37  * keith_millerquit (Quit: Textual IRC Client: www.textualapp.com)
21:56:51  * keith_millerjoined
22:12:04  * underikar_quit (Read error: Connection reset by peer)
22:13:19  * zkatquit (Ping timeout: 252 seconds)
22:15:46  * ryzokukenquit (Ping timeout: 258 seconds)
22:18:01  * mathiasbynensquit (Ping timeout: 276 seconds)
22:19:51  * ryzokukenjoined
22:19:53  * zkatjoined
22:19:58  * jschoi_quit (Ping timeout: 276 seconds)
22:20:09  * jschoi_joined
22:20:37  * mathiasbynensjoined
22:23:45  * underikar_joined
23:01:34  * Nimelrianquit (Ping timeout: 252 seconds)
23:05:26  * cybaiquit (Remote host closed the connection)
23:29:27  * laughinghanquit (Quit: My MacBook has gone to sleep. ZZZzzz…)
23:53:30  * laughinghanjoined