James M Snell
James M Snell
Strong agreement. There's always been interest in having this but it's a massive task. Big +1 to @bnoordhuis's comment "too consuming to do uncompensated". Would love to see it tho.
Missed the original ping on this... no strong opinions on either option.
Spoke with @flakey5 about this a bit offline but posting here also... the etag `"W/"5a49a0bd-39326""` is not valid syntax. What I would recommend for now is validating the input and...
> I don't think CommonJS modules have to be fully evaluated... That's correct, tho if we had been able to do it again from the beginning we probably would have...
Per @kentonv's earlier response, changing this behavior is difficult as we do not currently have the visibility into the microtask queue to know which promise is actually being waited on...
@mikea ... > what if we had a special mode where we collect stacktrace for every instantiated promise... Definitely possible using the v8 promise hooks API but absolutely only with...
There's nothing you need to opt into but it still won't completely solve every issue with this. For example, take the following contrived example: ```js export default { async fetch()...
Ok, just a status update... did some digging and improving this is definitely going to be a challenge... Take the following example: ```js export default { async function fetch() {...
https://chromium-review.googlesource.com/c/v8/v8/+/5444318
Happy days.. the upstream patch has been approved. Should be landing upstream soonish. Once we've received the updated version of v8 with the API change I'll be able to update...