Prototype pollution defense: One test patches Object.prototype.then to intercept promise resolutions, then verifies that pipeTo() and tee() operations don't leak internal values through the prototype chain. This tests a security property that only exists because the spec's promise-heavy internals create an attack surface.
圖像來源,BBC News Chinese
,推荐阅读搜狗输入法2026获取更多信息
def __init__(self, db_path: str):
// Synchronous source from in-memory data