Adam Klein

Results 35 comments of Adam Klein

What about two different observers in the same realm? I think you'd want them to share records if possible (to avoid unnecessary record allocations).

There can be multiple `Object.observe` functions per object, just as there can be observer functions from multiple realms. I'm not clear on how @domenic's suggestion gives a clear answer about...

Which callback function? Objects only have one notifier. Are you suggesting we give them multiple notifiers, one per realm that's observing them?

Aha! Multiple notifier objects seems like it might be a bigger change...

See whatwg/webidl#937 for the existing issue against WebIDL asking how to specify this.

Some updates: * `Atomics.waitAsync` made it to Stage 4 and is now [merged](https://tc39.es/ecma262/#sec-atomics.waitasync) into the core JS spec * It's supported in [Safari 16.4](https://developer.apple.com/documentation/safari-release-notes/safari-16_4-release-notes#New-Features) * Firefox seems to be the...

I'm not yet convinced that suspending JS frames in this way is compatible with (my notion of) run-to-completion. Consider the following JS code: ```js function foo(someFunc) { console.log('one'); Promise.resolve().then(() =>...

I believe only Safari has shipped the `type` method without a flag guard. This can be seen on [wpt.fyi](https://wpt.fyi/results/wasm/jsapi/tag/type.tentative.any.html?label=master&label=stable&aligned). It matches my reading of the [V8 code in Chromium](https://crsrc.org/c/v8/src/wasm/wasm-js.cc;drc=fa99aa361b7af8c6886fe915a7e7dd625a7a18f5;l=3515), which...

It's been a long time since I've thought about this stuff, but I'm inclined to agree with @smaug---- that creating a new type of `MutationRecord` feels unnecessary. Users of `MutationObserver`...

@backes who's working on this experimental feature in V8